Merge pull request #20787 from CarolEidt/Arm64IntrinsicsWindows
authorCarol Eidt <carol.eidt@microsoft.com>
Wed, 7 Nov 2018 15:06:40 +0000 (07:06 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Nov 2018 15:06:40 +0000 (07:06 -0800)
Add Windows support for Arm64 HW Intrinsics

1568 files changed:
BuildToolsVersion.txt
ILAsmVersion.txt
build-packages.sh
buildpipeline/DotNet-CoreClr-Trusted-FreeBSD.json [new file with mode: 0644]
buildpipeline/pipelines.json
clrdefinitions.cmake
dependencies.props
eng/Version.Details.xml [new file with mode: 0644]
eng/Versions.props [new file with mode: 0644]
eng/common/CIBuild.cmd [new file with mode: 0644]
eng/common/PublishBuildAssets.cmd [new file with mode: 0644]
eng/common/build.ps1 [new file with mode: 0644]
eng/common/build.sh [new file with mode: 0755]
eng/common/cibuild.sh [new file with mode: 0755]
eng/common/cross/android/arm/toolchain.cmake [new file with mode: 0644]
eng/common/cross/android/arm64/toolchain.cmake [new file with mode: 0644]
eng/common/cross/arm/sources.list.bionic [new file with mode: 0644]
eng/common/cross/arm/sources.list.jessie [new file with mode: 0644]
eng/common/cross/arm/sources.list.trusty [new file with mode: 0644]
eng/common/cross/arm/sources.list.vivid [new file with mode: 0644]
eng/common/cross/arm/sources.list.wily [new file with mode: 0644]
eng/common/cross/arm/sources.list.xenial [new file with mode: 0644]
eng/common/cross/arm/sources.list.zesty [new file with mode: 0644]
eng/common/cross/arm/trusty-lttng-2.4.patch [new file with mode: 0644]
eng/common/cross/arm/trusty.patch [new file with mode: 0644]
eng/common/cross/arm64/sources.list.bionic [new file with mode: 0644]
eng/common/cross/arm64/sources.list.trusty [new file with mode: 0644]
eng/common/cross/arm64/sources.list.vivid [new file with mode: 0644]
eng/common/cross/arm64/sources.list.wily [new file with mode: 0644]
eng/common/cross/arm64/sources.list.xenial [new file with mode: 0644]
eng/common/cross/arm64/sources.list.zesty [new file with mode: 0644]
eng/common/cross/armel/sources.list.jessie [new file with mode: 0644]
eng/common/cross/armel/tizen-build-rootfs.sh [new file with mode: 0644]
eng/common/cross/armel/tizen-fetch.sh [new file with mode: 0644]
eng/common/cross/armel/tizen/tizen-dotnet.ks [new file with mode: 0644]
eng/common/cross/armel/tizen/tizen.patch [new file with mode: 0644]
eng/common/cross/build-android-rootfs.sh [new file with mode: 0644]
eng/common/cross/build-rootfs.sh [new file with mode: 0644]
eng/common/cross/toolchain.cmake [new file with mode: 0644]
eng/common/cross/x86/sources.list.bionic [new file with mode: 0644]
eng/common/cross/x86/sources.list.trusty [new file with mode: 0644]
eng/common/cross/x86/sources.list.vivid [new file with mode: 0644]
eng/common/cross/x86/sources.list.wily [new file with mode: 0644]
eng/common/cross/x86/sources.list.xenial [new file with mode: 0644]
eng/common/darc-init.ps1 [new file with mode: 0644]
eng/common/darc-init.sh [new file with mode: 0755]
eng/common/helixpublish.proj [new file with mode: 0644]
eng/common/init-tools-native.cmd [new file with mode: 0644]
eng/common/init-tools-native.ps1 [new file with mode: 0644]
eng/common/init-tools-native.sh [new file with mode: 0644]
eng/common/msbuild.ps1 [new file with mode: 0644]
eng/common/msbuild.sh [new file with mode: 0755]
eng/common/native/CommonLibrary.psm1 [new file with mode: 0644]
eng/common/native/common-library.sh [new file with mode: 0644]
eng/common/native/install-cmake.sh [new file with mode: 0644]
eng/common/native/install-tool.ps1 [new file with mode: 0644]
eng/common/templates/phases/base.yml [new file with mode: 0644]
eng/common/templates/phases/publish-build-assets.yml [new file with mode: 0644]
eng/common/templates/steps/build-reason.yml [new file with mode: 0644]
eng/common/templates/steps/helix-publish.yml [new file with mode: 0644]
eng/common/templates/steps/run-on-unix.yml [new file with mode: 0644]
eng/common/templates/steps/run-on-windows.yml [new file with mode: 0644]
eng/common/templates/steps/run-script-ifequalelse.yml [new file with mode: 0644]
eng/common/templates/steps/telemetry-end.yml [new file with mode: 0644]
eng/common/templates/steps/telemetry-start.yml [new file with mode: 0644]
eng/common/tools.ps1 [new file with mode: 0644]
eng/common/tools.sh [new file with mode: 0644]
global.json
netci.groovy
src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets
src/.nuget/dir.props
src/System.Private.CoreLib/Resources/Strings.resx
src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs
src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Write.cs
src/System.Private.CoreLib/shared/System/Buffers/Binary/Reader.cs
src/System.Private.CoreLib/shared/System/Decimal.DecCalc.cs
src/System.Private.CoreLib/shared/System/Decimal.cs
src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs
src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Unix.cs
src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs
src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.cs
src/System.Private.CoreLib/shared/System/IO/BinaryWriter.cs
src/System.Private.CoreLib/shared/System/IO/FileStream.Unix.cs
src/System.Private.CoreLib/shared/System/IO/FileStream.Windows.cs
src/System.Private.CoreLib/shared/System/IO/Stream.cs
src/System.Private.CoreLib/shared/System/IO/StreamWriter.cs
src/System.Private.CoreLib/shared/System/IO/TextWriter.cs
src/System.Private.CoreLib/shared/System/Math.cs
src/System.Private.CoreLib/shared/System/MathF.cs
src/System.Private.CoreLib/shared/System/Memory.cs
src/System.Private.CoreLib/shared/System/MemoryExtensions.Fast.cs
src/System.Private.CoreLib/shared/System/ReadOnlyMemory.cs
src/System.Private.CoreLib/shared/System/ReadOnlySpan.Fast.cs
src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs
src/System.Private.CoreLib/shared/System/Span.Fast.cs
src/System.Private.CoreLib/shared/System/StringComparer.cs
src/System.Private.CoreLib/shared/System/Text/StringBuilder.cs
src/System.Private.CoreLib/shared/System/Text/UTF32Encoding.cs
src/System.Private.CoreLib/shared/System/Text/UTF8Encoding.cs
src/System.Private.CoreLib/shared/System/Text/UnicodeEncoding.cs
src/System.Private.CoreLib/shared/System/Text/Utf16Utility.cs
src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs
src/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs
src/System.Private.CoreLib/src/System/Array.cs
src/System.Private.CoreLib/src/System/Attribute.cs
src/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.Windows.cs
src/System.Private.CoreLib/src/System/Math.CoreCLR.cs
src/System.Private.CoreLib/src/System/MathF.CoreCLR.cs
src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
src/System.Private.CoreLib/src/System/Reflection/MethodBase.CoreCLR.cs
src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs
src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs
src/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs
src/System.Private.CoreLib/src/System/RtType.cs
src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
src/System.Private.CoreLib/src/System/Type.CoreCLR.cs
src/ToolBox/SOS/Strike/sos_unixexports.src
src/ToolBox/SOS/Strike/sosdocsunix.txt
src/ToolBox/SOS/Strike/strike.cpp
src/ToolBox/SOS/lldbplugin/CMakeLists.txt
src/ToolBox/SOS/lldbplugin/soscommand.cpp
src/binder/inc/applicationcontext.hpp
src/binder/inc/assemblyhashtraits.hpp
src/binder/inc/assemblyidentitycache.hpp
src/binder/inc/failurecachehashtraits.hpp
src/binder/inc/propertyhashtraits.hpp
src/classlibnative/float/floatdouble.cpp
src/classlibnative/float/floatsingle.cpp
src/classlibnative/inc/floatdouble.h
src/classlibnative/inc/floatsingle.h
src/debug/createdump/crashinfo.h
src/debug/createdump/dumpwriter.h
src/debug/createdump/memoryregion.h
src/debug/createdump/threadinfo.h
src/debug/daccess/dacdbiimpl.cpp
src/debug/daccess/dacdbiimpl.h
src/debug/di/process.cpp
src/debug/di/rsmain.cpp
src/debug/di/rspriv.h
src/debug/di/shimcallback.cpp
src/debug/di/shimevents.cpp
src/debug/di/shimpriv.h
src/debug/ee/controller.cpp
src/debug/ee/controller.h
src/debug/ee/debugger.cpp
src/debug/ee/debugger.h
src/debug/ee/rcthread.cpp
src/debug/inc/dacdbiinterface.h
src/debug/inc/dbgipcevents.h
src/debug/inc/dbgipceventtypes.h
src/debug/shared/dbgtransportsession.cpp
src/dlls/mscorrc/mscorrc.rc
src/dlls/mscorrc/resource.h
src/gc/env/gcenv.base.h
src/gc/gc.cpp
src/gc/gcrecord.h
src/ilasm/assembler.cpp
src/ilasm/main.cpp
src/inc/CrstTypes.def
src/inc/contract.h
src/inc/contract.inl
src/inc/cordebug.idl
src/inc/corinfo.h
src/inc/crsttypes.h
src/inc/jithelpers.h
src/inc/shash.h
src/inc/shash.inl
src/jit/codegen.h
src/jit/codegenarm.cpp
src/jit/codegenarm64.cpp
src/jit/codegencommon.cpp
src/jit/codegenlinear.cpp
src/jit/codegenxarch.cpp
src/jit/compiler.cpp
src/jit/compiler.h
src/jit/compiler.hpp
src/jit/emitxarch.cpp
src/jit/error.cpp
src/jit/gentree.cpp
src/jit/gentree.h
src/jit/gtlist.h
src/jit/hwintrinsicxarch.h
src/jit/importer.cpp
src/jit/instrsxarch.h
src/jit/jitee.h
src/jit/lclvars.cpp
src/jit/lsra.cpp
src/jit/lsrabuild.cpp
src/jit/lsraxarch.cpp
src/jit/morph.cpp
src/jit/namedintrinsiclist.h
src/jit/optcse.cpp
src/jit/scopeinfo.cpp
src/jit/unwind.h
src/jit/utils.cpp
src/jit/valuenum.cpp
src/pal/inc/pal.h
src/pal/prebuilt/idl/cordebug_i.cpp
src/pal/prebuilt/idl/xcordebug_i.cpp
src/pal/prebuilt/inc/cordebug.h
src/pal/prebuilt/inc/xcordebug.h
src/pal/src/cruntime/math.cpp
src/pal/src/include/pal/palinternal.h
src/pal/src/include/pal/process.h
src/pal/src/include/pal/sharedmemory.h
src/pal/src/include/pal/sharedmemory.inl
src/pal/src/include/pal/stackstring.hpp
src/pal/src/init/pal.cpp
src/pal/src/sharedmemory/sharedmemory.cpp
src/pal/src/synchobj/mutex.cpp
src/pal/src/thread/process.cpp
src/pal/tests/palsuite/c_runtime/fma/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/fma/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/fma/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/fmaf/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/fmaf/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.c [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/fmaf/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogb/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogb/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogb/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogbf/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogbf/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.c [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/ilogbf/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2f/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2f/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2f/test1/test1.c [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/log2f/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbn/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbn/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbn/test1/test1.cpp [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbn/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbnf/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbnf/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.c [new file with mode: 0644]
src/pal/tests/palsuite/c_runtime/scalbnf/test1/testinfo.dat [new file with mode: 0644]
src/pal/tools/windows-compiler-override.txt
src/publish.proj
src/utilcode/debug.cpp
src/utilcode/winfix.cpp
src/vm/amd64/virtualcallstubcpu.hpp
src/vm/appdomain.cpp
src/vm/appdomain.hpp
src/vm/arm64/asmhelpers.asm
src/vm/binder.cpp
src/vm/callingconvention.h
src/vm/ceeload.h
src/vm/class.h
src/vm/classcompat.cpp
src/vm/classcompat.h
src/vm/clsload.cpp
src/vm/codeversion.h
src/vm/dataimage.cpp
src/vm/dbginterface.h
src/vm/dllimport.cpp
src/vm/ecalllist.h
src/vm/eecontract.cpp
src/vm/eecontract.h
src/vm/eedbginterface.h
src/vm/eedbginterfaceimpl.cpp
src/vm/eedbginterfaceimpl.h
src/vm/eventtrace.cpp
src/vm/excep.cpp
src/vm/exceptmacros.h
src/vm/fcall.h
src/vm/frames.h
src/vm/gcenv.ee.cpp
src/vm/i386/excepx86.cpp
src/vm/i386/jithelp.asm
src/vm/ibclogger.h
src/vm/interoputil.cpp
src/vm/interoputil.h
src/vm/jithelpers.cpp
src/vm/method.cpp
src/vm/method.hpp
src/vm/methodtable.h
src/vm/methodtablebuilder.cpp
src/vm/peimage.h
src/vm/peimage.inl
src/vm/reflectioninvocation.cpp
src/vm/threads.h
src/vm/threadsuspend.cpp
src/vm/threadsuspend.h
src/vm/vars.cpp
src/vm/vars.hpp
src/zap/zapcode.h
src/zap/zapimage.h
src/zap/zapimport.h
src/zap/zapinnerptr.h
src/zap/zapmetadata.h
src/zap/zapwrapper.h
tests/CoreFX/CoreFX.issues.json
tests/arm/Tests.lst
tests/arm64/Tests.lst
tests/runtest.proj
tests/runtest.py
tests/scripts/run-corefx-tests.py
tests/scripts/run-pmi-diffs.py
tests/src/CLRTest.Execute.Bash.targets
tests/src/CLRTest.Execute.Batch.targets
tests/src/CLRTest.Jit.targets
tests/src/Common/Platform/platformdefines.cpp
tests/src/Common/Platform/platformdefines.h
tests/src/CoreMangLib/cti/system/boolean/BooleanCompareTo_Boolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanEquals_Boolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanEquals_Object.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanFalseString.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanGetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanToString.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/BooleanTrueString.csproj [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleancompareto_boolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleanequals_boolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleanequals_object.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleanfalsestring.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleangethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleantostring.cs [deleted file]
tests/src/CoreMangLib/cti/system/boolean/booleantruestring.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteEquals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteEquals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteGetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteMaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteMinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteToString2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteToString3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/ByteToString4.csproj [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteequals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteequals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/bytegethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/bytemaxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/byteminvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/bytetostring2.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/bytetostring3.cs [deleted file]
tests/src/CoreMangLib/cti/system/byte/bytetostring4.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/CharCompateTo1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharEquals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharEquals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharGetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsControl1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsControl2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsDigit1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsDigit2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsLetter1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsLetter2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsLetterOrDigit1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsLetterOrDigit2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsLower1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsLower2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsNumber1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsNumber2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsPunctuation2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsSeparator1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsSeparator2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsSurrogate1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsSurrogate2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsSurrogatePair1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsSurrogatePair2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsSymbol1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsUpper1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsUpper2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsWhiteSpace1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharIsWhiteSpace2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharMaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharMinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharToString1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/CharToString2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/char/charcompateto1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charequals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charequals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chargethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariscontrol1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariscontrol2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisdigit1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisdigit2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisletter1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisletter2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisletterordigit1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisletterordigit2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charislower1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charislower2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisnumber1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisnumber2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charispunctuation2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisseparator1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisseparator2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charissurrogate1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charissurrogate2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charissurrogatepair1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charissurrogatepair2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charissymbol1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisupper1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charisupper2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariswhitespace1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chariswhitespace2.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charmaxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/charminvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chartostring1.cs [deleted file]
tests/src/CoreMangLib/cti/system/char/chartostring2.cs [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorCurrent.csproj [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorIEnumeratorCurrent.csproj [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorIEnumgetCurrent.csproj [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorMoveNext.csproj [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorReset.csproj [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorcurrent.cs [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorienumeratorcurrent.cs [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorienumgetcurrent.cs [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/charenumeratormovenext.cs [deleted file]
tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorreset.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimaFloor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalAdd.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCompare.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor4.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor5.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor6.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor7.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalCtor8.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalDivide.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalEquals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalEquals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalEquals3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalGetBits.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalMaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalMinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalMinusOne.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalMultiply.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalNegate.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalOne.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalSubtract.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToByte1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToString1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToString2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToString3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToString4.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalTruncate.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/DecimalZero.csproj [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimafloor.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaladd.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalcompare.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor1.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor2.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor3.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor4.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor5.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor6.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor7.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalctor8.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaldivide.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalequals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalequals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalequals3.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalgetbits.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalmaxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalminusone.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalminvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalmultiply.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalnegate.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalone.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalsubtract.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltobyte1.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltostring1.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltostring2.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltostring3.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltostring4.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimaltruncate.cs [deleted file]
tests/src/CoreMangLib/cti/system/decimal/decimalzero.cs [deleted file]
tests/src/CoreMangLib/cti/system/delegate/DelegateABI.csproj [deleted file]
tests/src/CoreMangLib/cti/system/delegate/TestForOtherAssembly.csproj [deleted file]
tests/src/CoreMangLib/cti/system/delegate/delegateabi.cs [deleted file]
tests/src/CoreMangLib/cti/system/delegate/testforotherassembly.cs [deleted file]
tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/ConditionalAttributeConditionString.csproj [deleted file]
tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/ConditionalAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/conditionalattributeconditionstring.cs [deleted file]
tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/conditionalattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundException1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundExceptionCtor2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundExceptionCtor3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexception1.cs [deleted file]
tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexceptionctor2.cs [deleted file]
tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexceptionctor3.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleCompareTo1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleEpsilon.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleEquals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleEquals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIsInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIsNaN.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIsNegativeInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleIsPositiveInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleMaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleMinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleNaN.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleNegativeInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoublePositiveInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleToString1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleToString2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleToString3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/DoubleToString4.csproj [deleted file]
tests/src/CoreMangLib/cti/system/double/doublecompareto1.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleepsilon.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleequals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleequals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleiconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleisinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleisnan.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleisnegativeinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleispositiveinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doublemaxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubleminvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doublenan.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doublenegativeinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doublepositiveinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubletostring1.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubletostring2.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubletostring3.cs [deleted file]
tests/src/CoreMangLib/cti/system/double/doubletostring4.cs [deleted file]
tests/src/CoreMangLib/cti/system/flagsattribute/FlagsAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/flagsattribute/flagsattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/gc/GCCollect.csproj [deleted file]
tests/src/CoreMangLib/cti/system/gc/GCGetTotalMemory.csproj [deleted file]
tests/src/CoreMangLib/cti/system/gc/GCKeepAlive.csproj [deleted file]
tests/src/CoreMangLib/cti/system/gc/GCMaxGeneration.csproj [deleted file]
tests/src/CoreMangLib/cti/system/gc/GCReRegisterForFinalize.csproj [deleted file]
tests/src/CoreMangLib/cti/system/gc/GCSuppressFinalize.csproj [deleted file]
tests/src/CoreMangLib/cti/system/gc/GCWaitForPendingFinalizers.csproj [deleted file]
tests/src/CoreMangLib/cti/system/gc/gccollect.cs [deleted file]
tests/src/CoreMangLib/cti/system/gc/gcgettotalmemory.cs [deleted file]
tests/src/CoreMangLib/cti/system/gc/gckeepalive.cs [deleted file]
tests/src/CoreMangLib/cti/system/gc/gcmaxgeneration.cs [deleted file]
tests/src/CoreMangLib/cti/system/gc/gcreregisterforfinalize.cs [deleted file]
tests/src/CoreMangLib/cti/system/gc/gcsuppressfinalize.cs [deleted file]
tests/src/CoreMangLib/cti/system/gc/gcwaitforpendingfinalizers.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32CompareTo1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32Equals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32Equals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32GetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32MaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32MinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/Int32ToString3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int/int32compareto1.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32equals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32equals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32gethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32maxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32minvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/int/int32tostring3.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16Equals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16Equals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16GetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16MaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/Int16MinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16equals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16equals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16gethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16maxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/int16/int16minvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64CompareTo1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64Equals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64Equals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64GetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64MaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64MinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/Int64ToString3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64compareto1.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64equals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64equals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64gethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64maxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64minvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/int64/int64tostring3.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectEquals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectEquals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectFinalize.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectGetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectMemberwiseClone.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectReferenceEquals.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/ObjectToString.csproj [deleted file]
tests/src/CoreMangLib/cti/system/object/objectctor.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/objectequals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/objectequals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/objectfinalize.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/objectgethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/objectmemberwiseclone.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/objectreferenceequals.cs [deleted file]
tests/src/CoreMangLib/cti/system/object/objecttostring.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor1.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor2.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor3.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/AssemblyConfigurationAttribute.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/AssemblyConfigurationAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/assemblyconfigurationattribute.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/assemblyconfigurationattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/AssemblyDefaultAliasAttribute.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/AssemblyDefaultAliasAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/assemblydefaultaliasattribute.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/assemblydefaultaliasattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/AssemblyDelaySignAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/AssemblyDelaySignAttributeDelaySign.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/assemblydelaysignattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/assemblydelaysignattributedelaysign.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/AssemblyDescriptionAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/AssemblyDescriptionAttributeDescription.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/assemblydescriptionattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/assemblydescriptionattributedescription.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/AssemblyKeyFileAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/AssemblyKeyFileAttributeKeyFile.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/assemblykeyfileattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/assemblykeyfileattributekeyfile.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/AssemblyKeyNameAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/AssemblyKeyNameAttributeKeyName.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/assemblykeynameattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/assemblykeynameattributekeyname.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameGetPublicKey.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameGetPublicKeyToken.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameSetPublicKey.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameSetPublicKeyToken.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameVersion.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamegetpublickey.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamegetpublickeytoken.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamesetpublickey.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamesetpublickeytoken.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynameversion.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/AssemblyTitleAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/AssemblyTitleAttributeTitle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/assemblytitleattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/assemblytitleattributetitle.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/constructorinfo/ConstructorInfoConstructorName.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/constructorinfo/ConstructorInfoTypeConstructorName.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/constructorinfo/constructorinfoconstructorname.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/constructorinfo/constructorinfotypeconstructorname.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/DefaultMemberAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/DefaultMemberAttributeMemberName.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/defaultmemberattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/defaultmemberattributemembername.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/TargetInvocationExceptionCtor1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/TargetInvocationExceptionCtor2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/targetinvocationexceptionctor1.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/targetinvocationexceptionctor2.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor1.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor2.cs [deleted file]
tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor3.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/ATPACtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/ATPAPropertyName.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/atpactor.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/atpapropertyname.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilationrelaxations/AttributeCtor1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilationrelaxations/compilationrelaxationsattributector1.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilergeneratedattribute/CompilerGeneratedAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilergeneratedattribute/compilergeneratedattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/customconstantattribute/CustomConstantAttributector.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/customconstantattribute/customconstantattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/indexernameattribute/IndexerNameAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/indexernameattribute/indexernameattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/IVTAAssemblyName.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/IVTACtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/internalsvisibletoattributeassemblyname.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/internalsvisibletoattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/MethodImplOptionsNoInlining.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/MethodImplOptionsPreserveSig.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/methodimploptionsnoinlining.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/methodimploptionspreservesig.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/RCAttrWrapNEThrows.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/RuntimeCompatAttrCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/runtimecompatibilityattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/runtimecompatibilityattributewrapnonexceptionthrows.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/DecimalConstantAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/DecimalConstantAttributeValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/decimalconstantattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/decimalconstantattributevalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeElementType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeLength.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributeelementtype.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributelength.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/dllimportattribute/DllImportTest.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/dllimportattribute/dllimporttest.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/FieldOffsetAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/FieldOffsetAttributeValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/fieldoffsetattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/fieldoffsetattributevalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleAddrOfPinnedObject_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleAlloc1_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleFree_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleTarget_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandleaddrofpinnedobject.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandlealloc1.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandlefree.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandletarget.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/inattribute/InAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/inattribute/inattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/OleAut32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/oleaut32.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeArraySubType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeCtor1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeCtor2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalCookie.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalTypeRef.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeSizeConst.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeSizeParamIndex.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributearraysubtype.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributector1.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributector2.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshalcookie.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshaltype.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshaltyperef.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributesizeconst.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributesizeparamindex.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributevalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/outattribute/OutAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/outattribute/outattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/preservesigattribute/PreserveSigAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/preservesigattribute/preservesigattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeCharSet.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributePack.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeSize.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributecharset.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributector.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributepack.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributesize.cs [deleted file]
tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributevalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteCompareTo2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteEquals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteEquals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteGetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteMaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/SByteMinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbytecompareto2.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteequals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteequals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbytegethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbytemaxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/sbyte/sbyteminvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleEpsilon.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleIsInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleIsNaN.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleIsNegativeInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleIsPositiveInfinity.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleMaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleMinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleNaN.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/SingleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/single/singleepsilon.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singleisinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singleisnan.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singleisnegativeinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singleispositiveinfinity.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singlemaxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singleminvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singlenan.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/single/singletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/StringChars.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringCompare9.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringCompareOrdinal1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringCompareOrdinal2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat4.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat5.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat6.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat7.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringConcat8.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringCopyTo.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringCtor5.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringCtorChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringEmpty.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringEquals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringEquals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringEquals3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringEquals6.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringFormat1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringFormat2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringGetEnumerator.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringGetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIEnumerableGetEnumerator.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIndexOf10.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringInsert.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringIsNullOrEmpty.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringJoin.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringJoin1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringJoin2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringLength.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringPadLeft.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringPadLeft1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringPadLeft2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringPadRight.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringPadRight1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringPadRight2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringRemove1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringRemove2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringReplace1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringReplace2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringReplace3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringSplit1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringSubString1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringSubString2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringToCharArray.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringToString1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringTrim1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringTrim1b.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringTrim2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringTrim3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/StringTrim4.csproj [deleted file]
tests/src/CoreMangLib/cti/system/string/stringchars.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringcompare9.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringcompareordinal1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringcompareordinal2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat3.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat4.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat5.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat6.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat7.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringconcat8.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringcopyto.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringctor5.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringctorchar.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringempty.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringequals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringequals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringequals3.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringequals6.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringformat1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringformat2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringgetenumerator.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringgethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringienumerablegetenumerator.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringindexof10.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringinsert.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringisnullorempty.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringjoin.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringjoin1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringjoin2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringlength.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringpadleft.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringpadleft1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringpadleft2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringpadright.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringpadright1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringpadright2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringremove1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringremove2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringreplace1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringreplace2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringreplace3.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringsplit1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringsubstring1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringsubstring2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringtochararray.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringtostring1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringtrim1.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringtrim1b.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringtrim2.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringtrim3.cs [deleted file]
tests/src/CoreMangLib/cti/system/string/stringtrim4.cs [deleted file]
tests/src/CoreMangLib/cti/system/stringcompare/StringComparerCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/stringcompare/stringcomparerctor.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventReSet.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventSet.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventctor.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventreset.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventset.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/manualresetevent/ManualResetEventCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/manualresetevent/manualreseteventctor.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/timeout/TimeOutInfinite.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/timeout/timeoutinfinite.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleCtor.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleDispose1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleDispose3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/threading/waithandle/waithandlector.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/waithandle/waithandledispose1.cs [deleted file]
tests/src/CoreMangLib/cti/system/threading/waithandle/waithandledispose3.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16CompareTo1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16Equals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16Equals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16ToString3.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/UInt16ToString4.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16compareto1.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16equals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16equals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16tostring3.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint16/uint16tostring4.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32CompareTo2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32Equals1.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32Equals2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32GetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32MaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32MinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/UInt32ToString2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32compareto2.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32equals1.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32equals2.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32gethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32maxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32minvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint32/uint32tostring2.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64GetHashCode.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToBoolean.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToChar.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDateTime.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDecimal.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDouble.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToSByte.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToSingle.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToType.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt16.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt32.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt64.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64MaxValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64MinValue.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/UInt64ToString2.csproj [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64gethashcode.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoboolean.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletobyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletochar.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodatetime.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodecimal.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodouble.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletosbyte.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletosingle.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletotype.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint16.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint32.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint64.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64maxvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64minvalue.cs [deleted file]
tests/src/CoreMangLib/cti/system/uint64/uint64tostring2.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor1_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor2_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor2b_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceIsAlive_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceIsAliveb_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceTargetb_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceTrackResurrection_cti_PSC.csproj [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/helper.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/weakreferencector1.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/weakreferencector2.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/weakreferencector2b.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/weakreferenceisalive.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/weakreferenceisaliveb.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/weakreferencetargetb.cs [deleted file]
tests/src/CoreMangLib/cti/system/weakreference/weakreferencetrackresurrection_cti.cs [deleted file]
tests/src/CoreMangLib/system/delegate/delegate/DelegateCombine1.csproj [moved from tests/src/CoreMangLib/cti/system/delegate/DelegateCombine1.csproj with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/DelegateCombineImpl.csproj [moved from tests/src/CoreMangLib/cti/system/delegate/DelegateCombineImpl.csproj with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/DelegateEquals1.csproj [moved from tests/src/CoreMangLib/cti/system/delegate/DelegateEquals1.csproj with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/DelegateGetHashCode1.csproj [moved from tests/src/CoreMangLib/cti/system/delegate/DelegateGetHashCode1.csproj with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/DelegateGetInvocationList1.csproj [moved from tests/src/CoreMangLib/cti/system/delegate/DelegateGetInvocationList1.csproj with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/DelegateRemove.csproj [moved from tests/src/CoreMangLib/cti/system/delegate/DelegateRemove.csproj with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegateRemoveImpl.csproj [moved from tests/src/CoreMangLib/cti/system/delegate/delegateRemoveImpl.csproj with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegatecombine1.cs [moved from tests/src/CoreMangLib/cti/system/delegate/delegatecombine1.cs with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegatecombineimpl.cs [moved from tests/src/CoreMangLib/cti/system/delegate/delegatecombineimpl.cs with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegateequals1.cs [moved from tests/src/CoreMangLib/cti/system/delegate/delegateequals1.cs with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegategethashcode1.cs [moved from tests/src/CoreMangLib/cti/system/delegate/delegategethashcode1.cs with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegategetinvocationlist1.cs [moved from tests/src/CoreMangLib/cti/system/delegate/delegategetinvocationlist1.cs with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegateremove.cs [moved from tests/src/CoreMangLib/cti/system/delegate/delegateremove.cs with 100% similarity]
tests/src/CoreMangLib/system/delegate/delegate/delegateremoveimpl.cs [moved from tests/src/CoreMangLib/cti/system/delegate/delegateremoveimpl.cs with 100% similarity]
tests/src/CoreMangLib/system/enum/EnumIConvertibleToInt64.csproj [moved from tests/src/CoreMangLib/cti/system/enum/EnumIConvertibleToInt64.csproj with 100% similarity]
tests/src/CoreMangLib/system/enum/EnumIConvertibleToSingle.csproj [moved from tests/src/CoreMangLib/cti/system/enum/EnumIConvertibleToSingle.csproj with 100% similarity]
tests/src/CoreMangLib/system/enum/EnumIConvertibleToType.csproj [moved from tests/src/CoreMangLib/cti/system/enum/EnumIConvertibleToType.csproj with 100% similarity]
tests/src/CoreMangLib/system/enum/EnumIConvertibleToUint16.csproj [moved from tests/src/CoreMangLib/cti/system/enum/EnumIConvertibleToUint16.csproj with 100% similarity]
tests/src/CoreMangLib/system/enum/EnumIConvertibleToUint32.csproj [moved from tests/src/CoreMangLib/cti/system/enum/EnumIConvertibleToUint32.csproj with 100% similarity]
tests/src/CoreMangLib/system/enum/EnumIConvertibleToUint64.csproj [moved from tests/src/CoreMangLib/cti/system/enum/EnumIConvertibleToUint64.csproj with 100% similarity]
tests/src/CoreMangLib/system/enum/enumiconvertibletoint64.cs [moved from tests/src/CoreMangLib/cti/system/enum/enumiconvertibletoint64.cs with 100% similarity]
tests/src/CoreMangLib/system/enum/enumiconvertibletosingle.cs [moved from tests/src/CoreMangLib/cti/system/enum/enumiconvertibletosingle.cs with 100% similarity]
tests/src/CoreMangLib/system/enum/enumiconvertibletotype.cs [moved from tests/src/CoreMangLib/cti/system/enum/enumiconvertibletotype.cs with 100% similarity]
tests/src/CoreMangLib/system/enum/enumiconvertibletouint16.cs [moved from tests/src/CoreMangLib/cti/system/enum/enumiconvertibletouint16.cs with 100% similarity]
tests/src/CoreMangLib/system/enum/enumiconvertibletouint32.cs [moved from tests/src/CoreMangLib/cti/system/enum/enumiconvertibletouint32.cs with 100% similarity]
tests/src/CoreMangLib/system/enum/enumiconvertibletouint64.cs [moved from tests/src/CoreMangLib/cti/system/enum/enumiconvertibletouint64.cs with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/MulticastDelegateCombineImpl.csproj [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/MulticastDelegateCombineImpl.csproj with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/MulticastDelegateEquals.csproj [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/MulticastDelegateEquals.csproj with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/MulticastDelegateGetHashCode.csproj [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/MulticastDelegateGetHashCode.csproj with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/MulticastDelegateGetInvocationList.csproj [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/MulticastDelegateGetInvocationList.csproj with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/delegatedefinitions.cs [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/delegatedefinitions.cs with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/multicastdelegatecombineimpl.cs [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/multicastdelegatecombineimpl.cs with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/multicastdelegateequals.cs [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/multicastdelegateequals.cs with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/multicastdelegategethashcode.cs [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/multicastdelegategethashcode.cs with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/multicastdelegategetinvocationlist.cs [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/multicastdelegategetinvocationlist.cs with 100% similarity]
tests/src/CoreMangLib/system/multicastdelegate/verificationagent.cs [moved from tests/src/CoreMangLib/cti/system/multicastdelegate/verificationagent.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/marshal/MarshalSizeOf1_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/MarshalSizeOf1_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/marshal/MarshalSizeOf2_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/MarshalSizeOf2_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/marshal/marshalsizeof1.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/marshalsizeof1.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/marshal/marshalsizeof2.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/marshalsizeof2.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleCtor_cti_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleCtor_cti_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleDangerousAddRef_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleDangerousAddRef_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleDangerousGetHandle_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleDangerousGetHandle_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleDangerousRelease_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleDangerousRelease_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleDispose1_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleDispose1_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleDispose2_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleDispose2_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleHandle_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleHandle_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleIsClosed_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleIsClosed_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleIsInvalid_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleIsInvalid_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleSetHandleAsInvalid_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleSetHandleAsInvalid_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/SafeHandleSetHandle_PSC.csproj [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/SafeHandleSetHandle_PSC.csproj with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandlector_cti.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandlector_cti.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandledangerousaddref.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandledangerousaddref.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandledangerousgethandle.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandledangerousgethandle.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandledangerousrelease.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandledangerousrelease.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandledispose1.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandledispose1.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandledispose2.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandledispose2.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandlehandle.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandlehandle.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandleisclosed.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandleisclosed.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandleisinvalid.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandleisinvalid.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandlesethandle.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandlesethandle.cs with 100% similarity]
tests/src/CoreMangLib/system/runtime/interopservices/safehandle/safehandlesethandleasinvalid.cs [moved from tests/src/CoreMangLib/cti/system/runtime/interopservices/safehandle/safehandlesethandleasinvalid.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedAdd1.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedAdd1.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedAdd2.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedAdd2.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedCompareExchange1.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedCompareExchange1.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedCompareExchange5.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedCompareExchange5.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedCompareExchange6.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedCompareExchange6.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedCompareExchange7.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedCompareExchange7.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedDecrement1.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedDecrement1.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedDecrement2.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedDecrement2.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedExchange1.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedExchange1.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedExchange5.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedExchange5.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedExchange6.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedExchange6.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedExchange7.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedExchange7.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedIncrement1.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedIncrement1.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/InterlockedIncrement2.csproj [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/InterlockedIncrement2.csproj with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedadd1.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedadd1.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedadd2.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedadd2.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedcompareexchange1.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedcompareexchange1.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedcompareexchange5.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedcompareexchange5.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedcompareexchange6.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedcompareexchange6.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedcompareexchange7.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedcompareexchange7.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockeddecrement1.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockeddecrement1.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockeddecrement2.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockeddecrement2.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedexchange1.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedexchange1.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedexchange5.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedexchange5.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedexchange6.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedexchange6.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedexchange7.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedexchange7.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedincrement1.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedincrement1.cs with 100% similarity]
tests/src/CoreMangLib/system/threading/interlocked/interlockedincrement2.cs [moved from tests/src/CoreMangLib/cti/system/threading/interlocked/interlockedincrement2.cs with 100% similarity]
tests/src/CoreMangLib/system/type/TypeEquals1.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeEquals1.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeEquals2.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeEquals2.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeGetArrayRank.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeGetArrayRank.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeGetElementType.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeGetElementType.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeGetGenericTypeDefinition.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeGetGenericTypeDefinition.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeGetHashCode.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeGetHashCode.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeGetType1.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeGetType1.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeGetType2.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeGetType2.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeGetTypeFromHandle.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeGetTypeFromHandle.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeHasElementTypeImpl.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeHasElementTypeImpl.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeIsByRefImpl.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeIsByRefImpl.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeIsPointerImpl.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeIsPointerImpl.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeMakeArrayType1.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeMakeArrayType1.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeMakeArrayType2.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeMakeArrayType2.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeMakeByRefType.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeMakeByRefType.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeMakePointerType.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeMakePointerType.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/TypeToString.csproj [moved from tests/src/CoreMangLib/cti/system/type/TypeToString.csproj with 100% similarity]
tests/src/CoreMangLib/system/type/typeequals1.cs [moved from tests/src/CoreMangLib/cti/system/type/typeequals1.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typeequals2.cs [moved from tests/src/CoreMangLib/cti/system/type/typeequals2.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typegetarrayrank.cs [moved from tests/src/CoreMangLib/cti/system/type/typegetarrayrank.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typegetelementtype.cs [moved from tests/src/CoreMangLib/cti/system/type/typegetelementtype.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typegetgenerictypedefinition.cs [moved from tests/src/CoreMangLib/cti/system/type/typegetgenerictypedefinition.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typegethashcode.cs [moved from tests/src/CoreMangLib/cti/system/type/typegethashcode.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typegettype1.cs [moved from tests/src/CoreMangLib/cti/system/type/typegettype1.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typegettype2.cs [moved from tests/src/CoreMangLib/cti/system/type/typegettype2.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typegettypefromhandle.cs [moved from tests/src/CoreMangLib/cti/system/type/typegettypefromhandle.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typehaselementtypeimpl.cs [moved from tests/src/CoreMangLib/cti/system/type/typehaselementtypeimpl.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typeisbyrefimpl.cs [moved from tests/src/CoreMangLib/cti/system/type/typeisbyrefimpl.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typeispointerimpl.cs [moved from tests/src/CoreMangLib/cti/system/type/typeispointerimpl.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typemakearraytype1.cs [moved from tests/src/CoreMangLib/cti/system/type/typemakearraytype1.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typemakearraytype2.cs [moved from tests/src/CoreMangLib/cti/system/type/typemakearraytype2.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typemakebyreftype.cs [moved from tests/src/CoreMangLib/cti/system/type/typemakebyreftype.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typemakepointertype.cs [moved from tests/src/CoreMangLib/cti/system/type/typemakepointertype.cs with 100% similarity]
tests/src/CoreMangLib/system/type/typetostring.cs [moved from tests/src/CoreMangLib/cti/system/type/typetostring.cs with 100% similarity]
tests/src/Interop/CMakeLists.txt
tests/src/Interop/COM/NETClients/Aggregation/NETClientAggregation.csproj
tests/src/Interop/COM/NETClients/IDispatch/NETClientIDispatch.csproj
tests/src/Interop/COM/NETClients/Primitives/NETClientPrimitives.csproj
tests/src/Interop/COM/NETClients/Primitives/NumericTests.cs
tests/src/Interop/COM/NETServer/NumericTesting.cs
tests/src/Interop/COM/NativeClients/Primitives/NumericTests.cpp
tests/src/Interop/COM/NativeServer/NumericTesting.h
tests/src/Interop/COM/ServerContracts/Server.Contracts.cs
tests/src/Interop/COM/ServerContracts/Server.Contracts.h
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/ComVisibleNative.cpp [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/Helpers.cs [new file with mode: 0644]
tests/src/Interop/SizeConst/SizeConstTest.cs
tests/src/Interop/StructMarshalling/ReversePInvoke/Helper.cs [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.cs [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.csproj [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ExpStructAsParamNative.cpp [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ExpStructAsParamNative.h [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ReversePInvokeManaged/ReversePInvokeTest.cs [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ReversePInvokeManaged/ReversePInvokeTest.csproj [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest.cs [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest.csproj [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/ReversePInvoke/ReversePInvokeTest.cs [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/ReversePInvoke/ReversePInvokeTest.csproj [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/SeqStructDelRevPInvokeNative.cpp [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/SeqStructDelRevPInvokeNative.h [new file with mode: 0644]
tests/src/Interop/StructMarshalling/ReversePInvoke/Struct.cs [new file with mode: 0644]
tests/src/Interop/common/xplatform.h
tests/src/JIT/Directed/pinvoke/pinvoke-bug.cs
tests/src/JIT/Directed/pinvoke/sin.cs
tests/src/JIT/HardwareIntrinsics/X86/Avx/Avx_r.csproj
tests/src/JIT/HardwareIntrinsics/X86/Avx/Avx_ro.csproj
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Byte.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Double.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int16.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int32.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int64.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.SByte.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Single.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt16.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt32.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt64.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.cs [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256_r.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256_ro.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Avx/Program.Avx.cs
tests/src/JIT/HardwareIntrinsics/X86/Shared/GenerateTests.csx
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128.Single.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128.cs [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128_r.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128_ro.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128.Single.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128.cs [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128_r.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128_ro.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse/Program.Sse.cs
tests/src/JIT/HardwareIntrinsics/X86/Sse/Sse_r.csproj
tests/src/JIT/HardwareIntrinsics/X86/Sse/Sse_ro.csproj
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Double.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Int32.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Int64.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.UInt32.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.UInt64.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.cs [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128_r.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128_ro.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Byte.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Double.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int16.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int32.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int64.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.SByte.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt16.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt32.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt64.cs [new file with mode: 0644]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.cs [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128_r.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128_ro.csproj [deleted file]
tests/src/JIT/HardwareIntrinsics/X86/Sse2/Program.Sse2.cs
tests/src/JIT/HardwareIntrinsics/X86/Sse2/Sse2_r.csproj
tests/src/JIT/HardwareIntrinsics/X86/Sse2/Sse2_ro.csproj
tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness.cs [new file with mode: 0644]
tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness_r.csproj [new file with mode: 0644]
tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness_ro.csproj [new file with mode: 0644]
tests/src/JIT/Regression/CLR-x86-JIT/V1-M09/b13621/b13621.cs
tests/src/JIT/Regression/JitBlue/DevDiv_710234/DevDiv_710234.il [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/DevDiv_710234/DevDiv_710234.ilproj [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/DevDiv_714266/DevDiv_714266.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/DevDiv_714266/DevDiv_714266.csproj [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_18672/GitHub_18672.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_18672/GitHub_18672.csproj [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.csproj [new file with mode: 0644]

index 3b20919..cb4f676 100644 (file)
@@ -1 +1 @@
-3.0.0-preview1-03326-01
+3.0.0-preview1-03402-01
index 05897f3..7f0e19f 100644 (file)
@@ -1 +1 @@
-3.0.0-preview1-27028-04
+3.0.0-preview-27102-02
index f06024e..71345eb 100755 (executable)
@@ -117,6 +117,8 @@ if [ $__IsPortableBuild == 1 ]; then
         export __DistroRid="linux-$__Arch"
     elif [ "$__BuildOS" == "OSX" ]; then
         export __DistroRid="osx-$__Arch"
+    elif [ "$__BuildOS" == "FreeBSD" ]; then
+        export __DistroRid="freebsd-$__Arch"
     fi
 else
     # init the host distro name
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-FreeBSD.json b/buildpipeline/DotNet-CoreClr-Trusted-FreeBSD.json
new file mode 100644 (file)
index 0000000..c04f0a3
--- /dev/null
@@ -0,0 +1,320 @@
+{
+  "build": [
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": false,
+      "alwaysRun": false,
+      "displayName": "Run $(Agent.BuildDirectory)/s/clean.sh",
+      "timeoutInMinutes": 0,
+      "refName": "Task1",
+      "task": {
+        "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "filename": "$(Agent.BuildDirectory)/s/clean.sh",
+        "arguments": "-all",
+        "workingFolder": "",
+        "failOnStandardError": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": false,
+      "alwaysRun": false,
+      "displayName": "Run $(Agent.BuildDirectory)/s/sync.sh",
+      "timeoutInMinutes": 0,
+      "refName": "Task2",
+      "task": {
+        "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "filename": "bash ",
+        "arguments": "-c \"export DotNetBootstrapCliTarPath=/dotnet-sdk-freebsd-x64.tar && $(Agent.BuildDirectory)/s/sync.sh -- /p:BuildType=$(PB_BuildType)\"",
+        "workingFolder": "",
+        "failOnStandardError": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": false,
+      "alwaysRun": false,
+      "displayName": "Run $(Agent.BuildDirectory)/s/build.sh",
+      "timeoutInMinutes": 0,
+      "refName": "Task3",
+      "task": {
+        "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "filename": "$(Agent.BuildDirectory)/s/build.sh",
+        "arguments": "$(PB_BuildType) $(Architecture) skipnuget -skiprestore stripSymbols -OfficialBuildId=$(OfficialBuildId) -clang6.0",
+        "workingFolder": "",
+        "failOnStandardError": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": false,
+      "alwaysRun": false,
+      "displayName": "Run $(Agent.BuildDirectory)/s/build-packages.sh",
+      "timeoutInMinutes": 0,
+      "refName": "Task4",
+      "task": {
+        "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "filename": "$(Agent.BuildDirectory)/s/build-packages.sh",
+        "arguments": "-BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -- /p:OfficialBuildId=$(OfficialBuildId)",
+        "workingFolder": "",
+        "failOnStandardError": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": false,
+      "alwaysRun": false,
+      "displayName": "Publish packages",
+      "timeoutInMinutes": 0,
+      "refName": "Task5",
+      "task": {
+        "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "filename": "$(Agent.BuildDirectory)/s/publish-packages.sh",
+        "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishPackages -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/pkg /p:PublishFlatContainer=$(PublishFlat) /p:OverwriteOnPublish=true",
+        "workingFolder": "",
+        "failOnStandardError": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": false,
+      "alwaysRun": false,
+      "displayName": "Publish symbol packages",
+      "timeoutInMinutes": 0,
+      "refName": "Task6",
+      "task": {
+        "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "filename": "$(Agent.BuildDirectory)/s/publish-packages.sh",
+        "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishSymbols -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/symbolpkg /p:OverwriteOnPublish=true",
+        "workingFolder": "",
+        "failOnStandardError": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": false,
+      "alwaysRun": false,
+      "displayName": "Publish test native binaries",
+      "timeoutInMinutes": 0,
+      "refName": "Task7",
+      "task": {
+        "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "filename": "$(Agent.BuildDirectory)/s/publish-packages.sh",
+        "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishSymbols -PublishTestNativeBins -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/TestNativeBins/$(Rid)-$(Architecture) /p:OverwriteOnPublish=true",
+        "workingFolder": "",
+        "failOnStandardError": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": true,
+      "alwaysRun": true,
+      "displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs",
+      "timeoutInMinutes": 0,
+      "condition": "succeededOrFailed()",
+      "refName": "CopyFiles1",
+      "task": {
+        "id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
+        "versionSpec": "2.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "SourceFolder": "",
+        "Contents": "**/*.log",
+        "TargetFolder": "$(Build.StagingDirectory)\\BuildLogs",
+        "CleanTargetFolder": "false",
+        "OverWrite": "false",
+        "flattenFolders": "false"
+      }
+    },
+    {
+      "environment": {},
+      "enabled": true,
+      "continueOnError": true,
+      "alwaysRun": true,
+      "displayName": "Publish Artifact: BuildLogs",
+      "timeoutInMinutes": 0,
+      "condition": "succeededOrFailed()",
+      "refName": "PublishBuildArtifacts1",
+      "task": {
+        "id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe",
+        "versionSpec": "1.*",
+        "definitionType": "task"
+      },
+      "inputs": {
+        "PathtoPublish": "$(Build.StagingDirectory)\\BuildLogs",
+        "ArtifactName": "BuildLogs",
+        "ArtifactType": "Container",
+        "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)",
+        "Parallel": "false",
+        "ParallelCount": "8"
+      }
+    }
+  ],
+  "options": [
+    {
+      "enabled": false,
+      "definition": {
+        "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
+      },
+      "inputs": {
+        "workItemType": "234347",
+        "assignToRequestor": "true",
+        "additionalFields": "{}"
+      }
+    },
+    {
+      "enabled": false,
+      "definition": {
+        "id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
+      },
+      "inputs": {
+        "additionalFields": "{}"
+      }
+    },
+    {
+      "enabled": false,
+      "definition": {
+        "id": "5d58cc01-7c75-450c-be18-a388ddb129ec"
+      },
+      "inputs": {
+        "branchFilters": "[\"+refs/heads/*\"]",
+        "additionalFields": "{}"
+      }
+    }
+  ],
+  "variables": {
+    "system.debug": {
+      "value": "false",
+      "allowOverride": true
+    },
+    "PB_BuildType": {
+      "value": "Release"
+    },
+    "Architecture": {
+      "value": "x64"
+    },
+    "CloudDropAccountName": {
+      "value": "dotnetbuildoutput"
+    },
+    "CloudDropAccessToken": {
+      "value": null,
+      "isSecret": true
+    },
+    "OfficialBuildId": {
+      "value": "$(Build.BuildNumber)"
+    },
+    "Label": {
+      "value": "$(Build.BuildNumber)"
+    }
+  },
+  "demands": [
+    "Agent.OS -equals FreeBSD"
+  ],
+  "retentionRules": [
+    {
+      "branches": [
+        "+refs/heads/*"
+      ],
+      "artifacts": [],
+      "artifactTypesToDelete": [
+        "FilePath",
+        "SymbolStore"
+      ],
+      "daysToKeep": 10,
+      "minimumToKeep": 1,
+      "deleteBuildRecord": true,
+      "deleteTestResults": true
+    }
+  ],
+  "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
+  "jobAuthorizationScope": "projectCollection",
+  "jobTimeoutInMinutes": 90,
+  "jobCancelTimeoutInMinutes": 5,
+  "repository": {
+    "properties": {
+      "labelSources": "0",
+      "reportBuildStatus": "true",
+      "fetchDepth": "0",
+      "gitLfsSupport": "false",
+      "skipSyncSource": "false",
+      "cleanOptions": "0",
+      "checkoutNestedSubmodules": "false",
+      "labelSourcesFormat": "$(build.buildNumber)"
+    },
+    "id": "670e3783-ab4f-44fc-9786-d332007da311",
+    "type": "TfsGit",
+    "name": "DotNet-CoreCLR-Trusted",
+    "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted",
+    "defaultBranch": "refs/heads/master",
+    "clean": "true",
+    "checkoutSubmodules": false
+  },
+  "processParameters": {},
+  "quality": "definition",
+  "drafts": [],
+  "queue": {
+    "_links": {
+      "self": {
+        "href": "https://devdiv.visualstudio.com/_apis/build/Queues/832"
+      }
+    },
+    "id": 832,
+    "name": "DotNetCore-Infra",
+    "url": "https://devdiv.visualstudio.com/_apis/build/Queues/832",
+    "pool": {
+      "id": 135,
+      "name": "DotNetCore-Infra"
+    }
+  },
+  "id": 1680,
+  "name": "DotNet-CoreClr-Trusted-FreeBSD",
+  "path": "\\",
+  "type": "build",
+  "queueStatus": "enabled",
+  "project": {
+    "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+    "name": "DevDiv",
+    "description": "Visual Studio and DevDiv team project for git source code repositories.  Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv.  ",
+    "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
+    "state": "wellFormed",
+    "revision": 418098432,
+    "visibility": "organization"
+  }
+}
index 1b4d9b1..0cc485a 100644 (file)
           }
         },
         {
+          "Name": "DotNet-CoreClr-Trusted-FreeBSD",
+          "Parameters": {
+            "Rid": "freebsd"
+          },
+          "ReportingParameters": {
+            "OperatingSystem": "FreeBSD",
+            "Type": "build/product/",
+            "SubType": "PortableBuild",
+            "Architecture": "x64",
+            "PB_BuildType": null
+          }
+        },        
+        {
           "Name": "DotNet-CoreClr-Trusted-Windows",
           "Parameters": {
             "Architecture": "x64"
index 4f12e4b..5ee91fc 100644 (file)
@@ -235,3 +235,9 @@ add_definitions(-DFEATURE_WINMD_RESILIENT)
 add_definitions(-D_SECURE_SCL=0)
 add_definitions(-DUNICODE)
 add_definitions(-D_UNICODE)
+
+if(WIN32)
+  if (CLR_CMAKE_TARGET_ARCH_AMD64 OR CLR_CMAKE_TARGET_ARCH_I386)
+    add_definitions(-DFEATURE_DATABREAKPOINT)
+  endif(CLR_CMAKE_TARGET_ARCH_AMD64 OR CLR_CMAKE_TARGET_ARCH_I386)
+endif(WIN32)
\ No newline at end of file
index f7f2530..2fb62dd 100644 (file)
     <StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
     <StableVersion Condition="'$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(PackageVersion)</StableVersion>
 
-    <PreReleaseLabel>preview1</PreReleaseLabel>
+    <PreReleaseLabel>preview</PreReleaseLabel>
   </PropertyGroup>
 
   <!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
   <PropertyGroup>
-    <CoreFxCurrentRef>113441d094ba068154496b6e42356c5f5bd3eae7</CoreFxCurrentRef>
-    <CoreClrCurrentRef>9943c008068ab035cf0e70676c5244283a82b208</CoreClrCurrentRef>
-    <BuildToolsCurrentRef>46fce565812c6eb63fc95dade4d46bb15b8f62ef</BuildToolsCurrentRef>
-    <PgoDataCurrentRef>9943c008068ab035cf0e70676c5244283a82b208</PgoDataCurrentRef>
-    <CoreSetupCurrentRef>9943c008068ab035cf0e70676c5244283a82b208</CoreSetupCurrentRef>
-    <IbcDataCurrentRef>9943c008068ab035cf0e70676c5244283a82b208</IbcDataCurrentRef>
+    <CoreFxCurrentRef>fabf6d88a0185c0aa6f0cbfc14c14463fe41af1d</CoreFxCurrentRef>
+    <CoreClrCurrentRef>0c1e9d13c02fea39a5ba3790cf75645a5185790c</CoreClrCurrentRef>
+    <BuildToolsCurrentRef>0c1e9d13c02fea39a5ba3790cf75645a5185790c</BuildToolsCurrentRef>
+    <PgoDataCurrentRef>fabf6d88a0185c0aa6f0cbfc14c14463fe41af1d</PgoDataCurrentRef>
+    <CoreSetupCurrentRef>fabf6d88a0185c0aa6f0cbfc14c14463fe41af1d</CoreSetupCurrentRef>
+    <IbcDataCurrentRef>fabf6d88a0185c0aa6f0cbfc14c14463fe41af1d</IbcDataCurrentRef>
   </PropertyGroup>
 
   <!-- Tests/infrastructure dependency versions. -->
   <PropertyGroup>
-    <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.6.0-preview1-27018-01</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
-    <MicrosoftNETCorePlatformsPackageVersion>3.0.0-preview1-27018-01</MicrosoftNETCorePlatformsPackageVersion>
-    <PgoDataPackageVersion>99.99.99-master-20181029-0054</PgoDataPackageVersion>
-    <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview1-27028-04</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
-    <MicrosoftNETCoreAppPackageVersion>3.0.0-preview1-27029-01</MicrosoftNETCoreAppPackageVersion>
+    <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.6.0-preview.18553.3</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
+    <MicrosoftNETCorePlatformsPackageVersion>3.0.0-preview.18553.3</MicrosoftNETCorePlatformsPackageVersion>
+    <PgoDataPackageVersion>99.99.99-master-20181103-0042</PgoDataPackageVersion>
+    <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview-27102-02</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
+    <MicrosoftNETCoreAppPackageVersion>3.0.0-preview-27103-01</MicrosoftNETCoreAppPackageVersion>
     <XunitPackageVersion>2.4.1-pre.build.4059</XunitPackageVersion>
-    <IbcDataPackageVersion>99.99.99-master-20181029-0053</IbcDataPackageVersion>
+    <IbcDataPackageVersion>99.99.99-master-20181103-0046</IbcDataPackageVersion>
     <IbcMergePackageVersion>4.6.0-alpha-00001</IbcMergePackageVersion>
     <XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
     <MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.4</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
@@ -55,7 +55,7 @@
   <!-- Package versions used as toolsets -->
   <PropertyGroup>
     <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
-    <FeedTasksPackageVersion>3.0.0-preview1-03326-01</FeedTasksPackageVersion>
+    <FeedTasksPackageVersion>3.0.0-preview1-03402-01</FeedTasksPackageVersion>
   </PropertyGroup>
 
   <!-- Publish symbol build task package -->
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
new file mode 100644 (file)
index 0000000..a35b25d
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Dependencies>
+  <ProductDependencies></ProductDependencies>
+  <ToolsetDependencies>
+    <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.18556.6">
+      <Uri>https://github.com/dotnet/arcade</Uri>
+      <Sha>7b0a1f028490bbf18ab1565998719315f2de22e7</Sha>
+    </Dependency>
+    <Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="1.0.0-beta.18556.6">
+      <Uri>https://github.com/dotnet/arcade</Uri>
+      <Sha>7b0a1f028490bbf18ab1565998719315f2de22e7</Sha>
+    </Dependency>
+  </ToolsetDependencies>
+</Dependencies>
\ No newline at end of file
diff --git a/eng/Versions.props b/eng/Versions.props
new file mode 100644 (file)
index 0000000..92bea97
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project>
+  <PropertyGroup>
+    <!-- This repo version -->
+    <VersionPrefix>3.0.0</VersionPrefix>
+    <PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
+    <!-- Opt-out repo features -->
+    <UsingToolXliff>false</UsingToolXliff>
+    <UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>
+    <MicrosoftNetFrameworkReferenceAssembliesVersion>1.0.0-alpha-004</MicrosoftNetFrameworkReferenceAssembliesVersion>
+    <!-- Libs -->
+  </PropertyGroup>
+  <PropertyGroup>
+    <RestoreSources>
+      $(RestoreSources);
+      https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
+      https://dotnet.myget.org/F/symreader-converter/api/v3/index.json;
+      https:%2F%2Fdotnet.myget.org/F/symreader/api/v3/index.json
+    </RestoreSources>
+  </PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/eng/common/CIBuild.cmd b/eng/common/CIBuild.cmd
new file mode 100644 (file)
index 0000000..6544b0c
--- /dev/null
@@ -0,0 +1,3 @@
+@echo off
+powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*"
+exit /b %ErrorLevel%
diff --git a/eng/common/PublishBuildAssets.cmd b/eng/common/PublishBuildAssets.cmd
new file mode 100644 (file)
index 0000000..4f9d54d
--- /dev/null
@@ -0,0 +1,3 @@
+@echo off
+powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -publishBuildAssets %*"
+exit /b %ErrorLevel%
diff --git a/eng/common/build.ps1 b/eng/common/build.ps1
new file mode 100644 (file)
index 0000000..ca45b3d
--- /dev/null
@@ -0,0 +1,107 @@
+[CmdletBinding(PositionalBinding=$false)]
+Param(
+  [string] $configuration = "Debug",
+  [string] $projects = "",
+  [string] $verbosity = "minimal",
+  [string] $msbuildEngine = $null,
+  [bool] $warnaserror = $true,
+  [bool] $nodereuse = $true,
+  [switch] $restore,
+  [switch] $deployDeps,
+  [switch] $build,
+  [switch] $rebuild,
+  [switch] $deploy,
+  [switch] $test,
+  [switch] $integrationTest,
+  [switch] $performanceTest,
+  [switch] $sign,
+  [switch] $pack,
+  [switch] $publish,
+  [switch] $publishBuildAssets,
+  [switch] $ci,
+  [switch] $prepareMachine,
+  [switch] $help,
+  [Parameter(ValueFromRemainingArguments=$true)][String[]]$properties
+)
+
+. $PSScriptRoot\tools.ps1
+
+function Print-Usage() {
+    Write-Host "Common settings:"
+    Write-Host "  -configuration <value>  Build configuration Debug, Release"
+    Write-Host "  -verbosity <value>      Msbuild verbosity (q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic])"
+    Write-Host "  -help                   Print help and exit"
+    Write-Host ""
+
+    Write-Host "Actions:"
+    Write-Host "  -restore                Restore dependencies"
+    Write-Host "  -build                  Build solution"
+    Write-Host "  -rebuild                Rebuild solution"
+    Write-Host "  -deploy                 Deploy built VSIXes"
+    Write-Host "  -deployDeps             Deploy dependencies (e.g. VSIXes for integration tests)"
+    Write-Host "  -test                   Run all unit tests in the solution"
+    Write-Host "  -pack                   Package build outputs into NuGet packages and Willow components"
+    Write-Host "  -integrationTest        Run all integration tests in the solution"
+    Write-Host "  -performanceTest        Run all performance tests in the solution"
+    Write-Host "  -sign                   Sign build outputs"
+    Write-Host "  -publish                Publish artifacts (e.g. symbols)"
+    Write-Host "  -publishBuildAssets        Push assets to BAR"
+    Write-Host ""
+
+    Write-Host "Advanced settings:"
+    Write-Host "  -projects <value>       Semi-colon delimited list of sln/proj's to build. Globbing is supported (*.sln)"
+    Write-Host "  -ci                     Set when running on CI server"
+    Write-Host "  -prepareMachine         Prepare machine for CI run"
+    Write-Host "  -msbuildEngine <value>  Msbuild engine to use to run build ('dotnet', 'vs', or unspecified)."
+    Write-Host ""
+    Write-Host "Command line arguments not listed above are passed thru to msbuild."
+    Write-Host "The above arguments can be shortened as much as to be unambiguous (e.g. -co for configuration, -t for test, etc.)."
+}
+
+if ($help -or (($properties -ne $null) -and ($properties.Contains("/help") -or $properties.Contains("/?")))) {
+  Print-Usage
+  exit 0
+}
+
+try {
+  if ($projects -eq "") {
+    $projects = Join-Path $RepoRoot "*.sln"
+  }
+
+  InitializeTools
+
+  $BuildLog = Join-Path $LogDir "Build.binlog"
+
+  MSBuild $ToolsetBuildProj `
+    /bl:$BuildLog `
+    /p:Configuration=$configuration `
+    /p:Projects=$projects `
+    /p:RepoRoot=$RepoRoot `
+    /p:Restore=$restore `
+    /p:DeployDeps=$deployDeps `
+    /p:Build=$build `
+    /p:Rebuild=$rebuild `
+    /p:Deploy=$deploy `
+    /p:Test=$test `
+    /p:Pack=$pack `
+    /p:IntegrationTest=$integrationTest `
+    /p:PerformanceTest=$performanceTest `
+    /p:Sign=$sign `
+    /p:Publish=$publish `
+    /p:PublishBuildAssets=$publishBuildAssets `
+    /p:ContinuousIntegrationBuild=$ci `
+    @properties
+
+  if ($lastExitCode -ne 0) {
+    Write-Host "Build Failed (exit code '$lastExitCode'). See log: $BuildLog" -ForegroundColor Red
+    ExitWithExitCode $lastExitCode
+  }
+
+  ExitWithExitCode $lastExitCode
+}
+catch {
+  Write-Host $_
+  Write-Host $_.Exception
+  Write-Host $_.ScriptStackTrace
+  ExitWithExitCode 1
+}
diff --git a/eng/common/build.sh b/eng/common/build.sh
new file mode 100755 (executable)
index 0000000..941db3b
--- /dev/null
@@ -0,0 +1,171 @@
+#!/usr/bin/env bash
+
+source="${BASH_SOURCE[0]}"
+
+# resolve $source until the file is no longer a symlink
+while [[ -h "$source" ]]; do
+  scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+  source="$(readlink "$source")"
+  # if $source was a relative symlink, we need to resolve it relative to the path where the
+  # symlink file was located
+  [[ $source != /* ]] && source="$scriptroot/$source"
+done
+scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+
+help=false
+restore=false
+build=false
+rebuild=false
+test=false
+pack=false
+publish=false
+integration_test=false
+performance_test=false
+sign=false
+public=false
+ci=false
+
+warnaserror=true
+nodereuse=true
+
+projects=''
+configuration='Debug'
+prepare_machine=false
+verbosity='minimal'
+properties=''
+
+while (($# > 0)); do
+  lowerI="$(echo $1 | awk '{print tolower($0)}')"
+  case $lowerI in
+    --build)
+      build=true
+      shift 1
+      ;;
+    --ci)
+      ci=true
+      shift 1
+      ;;
+    --configuration)
+      configuration=$2
+      shift 2
+      ;;
+    --help)
+      echo "Common settings:"
+      echo "  --configuration <value>  Build configuration Debug, Release"
+      echo "  --verbosity <value>      Msbuild verbosity (q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic])"
+      echo "  --help                   Print help and exit"
+      echo ""
+      echo "Actions:"
+      echo "  --restore                Restore dependencies"
+      echo "  --build                  Build solution"
+      echo "  --rebuild                Rebuild solution"
+      echo "  --test                   Run all unit tests in the solution"
+      echo "  --sign                   Sign build outputs"
+      echo "  --publish                Publish artifacts (e.g. symbols)"
+      echo "  --pack                   Package build outputs into NuGet packages and Willow components"
+      echo ""
+      echo "Advanced settings:"
+      echo "  --solution <value>       Path to solution to build"
+      echo "  --ci                     Set when running on CI server"
+      echo "  --prepareMachine         Prepare machine for CI run"
+      echo ""
+      echo "Command line arguments not listed above are passed through to MSBuild."
+      exit 0
+      ;;
+    --pack)
+      pack=true
+      shift 1
+      ;;
+    --preparemachine)
+      prepare_machine=true
+      shift 1
+      ;;
+    --rebuild)
+      rebuild=true
+      shift 1
+      ;;
+    --restore)
+      restore=true
+      shift 1
+      ;;
+    --sign)
+      sign=true
+      shift 1
+      ;;
+    --solution)
+      solution=$2
+      shift 2
+      ;;
+    --projects)
+      projects=$2
+      shift 2
+      ;;
+    --test)
+      test=true
+      shift 1
+      ;;
+    --integrationtest)
+      integration_test=true
+      shift 1
+      ;;
+    --performancetest)
+      performance_test=true
+      shift 1
+      ;;
+    --publish)
+      publish=true
+      shift 1
+      ;;
+    --verbosity)
+      verbosity=$2
+      shift 2
+      ;;
+    --warnaserror)
+      warnaserror=$2
+      shift 2
+      ;;
+    --nodereuse)
+      nodereuse=$2
+      shift 2
+      ;;
+      *)
+      properties="$properties $1"
+      shift 1
+      ;;
+  esac
+done
+
+. "$scriptroot/tools.sh"
+
+if [[ -z $projects ]]; then
+  projects="$repo_root/*.sln"
+fi
+
+InitializeTools
+
+build_log="$log_dir/Build.binlog"
+
+MSBuild "$toolset_build_proj" \
+  /bl:"$build_log" \
+  /p:Configuration=$configuration \
+  /p:Projects="$projects" \
+  /p:RepoRoot="$repo_root" \
+  /p:Restore=$restore \
+  /p:Build=$build \
+  /p:Rebuild=$rebuild \
+  /p:Test=$test \
+  /p:Pack=$pack \
+  /p:IntegrationTest=$integration_test \
+  /p:PerformanceTest=$performance_test \
+  /p:Sign=$sign \
+  /p:Publish=$publish \
+  /p:ContinuousIntegrationBuild=$ci \
+  $properties
+
+lastexitcode=$?
+
+if [[ $lastexitcode != 0 ]]; then
+  echo "Build failed (exit code '$lastexitcode'). See log: $build_log"
+fi
+
+ExitWithExitCode $lastexitcode
diff --git a/eng/common/cibuild.sh b/eng/common/cibuild.sh
new file mode 100755 (executable)
index 0000000..1a02c0d
--- /dev/null
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+source="${BASH_SOURCE[0]}"
+
+# resolve $SOURCE until the file is no longer a symlink
+while [[ -h $source ]]; do
+  scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+  source="$(readlink "$source")"
+
+  # if $source was a relative symlink, we need to resolve it relative to the path where 
+  # the symlink file was located
+  [[ $source != /* ]] && source="$scriptroot/$source"
+done
+scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+
+. "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@
\ No newline at end of file
diff --git a/eng/common/cross/android/arm/toolchain.cmake b/eng/common/cross/android/arm/toolchain.cmake
new file mode 100644 (file)
index 0000000..a7e1c73
--- /dev/null
@@ -0,0 +1,41 @@
+set(CROSS_NDK_TOOLCHAIN $ENV{ROOTFS_DIR}/../)
+set(CROSS_ROOTFS ${CROSS_NDK_TOOLCHAIN}/sysroot)
+set(CLR_CMAKE_PLATFORM_ANDROID "Android")
+
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_SYSTEM_VERSION 1)
+set(CMAKE_SYSTEM_PROCESSOR arm)
+
+## Specify the toolchain
+set(TOOLCHAIN "arm-linux-androideabi")
+set(CMAKE_PREFIX_PATH ${CROSS_NDK_TOOLCHAIN})
+set(TOOLCHAIN_PREFIX ${TOOLCHAIN}-)
+
+find_program(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}clang)
+find_program(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}clang++)
+find_program(CMAKE_ASM_COMPILER ${TOOLCHAIN_PREFIX}clang)
+find_program(CMAKE_AR ${TOOLCHAIN_PREFIX}ar)
+find_program(CMAKE_LD ${TOOLCHAIN_PREFIX}ar)
+find_program(CMAKE_OBJCOPY ${TOOLCHAIN_PREFIX}objcopy)
+find_program(CMAKE_OBJDUMP ${TOOLCHAIN_PREFIX}objdump)
+
+add_compile_options(--sysroot=${CROSS_ROOTFS})
+add_compile_options(-fPIE)
+add_compile_options(-mfloat-abi=soft)
+include_directories(SYSTEM ${CROSS_NDK_TOOLCHAIN}/include/c++/4.9.x/)
+include_directories(SYSTEM ${CROSS_NDK_TOOLCHAIN}/include/c++/4.9.x/arm-linux-androideabi/)
+
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -B ${CROSS_ROOTFS}/usr/lib/gcc/${TOOLCHAIN}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/lib/${TOOLCHAIN}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -fPIE -pie")
+
+set(CMAKE_EXE_LINKER_FLAGS    "${CMAKE_EXE_LINKER_FLAGS}    ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
+set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
+set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
+
+set(CMAKE_FIND_ROOT_PATH "${CROSS_ROOTFS}")
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
diff --git a/eng/common/cross/android/arm64/toolchain.cmake b/eng/common/cross/android/arm64/toolchain.cmake
new file mode 100644 (file)
index 0000000..2941589
--- /dev/null
@@ -0,0 +1,42 @@
+set(CROSS_NDK_TOOLCHAIN $ENV{ROOTFS_DIR}/../)
+set(CROSS_ROOTFS ${CROSS_NDK_TOOLCHAIN}/sysroot)
+set(CLR_CMAKE_PLATFORM_ANDROID "Android")
+
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_SYSTEM_VERSION 1)
+set(CMAKE_SYSTEM_PROCESSOR aarch64)
+
+## Specify the toolchain
+set(TOOLCHAIN "aarch64-linux-android")
+set(CMAKE_PREFIX_PATH ${CROSS_NDK_TOOLCHAIN})
+set(TOOLCHAIN_PREFIX ${TOOLCHAIN}-)
+
+find_program(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}clang)
+find_program(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}clang++)
+find_program(CMAKE_ASM_COMPILER ${TOOLCHAIN_PREFIX}clang)
+find_program(CMAKE_AR ${TOOLCHAIN_PREFIX}ar)
+find_program(CMAKE_LD ${TOOLCHAIN_PREFIX}ar)
+find_program(CMAKE_OBJCOPY ${TOOLCHAIN_PREFIX}objcopy)
+find_program(CMAKE_OBJDUMP ${TOOLCHAIN_PREFIX}objdump)
+
+add_compile_options(--sysroot=${CROSS_ROOTFS})
+add_compile_options(-fPIE)
+
+## Needed for Android or bionic specific conditionals
+add_compile_options(-D__ANDROID__)
+add_compile_options(-D__BIONIC__)
+
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -B ${CROSS_ROOTFS}/usr/lib/gcc/${TOOLCHAIN}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -L${CROSS_ROOTFS}/lib/${TOOLCHAIN}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} --sysroot=${CROSS_ROOTFS}")
+set(CROSS_LINK_FLAGS "${CROSS_LINK_FLAGS} -fPIE -pie")
+
+set(CMAKE_EXE_LINKER_FLAGS    "${CMAKE_EXE_LINKER_FLAGS}    ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
+set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
+set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${CROSS_LINK_FLAGS}" CACHE STRING "" FORCE)
+
+set(CMAKE_FIND_ROOT_PATH "${CROSS_ROOTFS}")
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
diff --git a/eng/common/cross/arm/sources.list.bionic b/eng/common/cross/arm/sources.list.bionic
new file mode 100644 (file)
index 0000000..2109557
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe multiverse
diff --git a/eng/common/cross/arm/sources.list.jessie b/eng/common/cross/arm/sources.list.jessie
new file mode 100644 (file)
index 0000000..4d142ac
--- /dev/null
@@ -0,0 +1,3 @@
+# Debian (sid)   # UNSTABLE
+deb http://ftp.debian.org/debian/ sid main contrib non-free
+deb-src http://ftp.debian.org/debian/ sid main contrib non-free
diff --git a/eng/common/cross/arm/sources.list.trusty b/eng/common/cross/arm/sources.list.trusty
new file mode 100644 (file)
index 0000000..07d8f88
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm/sources.list.vivid b/eng/common/cross/arm/sources.list.vivid
new file mode 100644 (file)
index 0000000..0b1215e
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm/sources.list.wily b/eng/common/cross/arm/sources.list.wily
new file mode 100644 (file)
index 0000000..e23d1e0
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ wily main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ wily-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ wily-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ wily-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm/sources.list.xenial b/eng/common/cross/arm/sources.list.xenial
new file mode 100644 (file)
index 0000000..eacd86b
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm/sources.list.zesty b/eng/common/cross/arm/sources.list.zesty
new file mode 100644 (file)
index 0000000..ea2c14a
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
diff --git a/eng/common/cross/arm/trusty-lttng-2.4.patch b/eng/common/cross/arm/trusty-lttng-2.4.patch
new file mode 100644 (file)
index 0000000..8e4dd7a
--- /dev/null
@@ -0,0 +1,71 @@
+From e72c9d7ead60e3317bd6d1fade995c07021c947b Mon Sep 17 00:00:00 2001
+From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+Date: Thu, 7 May 2015 13:25:04 -0400
+Subject: [PATCH] Fix: building probe providers with C++ compiler
+
+Robert Daniels wrote:
+> > I'm attempting to use lttng userspace tracing with a C++ application
+> > on an ARM platform. I'm using GCC 4.8.4 on Linux 3.14 with the 2.6
+> > release of lttng. I've compiled lttng-modules, lttng-ust, and
+> > lttng-tools and have been able to get a simple test working with C
+> > code.  When I attempt to run the hello.cxx test on my target it will
+> > segfault.
+>
+>
+> I spent a little time digging into this issue and finally discovered the
+> cause of my segfault with ARM C++ tracepoints.
+>
+> There is a struct called 'lttng_event' in ust-events.h which contains an
+> empty union 'u'.  This was the cause of my issue.  Under C, this empty union
+> compiles to a zero byte member while under C++ it compiles to a one byte
+> member, and in my case was four-byte aligned which caused my C++ code to
+> have the 'cds_list_head node' offset incorrectly by four bytes.  This lead
+> to an incorrect linked list structure which caused my issue.
+>
+> Since this union is empty, I simply removed it from the struct and everything
+> worked correctly.
+>
+> I don't know the history or purpose behind this empty union so I'd like to
+> know if this is a safe fix.  If it is I can submit a patch with the union
+> removed.
+
+That's a very nice catch!
+
+We do not support building tracepoint probe provider with
+g++ yet, as stated in lttng-ust(3):
+
+"- Note for C++ support: although an application instrumented with
+   tracepoints can be compiled with g++, tracepoint probes should be
+   compiled with gcc (only tested with gcc so far)."
+
+However, if it works fine with this fix, then I'm tempted to take it,
+especially because removing the empty union does not appear to affect
+the layout of struct lttng_event as seen from liblttng-ust, which must
+be compiled with a C compiler,  and from probe providers compiled with
+a C compiler. So all we are changing is the layout of a probe provider
+compiled with a C++ compiler, which is anyway buggy at the moment,
+because it is not compatible with the layout expected by liblttng-ust
+compiled with a C compiler.
+
+Reported-by: Robert Daniels <robert.daniels@vantagecontrols.com>
+Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+---
+ include/lttng/ust-events.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/usr/include/lttng/ust-events.h b/usr/include/lttng/ust-events.h
+index 328a875..3d7a274 100644
+--- a/usr/include/lttng/ust-events.h
++++ b/usr/include/lttng/ust-events.h
+@@ -407,8 +407,6 @@ struct lttng_event {
+       void *_deprecated1;
+       struct lttng_ctx *ctx;
+       enum lttng_ust_instrumentation instrumentation;
+-      union {
+-      } u;
+       struct cds_list_head node;              /* Event list in session */
+       struct cds_list_head _deprecated2;
+       void *_deprecated3;
+-- 
+2.7.4
+
diff --git a/eng/common/cross/arm/trusty.patch b/eng/common/cross/arm/trusty.patch
new file mode 100644 (file)
index 0000000..2f2972f
--- /dev/null
@@ -0,0 +1,97 @@
+diff -u -r a/usr/include/urcu/uatomic/generic.h b/usr/include/urcu/uatomic/generic.h
+--- a/usr/include/urcu/uatomic/generic.h       2014-03-28 06:04:42.000000000 +0900
++++ b/usr/include/urcu/uatomic/generic.h       2017-02-13 10:35:21.189927116 +0900
+@@ -65,17 +65,17 @@
+       switch (len) {
+ #ifdef UATOMIC_HAS_ATOMIC_BYTE
+       case 1:
+-              return __sync_val_compare_and_swap_1(addr, old, _new);
++              return __sync_val_compare_and_swap_1((uint8_t *) addr, old, _new);
+ #endif
+ #ifdef UATOMIC_HAS_ATOMIC_SHORT
+       case 2:
+-              return __sync_val_compare_and_swap_2(addr, old, _new);
++              return __sync_val_compare_and_swap_2((uint16_t *) addr, old, _new);
+ #endif
+       case 4:
+-              return __sync_val_compare_and_swap_4(addr, old, _new);
++              return __sync_val_compare_and_swap_4((uint32_t *) addr, old, _new);
+ #if (CAA_BITS_PER_LONG == 64)
+       case 8:
+-              return __sync_val_compare_and_swap_8(addr, old, _new);
++              return __sync_val_compare_and_swap_8((uint64_t *) addr, old, _new);
+ #endif
+       }
+       _uatomic_link_error();
+@@ -100,20 +100,20 @@
+       switch (len) {
+ #ifdef UATOMIC_HAS_ATOMIC_BYTE
+       case 1:
+-              __sync_and_and_fetch_1(addr, val);
++              __sync_and_and_fetch_1((uint8_t *) addr, val);
+               return;
+ #endif
+ #ifdef UATOMIC_HAS_ATOMIC_SHORT
+       case 2:
+-              __sync_and_and_fetch_2(addr, val);
++              __sync_and_and_fetch_2((uint16_t *) addr, val);
+               return;
+ #endif
+       case 4:
+-              __sync_and_and_fetch_4(addr, val);
++              __sync_and_and_fetch_4((uint32_t *) addr, val);
+               return;
+ #if (CAA_BITS_PER_LONG == 64)
+       case 8:
+-              __sync_and_and_fetch_8(addr, val);
++              __sync_and_and_fetch_8((uint64_t *) addr, val);
+               return;
+ #endif
+       }
+@@ -139,20 +139,20 @@
+       switch (len) {
+ #ifdef UATOMIC_HAS_ATOMIC_BYTE
+       case 1:
+-              __sync_or_and_fetch_1(addr, val);
++              __sync_or_and_fetch_1((uint8_t *) addr, val);
+               return;
+ #endif
+ #ifdef UATOMIC_HAS_ATOMIC_SHORT
+       case 2:
+-              __sync_or_and_fetch_2(addr, val);
++              __sync_or_and_fetch_2((uint16_t *) addr, val);
+               return;
+ #endif
+       case 4:
+-              __sync_or_and_fetch_4(addr, val);
++              __sync_or_and_fetch_4((uint32_t *) addr, val);
+               return;
+ #if (CAA_BITS_PER_LONG == 64)
+       case 8:
+-              __sync_or_and_fetch_8(addr, val);
++              __sync_or_and_fetch_8((uint64_t *) addr, val);
+               return;
+ #endif
+       }
+@@ -180,17 +180,17 @@
+       switch (len) {
+ #ifdef UATOMIC_HAS_ATOMIC_BYTE
+       case 1:
+-              return __sync_add_and_fetch_1(addr, val);
++              return __sync_add_and_fetch_1((uint8_t *) addr, val);
+ #endif
+ #ifdef UATOMIC_HAS_ATOMIC_SHORT
+       case 2:
+-              return __sync_add_and_fetch_2(addr, val);
++              return __sync_add_and_fetch_2((uint16_t *) addr, val);
+ #endif
+       case 4:
+-              return __sync_add_and_fetch_4(addr, val);
++              return __sync_add_and_fetch_4((uint32_t *) addr, val);
+ #if (CAA_BITS_PER_LONG == 64)
+       case 8:
+-              return __sync_add_and_fetch_8(addr, val);
++              return __sync_add_and_fetch_8((uint64_t *) addr, val);
+ #endif
+       }
+       _uatomic_link_error();
diff --git a/eng/common/cross/arm64/sources.list.bionic b/eng/common/cross/arm64/sources.list.bionic
new file mode 100644 (file)
index 0000000..2109557
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe multiverse
diff --git a/eng/common/cross/arm64/sources.list.trusty b/eng/common/cross/arm64/sources.list.trusty
new file mode 100644 (file)
index 0000000..07d8f88
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm64/sources.list.vivid b/eng/common/cross/arm64/sources.list.vivid
new file mode 100644 (file)
index 0000000..0b1215e
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ vivid-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm64/sources.list.wily b/eng/common/cross/arm64/sources.list.wily
new file mode 100644 (file)
index 0000000..e23d1e0
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ wily main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ wily-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ wily-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ wily-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ wily-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm64/sources.list.xenial b/eng/common/cross/arm64/sources.list.xenial
new file mode 100644 (file)
index 0000000..eacd86b
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
\ No newline at end of file
diff --git a/eng/common/cross/arm64/sources.list.zesty b/eng/common/cross/arm64/sources.list.zesty
new file mode 100644 (file)
index 0000000..ea2c14a
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
diff --git a/eng/common/cross/armel/sources.list.jessie b/eng/common/cross/armel/sources.list.jessie
new file mode 100644 (file)
index 0000000..3d9c305
--- /dev/null
@@ -0,0 +1,3 @@
+# Debian (jessie)   # Stable
+deb http://ftp.debian.org/debian/ jessie main contrib non-free
+deb-src http://ftp.debian.org/debian/ jessie main contrib non-free
diff --git a/eng/common/cross/armel/tizen-build-rootfs.sh b/eng/common/cross/armel/tizen-build-rootfs.sh
new file mode 100644 (file)
index 0000000..87c48e7
--- /dev/null
@@ -0,0 +1,44 @@
+#!/usr/bin/env bash
+set -e
+
+__ARM_SOFTFP_CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+__TIZEN_CROSSDIR="$__ARM_SOFTFP_CrossDir/tizen"
+
+if [[ -z "$ROOTFS_DIR" ]]; then
+    echo "ROOTFS_DIR is not defined."
+    exit 1;
+fi
+
+# Clean-up (TODO-Cleanup: We may already delete  $ROOTFS_DIR at ./cross/build-rootfs.sh.)
+# hk0110
+if [ -d "$ROOTFS_DIR" ]; then
+    umount $ROOTFS_DIR/*
+    rm -rf $ROOTFS_DIR
+fi
+
+TIZEN_TMP_DIR=$ROOTFS_DIR/tizen_tmp
+mkdir -p $TIZEN_TMP_DIR
+
+# Download files
+echo ">>Start downloading files"
+VERBOSE=1 $__ARM_SOFTFP_CrossDir/tizen-fetch.sh $TIZEN_TMP_DIR
+echo "<<Finish downloading files"
+
+echo ">>Start constructing Tizen rootfs"
+TIZEN_RPM_FILES=`ls $TIZEN_TMP_DIR/*.rpm`
+cd $ROOTFS_DIR
+for f in $TIZEN_RPM_FILES; do
+    rpm2cpio $f  | cpio -idm --quiet
+done
+echo "<<Finish constructing Tizen rootfs"
+
+# Cleanup tmp
+rm -rf $TIZEN_TMP_DIR
+
+# Configure Tizen rootfs
+echo ">>Start configuring Tizen rootfs"
+rm ./usr/lib/libunwind.so
+ln -s libunwind.so.8 ./usr/lib/libunwind.so
+ln -sfn asm-arm ./usr/include/asm
+patch -p1 < $__TIZEN_CROSSDIR/tizen.patch
+echo "<<Finish configuring Tizen rootfs"
diff --git a/eng/common/cross/armel/tizen-fetch.sh b/eng/common/cross/armel/tizen-fetch.sh
new file mode 100644 (file)
index 0000000..ba16e99
--- /dev/null
@@ -0,0 +1,171 @@
+#!/usr/bin/env bash
+set -e
+
+if [[ -z "${VERBOSE// }" ]] || [ "$VERBOSE" -ne "$VERBOSE" ] 2>/dev/null; then
+       VERBOSE=0
+fi
+
+Log()
+{
+       if [ $VERBOSE -ge $1 ]; then
+               echo ${@:2}
+       fi
+}
+
+Inform()
+{
+       Log 1 -e "\x1B[0;34m$@\x1B[m"
+}
+
+Debug()
+{
+       Log 2 -e "\x1B[0;32m$@\x1B[m"
+}
+
+Error()
+{
+       >&2 Log 0 -e "\x1B[0;31m$@\x1B[m"
+}
+
+Fetch()
+{
+       URL=$1
+       FILE=$2
+       PROGRESS=$3
+       if [ $VERBOSE -ge 1 ] && [ $PROGRESS ]; then
+               CURL_OPT="--progress-bar"
+       else
+               CURL_OPT="--silent"
+       fi
+       curl $CURL_OPT $URL > $FILE
+}
+
+hash curl 2> /dev/null || { Error "Require 'curl' Aborting."; exit 1; }
+hash xmllint 2> /dev/null || { Error "Require 'xmllint' Aborting."; exit 1; }
+hash sha256sum 2> /dev/null || { Error "Require 'sha256sum' Aborting."; exit 1; }
+
+TMPDIR=$1
+if [ ! -d $TMPDIR ]; then
+       TMPDIR=./tizen_tmp
+       Debug "Create temporary directory : $TMPDIR"
+       mkdir -p $TMPDIR 
+fi
+
+TIZEN_URL=http://download.tizen.org/releases/milestone/tizen
+BUILD_XML=build.xml
+REPOMD_XML=repomd.xml
+PRIMARY_XML=primary.xml
+TARGET_URL="http://__not_initialized"
+
+Xpath_get()
+{
+       XPATH_RESULT=''
+       XPATH=$1
+       XML_FILE=$2
+       RESULT=$(xmllint --xpath $XPATH $XML_FILE)
+       if [[ -z ${RESULT// } ]]; then
+               Error "Can not find target from $XML_FILE"
+               Debug "Xpath = $XPATH"
+               exit 1
+       fi
+       XPATH_RESULT=$RESULT
+}
+
+fetch_tizen_pkgs_init()
+{
+       TARGET=$1
+       PROFILE=$2
+       Debug "Initialize TARGET=$TARGET, PROFILE=$PROFILE"
+
+       TMP_PKG_DIR=$TMPDIR/tizen_${PROFILE}_pkgs
+       if [ -d $TMP_PKG_DIR ]; then rm -rf $TMP_PKG_DIR; fi
+       mkdir -p $TMP_PKG_DIR
+
+       PKG_URL=$TIZEN_URL/$PROFILE/latest
+
+       BUILD_XML_URL=$PKG_URL/$BUILD_XML
+       TMP_BUILD=$TMP_PKG_DIR/$BUILD_XML
+       TMP_REPOMD=$TMP_PKG_DIR/$REPOMD_XML
+       TMP_PRIMARY=$TMP_PKG_DIR/$PRIMARY_XML
+       TMP_PRIMARYGZ=${TMP_PRIMARY}.gz
+
+       Fetch $BUILD_XML_URL $TMP_BUILD
+
+       Debug "fetch $BUILD_XML_URL to $TMP_BUILD"
+
+       TARGET_XPATH="//build/buildtargets/buildtarget[@name=\"$TARGET\"]/repo[@type=\"binary\"]/text()"
+       Xpath_get $TARGET_XPATH $TMP_BUILD
+       TARGET_PATH=$XPATH_RESULT
+       TARGET_URL=$PKG_URL/$TARGET_PATH
+
+       REPOMD_URL=$TARGET_URL/repodata/repomd.xml
+       PRIMARY_XPATH='string(//*[local-name()="data"][@type="primary"]/*[local-name()="location"]/@href)'
+
+       Fetch $REPOMD_URL $TMP_REPOMD
+
+       Debug "fetch $REPOMD_URL to $TMP_REPOMD"
+
+       Xpath_get $PRIMARY_XPATH $TMP_REPOMD
+       PRIMARY_XML_PATH=$XPATH_RESULT
+       PRIMARY_URL=$TARGET_URL/$PRIMARY_XML_PATH
+
+       Fetch $PRIMARY_URL $TMP_PRIMARYGZ
+
+       Debug "fetch $PRIMARY_URL to $TMP_PRIMARYGZ"
+
+       gunzip $TMP_PRIMARYGZ 
+
+       Debug "unzip $TMP_PRIMARYGZ to $TMP_PRIMARY" 
+}
+
+fetch_tizen_pkgs()
+{
+       ARCH=$1
+       PACKAGE_XPATH_TPL='string(//*[local-name()="metadata"]/*[local-name()="package"][*[local-name()="name"][text()="_PKG_"]][*[local-name()="arch"][text()="_ARCH_"]]/*[local-name()="location"]/@href)'
+
+       PACKAGE_CHECKSUM_XPATH_TPL='string(//*[local-name()="metadata"]/*[local-name()="package"][*[local-name()="name"][text()="_PKG_"]][*[local-name()="arch"][text()="_ARCH_"]]/*[local-name()="checksum"]/text())'
+
+       for pkg in ${@:2}
+       do
+               Inform "Fetching... $pkg"
+               XPATH=${PACKAGE_XPATH_TPL/_PKG_/$pkg}
+               XPATH=${XPATH/_ARCH_/$ARCH}
+               Xpath_get $XPATH $TMP_PRIMARY
+               PKG_PATH=$XPATH_RESULT
+
+               XPATH=${PACKAGE_CHECKSUM_XPATH_TPL/_PKG_/$pkg}
+               XPATH=${XPATH/_ARCH_/$ARCH}
+               Xpath_get $XPATH $TMP_PRIMARY
+               CHECKSUM=$XPATH_RESULT
+
+               PKG_URL=$TARGET_URL/$PKG_PATH
+               PKG_FILE=$(basename $PKG_PATH)
+               PKG_PATH=$TMPDIR/$PKG_FILE
+
+               Debug "Download $PKG_URL to $PKG_PATH"
+               Fetch $PKG_URL $PKG_PATH true
+
+               echo "$CHECKSUM $PKG_PATH" | sha256sum -c - > /dev/null
+               if [ $? -ne 0 ]; then
+                       Error "Fail to fetch $PKG_URL to $PKG_PATH"
+                       Debug "Checksum = $CHECKSUM"
+                       exit 1
+               fi
+       done
+}
+
+Inform "Initialize arm base"
+fetch_tizen_pkgs_init standard base
+Inform "fetch common packages"
+fetch_tizen_pkgs armv7l gcc glibc glibc-devel libicu libicu-devel
+fetch_tizen_pkgs noarch linux-glibc-devel
+Inform "fetch coreclr packages"
+fetch_tizen_pkgs armv7l lldb lldb-devel libgcc libstdc++ libstdc++-devel libunwind libunwind-devel tizen-release lttng-ust-devel lttng-ust userspace-rcu-devel userspace-rcu
+Inform "fetch corefx packages"
+fetch_tizen_pkgs armv7l libcom_err libcom_err-devel zlib zlib-devel libopenssl libopenssl-devel krb5 krb5-devel libcurl libcurl-devel
+
+Inform "Initialize standard unified"
+fetch_tizen_pkgs_init standard unified
+Inform "fetch corefx packages"
+fetch_tizen_pkgs armv7l gssdp gssdp-devel
+
diff --git a/eng/common/cross/armel/tizen/tizen-dotnet.ks b/eng/common/cross/armel/tizen/tizen-dotnet.ks
new file mode 100644 (file)
index 0000000..506d455
--- /dev/null
@@ -0,0 +1,50 @@
+lang en_US.UTF-8
+keyboard us
+timezone --utc Asia/Seoul
+
+part / --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label rootfs --fsoptions=defaults,noatime
+
+rootpw tizen
+desktop --autologinuser=root
+user --name root  --groups audio,video --password 'tizen'
+
+repo --name=standard  --baseurl=http://download.tizen.org/releases/milestone/tizen/unified/latest/repos/standard/packages/ --ssl_verify=no
+repo --name=base      --baseurl=http://download.tizen.org/releases/milestone/tizen/base/latest/repos/standard/packages/ --ssl_verify=no
+
+%packages
+tar
+gzip
+
+sed
+grep
+gawk
+perl
+
+binutils
+findutils
+util-linux
+lttng-ust
+userspace-rcu
+procps-ng
+tzdata
+ca-certificates
+
+
+### Core FX
+libicu
+libunwind
+iputils
+zlib
+krb5
+libcurl
+libopenssl
+
+%end
+
+%post
+
+### Update /tmp privilege
+chmod 777 /tmp
+####################################
+
+%end
diff --git a/eng/common/cross/armel/tizen/tizen.patch b/eng/common/cross/armel/tizen/tizen.patch
new file mode 100644 (file)
index 0000000..d223427
--- /dev/null
@@ -0,0 +1,18 @@
+diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so
+--- a/usr/lib/libc.so  2016-12-30 23:00:08.284951863 +0900
++++ b/usr/lib/libc.so  2016-12-30 23:00:32.140951815 +0900
+@@ -2,4 +2,4 @@
+    Use the shared library, but some functions are only in
+    the static library, so try that secondarily.  */
+ OUTPUT_FORMAT(elf32-littlearm)
+-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED ( /lib/ld-linux.so.3 ) )
++GROUP ( libc.so.6 libc_nonshared.a  AS_NEEDED ( ld-linux.so.3 ) )
+diff -u -r a/usr/lib/libpthread.so b/usr/lib/libpthread.so
+--- a/usr/lib/libpthread.so    2016-12-30 23:00:19.408951841 +0900
++++ b/usr/lib/libpthread.so    2016-12-30 23:00:39.068951801 +0900
+@@ -2,4 +2,4 @@
+    Use the shared library, but some functions are only in
+    the static library, so try that secondarily.  */
+ OUTPUT_FORMAT(elf32-littlearm)
+-GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a )
++GROUP ( libpthread.so.0 libpthread_nonshared.a )
diff --git a/eng/common/cross/build-android-rootfs.sh b/eng/common/cross/build-android-rootfs.sh
new file mode 100644 (file)
index 0000000..adceda8
--- /dev/null
@@ -0,0 +1,137 @@
+#!/usr/bin/env bash
+set -e
+__NDK_Version=r14
+
+usage()
+{
+    echo "Creates a toolchain and sysroot used for cross-compiling for Android."
+    echo.
+    echo "Usage: $0 [BuildArch] [ApiLevel]"
+    echo.
+    echo "BuildArch is the target architecture of Android. Currently only arm64 is supported."
+    echo "ApiLevel is the target Android API level. API levels usually match to Android releases. See https://source.android.com/source/build-numbers.html"
+    echo.
+    echo "By default, the toolchain and sysroot will be generated in cross/android-rootfs/toolchain/[BuildArch]. You can change this behavior"
+    echo "by setting the TOOLCHAIN_DIR environment variable"
+    echo.
+    echo "By default, the NDK will be downloaded into the cross/android-rootfs/android-ndk-$__NDK_Version directory. If you already have an NDK installation,"
+    echo "you can set the NDK_DIR environment variable to have this script use that installation of the NDK."
+    echo "By default, this script will generate a file, android_platform, in the root of the ROOTFS_DIR directory that contains the RID for the supported and tested Android build: android.21-arm64. This file is to replace '/etc/os-release', which is not available for Android."
+    exit 1
+}
+
+__ApiLevel=21 # The minimum platform for arm64 is API level 21
+__BuildArch=arm64
+__AndroidArch=aarch64
+__AndroidToolchain=aarch64-linux-android
+
+for i in "$@"
+    do
+        lowerI="$(echo $i | awk '{print tolower($0)}')"
+        case $lowerI in
+        -?|-h|--help)
+            usage
+            exit 1
+            ;;
+        arm64)
+            __BuildArch=arm64
+            __AndroidArch=aarch64
+            __AndroidToolchain=aarch64-linux-android
+            ;;
+        arm)
+            __BuildArch=arm
+            __AndroidArch=arm
+            __AndroidToolchain=arm-linux-androideabi
+            ;;
+        *[0-9])
+            __ApiLevel=$i
+            ;;
+        *)
+            __UnprocessedBuildArgs="$__UnprocessedBuildArgs $i"
+            ;;
+    esac
+done
+
+# Obtain the location of the bash script to figure out where the root of the repo is.
+__CrossDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+__Android_Cross_Dir="$__CrossDir/android-rootfs"
+__NDK_Dir="$__Android_Cross_Dir/android-ndk-$__NDK_Version"
+__libunwind_Dir="$__Android_Cross_Dir/libunwind"
+__lldb_Dir="$__Android_Cross_Dir/lldb"
+__ToolchainDir="$__Android_Cross_Dir/toolchain/$__BuildArch"
+
+if [[ -n "$TOOLCHAIN_DIR" ]]; then
+    __ToolchainDir=$TOOLCHAIN_DIR
+fi
+
+if [[ -n "$NDK_DIR" ]]; then
+    __NDK_Dir=$NDK_DIR
+fi
+
+echo "Target API level: $__ApiLevel"
+echo "Target architecture: $__BuildArch"
+echo "NDK location: $__NDK_Dir"
+echo "Target Toolchain location: $__ToolchainDir"
+
+# Download the NDK if required
+if [ ! -d $__NDK_Dir ]; then
+    echo Downloading the NDK into $__NDK_Dir
+    mkdir -p $__NDK_Dir
+    wget -nv -nc --show-progress https://dl.google.com/android/repository/android-ndk-$__NDK_Version-linux-x86_64.zip -O $__Android_Cross_Dir/android-ndk-$__NDK_Version-linux-x86_64.zip
+    unzip -q $__Android_Cross_Dir/android-ndk-$__NDK_Version-linux-x86_64.zip -d $__Android_Cross_Dir
+fi
+
+if [ ! -d $__lldb_Dir ]; then
+    mkdir -p $__lldb_Dir
+    echo Downloading LLDB into $__lldb_Dir
+    wget -nv -nc --show-progress https://dl.google.com/android/repository/lldb-2.3.3614996-linux-x86_64.zip -O $__Android_Cross_Dir/lldb-2.3.3614996-linux-x86_64.zip
+    unzip -q $__Android_Cross_Dir/lldb-2.3.3614996-linux-x86_64.zip -d $__lldb_Dir
+fi
+
+# Create the RootFS for both arm64 as well as aarch
+rm -rf $__Android_Cross_Dir/toolchain
+
+echo Generating the $__BuildArch toolchain
+$__NDK_Dir/build/tools/make_standalone_toolchain.py --arch $__BuildArch --api $__ApiLevel --install-dir $__ToolchainDir
+
+# Install the required packages into the toolchain
+# TODO: Add logic to get latest pkg version instead of specific version number
+rm -rf $__Android_Cross_Dir/deb/
+rm -rf $__Android_Cross_Dir/tmp
+
+mkdir -p $__Android_Cross_Dir/deb/
+mkdir -p $__Android_Cross_Dir/tmp/$arch/
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libicu_60.2_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/libicu_60.2_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libicu-dev_60.2_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/libicu-dev_60.2_$__AndroidArch.deb
+
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libandroid-glob-dev_0.4_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/libandroid-glob-dev_0.4_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libandroid-glob_0.4_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/libandroid-glob_0.4_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libandroid-support-dev_22_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/libandroid-support-dev_22_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libandroid-support_22_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/libandroid-support_22_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/liblzma-dev_5.2.3_$__AndroidArch.deb  -O $__Android_Cross_Dir/deb/liblzma-dev_5.2.3_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/liblzma_5.2.3_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/liblzma_5.2.3_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libunwind-dev_1.2.20170304_$__AndroidArch.deb  -O $__Android_Cross_Dir/deb/libunwind-dev_1.2.20170304_$__AndroidArch.deb
+wget -nv -nc http://termux.net/dists/stable/main/binary-$__AndroidArch/libunwind_1.2.20170304_$__AndroidArch.deb -O $__Android_Cross_Dir/deb/libunwind_1.2.20170304_$__AndroidArch.deb
+
+echo Unpacking Termux packages
+dpkg -x $__Android_Cross_Dir/deb/libicu_60.2_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/libicu-dev_60.2_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/libandroid-glob-dev_0.4_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/libandroid-glob_0.4_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/libandroid-support-dev_22_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/libandroid-support_22_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/liblzma-dev_5.2.3_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/liblzma_5.2.3_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/libunwind-dev_1.2.20170304_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+dpkg -x $__Android_Cross_Dir/deb/libunwind_1.2.20170304_$__AndroidArch.deb $__Android_Cross_Dir/tmp/$__AndroidArch/
+
+cp -R $__Android_Cross_Dir/tmp/$__AndroidArch/data/data/com.termux/files/usr/* $__ToolchainDir/sysroot/usr/
+
+# Generate platform file for build.sh script to assign to __DistroRid
+echo "Generating platform file..."
+
+echo "RID=android.21-arm64" > $__ToolchainDir/sysroot/android_platform
+echo Now run:
+echo CONFIG_DIR=\`realpath cross/android/$__BuildArch\` ROOTFS_DIR=\`realpath $__ToolchainDir/sysroot\` ./build.sh cross $__BuildArch skipgenerateversion skipnuget cmakeargs -DENABLE_LLDBPLUGIN=0
+
diff --git a/eng/common/cross/build-rootfs.sh b/eng/common/cross/build-rootfs.sh
new file mode 100644 (file)
index 0000000..805948c
--- /dev/null
@@ -0,0 +1,210 @@
+#!/usr/bin/env bash
+
+usage()
+{
+    echo "Usage: $0 [BuildArch] [LinuxCodeName] [lldbx.y] [--skipunmount]"
+    echo "BuildArch can be: arm(default), armel, arm64, x86"
+    echo "LinuxCodeName - optional, Code name for Linux, can be: trusty(default), vivid, wily, xenial, zesty, bionic, alpine. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
+    echo "lldbx.y - optional, LLDB version, can be: lldb3.6(default), lldb3.8, lldb3.9, lldb4.0, no-lldb. Ignored for alpine"
+    echo "--skipunmount - optional, will skip the unmount of rootfs folder."
+    exit 1
+}
+
+__LinuxCodeName=trusty
+__CrossDir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+__InitialDir=$PWD
+__BuildArch=arm
+__UbuntuArch=armhf
+__UbuntuRepo="http://ports.ubuntu.com/"
+__LLDB_Package="lldb-3.6-dev"
+__SkipUnmount=0
+
+# base development support
+__UbuntuPackages="build-essential"
+
+__AlpinePackages="alpine-base"
+__AlpinePackages+=" build-base"
+__AlpinePackages+=" linux-headers"
+__AlpinePackages+=" lldb-dev"
+__AlpinePackages+=" llvm-dev"
+
+# symlinks fixer
+__UbuntuPackages+=" symlinks"
+
+# CoreCLR and CoreFX dependencies
+__UbuntuPackages+=" libicu-dev"
+__UbuntuPackages+=" liblttng-ust-dev"
+__UbuntuPackages+=" libunwind8-dev"
+
+__AlpinePackages+=" gettext-dev"
+__AlpinePackages+=" icu-dev"
+__AlpinePackages+=" libunwind-dev"
+__AlpinePackages+=" lttng-ust-dev"
+
+# CoreFX dependencies
+__UbuntuPackages+=" libcurl4-openssl-dev"
+__UbuntuPackages+=" libkrb5-dev"
+__UbuntuPackages+=" libssl-dev"
+__UbuntuPackages+=" zlib1g-dev"
+
+__AlpinePackages+=" curl-dev"
+__AlpinePackages+=" krb5-dev"
+__AlpinePackages+=" openssl-dev"
+__AlpinePackages+=" zlib-dev"
+
+__UnprocessedBuildArgs=
+for i in "$@" ; do
+    lowerI="$(echo $i | awk '{print tolower($0)}')"
+    case $lowerI in
+        -?|-h|--help)
+            usage
+            exit 1
+            ;;
+        arm)
+            __BuildArch=arm
+            __UbuntuArch=armhf
+            __AlpineArch=armhf
+            __QEMUArch=arm
+            ;;
+        arm64)
+            __BuildArch=arm64
+            __UbuntuArch=arm64
+            __AlpineArch=aarch64
+            __QEMUArch=aarch64
+            ;;
+        armel)
+            __BuildArch=armel
+            __UbuntuArch=armel
+            __UbuntuRepo="http://ftp.debian.org/debian/"
+            __LinuxCodeName=jessie
+            ;;
+        x86)
+            __BuildArch=x86
+            __UbuntuArch=i386
+            __UbuntuRepo="http://archive.ubuntu.com/ubuntu/"
+            ;;
+        lldb3.6)
+            __LLDB_Package="lldb-3.6-dev"
+            ;;
+        lldb3.8)
+            __LLDB_Package="lldb-3.8-dev"
+            ;;
+        lldb3.9)
+            __LLDB_Package="liblldb-3.9-dev"
+            ;;
+        lldb4.0)
+            __LLDB_Package="liblldb-4.0-dev"
+            ;;
+        no-lldb)
+            unset __LLDB_Package
+            ;;
+        vivid)
+            if [ "$__LinuxCodeName" != "jessie" ]; then
+                __LinuxCodeName=vivid
+            fi
+            ;;
+        wily)
+            if [ "$__LinuxCodeName" != "jessie" ]; then
+                __LinuxCodeName=wily
+            fi
+            ;;
+        xenial)
+            if [ "$__LinuxCodeName" != "jessie" ]; then
+                __LinuxCodeName=xenial
+            fi
+            ;;
+        zesty)
+            if [ "$__LinuxCodeName" != "jessie" ]; then
+                __LinuxCodeName=zesty
+            fi
+            ;;
+        bionic)
+            if [ "$__LinuxCodeName" != "jessie" ]; then
+                __LinuxCodeName=bionic
+            fi
+            ;;
+        jessie)
+            __LinuxCodeName=jessie
+            __UbuntuRepo="http://ftp.debian.org/debian/"
+            ;;
+        tizen)
+            if [ "$__BuildArch" != "armel" ]; then
+                echo "Tizen is available only for armel."
+                usage;
+                exit 1;
+            fi
+            __LinuxCodeName=
+            __UbuntuRepo=
+            __Tizen=tizen
+            ;;
+        alpine)
+            __LinuxCodeName=alpine
+            __UbuntuRepo=
+            ;;
+        --skipunmount)
+            __SkipUnmount=1
+            ;;
+        *)
+            __UnprocessedBuildArgs="$__UnprocessedBuildArgs $i"
+            ;;
+    esac
+done
+
+if [ "$__BuildArch" == "armel" ]; then
+    __LLDB_Package="lldb-3.5-dev"
+fi
+__UbuntuPackages+=" ${__LLDB_Package:-}"
+
+__RootfsDir="$__CrossDir/rootfs/$__BuildArch"
+
+if [[ -n "$ROOTFS_DIR" ]]; then
+    __RootfsDir=$ROOTFS_DIR
+fi
+
+if [ -d "$__RootfsDir" ]; then
+    if [ $__SkipUnmount == 0 ]; then
+        umount $__RootfsDir/*
+    fi
+    rm -rf $__RootfsDir
+fi
+
+if [[ "$__LinuxCodeName" == "alpine" ]]; then
+    __ApkToolsVersion=2.9.1
+    __AlpineVersion=3.7
+    __ApkToolsDir=$(mktemp -d)
+    wget https://github.com/alpinelinux/apk-tools/releases/download/v$__ApkToolsVersion/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -P $__ApkToolsDir
+    tar -xf $__ApkToolsDir/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -C $__ApkToolsDir
+    mkdir -p $__RootfsDir/usr/bin
+    cp -v /usr/bin/qemu-$__QEMUArch-static $__RootfsDir/usr/bin
+    $__ApkToolsDir/apk-tools-$__ApkToolsVersion/apk \
+      -X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/main \
+      -X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/community \
+      -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
+      -U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
+      add $__AlpinePackages
+    rm -r $__ApkToolsDir
+elif [[ -n $__LinuxCodeName ]]; then
+    qemu-debootstrap --arch $__UbuntuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo
+    cp $__CrossDir/$__BuildArch/sources.list.$__LinuxCodeName $__RootfsDir/etc/apt/sources.list
+    chroot $__RootfsDir apt-get update
+    chroot $__RootfsDir apt-get -f -y install
+    chroot $__RootfsDir apt-get -y install $__UbuntuPackages
+    chroot $__RootfsDir symlinks -cr /usr
+
+    if [ $__SkipUnmount == 0 ]; then
+        umount $__RootfsDir/*
+    fi
+
+    if [[ "$__BuildArch" == "arm" && "$__LinuxCodeName" == "trusty" ]]; then
+        pushd $__RootfsDir
+        patch -p1 < $__CrossDir/$__BuildArch/trusty.patch
+        patch -p1 < $__CrossDir/$__BuildArch/trusty-lttng-2.4.patch
+        popd
+    fi
+elif [ "$__Tizen" == "tizen" ]; then
+    ROOTFS_DIR=$__RootfsDir $__CrossDir/$__BuildArch/tizen-build-rootfs.sh
+else
+    echo "Unsupported target platform."
+    usage;
+    exit 1
+fi
diff --git a/eng/common/cross/toolchain.cmake b/eng/common/cross/toolchain.cmake
new file mode 100644 (file)
index 0000000..071d411
--- /dev/null
@@ -0,0 +1,138 @@
+set(CROSS_ROOTFS $ENV{ROOTFS_DIR})
+
+set(TARGET_ARCH_NAME $ENV{TARGET_BUILD_ARCH})
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_SYSTEM_VERSION 1)
+
+if(TARGET_ARCH_NAME STREQUAL "armel")
+  set(CMAKE_SYSTEM_PROCESSOR armv7l)
+  set(TOOLCHAIN "arm-linux-gnueabi")
+  if("$ENV{__DistroRid}" MATCHES "tizen.*")
+    set(TIZEN_TOOLCHAIN "armv7l-tizen-linux-gnueabi/6.2.1")
+  endif()
+elseif(TARGET_ARCH_NAME STREQUAL "arm")
+  set(CMAKE_SYSTEM_PROCESSOR armv7l)
+  if(EXISTS ${CROSS_ROOTFS}/usr/lib/gcc/armv6-alpine-linux-musleabihf)
+    set(TOOLCHAIN "armv6-alpine-linux-musleabihf")
+  else()
+    set(TOOLCHAIN "arm-linux-gnueabihf")
+  endif()
+elseif(TARGET_ARCH_NAME STREQUAL "arm64")
+  set(CMAKE_SYSTEM_PROCESSOR aarch64)
+  if(EXISTS ${CROSS_ROOTFS}/usr/lib/gcc/aarch64-alpine-linux-musl)
+    set(TOOLCHAIN "aarch64-alpine-linux-musl")
+  else()
+    set(TOOLCHAIN "aarch64-linux-gnu")
+  endif()
+elseif(TARGET_ARCH_NAME STREQUAL "x86")
+  set(CMAKE_SYSTEM_PROCESSOR i686)
+  set(TOOLCHAIN "i686-linux-gnu")
+else()
+  message(FATAL_ERROR "Arch is ${TARGET_ARCH_NAME}. Only armel, arm, arm64 and x86 are supported!")
+endif()
+
+# Specify include paths
+if(TARGET_ARCH_NAME STREQUAL "armel")
+  if(DEFINED TIZEN_TOOLCHAIN)
+    include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/)
+    include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/armv7l-tizen-linux-gnueabi)
+  endif()
+endif()
+
+# add_compile_param - adds only new options without duplicates.
+# arg0 - list with result options, arg1 - list with new options.
+# arg2 - optional argument, quick summary string for optional using CACHE FORCE mode.
+macro(add_compile_param)
+  if(NOT ${ARGC} MATCHES "^(2|3)$")
+    message(FATAL_ERROR "Wrong using add_compile_param! Two or three parameters must be given! See add_compile_param description.")
+  endif()
+  foreach(OPTION ${ARGV1})
+    if(NOT ${ARGV0} MATCHES "${OPTION}($| )")
+      set(${ARGV0} "${${ARGV0}} ${OPTION}")
+      if(${ARGC} EQUAL "3") # CACHE FORCE mode
+        set(${ARGV0} "${${ARGV0}}" CACHE STRING "${ARGV2}" FORCE)
+      endif()
+    endif()
+  endforeach()
+endmacro()
+
+# Specify link flags
+add_compile_param(CROSS_LINK_FLAGS "--sysroot=${CROSS_ROOTFS}")
+add_compile_param(CROSS_LINK_FLAGS "--gcc-toolchain=${CROSS_ROOTFS}/usr")
+add_compile_param(CROSS_LINK_FLAGS "--target=${TOOLCHAIN}")
+add_compile_param(CROSS_LINK_FLAGS "-fuse-ld=gold")
+
+if(TARGET_ARCH_NAME STREQUAL "armel")
+  if(DEFINED TIZEN_TOOLCHAIN) # For Tizen only
+    add_compile_param(CROSS_LINK_FLAGS "-B${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
+    add_compile_param(CROSS_LINK_FLAGS "-L${CROSS_ROOTFS}/lib")
+    add_compile_param(CROSS_LINK_FLAGS "-L${CROSS_ROOTFS}/usr/lib")
+    add_compile_param(CROSS_LINK_FLAGS "-L${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
+  endif()
+elseif(TARGET_ARCH_NAME STREQUAL "x86")
+  add_compile_param(CROSS_LINK_FLAGS "-m32")
+endif()
+
+add_compile_param(CMAKE_EXE_LINKER_FLAGS "${CROSS_LINK_FLAGS}" "TOOLCHAIN_EXE_LINKER_FLAGS")
+add_compile_param(CMAKE_SHARED_LINKER_FLAGS "${CROSS_LINK_FLAGS}" "TOOLCHAIN_EXE_LINKER_FLAGS")
+add_compile_param(CMAKE_MODULE_LINKER_FLAGS "${CROSS_LINK_FLAGS}" "TOOLCHAIN_EXE_LINKER_FLAGS")
+
+# Specify compile options
+add_compile_options("--sysroot=${CROSS_ROOTFS}")
+add_compile_options("--target=${TOOLCHAIN}")
+add_compile_options("--gcc-toolchain=${CROSS_ROOTFS}/usr")
+
+if(TARGET_ARCH_NAME MATCHES "^(arm|armel|arm64)$")
+  set(CMAKE_C_COMPILER_TARGET ${TOOLCHAIN})
+  set(CMAKE_CXX_COMPILER_TARGET ${TOOLCHAIN})
+  set(CMAKE_ASM_COMPILER_TARGET ${TOOLCHAIN})
+endif()
+
+if(TARGET_ARCH_NAME MATCHES "^(arm|armel)$")
+  add_compile_options(-mthumb)
+  add_compile_options(-mfpu=vfpv3)
+  if(TARGET_ARCH_NAME STREQUAL "armel")
+    add_compile_options(-mfloat-abi=softfp)
+    if(DEFINED TIZEN_TOOLCHAIN)
+      add_compile_options(-Wno-deprecated-declarations) # compile-time option
+      add_compile_options(-D__extern_always_inline=inline) # compile-time option
+    endif()
+  endif()
+elseif(TARGET_ARCH_NAME STREQUAL "x86")
+  add_compile_options(-m32)
+  add_compile_options(-Wno-error=unused-command-line-argument)
+endif()
+
+# Set LLDB include and library paths
+if(TARGET_ARCH_NAME MATCHES "^(arm|armel|x86)$")
+  if(TARGET_ARCH_NAME STREQUAL "x86")
+    set(LLVM_CROSS_DIR "$ENV{LLVM_CROSS_HOME}")
+  else() # arm/armel case
+    set(LLVM_CROSS_DIR "$ENV{LLVM_ARM_HOME}")
+  endif()
+  if(LLVM_CROSS_DIR)
+    set(WITH_LLDB_LIBS "${LLVM_CROSS_DIR}/lib/" CACHE STRING "")
+    set(WITH_LLDB_INCLUDES "${LLVM_CROSS_DIR}/include" CACHE STRING "")
+    set(LLDB_H "${WITH_LLDB_INCLUDES}" CACHE STRING "")
+    set(LLDB "${LLVM_CROSS_DIR}/lib/liblldb.so" CACHE STRING "")
+  else()
+    if(TARGET_ARCH_NAME STREQUAL "x86")
+      set(WITH_LLDB_LIBS "${CROSS_ROOTFS}/usr/lib/i386-linux-gnu" CACHE STRING "")
+      set(CHECK_LLVM_DIR "${CROSS_ROOTFS}/usr/lib/llvm-3.8/include")
+      if(EXISTS "${CHECK_LLVM_DIR}" AND IS_DIRECTORY "${CHECK_LLVM_DIR}")
+        set(WITH_LLDB_INCLUDES "${CHECK_LLVM_DIR}")
+      else()
+        set(WITH_LLDB_INCLUDES "${CROSS_ROOTFS}/usr/lib/llvm-3.6/include")
+      endif()
+    else() # arm/armel case
+      set(WITH_LLDB_LIBS "${CROSS_ROOTFS}/usr/lib/${TOOLCHAIN}" CACHE STRING "")
+      set(WITH_LLDB_INCLUDES "${CROSS_ROOTFS}/usr/lib/llvm-3.6/include" CACHE STRING "")
+    endif()
+  endif()
+endif()
+
+set(CMAKE_FIND_ROOT_PATH "${CROSS_ROOTFS}")
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
diff --git a/eng/common/cross/x86/sources.list.bionic b/eng/common/cross/x86/sources.list.bionic
new file mode 100644 (file)
index 0000000..a71ccad
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted
+deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted
+
+deb http://archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
diff --git a/eng/common/cross/x86/sources.list.trusty b/eng/common/cross/x86/sources.list.trusty
new file mode 100644 (file)
index 0000000..9b30854
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted
+deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted
+
+deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
diff --git a/eng/common/cross/x86/sources.list.vivid b/eng/common/cross/x86/sources.list.vivid
new file mode 100644 (file)
index 0000000..26d37b2
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://archive.ubuntu.com/ubuntu/ vivid main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ vivid main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ vivid-backports main restricted
+deb-src http://archive.ubuntu.com/ubuntu/ vivid-backports main restricted
+
+deb http://archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse
diff --git a/eng/common/cross/x86/sources.list.wily b/eng/common/cross/x86/sources.list.wily
new file mode 100644 (file)
index 0000000..c4b0b44
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://archive.ubuntu.com/ubuntu/ wily main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ wily main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ wily-updates main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ wily-updates main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ wily-backports main restricted
+deb-src http://archive.ubuntu.com/ubuntu/ wily-backports main restricted
+
+deb http://archive.ubuntu.com/ubuntu/ wily-security main restricted universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ wily-security main restricted universe multiverse
diff --git a/eng/common/cross/x86/sources.list.xenial b/eng/common/cross/x86/sources.list.xenial
new file mode 100644 (file)
index 0000000..ad9c5a0
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe
+deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe
+
+deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted
+deb-src http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted
+
+deb http://archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
diff --git a/eng/common/darc-init.ps1 b/eng/common/darc-init.ps1
new file mode 100644 (file)
index 0000000..af182d8
--- /dev/null
@@ -0,0 +1,21 @@
+$verbosity = "m"
+. $PSScriptRoot\tools.ps1
+
+function InstallDarcCli {
+  $darcCliPackageName = "microsoft.dotnet.darc"
+  $dotnet = "$env:DOTNET_INSTALL_DIR\dotnet.exe"
+  $toolList = Invoke-Expression "& `"$dotnet`" tool list -g"
+
+  if ($toolList -like "*$darcCliPackageName*") {
+    Invoke-Expression "& `"$dotnet`" tool uninstall $darcCliPackageName -g"
+  }
+
+  $toolsetVersion = $GlobalJson.'msbuild-sdks'.'Microsoft.DotNet.Arcade.Sdk'
+
+  Write-Host "Installing Darc CLI version $toolsetVersion..."
+  Write-Host "You may need to restart your command window if this is the first dotnet tool you have installed."
+  Invoke-Expression "& `"$dotnet`" tool install $darcCliPackageName --version $toolsetVersion -v $verbosity -g"
+}
+
+InitializeTools
+InstallDarcCli
diff --git a/eng/common/darc-init.sh b/eng/common/darc-init.sh
new file mode 100755 (executable)
index 0000000..a0c733a
--- /dev/null
@@ -0,0 +1,35 @@
+#!/usr/bin/env bash
+
+source="${BASH_SOURCE[0]}"
+
+# resolve $source until the file is no longer a symlink
+while [[ -h "$source" ]]; do
+  scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+  source="$(readlink "$source")"
+  # if $source was a relative symlink, we need to resolve it relative to the path where the
+  # symlink file was located
+  [[ $source != /* ]] && source="$scriptroot/$source"
+done
+scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+verbosity=m
+
+. "$scriptroot/tools.sh"
+
+function InstallDarcCli {
+  local darc_cli_package_name="microsoft.dotnet.darc"
+  local uninstall_command=`$DOTNET_INSTALL_DIR/dotnet tool uninstall $darc_cli_package_name -g`
+  local tool_list=$($DOTNET_INSTALL_DIR/dotnet tool list -g)
+  if [[ $tool_list = *$darc_cli_package_name* ]]; then
+    echo $($DOTNET_INSTALL_DIR/dotnet tool uninstall $darc_cli_package_name -g)
+  fi
+
+  ReadGlobalVersion "Microsoft.DotNet.Arcade.Sdk"
+  local toolset_version=$_ReadGlobalVersion
+
+  echo "Installing Darc CLI version $toolset_version..."
+  echo "You may need to restart your command shell if this is the first dotnet tool you have installed."
+  echo $($DOTNET_INSTALL_DIR/dotnet tool install $darc_cli_package_name --version $toolset_version -v $verbosity -g)
+}
+
+InitializeTools
+InstallDarcCli
diff --git a/eng/common/helixpublish.proj b/eng/common/helixpublish.proj
new file mode 100644 (file)
index 0000000..df2ad59
--- /dev/null
@@ -0,0 +1,15 @@
+<Project Sdk="Microsoft.DotNet.Helix.Sdk">
+
+  <ItemGroup>
+    <HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)">
+      <PayloadDirectory>%(Identity)</PayloadDirectory>
+    </HelixCorrelationPayload>
+  </ItemGroup>
+
+  <ItemGroup>
+    <HelixWorkItem Include="WorkItem">
+      <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
+      <Command>$(WorkItemCommand)</Command>
+    </HelixWorkItem>
+  </ItemGroup>
+</Project>
diff --git a/eng/common/init-tools-native.cmd b/eng/common/init-tools-native.cmd
new file mode 100644 (file)
index 0000000..438cd54
--- /dev/null
@@ -0,0 +1,3 @@
+@echo off
+powershell -NoProfile -NoLogo -ExecutionPolicy ByPass -command "& """%~dp0init-tools-native.ps1""" %*"
+exit /b %ErrorLevel%
\ No newline at end of file
diff --git a/eng/common/init-tools-native.ps1 b/eng/common/init-tools-native.ps1
new file mode 100644 (file)
index 0000000..e25c60f
--- /dev/null
@@ -0,0 +1,128 @@
+<#
+.SYNOPSIS
+Entry point script for installing native tools
+
+.DESCRIPTION
+Reads $RepoRoot\global.json file to determine native assets to install
+and executes installers for those tools
+
+.PARAMETER BaseUri
+Base file directory or Url from which to acquire tool archives
+
+.PARAMETER InstallDirectory
+Directory to install native toolset.  This is a command-line override for the default
+Install directory precedence order:
+- InstallDirectory command-line override
+- NETCOREENG_INSTALL_DIRECTORY environment variable
+- (default) %USERPROFILE%/.netcoreeng/native
+
+.PARAMETER Clean
+Switch specifying to not install anything, but cleanup native asset folders
+
+.PARAMETER Force
+Clean and then install tools
+
+.PARAMETER DownloadRetries
+Total number of retry attempts
+
+.PARAMETER RetryWaitTimeInSeconds
+Wait time between retry attempts in seconds
+
+.PARAMETER GlobalJsonFile
+File path to global.json file
+
+.NOTES
+#>
+[CmdletBinding(PositionalBinding=$false)]
+Param (
+  [string] $BaseUri = "https://netcorenativeassets.blob.core.windows.net/resource-packages/external",
+  [string] $InstallDirectory,
+  [switch] $Clean = $False,
+  [switch] $Force = $False,
+  [int] $DownloadRetries = 5,
+  [int] $RetryWaitTimeInSeconds = 30,
+  [string] $GlobalJsonFile = "$PSScriptRoot\..\..\global.json"
+)
+
+Set-StrictMode -version 2.0
+$ErrorActionPreference="Stop"
+
+Import-Module -Name (Join-Path $PSScriptRoot "native\CommonLibrary.psm1")
+
+try {
+  # Define verbose switch if undefined
+  $Verbose = $VerbosePreference -Eq "Continue"
+
+  $EngCommonBaseDir = Join-Path $PSScriptRoot "native\"
+  $NativeBaseDir = $InstallDirectory
+  if (!$NativeBaseDir) {
+    $NativeBaseDir = CommonLibrary\Get-NativeInstallDirectory
+  }
+  $Env:CommonLibrary_NativeInstallDir = $NativeBaseDir
+  $InstallBin = Join-Path $NativeBaseDir "bin"
+  $InstallerPath = Join-Path $EngCommonBaseDir "install-tool.ps1"
+
+  # Process tools list
+  Write-Host "Processing $GlobalJsonFile"
+  If (-Not (Test-Path $GlobalJsonFile)) {
+    Write-Host "Unable to find '$GlobalJsonFile'"
+    exit 0
+  }
+  $NativeTools = Get-Content($GlobalJsonFile) -Raw |
+                    ConvertFrom-Json |
+                    Select-Object -Expand "native-tools" -ErrorAction SilentlyContinue
+  if ($NativeTools) {
+    $NativeTools.PSObject.Properties | ForEach-Object {
+      $ToolName = $_.Name
+      $ToolVersion = $_.Value
+      $LocalInstallerCommand = $InstallerPath
+      $LocalInstallerCommand += " -ToolName $ToolName"
+      $LocalInstallerCommand += " -InstallPath $InstallBin"
+      $LocalInstallerCommand += " -BaseUri $BaseUri"
+      $LocalInstallerCommand += " -CommonLibraryDirectory $EngCommonBaseDir"
+      $LocalInstallerCommand += " -Version $ToolVersion"
+
+      if ($Verbose) {
+        $LocalInstallerCommand += " -Verbose"
+      }
+      if (Get-Variable 'Force' -ErrorAction 'SilentlyContinue') {
+        if($Force) {
+          $LocalInstallerCommand += " -Force"
+        }
+      }
+      if ($Clean) {
+        $LocalInstallerCommand += " -Clean"
+      }
+
+      Write-Verbose "Installing $ToolName version $ToolVersion"
+      Write-Verbose "Executing '$LocalInstallerCommand'"
+      Invoke-Expression "$LocalInstallerCommand"
+      if ($LASTEXITCODE -Ne "0") {
+        Write-Error "Execution failed"
+        exit 1
+      }
+    }
+  }
+  else {
+    Write-Host "No native tools defined in global.json"
+    exit 0
+  }
+
+  if ($Clean) {
+    exit 0
+  }
+  if (Test-Path $InstallBin) {
+    Write-Host "Native tools are available from" (Convert-Path -Path $InstallBin)
+    Write-Host "##vso[task.prependpath]$(Convert-Path -Path $InstallBin)"
+  }
+  else {
+    Write-Error "Native tools install directory does not exist, installation failed"
+    exit 1
+  }
+  exit 0
+}
+catch {
+  Write-Host $_
+  Write-Host $_.Exception
+  exit 1
+}
diff --git a/eng/common/init-tools-native.sh b/eng/common/init-tools-native.sh
new file mode 100644 (file)
index 0000000..54b70f6
--- /dev/null
@@ -0,0 +1,145 @@
+#!/usr/bin/env bash
+
+source="${BASH_SOURCE[0]}"
+scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+
+base_uri='https://netcorenativeassets.blob.core.windows.net/resource-packages/external'
+install_directory=''
+clean=false
+force=false
+download_retries=5
+retry_wait_time_seconds=30
+global_json_file="${scriptroot}/../../global.json"
+declare -A native_assets
+
+. $scriptroot/native/common-library.sh
+
+while (($# > 0)); do
+  lowerI="$(echo $1 | awk '{print tolower($0)}')"
+  case $lowerI in
+    --baseuri)
+      base_uri=$2
+      shift 2
+      ;;
+    --installdirectory)
+      install_directory=$2
+      shift 2
+      ;;
+    --clean)
+      clean=true
+      shift 1
+      ;;
+    --force)
+      force=true
+      shift 1
+      ;;
+    --downloadretries)
+      download_retries=$2
+      shift 2
+      ;;
+    --retrywaittimeseconds)
+      retry_wait_time_seconds=$2
+      shift 2
+      ;;
+    --help)
+      echo "Common settings:"
+      echo "  --installdirectory                  Directory to install native toolset."
+      echo "                                      This is a command-line override for the default"
+      echo "                                      Install directory precedence order:"
+      echo "                                          - InstallDirectory command-line override"
+      echo "                                          - NETCOREENG_INSTALL_DIRECTORY environment variable"
+      echo "                                          - (default) %USERPROFILE%/.netcoreeng/native"
+      echo ""
+      echo "  --clean                             Switch specifying not to install anything, but cleanup native asset folders"
+      echo "  --force                             Clean and then install tools"
+      echo "  --help                              Print help and exit"
+      echo ""
+      echo "Advanced settings:"
+      echo "  --baseuri <value>                   Base URI for where to download native tools from"
+      echo "  --downloadretries <value>           Number of times a download should be attempted"
+      echo "  --retrywaittimeseconds <value>      Wait time between download attempts"
+      echo ""
+      exit 0
+      ;;
+  esac
+done
+
+function ReadGlobalJsonNativeTools {
+  # Get the native-tools section from the global.json.
+  local native_tools_section=$(cat $global_json_file | awk '/"native-tools"/,/}/')
+  # Only extract the contents of the object.
+  local native_tools_list=$(echo $native_tools_section | awk -F"[{}]" '{print $2}')
+  native_tools_list=${native_tools_list//[\" ]/}
+  native_tools_list=${native_tools_list//,/$'\n'}
+
+  local old_IFS=$IFS
+  while read -r line; do
+    # Lines are of the form: 'tool:version'
+    IFS=:
+    while read -r key value; do
+     native_assets[$key]=$value
+    done <<< "$line"
+  done <<< "$native_tools_list"
+  IFS=$old_IFS
+
+  return 0;
+}
+
+native_base_dir=$install_directory
+if [[ -z $install_directory ]]; then
+  native_base_dir=$(GetNativeInstallDirectory)
+fi
+
+install_bin="${native_base_dir}/bin"
+
+ReadGlobalJsonNativeTools
+
+if [[ ${#native_assets[@]} -eq 0 ]]; then
+  echo "No native tools defined in global.json"
+  exit 0;
+else
+  native_installer_dir="$scriptroot/native"
+  for tool in "${!native_assets[@]}"
+  do
+    tool_version=${native_assets[$tool]}
+    installer_name="install-$tool.sh"
+    installer_command="$native_installer_dir/$installer_name"
+    installer_command+=" --baseuri $base_uri"
+    installer_command+=" --installpath $install_bin"
+    installer_command+=" --version $tool_version"
+
+    if [[ $force = true ]]; then
+      installer_command+=" --force"
+    fi
+
+    if [[ $clean = true ]]; then
+      installer_command+=" --clean"
+    fi
+
+    echo "Installing $tool version $tool_version"
+    echo "Executing '$installer_command'"
+    $installer_command
+
+    if [[ $? != 0 ]]; then
+      echo "Execution Failed" >&2
+      exit 1
+    fi
+  done
+fi
+
+if [[ ! -z $clean ]]; then
+  exit 0
+fi
+
+if [[ -d $install_bin ]]; then
+  echo "Native tools are available from $install_bin"
+  if [[ !-z BUILD_BUILDNUMBER ]]; then
+    echo "##vso[task.prependpath]$install_bin"
+  fi
+else
+  echo "Native tools install directory does not exist, installation failed" >&2
+  exit 1
+fi
+
+exit 0
+
diff --git a/eng/common/msbuild.ps1 b/eng/common/msbuild.ps1
new file mode 100644 (file)
index 0000000..43b837f
--- /dev/null
@@ -0,0 +1,23 @@
+[CmdletBinding(PositionalBinding=$false)]
+Param(
+  [string] $verbosity = "minimal",
+  [bool] $warnaserror = $true,
+  [bool] $nodereuse = $true,
+  [switch] $ci,
+  [switch] $prepareMachine,
+  [Parameter(ValueFromRemainingArguments=$true)][String[]]$extraArgs
+)
+
+. $PSScriptRoot\tools.ps1
+
+try {
+  InitializeTools
+  MSBuild @extraArgs
+  ExitWithExitCode $lastExitCode
+}
+catch {
+  Write-Host $_
+  Write-Host $_.Exception
+  Write-Host $_.ScriptStackTrace
+  ExitWithExitCode 1
+}
diff --git a/eng/common/msbuild.sh b/eng/common/msbuild.sh
new file mode 100755 (executable)
index 0000000..b102448
--- /dev/null
@@ -0,0 +1,55 @@
+#!/usr/bin/env bash
+
+source="${BASH_SOURCE[0]}"
+
+# resolve $source until the file is no longer a symlink
+while [[ -h "$source" ]]; do
+  scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+  source="$(readlink "$source")"
+  # if $source was a relative symlink, we need to resolve it relative to the path where the
+  # symlink file was located
+  [[ $source != /* ]] && source="$scriptroot/$source"
+done
+scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+
+verbosity='minimal'
+warnaserror=true
+nodereuse=true
+prepare_machine=false
+extraargs=''
+
+while (($# > 0)); do
+  lowerI="$(echo $1 | awk '{print tolower($0)}')"
+  case $lowerI in
+    --verbosity)
+      verbosity=$2
+      shift 2
+      ;;
+    --warnaserror)
+      warnaserror=$2
+      shift 2
+      ;;
+    --nodereuse)
+      nodereuse=$2
+      shift 2
+      ;;
+    --ci)
+      ci=true
+      shift 1
+      ;;
+    --preparemachine)
+      prepare_machine=true
+      shift 1
+      ;;
+      *)
+      extraargs="$extraargs $1"
+      shift 1
+      ;;
+  esac
+done
+
+. "$scriptroot/tools.sh"
+
+InitializeTools
+MSBuild $extraargs
+ExitWithExitCode $?
diff --git a/eng/common/native/CommonLibrary.psm1 b/eng/common/native/CommonLibrary.psm1
new file mode 100644 (file)
index 0000000..f286ae0
--- /dev/null
@@ -0,0 +1,358 @@
+<#
+.SYNOPSIS
+Helper module to install an archive to a directory
+
+.DESCRIPTION
+Helper module to download and extract an archive to a specified directory
+
+.PARAMETER Uri
+Uri of artifact to download
+
+.PARAMETER InstallDirectory
+Directory to extract artifact contents to
+
+.PARAMETER Force
+Force download / extraction if file or contents already exist. Default = False
+
+.PARAMETER DownloadRetries
+Total number of retry attempts. Default = 5
+
+.PARAMETER RetryWaitTimeInSeconds
+Wait time between retry attempts in seconds. Default = 30
+
+.NOTES
+Returns False if download or extraction fail, True otherwise
+#>
+function DownloadAndExtract {
+  [CmdletBinding(PositionalBinding=$false)]
+  Param (
+    [Parameter(Mandatory=$True)]
+    [string] $Uri,
+    [Parameter(Mandatory=$True)]
+    [string] $InstallDirectory,
+    [switch] $Force = $False,
+    [int] $DownloadRetries = 5,
+    [int] $RetryWaitTimeInSeconds = 30
+  )
+  # Define verbose switch if undefined
+  $Verbose = $VerbosePreference -Eq "Continue"
+
+  $TempToolPath = CommonLibrary\Get-TempPathFilename -Path $Uri
+
+  # Download native tool
+  $DownloadStatus = CommonLibrary\Get-File -Uri $Uri `
+                                           -Path $TempToolPath `
+                                           -DownloadRetries $DownloadRetries `
+                                           -RetryWaitTimeInSeconds $RetryWaitTimeInSeconds `
+                                           -Force:$Force `
+                                           -Verbose:$Verbose
+
+  if ($DownloadStatus -Eq $False) {
+    Write-Error "Download failed"
+    return $False
+  }
+
+  # Extract native tool
+  $UnzipStatus = CommonLibrary\Expand-Zip -ZipPath $TempToolPath `
+                                          -OutputDirectory $InstallDirectory `
+                                          -Force:$Force `
+                                          -Verbose:$Verbose
+
+  if ($UnzipStatus -Eq $False) {
+    Write-Error "Unzip failed"
+    return $False
+  }
+  return $True
+}
+
+<#
+.SYNOPSIS
+Download a file, retry on failure
+
+.DESCRIPTION
+Download specified file and retry if attempt fails
+
+.PARAMETER Uri
+Uri of file to download. If Uri is a local path, the file will be copied instead of downloaded
+
+.PARAMETER Path
+Path to download or copy uri file to
+
+.PARAMETER Force
+Overwrite existing file if present. Default = False
+
+.PARAMETER DownloadRetries
+Total number of retry attempts. Default = 5
+
+.PARAMETER RetryWaitTimeInSeconds
+Wait time between retry attempts in seconds Default = 30
+
+#>
+function Get-File {
+  [CmdletBinding(PositionalBinding=$false)]
+  Param (
+    [Parameter(Mandatory=$True)]
+    [string] $Uri,
+    [Parameter(Mandatory=$True)]
+    [string] $Path,
+    [int] $DownloadRetries = 5,
+    [int] $RetryWaitTimeInSeconds = 30,
+    [switch] $Force = $False
+  )
+  $Attempt = 0
+
+  if ($Force) {
+    if (Test-Path $Path) {
+      Remove-Item $Path -Force
+    }
+  }
+  if (Test-Path $Path) {
+    Write-Host "File '$Path' already exists, skipping download"
+    return $True
+  }
+
+  $DownloadDirectory = Split-Path -ErrorAction Ignore -Path "$Path" -Parent
+  if (-Not (Test-Path $DownloadDirectory)) {
+    New-Item -path $DownloadDirectory -force -itemType "Directory" | Out-Null
+  }
+
+  if (Test-Path -IsValid -Path $Uri) {
+    Write-Verbose "'$Uri' is a file path, copying file to '$Path'"
+    Copy-Item -Path $Uri -Destination $Path
+    return $?
+  }
+  else {
+    Write-Verbose "Downloading $Uri"
+    while($Attempt -Lt $DownloadRetries)
+    {
+      try {
+        Invoke-WebRequest -UseBasicParsing -Uri $Uri -OutFile $Path
+        Write-Verbose "Downloaded to '$Path'"
+        return $True
+      }
+      catch {
+        $Attempt++
+        if ($Attempt -Lt $DownloadRetries) {
+          $AttemptsLeft = $DownloadRetries - $Attempt
+          Write-Warning "Download failed, $AttemptsLeft attempts remaining, will retry in $RetryWaitTimeInSeconds seconds"
+          Start-Sleep -Seconds $RetryWaitTimeInSeconds
+        }
+        else {
+          Write-Error $_
+          Write-Error $_.Exception
+        }
+      }
+    }
+  }
+
+  return $False
+}
+
+<#
+.SYNOPSIS
+Generate a shim for a native tool
+
+.DESCRIPTION
+Creates a wrapper script (shim) that passes arguments forward to native tool assembly
+
+.PARAMETER ShimName
+The name of the shim
+
+.PARAMETER ShimDirectory
+The directory where shims are stored
+
+.PARAMETER ToolFilePath
+Path to file that shim forwards to
+
+.PARAMETER Force
+Replace shim if already present.  Default = False
+
+.NOTES
+Returns $True if generating shim succeeds, $False otherwise
+#>
+function New-ScriptShim {
+  [CmdletBinding(PositionalBinding=$false)]
+  Param (
+    [Parameter(Mandatory=$True)]
+    [string] $ShimName,
+    [Parameter(Mandatory=$True)]
+    [string] $ShimDirectory,
+    [Parameter(Mandatory=$True)]
+    [string] $ToolFilePath,
+    [Parameter(Mandatory=$True)]
+    [string] $BaseUri,
+    [switch] $Force
+  )
+  try {
+    Write-Verbose "Generating '$ShimName' shim"
+
+    if (-Not (Test-Path $ToolFilePath)){
+      Write-Error "Specified tool file path '$ToolFilePath' does not exist"
+      return $False
+    }
+
+    # WinShimmer is a small .NET Framework program that creates .exe shims to bootstrapped programs
+    # Many of the checks for installed programs expect a .exe extension for Windows tools, rather
+    # than a .bat or .cmd file.
+    # Source: https://github.com/dotnet/arcade/tree/master/src/WinShimmer
+    if (-Not (Test-Path "$ShimDirectory\WinShimmer\winshimmer.exe")) {
+      $InstallStatus = DownloadAndExtract -Uri "$BaseUri/windows/winshimmer/WinShimmer.zip" `
+                                          -InstallDirectory $ShimDirectory\WinShimmer `
+                                          -Force:$Force `
+                                          -DownloadRetries 2 `
+                                          -RetryWaitTimeInSeconds 5 `
+                                          -Verbose:$Verbose
+    }
+
+    if ((Test-Path (Join-Path $ShimDirectory "$ShimName.exe"))) {
+      Write-Host "$ShimName.exe already exists; replacing..."
+      Remove-Item (Join-Path $ShimDirectory "$ShimName.exe")
+    }
+
+    Invoke-Expression "$ShimDirectory\WinShimmer\winshimmer.exe $ShimName $ToolFilePath $ShimDirectory"
+    return $True
+  }
+  catch {
+    Write-Host $_
+    Write-Host $_.Exception
+    return $False
+  }
+}
+
+<#
+.SYNOPSIS
+Returns the machine architecture of the host machine
+
+.NOTES
+Returns 'x64' on 64 bit machines
+ Returns 'x86' on 32 bit machines
+#>
+function Get-MachineArchitecture {
+  $ProcessorArchitecture = $Env:PROCESSOR_ARCHITECTURE
+  $ProcessorArchitectureW6432 = $Env:PROCESSOR_ARCHITEW6432
+  if($ProcessorArchitecture -Eq "X86")
+  {
+    if(($ProcessorArchitectureW6432 -Eq "") -Or
+       ($ProcessorArchitectureW6432 -Eq "X86")) {
+        return "x86"
+    }
+    $ProcessorArchitecture = $ProcessorArchitectureW6432
+  }
+  if (($ProcessorArchitecture -Eq "AMD64") -Or
+      ($ProcessorArchitecture -Eq "IA64") -Or
+      ($ProcessorArchitecture -Eq "ARM64")) {
+    return "x64"
+  }
+  return "x86"
+}
+
+<#
+.SYNOPSIS
+Get the name of a temporary folder under the native install directory
+#>
+function Get-TempDirectory {
+  return Join-Path (Get-NativeInstallDirectory) "temp/"
+}
+
+function Get-TempPathFilename {
+  [CmdletBinding(PositionalBinding=$false)]
+  Param (
+    [Parameter(Mandatory=$True)]
+    [string] $Path
+  )
+  $TempDir = CommonLibrary\Get-TempDirectory
+  $TempFilename = Split-Path $Path -leaf
+  $TempPath = Join-Path $TempDir $TempFilename
+  return $TempPath
+}
+
+<#
+.SYNOPSIS
+Returns the base directory to use for native tool installation
+
+.NOTES
+Returns the value of the NETCOREENG_INSTALL_DIRECTORY if that environment variable
+is set, or otherwise returns an install directory under the %USERPROFILE%
+#>
+function Get-NativeInstallDirectory {
+  $InstallDir = $Env:NETCOREENG_INSTALL_DIRECTORY
+  if (!$InstallDir) {
+    $InstallDir = Join-Path $Env:USERPROFILE ".netcoreeng/native/"
+  }
+  return $InstallDir
+}
+
+<#
+.SYNOPSIS
+Unzip an archive
+
+.DESCRIPTION
+Powershell module to unzip an archive to a specified directory
+
+.PARAMETER ZipPath (Required)
+Path to archive to unzip
+
+.PARAMETER OutputDirectory (Required)
+Output directory for archive contents
+
+.PARAMETER Force
+Overwrite output directory contents if they already exist
+
+.NOTES
+- Returns True and does not perform an extraction if output directory already exists but Overwrite is not True.
+- Returns True if unzip operation is successful
+- Returns False if Overwrite is True and it is unable to remove contents of OutputDirectory
+- Returns False if unable to extract zip archive
+#>
+function Expand-Zip {
+  [CmdletBinding(PositionalBinding=$false)]
+  Param (
+    [Parameter(Mandatory=$True)]
+    [string] $ZipPath,
+    [Parameter(Mandatory=$True)]
+    [string] $OutputDirectory,
+    [switch] $Force
+  )
+
+  Write-Verbose "Extracting '$ZipPath' to '$OutputDirectory'"
+  try {
+    if ((Test-Path $OutputDirectory) -And (-Not $Force)) {
+      Write-Host "Directory '$OutputDirectory' already exists, skipping extract"
+      return $True
+    }
+    if (Test-Path $OutputDirectory) {
+      Write-Verbose "'Force' is 'True', but '$OutputDirectory' exists, removing directory"
+      Remove-Item $OutputDirectory -Force -Recurse
+      if ($? -Eq $False) {
+        Write-Error "Unable to remove '$OutputDirectory'"
+        return $False
+      }
+    }
+    if (-Not (Test-Path $OutputDirectory)) {
+      New-Item -path $OutputDirectory -Force -itemType "Directory" | Out-Null
+    }
+
+    Add-Type -assembly "system.io.compression.filesystem"
+    [io.compression.zipfile]::ExtractToDirectory("$ZipPath", "$OutputDirectory")
+    if ($? -Eq $False) {
+      Write-Error "Unable to extract '$ZipPath'"
+      return $False
+    }
+  }
+  catch {
+    Write-Host $_
+    Write-Host $_.Exception
+
+    return $False
+  }
+  return $True
+}
+
+export-modulemember -function DownloadAndExtract
+export-modulemember -function Expand-Zip
+export-modulemember -function Get-File
+export-modulemember -function Get-MachineArchitecture
+export-modulemember -function Get-NativeInstallDirectory
+export-modulemember -function Get-TempDirectory
+export-modulemember -function Get-TempPathFilename
+export-modulemember -function New-ScriptShim
diff --git a/eng/common/native/common-library.sh b/eng/common/native/common-library.sh
new file mode 100644 (file)
index 0000000..271bddf
--- /dev/null
@@ -0,0 +1,168 @@
+#!/usr/bin/env bash
+
+function GetNativeInstallDirectory {
+  local install_dir
+
+  if [[ -z $NETCOREENG_INSTALL_DIRECTORY ]]; then
+    install_dir=$HOME/.netcoreeng/native/
+  else
+    install_dir=$NETCOREENG_INSTALL_DIRECTORY
+  fi
+
+  echo $install_dir
+  return 0
+}
+
+function GetTempDirectory {
+
+  echo $(GetNativeInstallDirectory)temp/
+  return 0
+}
+
+function ExpandZip {
+  local zip_path=$1
+  local output_directory=$2
+  local force=${3:-false}
+
+  echo "Extracting $zip_path to $output_directory"
+  if [[ -d $output_directory ]] && [[ $force = false ]]; then
+    echo "Directory '$output_directory' already exists, skipping extract"
+    return 0
+  fi
+
+  if [[ -d $output_directory ]]; then
+    echo "'Force flag enabled, but '$output_directory' exists. Removing directory"
+    rm -rf $output_directory
+    if [[ $? != 0 ]]; then
+      echo Unable to remove '$output_directory'>&2
+      return 1
+    fi
+  fi
+
+  echo "Creating directory: '$output_directory'"
+  mkdir -p $output_directory
+
+  echo "Extracting archive"
+  tar -xf $zip_path -C $output_directory
+  if [[ $? != 0 ]]; then
+    echo "Unable to extract '$zip_path'" >&2
+    return 1
+  fi
+
+  return 0
+}
+
+function GetCurrentOS {
+  local unameOut="$(uname -s)"
+  case $unameOut in
+    Linux*)     echo "Linux";;
+    Darwin*)    echo "MacOS";;
+  esac
+  return 0
+}
+
+function GetFile {
+  local uri=$1
+  local path=$2
+  local force=${3:-false}
+  local download_retries=${4:-5}
+  local retry_wait_time_seconds=${5:-30}
+
+  if [[ -f $path ]]; then
+    if [[ $force = false ]]; then
+      echo "File '$path' already exists. Skipping download"
+      return 0
+    else
+      rm -rf $path
+    fi
+  fi
+
+  if [[ -f $uri ]]; then
+    echo "'$uri' is a file path, copying file to '$path'"
+    cp $uri $path
+    return $?
+  fi
+
+  echo "Downloading $uri"
+  # Use curl if available, otherwise use wget
+  if command -v curl > /dev/null; then
+    curl "$uri" -sSL --retry $download_retries --retry-delay $retry_wait_time_seconds --create-dirs -o "$path" --fail
+  else
+    wget -q -O "$path" "$uri" --tries="$download_retries"
+  fi
+
+  return $?
+}
+
+function GetTempPathFileName {
+  local path=$1
+
+  local temp_dir=$(GetTempDirectory)
+  local temp_file_name=$(basename $path)
+  echo $temp_dir$temp_file_name
+  return 0
+}
+
+function DownloadAndExtract {
+  local uri=$1
+  local installDir=$2
+  local force=${3:-false}
+  local download_retries=${4:-5}
+  local retry_wait_time_seconds=${5:-30}
+
+  local temp_tool_path=$(GetTempPathFileName $uri)
+
+  echo "downloading to: $temp_tool_path"
+
+  # Download file
+  GetFile "$uri" "$temp_tool_path" $force $download_retries $retry_wait_time_seconds
+  if [[ $? != 0 ]]; then
+    echo "Failed to download '$uri' to '$temp_tool_path'." >&2
+    return 1
+  fi
+
+  # Extract File
+  echo "extracting from  $temp_tool_path to $installDir"
+  ExpandZip "$temp_tool_path" "$installDir" $force $download_retries $retry_wait_time_seconds
+  if [[ $? != 0 ]]; then
+    echo "Failed to extract '$temp_tool_path' to '$installDir'." >&2
+    return 1
+  fi
+
+  return 0
+}
+
+function NewScriptShim {
+  local shimpath=$1
+  local tool_file_path=$2
+  local force=${3:-false}
+
+  echo "Generating '$shimpath' shim"
+  if [[ -f $shimpath ]]; then
+    if [[ $force = false ]]; then
+      echo "File '$shimpath' already exists." >&2
+      return 1
+    else
+      rm -rf $shimpath
+    fi
+  fi
+  
+  if [[ ! -f $tool_file_path ]]; then
+    echo "Specified tool file path:'$tool_file_path' does not exist" >&2
+    return 1
+  fi
+
+  local shim_contents=$'#!/usr/bin/env bash\n'
+  shim_contents+="SHIMARGS="$'$1\n'
+  shim_contents+="$tool_file_path"$' $SHIMARGS\n'
+
+  # Write shim file
+  echo "$shim_contents" > $shimpath
+
+  chmod +x $shimpath
+
+  echo "Finished generating shim '$shimpath'"
+
+  return $?
+}
+
diff --git a/eng/common/native/install-cmake.sh b/eng/common/native/install-cmake.sh
new file mode 100644 (file)
index 0000000..293af60
--- /dev/null
@@ -0,0 +1,117 @@
+#!/usr/bin/env bash
+
+source="${BASH_SOURCE[0]}"
+scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+
+. $scriptroot/common-library.sh
+
+base_uri=
+install_path=
+version=
+clean=false
+force=false
+download_retries=5
+retry_wait_time_seconds=30
+
+while (($# > 0)); do
+  lowerI="$(echo $1 | awk '{print tolower($0)}')"
+  case $lowerI in
+    --baseuri)
+      base_uri=$2
+      shift 2
+      ;;
+    --installpath)
+      install_path=$2
+      shift 2
+      ;;
+    --version)
+      version=$2
+      shift 2
+      ;;
+    --clean)
+      clean=true
+      shift 1
+      ;;
+    --force)
+      force=true
+      shift 1
+      ;;
+    --downloadretries)
+      download_retries=$2
+      shift 2
+      ;;
+    --retrywaittimeseconds)
+      retry_wait_time_seconds=$2
+      shift 2
+      ;;
+    --help)
+      echo "Common settings:"
+      echo "  --baseuri <value>        Base file directory or Url wrom which to acquire tool archives"
+      echo "  --installpath <value>    Base directory to install native tool to"
+      echo "  --clean                  Don't install the tool, just clean up the current install of the tool"
+      echo "  --force                  Force install of tools even if they previously exist"
+      echo "  --help                   Print help and exit"
+      echo ""
+      echo "Advanced settings:"
+      echo "  --downloadretries        Total number of retry attempts"
+      echo "  --retrywaittimeseconds   Wait time between retry attempts in seconds"
+      echo ""
+      exit 0
+      ;;
+  esac
+done
+
+tool_name="cmake"
+tool_os=$(GetCurrentOS)
+tool_folder=$(echo $tool_os | awk '{print tolower($0)}')
+tool_arch="x86_64"
+tool_name_moniker="$tool_name-$version-$tool_os-$tool_arch"
+tool_install_directory="$install_path/$tool_name/$version"
+tool_file_path="$tool_install_directory/$tool_name_moniker/bin/$tool_name"
+shim_path="$install_path/$tool_name.sh"
+uri="${base_uri}/$tool_folder/cmake/$tool_name_moniker.tar.gz"
+
+# Clean up tool and installers
+if [[ $clean = true ]]; then
+  echo "Cleaning $tool_install_directory"
+  if [[ -d $tool_install_directory ]]; then
+    rm -rf $tool_install_directory
+  fi
+
+  echo "Cleaning $shim_path"
+  if [[ -f $shim_path ]]; then
+    rm -rf $shim_path
+  fi
+
+  tool_temp_path=$(GetTempPathFileName $uri)
+  echo "Cleaning $tool_temp_path"
+  if [[ -f $tool_temp_path ]]; then
+    rm -rf $tool_temp_path
+  fi
+
+  exit 0
+fi
+
+# Install tool
+if [[ -f $tool_file_path ]] && [[ $force = false ]]; then
+  echo "$tool_name ($version) already exists, skipping install"
+  exit 0
+fi
+
+DownloadAndExtract $uri $tool_install_directory $force $download_retries $retry_wait_time_seconds
+
+if [[ $? != 0 ]]; then
+  echo "Installation failed" >&2
+  exit 1
+fi
+
+# Generate Shim
+# Always rewrite shims so that we are referencing the expected version
+NewScriptShim $shim_path $tool_file_path true
+
+if [[ $? != 0 ]]; then
+  echo "Shim generation failed" >&2
+  exit 1
+fi
+
+exit 0
\ No newline at end of file
diff --git a/eng/common/native/install-tool.ps1 b/eng/common/native/install-tool.ps1
new file mode 100644 (file)
index 0000000..635ab3f
--- /dev/null
@@ -0,0 +1,130 @@
+<#
+.SYNOPSIS
+Install native tool
+
+.DESCRIPTION
+Install cmake native tool from Azure blob storage
+
+.PARAMETER InstallPath
+Base directory to install native tool to
+
+.PARAMETER BaseUri
+Base file directory or Url from which to acquire tool archives
+
+.PARAMETER CommonLibraryDirectory
+Path to folder containing common library modules
+
+.PARAMETER Force
+Force install of tools even if they previously exist
+
+.PARAMETER Clean
+Don't install the tool, just clean up the current install of the tool
+
+.PARAMETER DownloadRetries
+Total number of retry attempts
+
+.PARAMETER RetryWaitTimeInSeconds
+Wait time between retry attempts in seconds
+
+.NOTES
+Returns 0 if install succeeds, 1 otherwise
+#>
+[CmdletBinding(PositionalBinding=$false)]
+Param (
+  [Parameter(Mandatory=$True)]
+  [string] $ToolName,
+  [Parameter(Mandatory=$True)]
+  [string] $InstallPath,
+  [Parameter(Mandatory=$True)]
+  [string] $BaseUri,
+  [Parameter(Mandatory=$True)]
+  [string] $Version,
+  [string] $CommonLibraryDirectory = $PSScriptRoot,
+  [switch] $Force = $False,
+  [switch] $Clean = $False,
+  [int] $DownloadRetries = 5,
+  [int] $RetryWaitTimeInSeconds = 30
+)
+
+# Import common library modules
+Import-Module -Name (Join-Path $CommonLibraryDirectory "CommonLibrary.psm1")
+
+try {
+  # Define verbose switch if undefined
+  $Verbose = $VerbosePreference -Eq "Continue"
+
+  $Arch = CommonLibrary\Get-MachineArchitecture
+  $ToolOs = "win64"
+  if($Arch -Eq "x32") {
+    $ToolOs = "win32"
+  }
+  $ToolNameMoniker = "$ToolName-$Version-$ToolOs-$Arch"
+  $ToolInstallDirectory = Join-Path $InstallPath "$ToolName\$Version\"
+  $Uri = "$BaseUri/windows/$ToolName/$ToolNameMoniker.zip"
+  $ShimPath = Join-Path $InstallPath "$ToolName.exe"
+
+  if ($Clean) {
+    Write-Host "Cleaning $ToolInstallDirectory"
+    if (Test-Path $ToolInstallDirectory) {
+      Remove-Item $ToolInstallDirectory -Force -Recurse
+    }
+    Write-Host "Cleaning $ShimPath"
+    if (Test-Path $ShimPath) {
+      Remove-Item $ShimPath -Force
+    }
+    $ToolTempPath = CommonLibrary\Get-TempPathFilename -Path $Uri
+    Write-Host "Cleaning $ToolTempPath"
+    if (Test-Path $ToolTempPath) {
+      Remove-Item $ToolTempPath -Force
+    }
+    exit 0
+  }
+
+  # Install tool
+  if ((Test-Path $ToolInstallDirectory) -And (-Not $Force)) {
+    Write-Verbose "$ToolName ($Version) already exists, skipping install"
+  }
+  else {
+    $InstallStatus = CommonLibrary\DownloadAndExtract -Uri $Uri `
+                                                      -InstallDirectory $ToolInstallDirectory `
+                                                      -Force:$Force `
+                                                      -DownloadRetries $DownloadRetries `
+                                                      -RetryWaitTimeInSeconds $RetryWaitTimeInSeconds `
+                                                      -Verbose:$Verbose
+
+    if ($InstallStatus -Eq $False) {
+      Write-Error "Installation failed"
+      exit 1
+    }
+  }
+
+  $ToolFilePath = Get-ChildItem $ToolInstallDirectory -Recurse -Filter "$ToolName.exe" | % { $_.FullName }
+  if (@($ToolFilePath).Length -Gt 1) {
+    Write-Error "There are multiple copies of $ToolName in $($ToolInstallDirectory): `n$(@($ToolFilePath | out-string))"
+    exit 1
+  } elseif (@($ToolFilePath).Length -Lt 1) {
+    Write-Error "$ToolName was not found in $ToolFilePath."
+    exit 1
+  }
+
+  # Generate shim
+  # Always rewrite shims so that we are referencing the expected version
+  $GenerateShimStatus = CommonLibrary\New-ScriptShim -ShimName $ToolName `
+                                                     -ShimDirectory $InstallPath `
+                                                     -ToolFilePath "$ToolFilePath" `
+                                                     -BaseUri $BaseUri `
+                                                     -Force:$Force `
+                                                     -Verbose:$Verbose
+
+  if ($GenerateShimStatus -Eq $False) {
+    Write-Error "Generate shim failed"
+    return 1
+  }
+
+  exit 0
+}
+catch {
+  Write-Host $_
+  Write-Host $_.Exception
+  exit 1
+}
diff --git a/eng/common/templates/phases/base.yml b/eng/common/templates/phases/base.yml
new file mode 100644 (file)
index 0000000..0123cf4
--- /dev/null
@@ -0,0 +1,130 @@
+parameters:
+  # Optional: Clean sources before building
+  clean: true
+
+  # Optional: Git fetch depth
+  fetchDepth: ''
+
+  # Optional: name of the phase (not specifying phase name may cause name collisions)
+  name: ''
+  # Optional: display name of the phase
+  displayName: ''
+
+  # Optional: condition for the job to run
+  condition: ''
+
+  # Optional: dependencies of the phase
+  dependsOn: ''
+
+  # Required: A defined YAML queue
+  queue: {}
+
+  # Required: build steps
+  steps: []
+
+  # Optional: variables
+  variables: {}
+
+  # Optional: should run as a public build even in the internal project
+  #           if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.
+  runAsPublic: false
+
+  ## Telemetry variables
+
+  # Optional: enable sending telemetry
+  #           if 'true', these "variables" must be specified in the variables object or as part of the queue matrix
+  #             _HelixBuildConfig - differentiate between Debug, Release, other
+  #             _HelixSource - Example: build/product
+  #             _HelixType - Example: official/dotnet/arcade/$(Build.SourceBranch)
+  enableTelemetry: false
+
+  # Optional: Enable installing Microbuild plugin
+  #           if 'true', these "variables" must be specified in the variables object or as part of the queue matrix
+  #             _TeamName - the name of your team
+  #             _SignType - 'test' or 'real'
+  enableMicrobuild: false
+
+# Internal resources (telemetry, microbuild) can only be accessed from non-public projects,
+# and some (Microbuild) should only be applied to non-PR cases for internal builds.
+
+phases:
+- phase: ${{ parameters.name }}
+
+  ${{ if ne(parameters.displayName, '') }}:
+    displayName: ${{ parameters.displayName }}
+
+  ${{ if ne(parameters.condition, '') }}:
+    condition: ${{ parameters.condition }}
+
+  ${{ if ne(parameters.dependsOn, '') }}:
+    dependsOn: ${{ parameters.dependsOn }}
+
+  queue: ${{ parameters.queue }}
+
+  ${{ if ne(parameters.variables, '') }}:
+    variables:
+      ${{ insert }}: ${{ parameters.variables }}
+
+  steps:
+  - checkout: self
+    clean: ${{ parameters.clean }}
+    ${{ if ne(parameters.fetchDepth, '') }}:
+      fetchDepth: ${{ parameters.fetchDepth }}
+
+  - ${{ if eq(parameters.enableTelemetry, 'true') }}:
+    - template: /eng/common/templates/steps/telemetry-start.yml
+      parameters:
+        buildConfig: $(_HelixBuildConfig)
+        helixSource: $(_HelixSource)
+        helixType: $(_HelixType)
+        runAsPublic: ${{ parameters.runAsPublic }}
+
+  - ${{ if eq(parameters.enableMicrobuild, 'true') }}:
+    # Internal only resource, and Microbuild signing shouldn't be applied to PRs.
+    - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
+      - task: MicroBuildSigningPlugin@2
+        displayName: Install MicroBuild plugin
+        inputs:
+          signType: $(_SignType)
+          zipSources: false
+          feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
+          
+        env:
+          TeamName: $(_TeamName)
+        continueOnError: false
+        condition: and(succeeded(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
+
+  # Run provided build steps
+  - ${{ parameters.steps }}
+
+  - ${{ if eq(parameters.enableMicrobuild, 'true') }}:
+    # Internal only resources
+    - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
+      - task: MicroBuildCleanup@1
+        displayName: Execute Microbuild cleanup tasks  
+        condition: and(always(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
+        env:
+          TeamName: $(_TeamName)
+
+  - ${{ if eq(parameters.enableTelemetry, 'true') }}:
+    - template: /eng/common/templates/steps/telemetry-end.yml
+      parameters:
+        helixSource: $(_HelixSource)
+        helixType: $(_HelixType)
+
+  - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
+    - task: CopyFiles@2
+      displayName: Gather Asset Manifests
+      inputs:
+        SourceFolder: '$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/AssetManifest'
+        TargetFolder: '$(Build.StagingDirectory)/AssetManifests'
+      continueOnError: false
+      condition: and(succeeded(), eq(variables['_DotNetPublishToBlobFeed'], 'true'))
+    - task: PublishBuildArtifacts@1
+      displayName: Push Asset Manifests
+      inputs:
+        PathtoPublish: '$(Build.StagingDirectory)/AssetManifests'
+        PublishLocation: Container
+        ArtifactName: AssetManifests
+      continueOnError: false
+      condition: and(succeeded(), eq(variables['_DotNetPublishToBlobFeed'], 'true'))
diff --git a/eng/common/templates/phases/publish-build-assets.yml b/eng/common/templates/phases/publish-build-assets.yml
new file mode 100644 (file)
index 0000000..c9381cf
--- /dev/null
@@ -0,0 +1,38 @@
+parameters:
+  dependsOn: ''
+  queue: {}
+  configuration: 'Debug'
+  condition: succeeded()
+  continueOnError: false
+  runAsPublic: false
+phases:
+  - phase: Asset_Registry_Publish
+    displayName: Publish to Build Asset Registry
+    dependsOn: ${{ parameters.dependsOn }}
+    queue: ${{ parameters.queue }}
+    variables:
+      config: ${{ parameters.configuration }}
+    steps:
+      - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
+        - task: DownloadBuildArtifacts@0
+          displayName: Download artifact
+          inputs:
+            artifactName: AssetManifests
+            downloadPath: '$(Build.StagingDirectory)/Download'
+          condition: ${{ parameters.condition }}
+          continueOnError: ${{ parameters.continueOnError }}
+        - task: AzureKeyVault@1
+          inputs:
+            azureSubscription: 'DotNet-Engineering-Services_KeyVault'
+            KeyVaultName: EngKeyVault
+            SecretsFilter: 'MaestroAccessToken'
+          condition: ${{ parameters.condition }}
+          continueOnError: ${{ parameters.continueOnError }}
+        - script: eng\common\publishbuildassets.cmd
+            /p:ManifestsPath='$(Build.StagingDirectory)/Download/AssetManifests'
+            /p:BuildAssetRegistryToken=$(MaestroAccessToken)
+            /p:MaestroApiEndpoint=https://maestro-prod.westus2.cloudapp.azure.com
+            /p:Configuration=$(config)
+          displayName: Publish Build Assets
+          condition: ${{ parameters.condition }}
+          continueOnError: ${{ parameters.continueOnError }}
diff --git a/eng/common/templates/steps/build-reason.yml b/eng/common/templates/steps/build-reason.yml
new file mode 100644 (file)
index 0000000..eba5810
--- /dev/null
@@ -0,0 +1,12 @@
+# build-reason.yml
+# Description: runs steps if build.reason condition is valid.  conditions is a string of valid build reasons 
+# to include steps (',' separated).
+parameters:
+  conditions: ''
+  steps: []
+
+steps:
+  - ${{ if and( not(startsWith(parameters.conditions, 'not')), contains(parameters.conditions, variables['build.reason'])) }}:
+    - ${{ parameters.steps }}
+  - ${{ if and( startsWith(parameters.conditions, 'not'), not(contains(parameters.conditions, variables['build.reason']))) }}:
+    - ${{ parameters.steps }}
diff --git a/eng/common/templates/steps/helix-publish.yml b/eng/common/templates/steps/helix-publish.yml
new file mode 100644 (file)
index 0000000..f145467
--- /dev/null
@@ -0,0 +1,44 @@
+parameters:
+  HelixSource: 'pr/dotnet-github-anon-kaonashi-bot'
+  HelixType: ̓'tests/default'
+  HelixBuild: $(Build.BuildNumber)
+  HelixTargetQueues: ''
+  HelixAccessToken: ''
+  HelixPreCommands: ''
+  HelixPostCommands: ''
+  WorkItemDirectory: ''
+  WorkItemCommand: ''
+  CorrelationPayloadDirectory: ''
+  IncludeDotNetCli: false
+  DotNetCliPackageType: ''
+  DotNetCliVersion: ''
+  EnableXUnitReporter: false
+  WaitForWorkItemCompletion: true
+  condition: succeeded()
+  continueOnError: false
+
+steps:
+  - task: DotNetCoreCLI@2
+    inputs:
+      command: custom
+      projects: eng/common/helixpublish.proj
+      custom: msbuild
+      arguments: '/t:test /p:Language=msbuild'
+    displayName: Send job to Helix
+    env:
+      HelixSource: ${{ parameters.HelixSource }}
+      HelixType: ${{ parameters.HelixType }}
+      HelixBuild: ${{ parameters.HelixBuild }}
+      HelixTargetQueues: ${{ parameters.HelixTargetQueues }}
+      HelixAccessToken: ${{ parameters.HelixAccessToken }}
+      HelixPreCommands: ${{ parameters.HelixPreCommands }}
+      HelixPostCommands: ${{ parameters.HelixPostCommands }}
+      WorkItemDirectory: ${{ parameters.WorkItemDirectory }}
+      WorkItemCommand: ${{ parameters.WorkItemCommand }}
+      IncludeDotNetCli: ${{ parameters.IncludeDotNetCli }}
+      DotNetCliPackageType: ${{ parameters.DotNetCliPackageType }}
+      DotNetCliVersion: ${{ parameters.DotNetCliVersion }}
+      EnableXUnitReporter: ${{ parameters.EnableXUnitReporter }}
+      WaitForWorkItemCompletion: ${{ parameters.WaitForWorkItemCompletion }}
+    condition: ${{ parameters.condition }}
+    continueOnError: ${{ parameters.continueOnError }}
diff --git a/eng/common/templates/steps/run-on-unix.yml b/eng/common/templates/steps/run-on-unix.yml
new file mode 100644 (file)
index 0000000..e173381
--- /dev/null
@@ -0,0 +1,7 @@
+parameters:
+  agentOs: ''
+  steps: []
+
+steps:
+- ${{ if ne(parameters.agentOs, 'Windows_NT') }}:
+  - ${{ parameters.steps }}
diff --git a/eng/common/templates/steps/run-on-windows.yml b/eng/common/templates/steps/run-on-windows.yml
new file mode 100644 (file)
index 0000000..73e7e9c
--- /dev/null
@@ -0,0 +1,7 @@
+parameters:
+  agentOs: ''
+  steps: []
+
+steps:
+- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
+  - ${{ parameters.steps }}
diff --git a/eng/common/templates/steps/run-script-ifequalelse.yml b/eng/common/templates/steps/run-script-ifequalelse.yml
new file mode 100644 (file)
index 0000000..3d1242f
--- /dev/null
@@ -0,0 +1,33 @@
+parameters:
+  # if parameter1 equals parameter 2, run 'ifScript' command, else run 'elsescript' command
+  parameter1: ''
+  parameter2: ''
+  ifScript: ''
+  elseScript: ''
+
+  # name of script step
+  name: Script
+
+  # display name of script step
+  displayName: If-Equal-Else Script
+
+  # environment
+  env: {}
+
+  # conditional expression for step execution
+  condition: ''
+
+steps:
+- ${{ if and(ne(parameters.ifScript, ''), eq(parameters.parameter1, parameters.parameter2)) }}:
+  - script: ${{ parameters.ifScript }}
+    name: ${{ parameters.name }}
+    displayName: ${{ parameters.displayName }}
+    env: ${{ parameters.env }}
+    condition: ${{ parameters.condition }}
+
+- ${{ if and(ne(parameters.elseScript, ''), ne(parameters.parameter1, parameters.parameter2)) }}:
+  - script: ${{ parameters.elseScript }}
+    name: ${{ parameters.name }}
+    displayName: ${{ parameters.displayName }}
+    env: ${{ parameters.env }}
+    condition: ${{ parameters.condition }}
\ No newline at end of file
diff --git a/eng/common/templates/steps/telemetry-end.yml b/eng/common/templates/steps/telemetry-end.yml
new file mode 100644 (file)
index 0000000..9cfe360
--- /dev/null
@@ -0,0 +1,67 @@
+parameters:
+  helixSource: 'undefined_defaulted_in_telemetry.yml'
+  helixType: 'undefined_defaulted_in_telemetry.yml'
+
+steps:
+- bash: |
+    if [ "$AGENT_JOBSTATUS" = "Succeeded" ] || [ "$AGENT_JOBSTATUS" = "PartiallySucceeded" ]; then
+      errorCount=0
+    else
+      errorCount=1
+    fi
+    warningCount=0
+
+    # create a temporary file for curl output
+    res=`mktemp`
+
+    curlResult=`
+      curl --verbose --output $res --write-out "%{http_code}"\
+      -H 'Content-Type: application/json' \
+      -H "X-Helix-Job-Token: $Helix_JobToken" \
+      -H 'Content-Length: 0' \
+      -X POST -G "https://helix.dot.net/api/2018-03-14/telemetry/job/build/$Helix_WorkItemId/finish" \
+      --data-urlencode "errorCount=$errorCount" \
+      --data-urlencode "warningCount=$warningCount"`
+    curlStatus=$?
+
+    if [ $curlStatus -eq 0 ]; then
+      if [ $curlResult -gt 299 ] || [ $curlResult -lt 200 ]; then
+        curlStatus=$curlResult
+      fi
+    fi
+
+    if [ $curlStatus -ne 0 ]; then
+      echo "Failed to Send Build Finish information"
+      vstsLogOutput="vso[task.logissue type=error;sourcepath=templates/steps/telemetry-end.yml;code=1;]Failed to Send Build Finish information: $curlStatus"
+      echo "##$vstsLogOutput"
+      exit 1
+    fi
+  displayName: Send Unix Build End Telemetry
+  env:
+    # defined via VSTS variables in start-job.sh
+    Helix_JobToken: $(Helix_JobToken)
+    Helix_WorkItemId: $(Helix_WorkItemId)
+  condition: and(always(), ne(variables['Agent.Os'], 'Windows_NT'))
+- powershell: |
+    if (($env:Agent_JobStatus -eq 'Succeeded') -or ($env:Agent_JobStatus -eq 'PartiallySucceeded')) {
+      $ErrorCount = 0
+    } else {
+      $ErrorCount = 1
+    }
+    $WarningCount = 0
+
+    try {
+      Invoke-RestMethod -Uri "https://helix.dot.net/api/2018-03-14/telemetry/job/build/$env:Helix_WorkItemId/finish?errorCount=$ErrorCount&warningCount=$WarningCount" -Method Post -ContentType "application/json" -Body "" `
+        -Headers @{ 'X-Helix-Job-Token'=$env:Helix_JobToken }
+    }
+    catch {
+      Write-Error $_
+      Write-Error $_.Exception
+      exit 1
+    }
+  displayName: Send Windows Build End Telemetry
+  env:
+    # defined via VSTS variables in start-job.ps1
+    Helix_JobToken: $(Helix_JobToken)
+    Helix_WorkItemId: $(Helix_WorkItemId)
+  condition: and(always(),eq(variables['Agent.Os'], 'Windows_NT'))
diff --git a/eng/common/templates/steps/telemetry-start.yml b/eng/common/templates/steps/telemetry-start.yml
new file mode 100644 (file)
index 0000000..07f1185
--- /dev/null
@@ -0,0 +1,155 @@
+parameters:
+  helixSource: 'undefined_defaulted_in_telemetry.yml'
+  helixType: 'undefined_defaulted_in_telemetry.yml'
+  buildConfig: ''
+  runAsPublic: false
+
+steps:
+- ${{ if and(eq(parameters.runAsPublic, 'false'), not(eq(variables['System.TeamProject'], 'public'))) }}:
+  - task: AzureKeyVault@1
+    inputs:
+      azureSubscription: 'HelixProd_KeyVault'
+      KeyVaultName: HelixProdKV
+      SecretsFilter: 'HelixApiAccessToken'
+    condition: always()
+- bash: |
+    # create a temporary file
+    jobInfo=`mktemp`
+
+    # write job info content to temporary file
+    cat > $jobInfo <<JobListStuff
+    {
+      "QueueId": "$QueueId",
+      "Source": "$Source",
+      "Type": "$Type",
+      "Build": "$Build",
+      "Attempt": "$Attempt",
+      "Properties": {
+        "operatingSystem": "$OperatingSystem",
+        "configuration": "$Configuration"
+      }
+    }
+    JobListStuff
+    
+    # create a temporary file for curl output
+    res=`mktemp`
+
+    accessTokenParameter=''
+    if [[ ! "$HelixApiAccessToken" == "" ]]; then
+      accessTokenParameter="?access_token=$HelixApiAccessToken"
+    fi
+
+    curlResult=`
+      cat $jobInfo |\
+      curl --verbose --output $res --write-out "%{http_code}" \
+      -H 'Content-Type: application/json' \
+      -X POST "https://helix.dot.net/api/2018-03-14/telemetry/job$accessTokenParameter" -d @-`
+    curlStatus=$?
+
+    if [ $curlStatus -eq 0 ]; then
+      if [ $curlResult -gt 299 ] || [ $curlResult -lt 200 ]; then
+        curlStatus=$curlResult
+      fi
+    fi
+
+    curlResult=`cat $res`
+    
+    # validate status of curl command
+    if [ $curlStatus -ne 0 ]; then
+      echo "Failed To Send Job Start information"
+      # We have to append the ## vso prefix or vso will pick up the command when it dumps the inline script into the shell
+      vstsLogOutput="vso[task.logissue type=error;sourcepath=telemetry/start-job.sh;code=1;]Failed to Send Job Start information: $curlStatus"
+      echo "##$vstsLogOutput"
+      exit 1
+    fi
+    
+    # Set the Helix_JobToken variable
+    export Helix_JobToken=`echo $curlResult | xargs echo` # Strip Quotes
+    echo "##vso[task.setvariable variable=Helix_JobToken;issecret=true;]$Helix_JobToken"
+  displayName: Send Unix Job Start Telemetry
+  env:
+    HelixApiAccessToken: $(HelixApiAccessToken)
+    Source: ${{ parameters.helixSource }}
+    Type: ${{ parameters.helixType }}
+    Build: $(Build.BuildNumber)
+    QueueId: $(Agent.Os)
+    Attempt: 1
+    OperatingSystem: $(Agent.Os)
+    Configuration: ${{ parameters.buildConfig }}
+  condition: and(always(), ne(variables['Agent.Os'], 'Windows_NT'))
+- bash: |
+    res=`mktemp`
+    curlResult=`
+      curl --verbose --output $res --write-out "%{http_code}"\
+      -H 'Content-Type: application/json' \
+      -H "X-Helix-Job-Token: $Helix_JobToken" \
+      -H 'Content-Length: 0' \
+      -X POST -G "https://helix.dot.net/api/2018-03-14/telemetry/job/build" \
+      --data-urlencode "buildUri=$BuildUri"`
+    curlStatus=$?
+
+    if [ $curlStatus -eq 0 ]; then
+      if [ $curlResult -gt 299 ] || [ $curlResult -lt 200 ]; then
+        curlStatus=$curlResult
+      fi
+    fi
+
+    curlResult=`cat $res`
+
+    # validate status of curl command
+    if [ $curlStatus -ne 0 ]; then
+      echo "Failed to Send Build Start information"
+      vstsLogOutput="vso[task.logissue type=error;sourcepath=telemetry/build/start.sh;code=1;]Failed to Send Build Start information: $curlStatus"
+      echo "##$vstsLogOutput"
+      exit 1
+    fi
+
+    export Helix_WorkItemId=`echo $curlResult | xargs echo` # Strip Quotes
+    echo "##vso[task.setvariable variable=Helix_WorkItemId]$Helix_WorkItemId"
+  displayName: Send Unix Build Start Telemetry
+  env:
+    BuildUri: $(System.TaskDefinitionsUri)$(System.TeamProject)/_build/index?buildId=$(Build.BuildId)&_a=summary
+    Helix_JobToken: $(Helix_JobToken)
+  condition: and(always(), ne(variables['Agent.Os'], 'Windows_NT'))
+  
+- powershell: |
+    $jobInfo = [pscustomobject]@{
+      QueueId=$env:QueueId;
+      Source=$env:Source;
+      Type=$env:Type;
+      Build=$env:Build;
+      Attempt=$env:Attempt;
+      Properties=[pscustomobject]@{ operatingSystem=$env:OperatingSystem; configuration=$env:Configuration };
+    }
+    
+    $jobInfoJson = $jobInfo | ConvertTo-Json
+
+    if ($env:HelixApiAccessToken) {
+      $accessTokenParameter="?access_token=$($env:HelixApiAccessToken)"
+    }
+    Write-Host "Job Info: $jobInfoJson"
+    $jobToken = Invoke-RestMethod -Uri "https://helix.dot.net/api/2018-03-14/telemetry/job$($accessTokenParameter)" -Method Post -ContentType "application/json" -Body $jobInfoJson
+    $env:Helix_JobToken = $jobToken
+    Write-Host "##vso[task.setvariable variable=Helix_JobToken;issecret=true;]$env:Helix_JobToken"
+  displayName: Send Windows Job Start Telemetry
+  env:
+    HelixApiAccessToken: $(HelixApiAccessToken)
+    Source: ${{ parameters.helixSource }}
+    Type: ${{ parameters.helixType }}
+    Build: $(Build.BuildNumber)
+    QueueId: $(Agent.Os)
+    Attempt: 1
+    OperatingSystem: $(Agent.Os)
+    Configuration: ${{ parameters.buildConfig }}
+  condition: and(always(), eq(variables['Agent.Os'], 'Windows_NT'))
+- powershell: |
+    $workItemId = Invoke-RestMethod -Uri "https://helix.dot.net/api/2018-03-14/telemetry/job/build?buildUri=$([Net.WebUtility]::UrlEncode($env:BuildUri))" -Method Post -ContentType "application/json" -Body "" `
+      -Headers @{ 'X-Helix-Job-Token'=$env:Helix_JobToken }
+  
+    $env:Helix_WorkItemId = $workItemId
+    Write-Host "##vso[task.setvariable variable=Helix_WorkItemId]$env:Helix_WorkItemId"
+  displayName: Send Windows Build Start Telemetry
+  env:
+    BuildUri: $(System.TaskDefinitionsUri)$(System.TeamProject)/_build/index?buildId=$(Build.BuildId)&_a=summary
+    Helix_JobToken: $(Helix_JobToken)
+  condition: and(always(), eq(variables['Agent.Os'], 'Windows_NT'))
diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1
new file mode 100644 (file)
index 0000000..734576e
--- /dev/null
@@ -0,0 +1,283 @@
+# Initialize variables if they aren't already defined
+
+$ci = if (Test-Path variable:ci) { $ci } else { $false }
+$configuration = if (Test-Path variable:configuration) { $configuration } else { "Debug" }
+$nodereuse = if (Test-Path variable:nodereuse) { $nodereuse } else { !$ci }
+$prepareMachine = if (Test-Path variable:prepareMachine) { $prepareMachine } else { $false }
+$restore = if (Test-Path variable:restore) { $restore } else { $true }
+$verbosity = if (Test-Path variable:verbosity) { $verbosity } else { "minimal" }
+$warnaserror = if (Test-Path variable:warnaserror) { $warnaserror } else { $true }
+$msbuildEngine = if (Test-Path variable:msbuildEngine) { $msbuildEngine } else { $null }
+$useInstalledDotNetCli = if (Test-Path variable:useInstalledDotNetCli) { $useInstalledDotNetCli } else { $true }
+
+set-strictmode -version 2.0
+$ErrorActionPreference = "Stop"
+[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
+
+function Create-Directory([string[]] $path) {
+  if (!(Test-Path $path)) {
+    New-Item -path $path -force -itemType "Directory" | Out-Null
+  }
+}
+
+function InitializeDotNetCli([bool]$install) {
+  # Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism
+  $env:DOTNET_MULTILEVEL_LOOKUP=0
+
+  # Disable first run since we do not need all ASP.NET packages restored.
+  $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
+
+  # Source Build uses DotNetCoreSdkDir variable
+  if ($env:DotNetCoreSdkDir -ne $null) {
+    $env:DOTNET_INSTALL_DIR = $env:DotNetCoreSdkDir
+  }
+
+  # Find the first path on %PATH% that contains the dotnet.exe
+  if ($useInstalledDotNetCli -and ($env:DOTNET_INSTALL_DIR -eq $null)) {
+    $env:DOTNET_INSTALL_DIR = ${env:PATH}.Split(';') | where { ($_ -ne "") -and (Test-Path (Join-Path $_ "dotnet.exe")) }
+  }
+
+  $dotnetSdkVersion = $GlobalJson.tools.dotnet
+
+  # Use dotnet installation specified in DOTNET_INSTALL_DIR if it contains the required SDK version,
+  # otherwise install the dotnet CLI and SDK to repo local .dotnet directory to avoid potential permission issues.
+  if (($env:DOTNET_INSTALL_DIR -ne $null) -and (Test-Path(Join-Path $env:DOTNET_INSTALL_DIR "sdk\$dotnetSdkVersion"))) {
+    $dotnetRoot = $env:DOTNET_INSTALL_DIR
+  } else {
+    $dotnetRoot = Join-Path $RepoRoot ".dotnet"
+    $env:DOTNET_INSTALL_DIR = $dotnetRoot
+
+    if (-not (Test-Path(Join-Path $env:DOTNET_INSTALL_DIR "sdk\$dotnetSdkVersion"))) {
+      if ($install) {
+        InstallDotNetSdk $dotnetRoot $dotnetSdkVersion
+      } else {
+        Write-Host "Unable to find dotnet with SDK version '$dotnetSdkVersion'" -ForegroundColor Red
+        ExitWithExitCode 1
+      }
+    }
+  }
+
+  return $dotnetRoot
+}
+
+function GetDotNetInstallScript([string] $dotnetRoot) {
+  $installScript = "$dotnetRoot\dotnet-install.ps1"
+  if (!(Test-Path $installScript)) {
+    Create-Directory $dotnetRoot
+    Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile $installScript
+  }
+
+  return $installScript
+}
+
+function InstallDotNetSdk([string] $dotnetRoot, [string] $version) {
+  $installScript = GetDotNetInstallScript $dotnetRoot
+  & $installScript -Version $version -InstallDir $dotnetRoot
+  if ($lastExitCode -ne 0) {
+    Write-Host "Failed to install dotnet cli (exit code '$lastExitCode')." -ForegroundColor Red
+    ExitWithExitCode $lastExitCode
+  }
+}
+
+function InitializeVisualStudioBuild {
+  $vsToolsPath = $env:VS150COMNTOOLS
+  if ($vsToolsPath -eq $null) { 
+    $vsToolsPath = $env:VS160COMNTOOLS
+  }
+
+  if (($vsToolsPath -ne $null) -and (Test-Path $vsToolsPath)) {
+    $vsInstallDir = [System.IO.Path]::GetFullPath((Join-Path $vsToolsPath "..\.."))
+  } else {
+    $vsInfo = LocateVisualStudio
+
+    $vsInstallDir = $vsInfo.installationPath
+    $vsSdkInstallDir = Join-Path $vsInstallDir "VSSDK\"
+    $vsVersion = $vsInfo.installationVersion.Split('.')[0] + "0"
+
+    Set-Item "env:VS$($vsVersion)COMNTOOLS" (Join-Path $vsInstallDir "Common7\Tools\")    
+    Set-Item "env:VSSDK$($vsVersion)Install" $vsSdkInstallDir
+    $env:VSSDKInstall = $vsSdkInstallDir
+  }
+
+  return $vsInstallDir
+}
+
+function LocateVisualStudio {
+  $vswhereVersion = $GlobalJson.tools.vswhere
+
+  if (!$vsWhereVersion) {
+    Write-Host "vswhere version must be specified in /global.json." -ForegroundColor Red
+    ExitWithExitCode 1
+  }
+
+  $toolsRoot = Join-Path $RepoRoot ".tools"
+  $vsWhereDir = Join-Path $toolsRoot "vswhere\$vswhereVersion"
+  $vsWhereExe = Join-Path $vsWhereDir "vswhere.exe"
+
+  if (!(Test-Path $vsWhereExe)) {
+    Create-Directory $vsWhereDir
+    Write-Host "Downloading vswhere"
+    Invoke-WebRequest "https://github.com/Microsoft/vswhere/releases/download/$vswhereVersion/vswhere.exe" -OutFile $vswhereExe
+  }
+
+  $vsInfo = & $vsWhereExe `
+    -latest `
+    -prerelease `
+    -format json `
+    -requires Microsoft.Component.MSBuild `
+    -requires Microsoft.VisualStudio.Component.VSSDK `
+    -requires Microsoft.VisualStudio.Component.Roslyn.Compiler | ConvertFrom-Json
+
+  if ($lastExitCode -ne 0) {
+    Write-Host "Failed to locate Visual Studio (exit code '$lastExitCode')." -ForegroundColor Red
+    ExitWithExitCode $lastExitCode
+  }
+
+  # use first matching instance
+  return $vsInfo[0]
+}
+
+function ConfigureTools { 
+  # Include custom tools configuration
+  $script = Join-Path $EngRoot "configure-toolset.ps1"
+
+  if (Test-Path $script) {
+    . $script
+  }
+}
+
+function InitializeTools() {
+  ConfigureTools
+
+  $tools = $GlobalJson.tools
+
+  # Initialize dotnet cli if listed in 'tools'
+  $dotnetRoot = $null
+  if ((Get-Member -InputObject $tools -Name "dotnet") -ne $null) {
+    $dotnetRoot = InitializeDotNetCli -install:$restore
+  }
+
+  if (-not $msbuildEngine) {
+    # Presence of vswhere.version indicates the repo needs to build using VS msbuild.
+    if ((Get-Member -InputObject $tools -Name "vswhere") -ne $null) {
+      $msbuildEngine = "vs"
+    } elseif ($dotnetRoot -ne $null) {
+      $msbuildEngine = "dotnet"
+    } else {
+      Write-Host "-msbuildEngine must be specified, or /global.json must specify 'tools.dotnet' or 'tools.vswhere'." -ForegroundColor Red
+      ExitWithExitCode 1
+    }
+  }
+
+  if ($msbuildEngine -eq "dotnet") {
+    if (!$dotnetRoot) {
+      Write-Host "/global.json must specify 'tools.dotnet'." -ForegroundColor Red
+      ExitWithExitCode 1
+    }
+
+    $script:buildDriver = Join-Path $dotnetRoot "dotnet.exe"
+    $script:buildArgs = "msbuild"
+  } elseif ($msbuildEngine -eq "vs") {
+    $vsInstallDir = InitializeVisualStudioBuild
+
+    $script:buildDriver = Join-Path $vsInstallDir "MSBuild\15.0\Bin\msbuild.exe"
+    $script:buildArgs = ""
+  } else {
+    Write-Host "Unexpected value of -msbuildEngine: '$msbuildEngine'." -ForegroundColor Red
+    ExitWithExitCode 1
+  }
+
+  InitializeToolSet $script:buildDriver $script:buildArgs
+  InitializeCustomToolset
+}
+
+function InitializeToolset([string] $buildDriver, [string]$buildArgs) {
+  $toolsetVersion = $GlobalJson.'msbuild-sdks'.'Microsoft.DotNet.Arcade.Sdk'
+  $toolsetLocationFile = Join-Path $ToolsetDir "$toolsetVersion.txt"
+
+  if (Test-Path $toolsetLocationFile) {
+    $path = Get-Content $toolsetLocationFile -TotalCount 1
+    if (Test-Path $path) {
+      $script:ToolsetBuildProj = $path
+      return
+    }
+  }
+
+  if (-not $restore) {
+    Write-Host  "Toolset version $toolsetVersion has not been restored."
+    ExitWithExitCode 1
+  }
+
+  $ToolsetRestoreLog = Join-Path $LogDir "ToolsetRestore.binlog"
+  $proj = Join-Path $ToolsetDir "restore.proj"
+
+  '<Project Sdk="Microsoft.DotNet.Arcade.Sdk"/>' | Set-Content $proj
+  MSBuild $proj /t:__WriteToolsetLocation /clp:None /bl:$ToolsetRestoreLog /p:__ToolsetLocationOutputFile=$toolsetLocationFile
+
+  if ($lastExitCode -ne 0) {
+    Write-Host "Failed to restore toolset (exit code '$lastExitCode'). See log: $ToolsetRestoreLog" -ForegroundColor Red
+    ExitWithExitCode $lastExitCode
+  }
+
+  $path = Get-Content $toolsetLocationFile -TotalCount 1
+  if (!(Test-Path $path)) {
+    throw "Invalid toolset path: $path"
+  }
+
+  $script:ToolsetBuildProj = $path
+}
+
+function InitializeCustomToolset {
+  if (-not $restore) {
+    return
+  }
+
+  $script = Join-Path $EngRoot "restore-toolset.ps1"
+
+  if (Test-Path $script) {
+    . $script
+  }
+}
+
+function ExitWithExitCode([int] $exitCode) {
+  if ($ci -and $prepareMachine) {
+    Stop-Processes
+  }
+  exit $exitCode
+}
+
+function Stop-Processes() {
+  Write-Host "Killing running build processes..."
+  Get-Process -Name "msbuild" -ErrorAction SilentlyContinue | Stop-Process
+  Get-Process -Name "dotnet" -ErrorAction SilentlyContinue | Stop-Process
+  Get-Process -Name "vbcscompiler" -ErrorAction SilentlyContinue | Stop-Process
+}
+
+function MsBuild() {
+  $warnaserrorSwitch = if ($warnaserror) { "/warnaserror" } else { "" }
+  & $buildDriver $buildArgs $warnaserrorSwitch /m /nologo /clp:Summary /v:$verbosity /nr:$nodereuse $args
+}
+
+$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot "..\..")
+$EngRoot = Resolve-Path (Join-Path $PSScriptRoot "..")
+$ArtifactsDir = Join-Path $RepoRoot "artifacts"
+$ToolsetDir = Join-Path $ArtifactsDir "toolset"
+$LogDir = Join-Path (Join-Path $ArtifactsDir "log") $configuration
+$TempDir = Join-Path (Join-Path $ArtifactsDir "tmp") $configuration
+$GlobalJson = Get-Content -Raw -Path (Join-Path $RepoRoot "global.json") | ConvertFrom-Json
+
+if ($env:NUGET_PACKAGES -eq $null) {
+  # Use local cache on CI to ensure deterministic build,
+  # use global cache in dev builds to avoid cost of downloading packages.
+  $env:NUGET_PACKAGES = if ($ci) { Join-Path $RepoRoot ".packages" }
+                        else { Join-Path $env:UserProfile ".nuget\packages" }
+}
+
+Create-Directory $ToolsetDir
+Create-Directory $LogDir
+
+if ($ci) {
+  Create-Directory $TempDir
+  $env:TEMP = $TempDir
+  $env:TMP = $TempDir
+}
diff --git a/eng/common/tools.sh b/eng/common/tools.sh
new file mode 100644 (file)
index 0000000..c7d03ee
--- /dev/null
@@ -0,0 +1,258 @@
+#!/usr/bin/env bash
+
+# Stop script if unbound variable found (use ${var:-} if intentional)
+set -u
+
+ci=${ci:-false}
+configuration=${configuration:-'Debug'}
+nodereuse=${nodereuse:-true}
+prepare_machine=${prepare_machine:-false}
+restore=${restore:-true}
+verbosity=${verbosity:-'minimal'}
+warnaserror=${warnaserror:-true}
+useInstalledDotNetCli=${useInstalledDotNetCli:-true}
+
+repo_root="$scriptroot/../.."
+eng_root="$scriptroot/.."
+artifacts_dir="$repo_root/artifacts"
+toolset_dir="$artifacts_dir/toolset"
+log_dir="$artifacts_dir/log/$configuration"
+temp_dir="$artifacts_dir/tmp/$configuration"
+
+global_json_file="$repo_root/global.json"
+build_driver=""
+toolset_build_proj=""
+
+function ResolvePath {
+  local path=$1
+
+  # resolve $path until the file is no longer a symlink
+  while [[ -h $path ]]; do
+    local dir="$( cd -P "$( dirname "$path" )" && pwd )"
+    path="$(readlink "$path")"
+
+    # if $path was a relative symlink, we need to resolve it relative to the path where the
+    # symlink file was located
+    [[ $path != /* ]] && path="$dir/$path"
+  done
+
+  # return value
+  _ResolvePath="$path"
+}
+
+# ReadVersionFromJson [json key]
+function ReadGlobalVersion {
+  local key=$1
+
+  local line=`grep -m 1 "$key" "$global_json_file"`
+  local pattern="\"$key\" *: *\"(.*)\""
+
+  if [[ ! $line =~ $pattern ]]; then
+    echo "Error: Cannot find \"$key\" in $global_json_file" >&2
+    ExitWithExitCode 1
+  fi
+
+  # return value
+  _ReadGlobalVersion=${BASH_REMATCH[1]}
+}
+
+function InitializeDotNetCli {
+  local install=$1
+
+  # Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism
+  export DOTNET_MULTILEVEL_LOOKUP=0
+
+  # Disable first run since we want to control all package sources
+  export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
+
+  # Source Build uses DotNetCoreSdkDir variable
+  if [[ -n "${DotNetCoreSdkDir:-}" ]]; then
+    export DOTNET_INSTALL_DIR="$DotNetCoreSdkDir"
+  fi
+
+  # Find the first path on $PATH that contains the dotnet.exe
+  if [[ "$useInstalledDotNetCli" == true && -z "${DOTNET_INSTALL_DIR:-}" ]]; then
+    local dotnet_path=`command -v dotnet`
+    if [[ -n "$dotnet_path" ]]; then
+      ResolvePath "$dotnet_path"
+      export DOTNET_INSTALL_DIR=`dirname "$_ResolvePath"`
+    fi
+  fi
+
+  ReadGlobalVersion "dotnet"
+  local dotnet_sdk_version=$_ReadGlobalVersion
+  local dotnet_root=""
+
+  # Use dotnet installation specified in DOTNET_INSTALL_DIR if it contains the required SDK version,
+  # otherwise install the dotnet CLI and SDK to repo local .dotnet directory to avoid potential permission issues.
+  if [[ -n "${DOTNET_INSTALL_DIR:-}" && -d "$DOTNET_INSTALL_DIR/sdk/$dotnet_sdk_version" ]]; then
+    dotnet_root="$DOTNET_INSTALL_DIR"
+  else
+    dotnet_root="$repo_root/.dotnet"
+    export DOTNET_INSTALL_DIR="$dotnet_root"
+
+    if [[ ! -d "$DOTNET_INSTALL_DIR/sdk/$dotnet_sdk_version" ]]; then
+      if [[ "$install" == true ]]; then
+        InstallDotNetSdk "$dotnet_root" "$dotnet_sdk_version"
+      else
+        echo "Unable to find dotnet with SDK version '$dotnet_sdk_version'" >&2
+        ExitWithExitCode 1
+      fi
+    fi
+  fi
+
+  # return value
+  _InitializeDotNetCli="$dotnet_root"
+}
+
+function InstallDotNetSdk {
+  local root=$1
+  local version=$2
+
+  GetDotNetInstallScript "$root"
+  local install_script=$_GetDotNetInstallScript
+
+  bash "$install_script" --version $version --install-dir "$root"
+  local lastexitcode=$?
+
+  if [[ $lastexitcode != 0 ]]; then
+    echo "Failed to install dotnet SDK (exit code '$lastexitcode')." >&2
+    ExitWithExitCode $lastexitcode
+  fi
+}
+
+function GetDotNetInstallScript {
+  local root=$1
+  local install_script="$root/dotnet-install.sh"
+  local install_script_url="https://dot.net/v1/dotnet-install.sh"
+
+  if [[ ! -a "$install_script" ]]; then
+    mkdir -p "$root"
+
+    echo "Downloading '$install_script_url'"
+
+    # Use curl if available, otherwise use wget
+    if command -v curl > /dev/null; then
+      curl "$install_script_url" -sSL --retry 10 --create-dirs -o "$install_script"
+    else
+      wget -q -O "$install_script" "$install_script_url"
+    fi
+  fi
+
+  # return value
+  _GetDotNetInstallScript="$install_script"
+}
+
+function InitializeToolset {
+  ReadGlobalVersion "Microsoft.DotNet.Arcade.Sdk"
+
+  local toolset_version=$_ReadGlobalVersion
+  local toolset_location_file="$toolset_dir/$toolset_version.txt"
+
+  if [[ -a "$toolset_location_file" ]]; then
+    local path=`cat "$toolset_location_file"`
+    if [[ -a "$path" ]]; then
+      toolset_build_proj="$path"
+      return
+    fi
+  fi
+
+  if [[ "$restore" != true ]]; then
+    echo "Toolset version $toolsetVersion has not been restored." >&2
+    ExitWithExitCode 2
+  fi
+
+  local toolset_restore_log="$log_dir/ToolsetRestore.binlog"
+  local proj="$toolset_dir/restore.proj"
+
+  echo '<Project Sdk="Microsoft.DotNet.Arcade.Sdk"/>' > "$proj"
+
+  MSBuild "$proj" /t:__WriteToolsetLocation /clp:None /bl:"$toolset_restore_log" /p:__ToolsetLocationOutputFile="$toolset_location_file"
+  local lastexitcode=$?
+
+  if [[ $lastexitcode != 0 ]]; then
+    echo "Failed to restore toolset (exit code '$lastexitcode'). See log: $toolset_restore_log" >&2
+    ExitWithExitCode $lastexitcode
+  fi
+
+  toolset_build_proj=`cat "$toolset_location_file"`
+
+  if [[ ! -a "$toolset_build_proj" ]]; then
+    echo "Invalid toolset path: $toolset_build_proj" >&2
+    ExitWithExitCode 3
+  fi
+}
+
+function InitializeCustomToolset {
+  local script="$eng_root/restore-toolset.sh"
+
+  if [[ -a "$script" ]]; then
+    . "$script"
+  fi
+}
+
+function ConfigureTools {
+  local script="$eng_root/configure-toolset.sh"
+
+  if [[ -a "$script" ]]; then
+    . "$script"
+  fi
+}
+
+function InitializeTools {
+  ConfigureTools
+
+  InitializeDotNetCli $restore
+  build_driver="$_InitializeDotNetCli/dotnet"
+
+  InitializeToolset
+  InitializeCustomToolset
+}
+
+function ExitWithExitCode {
+  if [[ "$ci" == true && "$prepare_machine" == true ]]; then
+    StopProcesses
+  fi
+  exit $1
+}
+
+function StopProcesses {
+  echo "Killing running build processes..."
+  pkill -9 "dotnet"
+  pkill -9 "vbcscompiler"
+  return 0
+}
+
+function MSBuild {
+  local warnaserror_switch=""
+  if [[ $warnaserror == true ]]; then
+    warnaserror_switch="/warnaserror"
+  fi
+
+  "$build_driver" msbuild /m /nologo /clp:Summary /v:$verbosity /nr:$nodereuse $warnaserror_switch "$@"
+
+  return $?
+}
+
+# HOME may not be defined in some scenarios, but it is required by NuGet
+if [[ -z $HOME ]]; then
+  export HOME="$repo_root/artifacts/.home/"
+  mkdir -p "$HOME"
+fi
+
+if [[ -z ${NUGET_PACKAGES:-} ]]; then
+  if [[ $ci == true ]]; then
+    export NUGET_PACKAGES="$repo_root/.packages"
+  else
+    export NUGET_PACKAGES="$HOME/.nuget/packages"
+  fi
+fi
+
+mkdir -p "$toolset_dir"
+mkdir -p "$log_dir"
+
+if [[ $ci == true ]]; then
+  mkdir -p "$temp_dir"
+  export TEMP="$temp_dir"
+  export TMP="$temp_dir"
+fi
index 104bebe..c5e0057 100644 (file)
@@ -1,3 +1,13 @@
 {
-  "projects": [ "./tests/src", "./tests/src/Common" ]
-}
+  "tools": {
+    "dotnet": "2.1.401"
+  },
+  "native-tools": {
+    "cmake": "3.11.1",
+    "python": "2.7.15"
+  },
+  "msbuild-sdks": {
+    "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.18556.6",
+    "Microsoft.DotNet.Helix.Sdk": "1.0.0-beta.18556.6"
+  }
+}
\ No newline at end of file
index 94e0f6d..1e468e8 100755 (executable)
@@ -1310,7 +1310,12 @@ def static getJobName(def configuration, def architecture, def os, def scenario,
 }
 
 def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def os, def configuration, def scenario, def isFlowJob, def isWindowsBuildOnlyJob, def bidailyCrossList) {
-    def isNormalOrInnerloop = (scenario == "normal" || scenario == "innerloop")
+
+    // The dev/unix_test_workflow branch is used for Jenkins CI testing. We generally do not need any non-PR
+    // triggers in the branch, because that would use machine resources unnecessarily.
+    if (branch == 'dev/unix_test_workflow') {
+        return
+    }
 
     // Limited hardware is restricted for non-PR triggers to certain branches.
     if (jobRequiresLimitedHardware(architecture, os) && (!(branch in Constants.LimitedHardwareBranches))) {
@@ -1323,6 +1328,8 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
         return
     }
 
+    def isNormalOrInnerloop = (scenario == "normal" || scenario == "innerloop")
+
     // Check scenario.
     switch (scenario) {
         case 'crossgen_comparison':
@@ -1793,6 +1800,12 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                 break
             }
 
+            if (scenario == 'pmi_asm_diffs') {
+                // Everything is already set.
+                // No default triggers.
+                break
+            }
+
             switch (os) {
                 // OpenSUSE, Debian & RedHat get trigger phrases for pri 0 build, and pri 1 build & test
                 case 'Debian8.4':
@@ -2128,15 +2141,16 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
                     buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${arch} ${buildOpts}"
 
                     if (scenario == 'pmi_asm_diffs') {
-                        // Now, generate the layout. We don't have any tests, so we need to do some annoying magic before calling runtest.cmd.
-                        buildCommands += "run.cmd build -Project=\"tests\\build.proj\" -BuildOS=Windows_NT -BuildType=${lowerConfiguration} -BuildArch=${arch} -BatchRestorePackages"
+                        // Now, generate the layout. We don't have any tests, but we need to restore the packages before calling runtest.cmd.
+                        // Call build-test.cmd to do this. It will do a little more than we need, but that's ok.
+                        buildCommands += "build-test.cmd ${lowerConfiguration} ${arch} skipmanaged skipnative"
                         buildCommands += "tests\\runtest.cmd ${lowerConfiguration} ${arch} GenerateLayoutOnly"
 
                         // TODO: Add -target_branch and -commit_hash arguments based on GitHub variables.
                         buildCommands += "python -u %WORKSPACE%\\tests\\scripts\\run-pmi-diffs.py -arch ${arch} -ci_arch ${architecture} -build_type ${configuration}"
 
                         // ZIP up the asm
-                        buildCommands += "powershell -NoProfile -Command \"Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('_\\_asm', '.\\dasm.${os}.${architecture}.${configuration}.zip')\"";
+                        buildCommands += "powershell -NoProfile -Command \"Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('_\\pmi\\asm', '.\\dasm.${os}.${architecture}.${configuration}.zip')\"";
 
                         // Archive the asm
                         Utilities.addArchival(newJob, "dasm.${os}.${architecture}.${configuration}.zip")
@@ -2389,11 +2403,9 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
                         // TODO: Add -target_branch and -commit_hash arguments based on GitHub variables.
                         buildCommands += "python -u \${WORKSPACE}/tests/scripts/run-pmi-diffs.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration}"
 
-                        // ZIP up the asm
-                        buildCommands += "zip -r dasm.${os}.${architecture}.${configuration}.zip ./_/_asm"
-
                         // Archive the asm
-                        Utilities.addArchival(newJob, "dasm.${os}.${architecture}.${configuration}.zip")
+                        buildCommands += "tar -czf dasm.${os}.${architecture}.${configuration}.tgz ./_/pmi/asm"
+                        Utilities.addArchival(newJob, "dasm.${os}.${architecture}.${configuration}.tgz")
                         break
                     }
 
@@ -2481,7 +2493,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
 
                     // Unpack the corefx binaries
                     buildCommands += "mkdir ./bin/CoreFxBinDir"
-                    buildCommands += "tar -xf ./bin/build.tar.gz -C ./bin/CoreFxBinDir"
+                    buildCommands += "tar -xf ./artifacts/bin/build.tar.gz -C ./bin/CoreFxBinDir"
 
                     // Call the ARM CI script to cross build and test using docker
                     buildCommands += """./tests/scripts/arm32_ci_script.sh \\
@@ -2566,16 +2578,18 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
                     else if (scenario == 'pmi_asm_diffs') {
                         buildCommands += "${dockerCmd}\${WORKSPACE}/build-test.sh ${lowerConfiguration} ${architecture} cross generatelayoutonly"
 
-                        // Pass `-skip_diffs` -- the actual diffs will be done on an arm machine in the test job. This is the build job.
+                        // Pass `--skip_diffs` -- the actual diffs will be done on an arm machine in the test job. This is the build job.
                         // TODO: Add -target_branch and -commit_hash arguments based on GitHub variables.
-                        buildCommands += "python -u \${WORKSPACE}/tests/scripts/run-pmi-diffs.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration} -skip_diffs True"
+                        buildCommands += "python -u \${WORKSPACE}/tests/scripts/run-pmi-diffs.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration} --skip_diffs"
 
                         // ZIP what we created.
+                        buildCommands += "zip -r product.${os}.${architecture}.${lowerConfiguration}.zip ./bin/Product/Linux.${architecture}.${configuration}"
+                        buildCommands += "zip -r product.baseline.${os}.${architecture}.${lowerConfiguration}.zip ./_/pmi/base/bin/Product/Linux.${architecture}.${configuration}"
                         buildCommands += "zip -r coreroot.${os}.${architecture}.${lowerConfiguration}.zip ./bin/tests/Linux.${architecture}.${configuration}/Tests/Core_Root"
-                        buildCommands += "zip -r coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip ./_/_c/bin/tests/Linux.${architecture}.${configuration}/Tests/Core_Root"
+                        buildCommands += "zip -r coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip ./_/pmi/base/bin/tests/Linux.${architecture}.${configuration}/Tests/Core_Root"
 
                         // Archive the built artifacts
-                        Utilities.addArchival(newJob, "coreroot.${os}.${architecture}.${lowerConfiguration}.zip,coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip")
+                        Utilities.addArchival(newJob, "product.${os}.${architecture}.${lowerConfiguration}.zip,product.baseline.${os}.${architecture}.${lowerConfiguration}.zip,coreroot.${os}.${architecture}.${lowerConfiguration}.zip,coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip")
                     }
                     else {
                         // Then, using the same docker image, build the tests and generate the CORE_ROOT layout.
@@ -2886,7 +2900,8 @@ def static shouldGenerateJob(def scenario, def isPR, def architecture, def confi
                 if (architecture == 'armem') {
                     return false
                 }
-                // Currently, we don't support pmi_asm_diffs for Windows arm/arm64. Is is not in validArmWindowsScenarios.
+                // Currently, we don't support pmi_asm_diffs for Windows arm/arm64. We don't have a dotnet CLI available to
+                // build jitutils. The jobs are not in validArmWindowsScenarios.
                 if ((os == 'Windows_NT') && (architecture == 'arm' || architecture == 'arm64')) {
                     return false
                 }
@@ -2985,7 +3000,7 @@ Constants.allScenarios.each { scenario ->
                                     }
                                 }
                                 copyArtifacts("${corefxFolder}/${corefx_os}_${arm_abi}_cross_${corefx_lowerConfiguration}") {
-                                    includePatterns('bin/build.tar.gz')
+                                    includePatterns('artifacts/bin/build.tar.gz')
                                     buildSelector {
                                         latestSuccessful(true)
                                     }
@@ -3343,8 +3358,10 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi
                 def inputUrlRoot = "https://ci.dot.net/job/${mungedProjectName}/job/${mungedBranchName}/${inputJobPath}/\${CORECLR_BUILD}/artifact"
 
                 if (isPmiAsmDiffsScenario) {
-                    def workspaceRelativeRootLinux = "_"
+                    def workspaceRelativeRootLinux = "_/pmi"
                     shell("mkdir -p ${workspaceRelativeRootLinux}")
+                    shell("wget --progress=dot:giga ${inputUrlRoot}/product.${os}.${architecture}.${lowerConfiguration}.zip")
+                    shell("wget --progress=dot:giga ${inputUrlRoot}/product.baseline.${os}.${architecture}.${lowerConfiguration}.zip")
                     shell("wget --progress=dot:giga ${inputUrlRoot}/coreroot.${os}.${architecture}.${lowerConfiguration}.zip")
                     shell("wget --progress=dot:giga ${inputUrlRoot}/coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip")
                 }
@@ -3366,7 +3383,7 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi
                 def corefxFolder = Utilities.getFolderName('dotnet/corefx') + '/' + Utilities.getFolderName(fxBranch)
 
                 copyArtifacts("${corefxFolder}/ubuntu16.04_x86_release") {
-                    includePatterns('bin/build.tar.gz')
+                    includePatterns('artifacts/bin/build.tar.gz')
                     targetDirectory('bin/CoreFxNative')
                     buildSelector {
                         latestSuccessful(true)
@@ -3374,11 +3391,13 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi
                 }
 
                 shell("mkdir ./bin/CoreFxBinDir")
-                shell("tar -xf ./bin/CoreFxNative/bin/build.tar.gz -C ./bin/CoreFxBinDir")
+                shell("tar -xf ./bin/CoreFxNative/artifacts/bin/build.tar.gz -C ./bin/CoreFxBinDir")
             }
 
             if (isPmiAsmDiffsScenario) {
                 // TODO: add back "-q" when we know it works
+                shell("unzip -o ./product.${os}.${architecture}.${lowerConfiguration}.zip || exit 0")
+                shell("unzip -o ./product.baseline.${os}.${architecture}.${lowerConfiguration}.zip || exit 0")
                 shell("unzip -o ./coreroot.${os}.${architecture}.${lowerConfiguration}.zip || exit 0")
                 shell("unzip -o ./coreroot.baseline.${os}.${architecture}.${lowerConfiguration}.zip || exit 0")
             }
@@ -3425,9 +3444,9 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi
 
             if (isPmiAsmDiffsScenario) {
                 shell("""\
-python -u \${WORKSPACE}/tests/scripts/run-pmi-diffs.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration} -skip_baseline_build True""")
+python -u \${WORKSPACE}/tests/scripts/run-pmi-diffs.py -arch ${architecture} -ci_arch ${architecture} -build_type ${configuration} --skip_baseline_build""")
 
-                shell("zip -r dasm.${os}.${architecture}.${configuration}.zip ./_/_asm")
+                shell("zip -r dasm.${os}.${architecture}.${configuration}.zip ./_/pmi/asm")
             }
             else if (doCoreFxTesting) {
                 shell("""\
index 677015a..4908916 100644 (file)
@@ -23,6 +23,7 @@ Copyright (c) .NET Foundation. All rights reserved.
     <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('windows'))">win</_OSPlatform>
     <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('linux'))">linux</_OSPlatform>
     <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('osx'))">osx</_OSPlatform>
+    <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('freebsd'))">freebsd</_OSPlatform>
     <_OSArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)</_OSArchitecture>
 
     <MicrosoftNetCoreIlasmPackageRuntimeId Condition="'$(MicrosoftNetCoreIlasmPackageRuntimeId)' == ''">$(_OSPlatform)-$(_OSArchitecture.ToLower())</MicrosoftNetCoreIlasmPackageRuntimeId>
index 4893e2f..b97f3d8 100644 (file)
         <PackageRID Condition="'$(PortableBuild)' == 'true'">osx-$(ArchGroup)</PackageRID>
       </PropertyGroup>
     </When>
+    <When Condition="'$(_runtimeOSFamily)' == 'freebsd'">
+      <PropertyGroup>
+        <PackageRID>freebsd.11-$(ArchGroup)</PackageRID>
+        <!-- Set the platform part of the RID if we are doing a portable build -->
+        <PackageRID Condition="'$(PortableBuild)' == 'true'">freebsd-$(ArchGroup)</PackageRID>
+      </PropertyGroup>
+    </When>
     <When Condition="'$(_runtimeOSFamily)' == 'android'">
       <PropertyGroup>
         <PackageRID>android.21-$(ArchGroup)</PackageRID>
   <ItemGroup Condition="$(SupportedPackageOSGroups.Contains(';OSX;'))">
     <OfficialBuildRID Include="osx-x64" />
   </ItemGroup>
+  <ItemGroup Condition="$(SupportedPackageOSGroups.Contains(';FreeBSD;'))">
+    <OfficialBuildRID Include="freebsd-x64" />
+  </ItemGroup>
   <ItemGroup Condition="$(SupportedPackageOSGroups.Contains(';Windows_NT;'))">
     <OfficialBuildRID Include="win-x86">
       <Platform>x86</Platform>
index fe7ea71..0349819 100644 (file)
     <value>Cannot create arrays of ByRef-like values.</value>
   </data>
   <data name="NotSupported_ByRefToByRefLikeReturn" xml:space="preserve">
-    <value>ByRef to ByRefLike return values not supported in reflection invocation.</value>
+    <value>ByRef to ByRef-like return values are not supported in reflection invocation.</value>
   </data>
   <data name="NotSupported_ByRefToVoidReturn" xml:space="preserve">
-    <value>ByRef to void return values not supported in reflection invocation.</value>
+    <value>ByRef to void return values are not supported in reflection invocation.</value>
   </data>
   <data name="NotSupported_CallToVarArg" xml:space="preserve">
     <value>Vararg calling convention not supported.</value>
index 1be5e78..233feab 100644 (file)
@@ -20,6 +20,6 @@ internal static partial class Interop
         /// Note - on fail. the position of the stream may change depending on the platform; consult man 2 read for more info
         /// </returns>
         [DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_Read", SetLastError = true)]
-        internal static extern unsafe int Read(SafeFileHandle fd, byte* buffer, int count);
+        internal static extern unsafe int Read(SafeHandle fd, byte* buffer, int count);
     }
 }
index 0636615..fb06d46 100644 (file)
@@ -19,7 +19,7 @@ internal static partial class Interop
         /// Returns the number of bytes written on success; otherwise, returns -1 and sets errno
         /// </returns>
         [DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_Write", SetLastError = true)]
-        internal static extern unsafe int Write(SafeFileHandle fd, byte* buffer, int bufferSize);
+        internal static extern unsafe int Write(SafeHandle fd, byte* buffer, int bufferSize);
 
         [DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_Write", SetLastError = true)]
         internal static extern unsafe int Write(int fd, byte* buffer, int bufferSize);
index ae3acdf..d76fbd8 100644 (file)
@@ -30,21 +30,21 @@ namespace System.Buffers.Binary
         /// <summary>
         /// Reverses a primitive value - performs an endianness swap
         /// </summary> 
+        [Intrinsic]
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
-        public static short ReverseEndianness(short value)
-        {
-            return (short)((value & 0x00FF) << 8 | (value & 0xFF00) >> 8);
-        }
+        public static short ReverseEndianness(short value) => (short)ReverseEndianness((ushort)value);
 
         /// <summary>
         /// Reverses a primitive value - performs an endianness swap
         /// </summary> 
+        [Intrinsic]
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static int ReverseEndianness(int value) => (int)ReverseEndianness((uint)value);
 
         /// <summary>
         /// Reverses a primitive value - performs an endianness swap
         /// </summary> 
+        [Intrinsic]
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static long ReverseEndianness(long value) => (long)ReverseEndianness((ulong)value);
 
@@ -54,7 +54,7 @@ namespace System.Buffers.Binary
         /// rather than having to skip byte fields.
         /// </summary> 
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
-        public static byte ReverseEndianness(byte value)
+        public static byte ReverseEndianness(byte value) 
         {
             return value;
         }
@@ -63,6 +63,7 @@ namespace System.Buffers.Binary
         /// Reverses a primitive value - performs an endianness swap
         /// </summary> 
         [CLSCompliant(false)]
+        [Intrinsic]
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static ushort ReverseEndianness(ushort value)
         {
@@ -80,6 +81,7 @@ namespace System.Buffers.Binary
         /// Reverses a primitive value - performs an endianness swap
         /// </summary> 
         [CLSCompliant(false)]
+        [Intrinsic]
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static uint ReverseEndianness(uint value)
         {
@@ -113,6 +115,7 @@ namespace System.Buffers.Binary
         /// Reverses a primitive value - performs an endianness swap
         /// </summary> 
         [CLSCompliant(false)]
+        [Intrinsic]
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static ulong ReverseEndianness(ulong value)
         {
index b1eb90b..8b6eb54 100644 (file)
@@ -185,7 +185,7 @@ namespace System
                 return (ulong)a * (ulong)b;
             }
 
-            private static void UInt64x64To128(ulong a, ulong b, ref DecCalc pdecOut)
+            private static void UInt64x64To128(ulong a, ulong b, ref DecCalc result)
             {
                 ulong low = UInt32x32To64((uint)a, (uint)b); // lo partial prod
                 ulong mid = UInt32x32To64((uint)a, (uint)(b >> 32)); // mid 1 partial prod
@@ -203,39 +203,39 @@ namespace System
 
                 if (high > uint.MaxValue)
                     throw new OverflowException(SR.Overflow_Decimal);
-                pdecOut.Low64 = low;
-                pdecOut.High = (uint)high;
+                result.Low64 = low;
+                result.High = (uint)high;
             }
 
             /// <summary>
             /// Do full divide, yielding 96-bit result and 32-bit remainder.
             /// </summary>
-            /// <param name="bufNum">96-bit dividend as array of ULONGs, least-sig first</param>
-            /// <param name="ulDen">32-bit divisor</param>
-            /// <returns>remainder</returns>
-            private static uint Div96By32(ref Buf12 bufNum, uint ulDen)
+            /// <param name="bufNum">96-bit dividend as array of uints, least-sig first</param>
+            /// <param name="den">32-bit divisor</param>
+            /// <returns>Returns remainder. Quotient overwrites dividend.</returns>
+            private static uint Div96By32(ref Buf12 bufNum, uint den)
             {
                 // TODO: https://github.com/dotnet/coreclr/issues/3439
                 ulong tmp, div;
                 if (bufNum.U2 != 0)
                 {
                     tmp = bufNum.High64;
-                    div = tmp / ulDen;
+                    div = tmp / den;
                     bufNum.High64 = div;
-                    tmp = ((tmp - (uint)div * ulDen) << 32) | bufNum.U0;
+                    tmp = ((tmp - (uint)div * den) << 32) | bufNum.U0;
                     if (tmp == 0)
                         return 0;
-                    uint div32 = (uint)(tmp / ulDen);
+                    uint div32 = (uint)(tmp / den);
                     bufNum.U0 = div32;
-                    return (uint)tmp - div32 * ulDen;
+                    return (uint)tmp - div32 * den;
                 }
 
                 tmp = bufNum.Low64;
                 if (tmp == 0)
                     return 0;
-                div = tmp / ulDen;
+                div = tmp / den;
                 bufNum.Low64 = div;
-                return (uint)(tmp - div * ulDen);
+                return (uint)(tmp - div * den);
             }
 
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -305,15 +305,16 @@ namespace System
                 return false;
             }
 
-            // Normalize (unscale) the number by trying to divide out 10^8, 10^4, 10^2, and 10^1.
-            // If a division by one of these powers returns a zero remainder, then we keep the quotient.
-            //
-            // Since 10 = 2 * 5, there must be a factor of 2 for every power of 10 we can extract.
-            // We use this as a quick test on whether to try a given power.
-            //
+            /// <summary>
+            /// Normalize (unscale) the number by trying to divide out 10^8, 10^4, 10^2, and 10^1.
+            /// If a division by one of these powers returns a zero remainder, then we keep the quotient.
+            /// </summary>
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
             private static void Unscale(ref uint low, ref ulong high64, ref int scale)
             {
+                // Since 10 = 2 * 5, there must be a factor of 2 for every power of 10 we can extract.
+                // We use this as a quick test on whether to try a given power.
+
 #if BIT64
                 while ((byte)low == 0 && scale >= 8 && Div96ByConst(ref high64, ref low, 100000000))
                     scale -= 8;
@@ -336,9 +337,9 @@ namespace System
             /// Do partial divide, yielding 32-bit result and 64-bit remainder.
             /// Divisor must be larger than upper 64 bits of dividend.
             /// </summary>
-            /// <param name="bufNum">96-bit dividend as array of ULONGs, least-sig first</param>
-            /// <param name="sdlDen">64-bit divisor</param>
-            /// <returns>quotient</returns>
+            /// <param name="bufNum">96-bit dividend as array of uints, least-sig first</param>
+            /// <param name="den">64-bit divisor</param>
+            /// <returns>Returns quotient. Remainder overwrites lower 64-bits of dividend.</returns>
             private static uint Div96By64(ref Buf12 bufNum, ulong den)
             {
                 Debug.Assert(den > bufNum.High64);
@@ -417,15 +418,15 @@ namespace System
 
             /// <summary>
             /// Do partial divide, yielding 32-bit result and 96-bit remainder.
-            /// Top divisor ULONG must be larger than top dividend ULONG. This is
+            /// Top divisor uint must be larger than top dividend uint. This is
             /// assured in the initial call because the divisor is normalized
             /// and the dividend can't be. In subsequent calls, the remainder
             /// is multiplied by 10^9 (max), so it can be no more than 1/4 of
             /// the divisor which is effectively multiplied by 2^32 (4 * 10^9).
             /// </summary>
-            /// <param name="bufNum">128-bit dividend as array of ULONGs, least-sig first</param>
+            /// <param name="bufNum">128-bit dividend as array of uints, least-sig first</param>
             /// <param name="bufDen">96-bit divisor</param>
-            /// <returns>quotient</returns>
+            /// <returns>Returns quotient. Remainder overwrites lower 96-bits of dividend.</returns>
             private static uint Div128By96(ref Buf16 bufNum, ref Buf12 bufDen)
             {
                 Debug.Assert(bufDen.U2 > bufNum.U3);
@@ -497,28 +498,28 @@ PosRem:
             /// Multiply the two numbers. The low 96 bits of the result overwrite
             /// the input. The last 32 bits of the product are the return value.
             /// </summary>
-            /// <param name="bufNum">96-bit number as array of ULONGs, least-sig first</param>
-            /// <param name="ulPwr">Scale factor to multiply by</param>
+            /// <param name="bufNum">96-bit number as array of uints, least-sig first</param>
+            /// <param name="power">Scale factor to multiply by</param>
             /// <returns>Returns highest 32 bits of product</returns>
-            private static uint IncreaseScale(ref Buf12 bufNum, uint ulPwr)
+            private static uint IncreaseScale(ref Buf12 bufNum, uint power)
             {
-                ulong tmp = UInt32x32To64(bufNum.U0, ulPwr);
+                ulong tmp = UInt32x32To64(bufNum.U0, power);
                 bufNum.U0 = (uint)tmp;
                 tmp >>= 32;
-                tmp += UInt32x32To64(bufNum.U1, ulPwr);
+                tmp += UInt32x32To64(bufNum.U1, power);
                 bufNum.U1 = (uint)tmp;
                 tmp >>= 32;
-                tmp += UInt32x32To64(bufNum.U2, ulPwr);
+                tmp += UInt32x32To64(bufNum.U2, power);
                 bufNum.U2 = (uint)tmp;
                 return (uint)(tmp >> 32);
             }
 
-            private static void IncreaseScale64(ref Buf12 bufNum, uint ulPwr)
+            private static void IncreaseScale64(ref Buf12 bufNum, uint power)
             {
-                ulong tmp = UInt32x32To64(bufNum.U0, ulPwr);
+                ulong tmp = UInt32x32To64(bufNum.U0, power);
                 bufNum.U0 = (uint)tmp;
                 tmp >>= 32;
-                tmp += UInt32x32To64(bufNum.U1, ulPwr);
+                tmp += UInt32x32To64(bufNum.U1, power);
                 bufNum.High64 = tmp;
             }
 
@@ -526,27 +527,27 @@ PosRem:
             /// See if we need to scale the result to fit it in 96 bits.
             /// Perform needed scaling. Adjust scale factor accordingly.
             /// </summary>
-            /// <param name="bufRes">Array of ULONGs with value, least-significant first</param>
-            /// <param name="iHiRes">Index of last non-zero value in bufRes
-            /// <param name="iScale">Scale factor for this value, range 0 - 2 * DEC_SCALE_MAX</param>
-            /// <returns>New scale factor</returns>
-            private static unsafe int ScaleResult(Buf24* bufRes, uint iHiRes, int iScale)
+            /// <param name="bufRes">Array of uints with value, least-significant first</param>
+            /// <param name="hiRes">Index of last non-zero value in bufRes
+            /// <param name="scale">Scale factor for this value, range 0 - 2 * DEC_SCALE_MAX</param>
+            /// <returns>Returns new scale factor. bufRes updated in place, always 3 uints.</returns>
+            private static unsafe int ScaleResult(Buf24* bufRes, uint hiRes, int scale)
             {
-                Debug.Assert(iHiRes < bufRes->Length);
-                uint* rgulRes = (uint*)bufRes;
+                Debug.Assert(hiRes < bufRes->Length);
+                uint* result = (uint*)bufRes;
 
                 // See if we need to scale the result.  The combined scale must
                 // be <= DEC_SCALE_MAX and the upper 96 bits must be zero.
                 //
                 // Start by figuring a lower bound on the scaling needed to make
-                // the upper 96 bits zero.  iHiRes is the index into rgulRes[]
-                // of the highest non-zero ULONG.
+                // the upper 96 bits zero.  hiRes is the index into result[]
+                // of the highest non-zero uint.
                 //
-                int iNewScale = 0;
-                if (iHiRes > 2)
+                int newScale = 0;
+                if (hiRes > 2)
                 {
-                    iNewScale = (int)iHiRes * 32 - 64 - 1;
-                    iNewScale -= X86.Lzcnt.IsSupported ? (int)X86.Lzcnt.LeadingZeroCount(rgulRes[iHiRes]) : LeadingZeroCount(rgulRes[iHiRes]);
+                    newScale = (int)hiRes * 32 - 64 - 1;
+                    newScale -= X86.Lzcnt.IsSupported ? (int)X86.Lzcnt.LeadingZeroCount(result[hiRes]) : LeadingZeroCount(result[hiRes]);
 
                     // Multiply bit position by log10(2) to figure it's power of 10.
                     // We scale the log by 256.  log(2) = .30103, * 256 = 77.  Doing this
@@ -558,124 +559,124 @@ PosRem:
                     // log10(2) have been exhaustively checked to verify it gives the
                     // correct result.  (There were only 95 to check...)
                     //
-                    iNewScale = ((iNewScale * 77) >> 8) + 1;
+                    newScale = ((newScale * 77) >> 8) + 1;
 
-                    // iNewScale = min scale factor to make high 96 bits zero, 0 - 29.
+                    // newScale = min scale factor to make high 96 bits zero, 0 - 29.
                     // This reduces the scale factor of the result.  If it exceeds the
                     // current scale of the result, we'll overflow.
                     //
-                    if (iNewScale > iScale)
+                    if (newScale > scale)
                         goto ThrowOverflow;
                 }
 
                 // Make sure we scale by enough to bring the current scale factor
                 // into valid range.
                 //
-                if (iNewScale < iScale - DEC_SCALE_MAX)
-                    iNewScale = iScale - DEC_SCALE_MAX;
+                if (newScale < scale - DEC_SCALE_MAX)
+                    newScale = scale - DEC_SCALE_MAX;
 
-                if (iNewScale != 0)
+                if (newScale != 0)
                 {
-                    // Scale by the power of 10 given by iNewScale.  Note that this is
+                    // Scale by the power of 10 given by newScale.  Note that this is
                     // NOT guaranteed to bring the number within 96 bits -- it could
                     // be 1 power of 10 short.
                     //
-                    iScale -= iNewScale;
-                    uint ulSticky = 0;
+                    scale -= newScale;
+                    uint sticky = 0;
                     uint quotient, remainder = 0;
 
                     for (;;)
                     {
-                        ulSticky |= remainder; // record remainder as sticky bit
+                        sticky |= remainder; // record remainder as sticky bit
 
-                        uint ulPwr;
+                        uint power;
                         // Scaling loop specialized for each power of 10 because division by constant is an order of magnitude faster (especially for 64-bit division that's actually done by 128bit DIV on x64)
-                        switch (iNewScale)
+                        switch (newScale)
                         {
                             case 1:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 10);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 10);
                                 break;
                             case 2:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 100);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 100);
                                 break;
                             case 3:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 1000);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 1000);
                                 break;
                             case 4:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 10000);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 10000);
                                 break;
 #if BIT64
                             case 5:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 100000);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 100000);
                                 break;
                             case 6:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 1000000);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 1000000);
                                 break;
                             case 7:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 10000000);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 10000000);
                                 break;
                             case 8:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, 100000000);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, 100000000);
                                 break;
                             default:
-                                ulPwr = DivByConst(rgulRes, iHiRes, out quotient, out remainder, TenToPowerNine);
+                                power = DivByConst(result, hiRes, out quotient, out remainder, TenToPowerNine);
                                 break;
 #else
                             default:
                                 goto case 4;
 #endif
                         }
-                        rgulRes[iHiRes] = quotient;
-                        // If first quotient was 0, update iHiRes.
+                        result[hiRes] = quotient;
+                        // If first quotient was 0, update hiRes.
                         //
-                        if (quotient == 0 && iHiRes != 0)
-                            iHiRes--;
+                        if (quotient == 0 && hiRes != 0)
+                            hiRes--;
 
 #if BIT64
-                        iNewScale -= MaxInt32Scale;
+                        newScale -= MaxInt32Scale;
 #else
-                        iNewScale -= 4;
+                        newScale -= 4;
 #endif
-                        if (iNewScale > 0)
+                        if (newScale > 0)
                             continue; // scale some more
 
-                        // If we scaled enough, iHiRes would be 2 or less.  If not,
+                        // If we scaled enough, hiRes would be 2 or less.  If not,
                         // divide by 10 more.
                         //
-                        if (iHiRes > 2)
+                        if (hiRes > 2)
                         {
-                            if (iScale == 0)
+                            if (scale == 0)
                                 goto ThrowOverflow;
-                            iNewScale = 1;
-                            iScale--;
+                            newScale = 1;
+                            scale--;
                             continue; // scale by 10
                         }
 
                         // Round final result.  See if remainder >= 1/2 of divisor.
                         // If remainder == 1/2 divisor, round up if odd or sticky bit set.
                         //
-                        ulPwr >>= 1;  // power of 10 always even
-                        if (ulPwr <= remainder && (ulPwr < remainder || ((rgulRes[0] & 1) | ulSticky) != 0) && ++rgulRes[0] == 0)
+                        power >>= 1;  // power of 10 always even
+                        if (power <= remainder && (power < remainder || ((result[0] & 1) | sticky) != 0) && ++result[0] == 0)
                         {
-                            uint iCur = 0;
+                            uint cur = 0;
                             do
                             {
-                                Debug.Assert(iCur + 1 < bufRes->Length);
+                                Debug.Assert(cur + 1 < bufRes->Length);
                             }
-                            while (++rgulRes[++iCur] == 0);
+                            while (++result[++cur] == 0);
 
-                            if (iCur > 2)
+                            if (cur > 2)
                             {
                                 // The rounding caused us to carry beyond 96 bits.
                                 // Scale by 10 more.
                                 //
-                                if (iScale == 0)
+                                if (scale == 0)
                                     goto ThrowOverflow;
-                                iHiRes = iCur;
-                                ulSticky = 0;  // no sticky bit
+                                hiRes = cur;
+                                sticky = 0;    // no sticky bit
                                 remainder = 0; // or remainder
-                                iNewScale = 1;
-                                iScale--;
+                                newScale = 1;
+                                scale--;
                                 continue; // scale by 10
                             }
                         }
@@ -683,22 +684,22 @@ PosRem:
                         break;
                     } // for(;;)
                 }
-                return iScale;
+                return scale;
 
 ThrowOverflow:
                 throw new OverflowException(SR.Overflow_Decimal);
             }
 
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            private static unsafe uint DivByConst(uint* rgulRes, uint iHiRes, out uint quotient, out uint remainder, uint power)
+            private static unsafe uint DivByConst(uint* result, uint hiRes, out uint quotient, out uint remainder, uint power)
             {
-                uint high = rgulRes[iHiRes];
+                uint high = result[hiRes];
                 remainder = high - (quotient = high / power) * power;
-                for (uint i = iHiRes - 1; (int)i >= 0; i--)
+                for (uint i = hiRes - 1; (int)i >= 0; i--)
                 {
 #if BIT64
-                    ulong num = rgulRes[i] + ((ulong)remainder << 32);
-                    remainder = (uint)num - (rgulRes[i] = (uint)(num / power)) * power;
+                    ulong num = result[i] + ((ulong)remainder << 32);
+                    remainder = (uint)num - (result[i] = (uint)(num / power)) * power;
 #else
                     // 32-bit RyuJIT doesn't convert 64-bit division by constant into multiplication by reciprocal. Do half-width divisions instead.
                     Debug.Assert(power <= ushort.MaxValue);
@@ -708,15 +709,15 @@ ThrowOverflow:
                     const int low16 = 0, high16 = 2;
 #endif
                     // byte* is used here because Roslyn doesn't do constant propagation for pointer arithmetic
-                    uint num = *(ushort*)((byte*)rgulRes + i * 4 + high16) + (remainder << 16);
+                    uint num = *(ushort*)((byte*)result + i * 4 + high16) + (remainder << 16);
                     uint div = num / power;
                     remainder = num - div * power;
-                    *(ushort*)((byte*)rgulRes + i * 4 + high16) = (ushort)div;
+                    *(ushort*)((byte*)result + i * 4 + high16) = (ushort)div;
 
-                    num = *(ushort*)((byte*)rgulRes + i * 4 + low16) + (remainder << 16);
+                    num = *(ushort*)((byte*)result + i * 4 + low16) + (remainder << 16);
                     div = num / power;
                     remainder = num - div * power;
-                    *(ushort*)((byte*)rgulRes + i * 4 + low16) = (ushort)div;
+                    *(ushort*)((byte*)result + i * 4 + low16) = (ushort)div;
 #endif
                 }
                 return power;
@@ -750,11 +751,13 @@ ThrowOverflow:
                 return c + ((int)value >> 31);
             }
 
-            // Adjust the quotient to deal with an overflow. We need to divide by 10,
-            // feed in the high bit to undo the overflow and then round as required,
-            private static int OverflowUnscale(ref Buf12 bufQuo, int iScale, bool fRemainder)
+            /// <summary>
+            /// Adjust the quotient to deal with an overflow.
+            /// We need to divide by 10, feed in the high bit to undo the overflow and then round as required.
+            /// </summary>
+            private static int OverflowUnscale(ref Buf12 bufQuo, int scale, bool sticky)
             {
-                if (--iScale < 0)
+                if (--scale < 0)
                     throw new OverflowException(SR.Overflow_Decimal);
 
                 Debug.Assert(bufQuo.U2 == 0);
@@ -770,19 +773,19 @@ ThrowOverflow:
                 bufQuo.U0 = div;
                 uint remainder = (uint)(tmp - div * 10);
                 // The remainder is the last digit that does not fit, so we can use it to work out if we need to round up
-                if (remainder > 5 || remainder == 5 && (fRemainder || (bufQuo.U0 & 1) != 0))
+                if (remainder > 5 || remainder == 5 && (sticky || (bufQuo.U0 & 1) != 0))
                     Add32To96(ref bufQuo, 1);
-                return iScale;
+                return scale;
             }
 
             /// <summary>
-            /// Determine the max power of 10, <= 9, that the quotient can be scaled
+            /// Determine the max power of 10, &lt;= 9, that the quotient can be scaled
             /// up by and still fit in 96 bits.
             /// </summary>
             /// <param name="bufQuo">96-bit quotient</param>
-            /// <param name="iScale ">Scale factor of quotient, range -DEC_SCALE_MAX to DEC_SCALE_MAX-1</param>
+            /// <param name="scale ">Scale factor of quotient, range -DEC_SCALE_MAX to DEC_SCALE_MAX-1</param>
             /// <returns>power of 10 to scale by</returns>
-            private static int SearchScale(ref Buf12 bufQuo, int iScale)
+            private static int SearchScale(ref Buf12 bufQuo, int scale)
             {
                 const uint OVFL_MAX_9_HI = 4;
                 const uint OVFL_MAX_8_HI = 42;
@@ -795,61 +798,61 @@ ThrowOverflow:
                 const uint OVFL_MAX_1_HI = 429496729;
                 const ulong OVFL_MAX_9_MIDLO = 5441186219426131129;
 
-                uint ulResHi = bufQuo.U2;
-                ulong ulResMidLo = bufQuo.Low64;
-                int iCurScale = 0;
+                uint resHi = bufQuo.U2;
+                ulong resMidLo = bufQuo.Low64;
+                int curScale = 0;
 
                 // Quick check to stop us from trying to scale any more.
                 //
-                if (ulResHi > OVFL_MAX_1_HI)
+                if (resHi > OVFL_MAX_1_HI)
                 {
                     goto HaveScale;
                 }
 
                 var powerOvfl = PowerOvflValues;
-                if (iScale > DEC_SCALE_MAX - 9)
+                if (scale > DEC_SCALE_MAX - 9)
                 {
                     // We can't scale by 10^9 without exceeding the max scale factor.
                     // See if we can scale to the max.  If not, we'll fall into
                     // standard search for scale factor.
                     //
-                    iCurScale = DEC_SCALE_MAX - iScale;
-                    if (ulResHi < powerOvfl[iCurScale - 1].Hi)
+                    curScale = DEC_SCALE_MAX - scale;
+                    if (resHi < powerOvfl[curScale - 1].Hi)
                         goto HaveScale;
                 }
-                else if (ulResHi < OVFL_MAX_9_HI || ulResHi == OVFL_MAX_9_HI && ulResMidLo <= OVFL_MAX_9_MIDLO)
+                else if (resHi < OVFL_MAX_9_HI || resHi == OVFL_MAX_9_HI && resMidLo <= OVFL_MAX_9_MIDLO)
                     return 9;
 
                 // Search for a power to scale by < 9.  Do a binary search.
                 //
-                if (ulResHi > OVFL_MAX_5_HI)
+                if (resHi > OVFL_MAX_5_HI)
                 {
-                    if (ulResHi > OVFL_MAX_3_HI)
+                    if (resHi > OVFL_MAX_3_HI)
                     {
-                        iCurScale = 2;
-                        if (ulResHi > OVFL_MAX_2_HI)
-                            iCurScale--;
+                        curScale = 2;
+                        if (resHi > OVFL_MAX_2_HI)
+                            curScale--;
                     }
                     else
                     {
-                        iCurScale = 4;
-                        if (ulResHi > OVFL_MAX_4_HI)
-                            iCurScale--;
+                        curScale = 4;
+                        if (resHi > OVFL_MAX_4_HI)
+                            curScale--;
                     }
                 }
                 else
                 {
-                    if (ulResHi > OVFL_MAX_7_HI)
+                    if (resHi > OVFL_MAX_7_HI)
                     {
-                        iCurScale = 6;
-                        if (ulResHi > OVFL_MAX_6_HI)
-                            iCurScale--;
+                        curScale = 6;
+                        if (resHi > OVFL_MAX_6_HI)
+                            curScale--;
                     }
                     else
                     {
-                        iCurScale = 8;
-                        if (ulResHi > OVFL_MAX_8_HI)
-                            iCurScale--;
+                        curScale = 8;
+                        if (resHi > OVFL_MAX_8_HI)
+                            curScale--;
                     }
                 }
 
@@ -858,25 +861,27 @@ ThrowOverflow:
                 // we can't use this power, the one below it is correct for all cases
                 // unless it's 10^1 -- we might have to go to 10^0 (no scaling).
                 //
-                if (ulResHi == powerOvfl[iCurScale - 1].Hi && ulResMidLo > powerOvfl[iCurScale - 1].MidLo)
-                    iCurScale--;
+                if (resHi == powerOvfl[curScale - 1].Hi && resMidLo > powerOvfl[curScale - 1].MidLo)
+                    curScale--;
 
                 HaveScale:
-                // iCurScale = largest power of 10 we can scale by without overflow,
-                // iCurScale < 9.  See if this is enough to make scale factor
+                // curScale = largest power of 10 we can scale by without overflow,
+                // curScale < 9.  See if this is enough to make scale factor
                 // positive if it isn't already.
                 //
-                if (iCurScale + iScale < 0)
+                if (curScale + scale < 0)
                     throw new OverflowException(SR.Overflow_Decimal);
 
-                return iCurScale;
+                return curScale;
             }
 
-            // Add a 32 bit unsigned long to an array of 3 unsigned longs representing a 96 integer
-            // Returns false if there is an overflow
-            private static bool Add32To96(ref Buf12 bufNum, uint ulValue)
+            /// <summary>
+            /// Add a 32-bit uint to an array of 3 uints representing a 96-bit integer.
+            /// </summary>
+            /// <returns>Returns false if there is an overflow</returns>
+            private static bool Add32To96(ref Buf12 bufNum, uint value)
             {
-                if ((bufNum.Low64 += ulValue) < ulValue)
+                if ((bufNum.Low64 += value) < value)
                 {
                     if (++bufNum.U2 == 0)
                         return false;
@@ -884,16 +889,18 @@ ThrowOverflow:
                 return true;
             }
 
-            // DecAddSub adds or subtracts two decimal values.
-            // On return, d1 contains the result of the operation and d2 is trashed.
-            // Passing in true for bSign means subtract and false means add.
-            internal static unsafe void DecAddSub(ref DecCalc d1, ref DecCalc d2, bool bSign)
+            /// <summary>
+            /// Adds or subtracts two decimal values.
+            /// On return, d1 contains the result of the operation and d2 is trashed.
+            /// </summary>
+            /// <param name="sign">True means subtract and false means add.</param>
+            internal static unsafe void DecAddSub(ref DecCalc d1, ref DecCalc d2, bool sign)
             {
                 ulong low64 = d1.Low64;
                 uint high = d1.High, flags = d1.uflags, d2flags = d2.uflags;
 
                 uint xorflags = d2flags ^ flags;
-                bSign ^= (xorflags & SignMask) != 0;
+                sign ^= (xorflags & SignMask) != 0;
 
                 if ((xorflags & ScaleMask) == 0)
                 {
@@ -911,25 +918,25 @@ ThrowOverflow:
                     //
                     uint d1flags = flags;
                     flags = d2flags & ScaleMask | flags & SignMask; // scale factor of "smaller",  but sign of "larger"
-                    int iScale = (int)(flags - d1flags) >> ScaleShift;
+                    int scale = (int)(flags - d1flags) >> ScaleShift;
 
-                    if (iScale < 0)
+                    if (scale < 0)
                     {
                         // Guessed scale factor wrong. Swap operands.
                         //
-                        iScale = -iScale;
+                        scale = -scale;
                         flags = d1flags;
-                        if (bSign)
+                        if (sign)
                             flags ^= SignMask;
                         low64 = d2.Low64;
                         high = d2.High;
                         d2 = d1;
                     }
 
-                    uint ulPwr;
+                    uint power;
                     ulong tmp64, tmpLow;
 
-                    // d1 will need to be multiplied by 10^iScale so
+                    // d1 will need to be multiplied by 10^scale so
                     // it will have the same scale as d2.  We could be
                     // extending it to up to 192 bits of precision.
 
@@ -944,7 +951,7 @@ ThrowOverflow:
                                 // Left arg is zero, return right.
                                 //
                                 uint signFlags = flags & SignMask;
-                                if (bSign)
+                                if (sign)
                                     signFlags ^= SignMask;
                                 d1 = d2;
                                 d1.uflags = d2.uflags & ScaleMask | signFlags;
@@ -953,50 +960,50 @@ ThrowOverflow:
 
                             do
                             {
-                                if (iScale <= MaxInt32Scale)
+                                if (scale <= MaxInt32Scale)
                                 {
-                                    low64 = UInt32x32To64((uint)low64, s_powers10[iScale]);
+                                    low64 = UInt32x32To64((uint)low64, s_powers10[scale]);
                                     goto AlignedAdd;
                                 }
-                                iScale -= MaxInt32Scale;
+                                scale -= MaxInt32Scale;
                                 low64 = UInt32x32To64((uint)low64, TenToPowerNine);
                             } while (low64 <= uint.MaxValue);
                         }
 
                         do
                         {
-                            ulPwr = TenToPowerNine;
-                            if (iScale < MaxInt32Scale)
-                                ulPwr = s_powers10[iScale];
-                            tmpLow = UInt32x32To64((uint)low64, ulPwr);
-                            tmp64 = UInt32x32To64((uint)(low64 >> 32), ulPwr) + (tmpLow >> 32);
+                            power = TenToPowerNine;
+                            if (scale < MaxInt32Scale)
+                                power = s_powers10[scale];
+                            tmpLow = UInt32x32To64((uint)low64, power);
+                            tmp64 = UInt32x32To64((uint)(low64 >> 32), power) + (tmpLow >> 32);
                             low64 = (uint)tmpLow + (tmp64 << 32);
                             high = (uint)(tmp64 >> 32);
-                            if ((iScale -= MaxInt32Scale) <= 0)
+                            if ((scale -= MaxInt32Scale) <= 0)
                                 goto AlignedAdd;
                         } while (high == 0);
                     }
 
                     while (true)
                     {
-                        // Scaling won't make it larger than 4 ULONGs
+                        // Scaling won't make it larger than 4 uints
                         //
-                        ulPwr = TenToPowerNine;
-                        if (iScale < MaxInt32Scale)
-                            ulPwr = s_powers10[iScale];
-                        tmpLow = UInt32x32To64((uint)low64, ulPwr);
-                        tmp64 = UInt32x32To64((uint)(low64 >> 32), ulPwr) + (tmpLow >> 32);
+                        power = TenToPowerNine;
+                        if (scale < MaxInt32Scale)
+                            power = s_powers10[scale];
+                        tmpLow = UInt32x32To64((uint)low64, power);
+                        tmp64 = UInt32x32To64((uint)(low64 >> 32), power) + (tmpLow >> 32);
                         low64 = (uint)tmpLow + (tmp64 << 32);
                         tmp64 >>= 32;
-                        tmp64 += UInt32x32To64(high, ulPwr);
+                        tmp64 += UInt32x32To64(high, power);
 
-                        iScale -= MaxInt32Scale;
+                        scale -= MaxInt32Scale;
                         if (tmp64 > uint.MaxValue)
                             break;
 
                         high = (uint)tmp64;
                         // Result fits in 96 bits.  Use standard aligned add.
-                        if (iScale <= 0)
+                        if (scale <= 0)
                             goto AlignedAdd;
                     }
 
@@ -1006,33 +1013,33 @@ ThrowOverflow:
                     _ = &bufNum; // workaround for CS0165
                     bufNum.Low64 = low64;
                     bufNum.Mid64 = tmp64;
-                    uint iHiProd = 3;
+                    uint hiProd = 3;
 
-                    // Scaling loop, up to 10^9 at a time. iHiProd stays updated with index of highest non-zero ULONG.
+                    // Scaling loop, up to 10^9 at a time. hiProd stays updated with index of highest non-zero uint.
                     //
-                    for (; iScale > 0; iScale -= MaxInt32Scale)
+                    for (; scale > 0; scale -= MaxInt32Scale)
                     {
-                        ulPwr = TenToPowerNine;
-                        if (iScale < MaxInt32Scale)
-                            ulPwr = s_powers10[iScale];
+                        power = TenToPowerNine;
+                        if (scale < MaxInt32Scale)
+                            power = s_powers10[scale];
                         tmp64 = 0;
                         uint* rgulNum = (uint*)&bufNum;
-                        for (uint iCur = 0; ;)
+                        for (uint cur = 0; ;)
                         {
-                            Debug.Assert(iCur < bufNum.Length);
-                            tmp64 += UInt32x32To64(rgulNum[iCur], ulPwr);
-                            rgulNum[iCur] = (uint)tmp64;
-                            iCur++;
+                            Debug.Assert(cur < bufNum.Length);
+                            tmp64 += UInt32x32To64(rgulNum[cur], power);
+                            rgulNum[cur] = (uint)tmp64;
+                            cur++;
                             tmp64 >>= 32;
-                            if (iCur > iHiProd)
+                            if (cur > hiProd)
                                 break;
                         }
 
                         if ((uint)tmp64 != 0)
                         {
-                            // We're extending the result by another ULONG.
-                            Debug.Assert(iHiProd + 1 < bufNum.Length);
-                            rgulNum[++iHiProd] = (uint)tmp64;
+                            // We're extending the result by another uint.
+                            Debug.Assert(hiProd + 1 < bufNum.Length);
+                            rgulNum[++hiProd] = (uint)tmp64;
                         }
                     }
 
@@ -1043,7 +1050,7 @@ ThrowOverflow:
                     uint tmpHigh = bufNum.U2;
                     high = d2.High;
 
-                    if (bSign)
+                    if (sign)
                     {
                         // Signs differ, subtract.
                         //
@@ -1063,14 +1070,14 @@ ThrowOverflow:
 
                         // Carry the subtraction into the higher bits.
                         // 
-                        uint* rgulNum = (uint*)&bufNum;
-                        uint iCur = 3;
+                        uint* number = (uint*)&bufNum;
+                        uint cur = 3;
                         do
                         {
-                            Debug.Assert(iCur < bufNum.Length);
-                        } while (rgulNum[iCur++]-- == 0);
-                        Debug.Assert(iHiProd < bufNum.Length);
-                        if (rgulNum[iHiProd] == 0 && --iHiProd <= 2)
+                            Debug.Assert(cur < bufNum.Length);
+                        } while (number[cur++]-- == 0);
+                        Debug.Assert(hiProd < bufNum.Length);
+                        if (number[hiProd] == 0 && --hiProd <= 2)
                             goto ReturnResult;
                     }
                     else
@@ -1091,14 +1098,14 @@ ThrowOverflow:
                         else if (high >= tmpHigh)
                             goto NoCarry;
 
-                        uint* rgulNum = (uint*)&bufNum;
-                        for (uint iCur = 3; ++rgulNum[iCur++] == 0;)
+                        uint* number = (uint*)&bufNum;
+                        for (uint cur = 3; ++number[cur++] == 0;)
                         {
-                            Debug.Assert(iCur < bufNum.Length);
-                            if (iHiProd < iCur)
+                            Debug.Assert(cur < bufNum.Length);
+                            if (hiProd < cur)
                             {
-                                rgulNum[iCur] = 1;
-                                iHiProd = iCur;
+                                number[cur] = 1;
+                                hiProd = cur;
                                 break;
                             }
                         }
@@ -1107,7 +1114,7 @@ NoCarry:
 
                     bufNum.Low64 = low64;
                     bufNum.U2 = high;
-                    int scale = ScaleResult(&bufNum, iHiProd, (byte)(flags >> ScaleShift));
+                    scale = ScaleResult(&bufNum, hiProd, (byte)(flags >> ScaleShift));
                     flags = (flags & ~ScaleMask) | ((uint)scale << ScaleShift);
                     low64 = bufNum.Low64;
                     high = bufNum.U2;
@@ -1160,7 +1167,7 @@ AlignedAdd:
                 {
                     ulong d1Low64 = low64;
                     uint d1High = high;
-                    if (bSign)
+                    if (sign)
                     {
                         // Signs differ - subtract
                         //
@@ -1209,7 +1216,7 @@ ReturnResult:
 #endregion
 
             /// <summary>
-            /// Convert Currency to Decimal (similar to OleAut32 api.)
+            /// Convert Decimal to Currency (similar to OleAut32 api.)
             /// </summary>
             internal static long VarCyFromDec(ref DecCalc pdecIn)
             {
@@ -1256,28 +1263,28 @@ ThrowOverflow:
             /// <summary>
             /// Decimal Compare updated to return values similar to ICompareTo
             /// </summary>
-            internal static int VarDecCmp(in decimal pdecL, in decimal pdecR)
+            internal static int VarDecCmp(in decimal d1, in decimal d2)
             {
-                if ((pdecR.Low | pdecR.Mid | pdecR.High) == 0)
+                if ((d2.Low | d2.Mid | d2.High) == 0)
                 {
-                    if ((pdecL.Low | pdecL.Mid | pdecL.High) == 0)
+                    if ((d1.Low | d1.Mid | d1.High) == 0)
                         return 0;
-                    return (pdecL.flags >> 31) | 1;
+                    return (d1.flags >> 31) | 1;
                 }
-                if ((pdecL.Low | pdecL.Mid | pdecL.High) == 0)
-                    return -((pdecR.flags >> 31) | 1);
+                if ((d1.Low | d1.Mid | d1.High) == 0)
+                    return -((d2.flags >> 31) | 1);
 
-                int sign = (pdecL.flags >> 31) - (pdecR.flags >> 31);
+                int sign = (d1.flags >> 31) - (d2.flags >> 31);
                 if (sign != 0)
                     return sign;
-                return VarDecCmpSub(in pdecL, in pdecR);
+                return VarDecCmpSub(in d1, in d2);
             }
 
             private static int VarDecCmpSub(in decimal d1, in decimal d2)
             {
                 int flags = d2.flags;
                 int sign = (flags >> 31) | 1;
-                int iScale = flags - d1.flags;
+                int scale = flags - d1.flags;
 
                 ulong low64 = d1.Low64;
                 uint high = d1.High;
@@ -1285,16 +1292,16 @@ ThrowOverflow:
                 ulong d2Low64 = d2.Low64;
                 uint d2High = d2.High;
 
-                if (iScale != 0)
+                if (scale != 0)
                 {
-                    iScale >>= ScaleShift;
+                    scale >>= ScaleShift;
 
                     // Scale factors are not equal. Assume that a larger scale factor (more decimal places) is likely to mean that number is smaller.
                     // Start by guessing that the right operand has the larger scale factor.
-                    if (iScale < 0)
+                    if (scale < 0)
                     {
                         // Guessed scale factor wrong. Swap operands.
-                        iScale = -iScale;
+                        scale = -scale;
                         sign = -sign;
 
                         ulong tmp64 = low64;
@@ -1306,21 +1313,21 @@ ThrowOverflow:
                         d2High = tmp;
                     }
 
-                    // d1 will need to be multiplied by 10^iScale so it will have the same scale as d2.
+                    // d1 will need to be multiplied by 10^scale so it will have the same scale as d2.
                     // Scaling loop, up to 10^9 at a time.
                     do
                     {
-                        uint ulPwr = iScale >= MaxInt32Scale ? TenToPowerNine : s_powers10[iScale];
-                        ulong tmpLow = UInt32x32To64((uint)low64, ulPwr);
-                        ulong tmp = UInt32x32To64((uint)(low64 >> 32), ulPwr) + (tmpLow >> 32);
+                        uint power = scale >= MaxInt32Scale ? TenToPowerNine : s_powers10[scale];
+                        ulong tmpLow = UInt32x32To64((uint)low64, power);
+                        ulong tmp = UInt32x32To64((uint)(low64 >> 32), power) + (tmpLow >> 32);
                         low64 = (uint)tmpLow + (tmp << 32);
                         tmp >>= 32;
-                        tmp += UInt32x32To64(high, ulPwr);
+                        tmp += UInt32x32To64(high, power);
                         // If the scaled value has more than 96 significant bits then it's greater than d2
                         if (tmp > uint.MaxValue)
                             return sign;
                         high = (uint)tmp;
-                    } while ((iScale -= MaxInt32Scale) > 0);
+                    } while ((scale -= MaxInt32Scale) > 0);
                 }
 
                 uint cmpHigh = high - d2High;
@@ -1344,108 +1351,108 @@ ThrowOverflow:
             /// <summary>
             /// Decimal Multiply
             /// </summary>
-            internal static unsafe void VarDecMul(ref DecCalc pdecL, ref DecCalc pdecR)
+            internal static unsafe void VarDecMul(ref DecCalc d1, ref DecCalc d2)
             {
-                int iScale = (byte)(pdecL.uflags + pdecR.uflags >> ScaleShift);
+                int scale = (byte)(d1.uflags + d2.uflags >> ScaleShift);
 
                 ulong tmp;
-                uint iHiProd;
+                uint hiProd;
                 Buf24 bufProd;
                 _ = &bufProd; // workaround for CS0165
 
-                if ((pdecL.High | pdecL.Mid) == 0)
+                if ((d1.High | d1.Mid) == 0)
                 {
-                    if ((pdecR.High | pdecR.Mid) == 0)
+                    if ((d2.High | d2.Mid) == 0)
                     {
                         // Upper 64 bits are zero.
                         //
-                        ulong low64 = UInt32x32To64(pdecL.Low, pdecR.Low);
-                        if (iScale > DEC_SCALE_MAX)
+                        ulong low64 = UInt32x32To64(d1.Low, d2.Low);
+                        if (scale > DEC_SCALE_MAX)
                         {
-                            // Result iScale is too big.  Divide result by power of 10 to reduce it.
+                            // Result scale is too big.  Divide result by power of 10 to reduce it.
                             // If the amount to divide by is > 19 the result is guaranteed
                             // less than 1/2.  [max value in 64 bits = 1.84E19]
                             //
-                            if (iScale > DEC_SCALE_MAX + MaxInt64Scale)
+                            if (scale > DEC_SCALE_MAX + MaxInt64Scale)
                                 goto ReturnZero;
 
-                            iScale -= DEC_SCALE_MAX + 1;
-                            ulong ulPwr = s_ulongPowers10[iScale];
+                            scale -= DEC_SCALE_MAX + 1;
+                            ulong power = s_ulongPowers10[scale];
 
                             // TODO: https://github.com/dotnet/coreclr/issues/3439
-                            tmp = low64 / ulPwr;
-                            ulong remainder = low64 - tmp * ulPwr;
+                            tmp = low64 / power;
+                            ulong remainder = low64 - tmp * power;
                             low64 = tmp;
 
                             // Round result.  See if remainder >= 1/2 of divisor.
                             // Divisor is a power of 10, so it is always even.
                             //
-                            ulPwr >>= 1;
-                            if (remainder >= ulPwr && (remainder > ulPwr || ((uint)low64 & 1) > 0))
+                            power >>= 1;
+                            if (remainder >= power && (remainder > power || ((uint)low64 & 1) > 0))
                                 low64++;
 
-                            iScale = DEC_SCALE_MAX;
+                            scale = DEC_SCALE_MAX;
                         }
-                        pdecL.Low64 = low64;
-                        pdecL.uflags = ((pdecR.uflags ^ pdecL.uflags) & SignMask) | ((uint)iScale << ScaleShift);
+                        d1.Low64 = low64;
+                        d1.uflags = ((d2.uflags ^ d1.uflags) & SignMask) | ((uint)scale << ScaleShift);
                         return;
                     }
                     else
                     {
                         // Left value is 32-bit, result fits in 4 uints
-                        tmp = UInt32x32To64(pdecL.Low, pdecR.Low);
+                        tmp = UInt32x32To64(d1.Low, d2.Low);
                         bufProd.U0 = (uint)tmp;
 
-                        tmp = UInt32x32To64(pdecL.Low, pdecR.Mid) + (tmp >> 32);
+                        tmp = UInt32x32To64(d1.Low, d2.Mid) + (tmp >> 32);
                         bufProd.U1 = (uint)tmp;
                         tmp >>= 32;
 
-                        if (pdecR.High != 0)
+                        if (d2.High != 0)
                         {
-                            tmp += UInt32x32To64(pdecL.Low, pdecR.High);
+                            tmp += UInt32x32To64(d1.Low, d2.High);
                             if (tmp > uint.MaxValue)
                             {
                                 bufProd.Mid64 = tmp;
-                                iHiProd = 3;
+                                hiProd = 3;
                                 goto SkipScan;
                             }
                         }
                         if ((uint)tmp != 0)
                         {
                             bufProd.U2 = (uint)tmp;
-                            iHiProd = 2;
+                            hiProd = 2;
                             goto SkipScan;
                         }
-                        iHiProd = 1;
+                        hiProd = 1;
                     }
                 }
-                else if ((pdecR.High | pdecR.Mid) == 0)
+                else if ((d2.High | d2.Mid) == 0)
                 {
                     // Right value is 32-bit, result fits in 4 uints
-                    tmp = UInt32x32To64(pdecR.Low, pdecL.Low);
+                    tmp = UInt32x32To64(d2.Low, d1.Low);
                     bufProd.U0 = (uint)tmp;
 
-                    tmp = UInt32x32To64(pdecR.Low, pdecL.Mid) + (tmp >> 32);
+                    tmp = UInt32x32To64(d2.Low, d1.Mid) + (tmp >> 32);
                     bufProd.U1 = (uint)tmp;
                     tmp >>= 32;
 
-                    if (pdecL.High != 0)
+                    if (d1.High != 0)
                     {
-                        tmp += UInt32x32To64(pdecR.Low, pdecL.High);
+                        tmp += UInt32x32To64(d2.Low, d1.High);
                         if (tmp > uint.MaxValue)
                         {
                             bufProd.Mid64 = tmp;
-                            iHiProd = 3;
+                            hiProd = 3;
                             goto SkipScan;
                         }
                     }
                     if ((uint)tmp != 0)
                     {
                         bufProd.U2 = (uint)tmp;
-                        iHiProd = 2;
+                        hiProd = 2;
                         goto SkipScan;
                     }
-                    iHiProd = 1;
+                    hiProd = 1;
                 }
                 else
                 {
@@ -1471,12 +1478,12 @@ ThrowOverflow:
                     // [p-5][p-4][p-3][p-2][p-1][p-0]      prod[] array
                     //
 
-                    tmp = UInt32x32To64(pdecL.Low, pdecR.Low);
+                    tmp = UInt32x32To64(d1.Low, d2.Low);
                     bufProd.U0 = (uint)tmp;
 
-                    ulong tmp2 = UInt32x32To64(pdecL.Low, pdecR.Mid) + (tmp >> 32);
+                    ulong tmp2 = UInt32x32To64(d1.Low, d2.Mid) + (tmp >> 32);
 
-                    tmp = UInt32x32To64(pdecL.Mid, pdecR.Low);
+                    tmp = UInt32x32To64(d1.Mid, d2.Low);
                     tmp += tmp2; // this could generate carry
                     bufProd.U1 = (uint)tmp;
                     if (tmp < tmp2) // detect carry
@@ -1484,93 +1491,93 @@ ThrowOverflow:
                     else
                         tmp2 = tmp >> 32;
 
-                    tmp = UInt32x32To64(pdecL.Mid, pdecR.Mid) + tmp2;
+                    tmp = UInt32x32To64(d1.Mid, d2.Mid) + tmp2;
 
-                    if ((pdecL.High | pdecR.High) > 0)
+                    if ((d1.High | d2.High) > 0)
                     {
                         // Highest 32 bits is non-zero.     Calculate 5 more partial products.
                         //
-                        tmp2 = UInt32x32To64(pdecL.Low, pdecR.High);
+                        tmp2 = UInt32x32To64(d1.Low, d2.High);
                         tmp += tmp2; // this could generate carry
                         uint tmp3 = 0;
                         if (tmp < tmp2) // detect carry
                             tmp3 = 1;
 
-                        tmp2 = UInt32x32To64(pdecL.High, pdecR.Low);
+                        tmp2 = UInt32x32To64(d1.High, d2.Low);
                         tmp += tmp2; // this could generate carry
                         bufProd.U2 = (uint)tmp;
                         if (tmp < tmp2) // detect carry
                             tmp3++;
                         tmp2 = ((ulong)tmp3 << 32) | (tmp >> 32);
 
-                        tmp = UInt32x32To64(pdecL.Mid, pdecR.High);
+                        tmp = UInt32x32To64(d1.Mid, d2.High);
                         tmp += tmp2; // this could generate carry
                         tmp3 = 0;
                         if (tmp < tmp2) // detect carry
                             tmp3 = 1;
 
-                        tmp2 = UInt32x32To64(pdecL.High, pdecR.Mid);
+                        tmp2 = UInt32x32To64(d1.High, d2.Mid);
                         tmp += tmp2; // this could generate carry
                         bufProd.U3 = (uint)tmp;
                         if (tmp < tmp2) // detect carry
                             tmp3++;
                         tmp = ((ulong)tmp3 << 32) | (tmp >> 32);
 
-                        bufProd.High64 = UInt32x32To64(pdecL.High, pdecR.High) + tmp;
+                        bufProd.High64 = UInt32x32To64(d1.High, d2.High) + tmp;
 
-                        iHiProd = 5;
+                        hiProd = 5;
                     }
                     else if (tmp != 0)
                     {
                         bufProd.Mid64 = tmp;
-                        iHiProd = 3;
+                        hiProd = 3;
                     }
                     else
-                        iHiProd = 1;
+                        hiProd = 1;
                 }
 
-                // Check for leading zero ULONGs on the product
+                // Check for leading zero uints on the product
                 //
-                uint* rgulProd = (uint*)&bufProd;
-                while (rgulProd[(int)iHiProd] == 0)
+                uint* product = (uint*)&bufProd;
+                while (product[(int)hiProd] == 0)
                 {
-                    if (iHiProd == 0)
+                    if (hiProd == 0)
                         goto ReturnZero;
-                    iHiProd--;
+                    hiProd--;
                 }
 
 SkipScan:
-                if (iHiProd > 2 || iScale > DEC_SCALE_MAX)
+                if (hiProd > 2 || scale > DEC_SCALE_MAX)
                 {
-                    iScale = ScaleResult(&bufProd, iHiProd, iScale);
+                    scale = ScaleResult(&bufProd, hiProd, scale);
                 }
 
-                pdecL.Low64 = bufProd.Low64;
-                pdecL.High = bufProd.U2;
-                pdecL.uflags = ((pdecR.uflags ^ pdecL.uflags) & SignMask) | ((uint)iScale << ScaleShift);
+                d1.Low64 = bufProd.Low64;
+                d1.High = bufProd.U2;
+                d1.uflags = ((d2.uflags ^ d1.uflags) & SignMask) | ((uint)scale << ScaleShift);
                 return;
 
 ReturnZero:
-                pdecL = default;
+                d1 = default;
             }
 
             /// <summary>
             /// Convert float to Decimal
             /// </summary>
-            internal static void VarDecFromR4(float input, out DecCalc pdecOut)
+            internal static void VarDecFromR4(float input, out DecCalc result)
             {
-                pdecOut = default;
+                result = default;
 
                 // The most we can scale by is 10^28, which is just slightly more
                 // than 2^93.  So a float with an exponent of -94 could just
                 // barely reach 0.5, but smaller exponents will always round to zero.
                 //
                 const uint SNGBIAS = 126;
-                int iExp = (int)(GetExponent(input) - SNGBIAS);
-                if (iExp < -94)
+                int exp = (int)(GetExponent(input) - SNGBIAS);
+                if (exp < -94)
                     return; // result should be zeroed out
 
-                if (iExp > 96)
+                if (exp > 96)
                     throw new OverflowException(SR.Overflow_Decimal);
 
                 uint flags = 0;
@@ -1589,79 +1596,79 @@ ReturnZero:
                 // log10(2) * 2 ^ 16 = .30103 * 65536 = 19728.3.
                 //
                 double dbl = input;
-                int iPower = 6 - ((iExp * 19728) >> 16);
-                // iPower is between -22 and 35
+                int power = 6 - ((exp * 19728) >> 16);
+                // power is between -22 and 35
 
-                if (iPower >= 0)
+                if (power >= 0)
                 {
                     // We have less than 7 digits, scale input up.
                     //
-                    if (iPower > DEC_SCALE_MAX)
-                        iPower = DEC_SCALE_MAX;
+                    if (power > DEC_SCALE_MAX)
+                        power = DEC_SCALE_MAX;
 
-                    dbl *= s_doublePowers10[iPower];
+                    dbl *= s_doublePowers10[power];
                 }
                 else
                 {
-                    if (iPower != -1 || dbl >= 1E7)
-                        dbl /= s_doublePowers10[-iPower];
+                    if (power != -1 || dbl >= 1E7)
+                        dbl /= s_doublePowers10[-power];
                     else
-                        iPower = 0; // didn't scale it
+                        power = 0; // didn't scale it
                 }
 
                 Debug.Assert(dbl < 1E7);
-                if (dbl < 1E6 && iPower < DEC_SCALE_MAX)
+                if (dbl < 1E6 && power < DEC_SCALE_MAX)
                 {
                     dbl *= 10;
-                    iPower++;
+                    power++;
                     Debug.Assert(dbl >= 1E6);
                 }
 
                 // Round to integer
                 //
-                uint ulMant;
+                uint mant;
                 // with SSE4.1 support ROUNDSD can be used
                 if (X86.Sse41.IsSupported)
-                    ulMant = (uint)(int)Math.Round(dbl);
+                    mant = (uint)(int)Math.Round(dbl);
                 else
                 {
-                    ulMant = (uint)(int)dbl;
-                    dbl -= (int)ulMant;  // difference between input & integer
-                    if (dbl > 0.5 || dbl == 0.5 && (ulMant & 1) != 0)
-                        ulMant++;
+                    mant = (uint)(int)dbl;
+                    dbl -= (int)mant;  // difference between input & integer
+                    if (dbl > 0.5 || dbl == 0.5 && (mant & 1) != 0)
+                        mant++;
                 }
 
-                if (ulMant == 0)
+                if (mant == 0)
                     return;  // result should be zeroed out
 
-                if (iPower < 0)
+                if (power < 0)
                 {
-                    // Add -iPower factors of 10, -iPower <= (29 - 7) = 22.
+                    // Add -power factors of 10, -power <= (29 - 7) = 22.
                     //
-                    iPower = -iPower;
-                    if (iPower < 10)
+                    power = -power;
+                    if (power < 10)
                     {
-                        pdecOut.Low64 = UInt32x32To64(ulMant, s_powers10[iPower]);
+                        result.Low64 = UInt32x32To64(mant, s_powers10[power]);
                     }
                     else
                     {
                         // Have a big power of 10.
                         //
-                        if (iPower > 18)
+                        if (power > 18)
                         {
-                            ulong low64 = UInt32x32To64(ulMant, s_powers10[iPower - 18]);
-                            UInt64x64To128(low64, TenToPowerEighteen, ref pdecOut);
+                            ulong low64 = UInt32x32To64(mant, s_powers10[power - 18]);
+                            UInt64x64To128(low64, TenToPowerEighteen, ref result);
                         }
                         else
                         {
-                            ulong low64 = UInt32x32To64(ulMant, s_powers10[iPower - 9]);
+                            ulong low64 = UInt32x32To64(mant, s_powers10[power - 9]);
                             ulong hi64 = UInt32x32To64(TenToPowerNine, (uint)(low64 >> 32));
                             low64 = UInt32x32To64(TenToPowerNine, (uint)low64);
-                            pdecOut.Low = (uint)low64;
+                            result.Low = (uint)low64;
                             hi64 += low64 >> 32;
-                            pdecOut.Mid = (uint)hi64;
+                            result.Mid = (uint)hi64;
                             hi64 >>= 32;
-                            pdecOut.High = (uint)hi64;
+                            result.High = (uint)hi64;
                         }
                     }
                 }
@@ -1675,69 +1682,69 @@ ReturnZero:
                     // we can't scale by any more than the power we used to
                     // get the integer.
                     //
-                    int lmax = iPower;
+                    int lmax = power;
                     if (lmax > 6)
                         lmax = 6;
 
-                    if ((ulMant & 0xF) == 0 && lmax >= 4)
+                    if ((mant & 0xF) == 0 && lmax >= 4)
                     {
                         const uint den = 10000;
-                        uint div = ulMant / den;
-                        if (ulMant == div * den)
+                        uint div = mant / den;
+                        if (mant == div * den)
                         {
-                            ulMant = div;
-                            iPower -= 4;
+                            mant = div;
+                            power -= 4;
                             lmax -= 4;
                         }
                     }
 
-                    if ((ulMant & 3) == 0 && lmax >= 2)
+                    if ((mant & 3) == 0 && lmax >= 2)
                     {
                         const uint den = 100;
-                        uint div = ulMant / den;
-                        if (ulMant == div * den)
+                        uint div = mant / den;
+                        if (mant == div * den)
                         {
-                            ulMant = div;
-                            iPower -= 2;
+                            mant = div;
+                            power -= 2;
                             lmax -= 2;
                         }
                     }
 
-                    if ((ulMant & 1) == 0 && lmax >= 1)
+                    if ((mant & 1) == 0 && lmax >= 1)
                     {
                         const uint den = 10;
-                        uint div = ulMant / den;
-                        if (ulMant == div * den)
+                        uint div = mant / den;
+                        if (mant == div * den)
                         {
-                            ulMant = div;
-                            iPower--;
+                            mant = div;
+                            power--;
                         }
                     }
 
-                    flags |= (uint)iPower << ScaleShift;
-                    pdecOut.Low = ulMant;
+                    flags |= (uint)power << ScaleShift;
+                    result.Low = mant;
                 }
 
-                pdecOut.uflags = flags;
+                result.uflags = flags;
             }
 
             /// <summary>
             /// Convert double to Decimal
             /// </summary>
-            internal static void VarDecFromR8(double input, out DecCalc pdecOut)
+            internal static void VarDecFromR8(double input, out DecCalc result)
             {
-                pdecOut = default;
+                result = default;
 
                 // The most we can scale by is 10^28, which is just slightly more
                 // than 2^93.  So a float with an exponent of -94 could just
                 // barely reach 0.5, but smaller exponents will always round to zero.
                 //
                 const uint DBLBIAS = 1022;
-                int iExp = (int)(GetExponent(input) - DBLBIAS);
-                if (iExp < -94)
+                int exp = (int)(GetExponent(input) - DBLBIAS);
+                if (exp < -94)
                     return; // result should be zeroed out
 
-                if (iExp > 96)
+                if (exp > 96)
                     throw new OverflowException(SR.Overflow_Decimal);
 
                 uint flags = 0;
@@ -1756,73 +1763,73 @@ ReturnZero:
                 // log10(2) * 2 ^ 16 = .30103 * 65536 = 19728.3.
                 //
                 double dbl = input;
-                int iPower = 14 - ((iExp * 19728) >> 16);
-                // iPower is between -14 and 43
+                int power = 14 - ((exp * 19728) >> 16);
+                // power is between -14 and 43
 
-                if (iPower >= 0)
+                if (power >= 0)
                 {
                     // We have less than 15 digits, scale input up.
                     //
-                    if (iPower > DEC_SCALE_MAX)
-                        iPower = DEC_SCALE_MAX;
+                    if (power > DEC_SCALE_MAX)
+                        power = DEC_SCALE_MAX;
 
-                    dbl *= s_doublePowers10[iPower];
+                    dbl *= s_doublePowers10[power];
                 }
                 else
                 {
-                    if (iPower != -1 || dbl >= 1E15)
-                        dbl /= s_doublePowers10[-iPower];
+                    if (power != -1 || dbl >= 1E15)
+                        dbl /= s_doublePowers10[-power];
                     else
-                        iPower = 0; // didn't scale it
+                        power = 0; // didn't scale it
                 }
 
                 Debug.Assert(dbl < 1E15);
-                if (dbl < 1E14 && iPower < DEC_SCALE_MAX)
+                if (dbl < 1E14 && power < DEC_SCALE_MAX)
                 {
                     dbl *= 10;
-                    iPower++;
+                    power++;
                     Debug.Assert(dbl >= 1E14);
                 }
 
                 // Round to int64
                 //
-                ulong ulMant;
+                ulong mant;
                 // with SSE4.1 support ROUNDSD can be used
                 if (X86.Sse41.IsSupported)
-                    ulMant = (ulong)(long)Math.Round(dbl);
+                    mant = (ulong)(long)Math.Round(dbl);
                 else
                 {
-                    ulMant = (ulong)(long)dbl;
-                    dbl -= (long)ulMant;  // difference between input & integer
-                    if (dbl > 0.5 || dbl == 0.5 && (ulMant & 1) != 0)
-                        ulMant++;
+                    mant = (ulong)(long)dbl;
+                    dbl -= (long)mant;  // difference between input & integer
+                    if (dbl > 0.5 || dbl == 0.5 && (mant & 1) != 0)
+                        mant++;
                 }
 
-                if (ulMant == 0)
+                if (mant == 0)
                     return;  // result should be zeroed out
 
-                if (iPower < 0)
+                if (power < 0)
                 {
-                    // Add -iPower factors of 10, -iPower <= (29 - 15) = 14.
+                    // Add -power factors of 10, -power <= (29 - 15) = 14.
                     //
-                    iPower = -iPower;
-                    if (iPower < 10)
+                    power = -power;
+                    if (power < 10)
                     {
-                        var pow10 = s_powers10[iPower];
-                        ulong low64 = UInt32x32To64((uint)ulMant, pow10);
-                        ulong hi64 = UInt32x32To64((uint)(ulMant >> 32), pow10);
-                        pdecOut.Low = (uint)low64;
+                        var pow10 = s_powers10[power];
+                        ulong low64 = UInt32x32To64((uint)mant, pow10);
+                        ulong hi64 = UInt32x32To64((uint)(mant >> 32), pow10);
+                        result.Low = (uint)low64;
                         hi64 += low64 >> 32;
-                        pdecOut.Mid = (uint)hi64;
+                        result.Mid = (uint)hi64;
                         hi64 >>= 32;
-                        pdecOut.High = (uint)hi64;
+                        result.High = (uint)hi64;
                     }
                     else
                     {
                         // Have a big power of 10.
                         //
-                        Debug.Assert(iPower <= 14);
-                        UInt64x64To128(ulMant, s_ulongPowers10[iPower - 1], ref pdecOut);
+                        Debug.Assert(power <= 14);
+                        UInt64x64To128(mant, s_ulongPowers10[power - 1], ref result);
                     }
                 }
                 else
@@ -1835,84 +1842,84 @@ ReturnZero:
                     // we can't scale by any more than the power we used to
                     // get the integer.
                     //
-                    int lmax = iPower;
+                    int lmax = power;
                     if (lmax > 14)
                         lmax = 14;
 
-                    if ((byte)ulMant == 0 && lmax >= 8)
+                    if ((byte)mant == 0 && lmax >= 8)
                     {
                         const uint den = 100000000;
-                        ulong div = ulMant / den;
-                        if ((uint)ulMant == (uint)(div * den))
+                        ulong div = mant / den;
+                        if ((uint)mant == (uint)(div * den))
                         {
-                            ulMant = div;
-                            iPower -= 8;
+                            mant = div;
+                            power -= 8;
                             lmax -= 8;
                         }
                     }
 
-                    if (((uint)ulMant & 0xF) == 0 && lmax >= 4)
+                    if (((uint)mant & 0xF) == 0 && lmax >= 4)
                     {
                         const uint den = 10000;
-                        ulong div = ulMant / den;
-                        if ((uint)ulMant == (uint)(div * den))
+                        ulong div = mant / den;
+                        if ((uint)mant == (uint)(div * den))
                         {
-                            ulMant = div;
-                            iPower -= 4;
+                            mant = div;
+                            power -= 4;
                             lmax -= 4;
                         }
                     }
 
-                    if (((uint)ulMant & 3) == 0 && lmax >= 2)
+                    if (((uint)mant & 3) == 0 && lmax >= 2)
                     {
                         const uint den = 100;
-                        ulong div = ulMant / den;
-                        if ((uint)ulMant == (uint)(div * den))
+                        ulong div = mant / den;
+                        if ((uint)mant == (uint)(div * den))
                         {
-                            ulMant = div;
-                            iPower -= 2;
+                            mant = div;
+                            power -= 2;
                             lmax -= 2;
                         }
                     }
 
-                    if (((uint)ulMant & 1) == 0 && lmax >= 1)
+                    if (((uint)mant & 1) == 0 && lmax >= 1)
                     {
                         const uint den = 10;
-                        ulong div = ulMant / den;
-                        if ((uint)ulMant == (uint)(div * den))
+                        ulong div = mant / den;
+                        if ((uint)mant == (uint)(div * den))
                         {
-                            ulMant = div;
-                            iPower--;
+                            mant = div;
+                            power--;
                         }
                     }
 
-                    flags |= (uint)iPower << ScaleShift;
-                    pdecOut.Low64 = ulMant;
+                    flags |= (uint)power << ScaleShift;
+                    result.Low64 = mant;
                 }
 
-                pdecOut.uflags = flags;
+                result.uflags = flags;
             }
 
             /// <summary>
             /// Convert Decimal to float
             /// </summary>
-            internal static float VarR4FromDec(ref decimal pdecIn)
+            internal static float VarR4FromDec(in decimal value)
             {
-                return (float)VarR8FromDec(ref pdecIn);
+                return (float)VarR8FromDec(in value);
             }
 
             /// <summary>
             /// Convert Decimal to double
             /// </summary>
-            internal static double VarR8FromDec(ref decimal pdecIn)
+            internal static double VarR8FromDec(in decimal value)
             {
                 // Value taken via reverse engineering the double that corresponds to 2^64. (oleaut32 has ds2to64 = DEFDS(0, 0, DBLBIAS + 65, 0))
                 const double ds2to64 = 1.8446744073709552e+019;
 
-                double dbl = ((double)pdecIn.Low64 +
-                    (double)pdecIn.High * ds2to64) / s_doublePowers10[pdecIn.Scale];
+                double dbl = ((double)value.Low64 +
+                    (double)value.High * ds2to64) / s_doublePowers10[value.Scale];
 
-                if (pdecIn.IsNegative)
+                if (value.IsNegative)
                     dbl = -dbl;
 
                 return dbl;
@@ -1937,19 +1944,20 @@ ReturnZero:
                 return (int)(flags ^ (uint)(high64 >> 32) ^ (uint)high64 ^ low);
             }
 
-            // VarDecDiv divides two decimal values.  On return, d1 contains the result
-            // of the operation.
+            /// <summary>
+            /// Divides two decimal values.
+            /// On return, d1 contains the result of the operation.
+            /// </summary>
             internal static unsafe void VarDecDiv(ref DecCalc d1, ref DecCalc d2)
             {
-                Buf12 bufQuo, bufDivisor;
+                Buf12 bufQuo;
                 _ = &bufQuo; // workaround for CS0165
-                _ = &bufDivisor; // workaround for CS0165
-                uint ulPwr;
-                int iCurScale;
+                uint power;
+                int curScale;
 
-                int iScale = (sbyte)(d1.uflags - d2.uflags >> ScaleShift);
-                bool fUnscale = false;
-                uint ulTmp;
+                int scale = (sbyte)(d1.uflags - d2.uflags >> ScaleShift);
+                bool unscale = false;
+                uint tmp;
 
                 if ((d2.High | d2.Mid) == 0)
                 {
@@ -1967,16 +1975,16 @@ ReturnZero:
                     {
                         if (remainder == 0)
                         {
-                            if (iScale < 0)
+                            if (scale < 0)
                             {
-                                iCurScale = Math.Min(9, -iScale);
+                                curScale = Math.Min(9, -scale);
                                 goto HaveScale;
                             }
                             break;
                         }
 
                         // We need to unscale if and only if we have a non-zero remainder
-                        fUnscale = true;
+                        unscale = true;
 
                         // We have computed a quotient based on the natural scale
                         // ( <dividend scale> - <divisor scale> ).  We have a non-zero
@@ -1988,39 +1996,39 @@ ReturnZero:
                         // non-zero.  If scaling by that much would cause overflow, we'll
                         // drop out of the loop and scale by as much as we can.
                         //
-                        // Scaling by 10^9 will overflow if rgulQuo[2].rgulQuo[1] >= 2^32 / 10^9
-                        // = 4.294 967 296.  So the upper limit is rgulQuo[2] == 4 and
-                        // rgulQuo[1] == 0.294 967 296 * 2^32 = 1,266,874,889.7+.  Since
-                        // quotient bits in rgulQuo[0] could be all 1's, then 1,266,874,888
-                        // is the largest value in rgulQuo[1] (when rgulQuo[2] == 4) that is
+                        // Scaling by 10^9 will overflow if bufQuo[2].bufQuo[1] >= 2^32 / 10^9
+                        // = 4.294 967 296.  So the upper limit is bufQuo[2] == 4 and
+                        // bufQuo[1] == 0.294 967 296 * 2^32 = 1,266,874,889.7+.  Since
+                        // quotient bits in bufQuo[0] could be all 1's, then 1,266,874,888
+                        // is the largest value in bufQuo[1] (when bufQuo[2] == 4) that is
                         // assured not to overflow.
                         //
-                        if (iScale == DEC_SCALE_MAX || (iCurScale = SearchScale(ref bufQuo, iScale)) == 0)
+                        if (scale == DEC_SCALE_MAX || (curScale = SearchScale(ref bufQuo, scale)) == 0)
                         {
                             // No more scaling to be done, but remainder is non-zero.
                             // Round quotient.
                             //
-                            ulTmp = remainder << 1;
-                            if (ulTmp < remainder || ulTmp >= den && (ulTmp > den || (bufQuo.U0 & 1) != 0))
+                            tmp = remainder << 1;
+                            if (tmp < remainder || tmp >= den && (tmp > den || (bufQuo.U0 & 1) != 0))
                                 goto RoundUp;
                             break;
                         }
 
                         HaveScale:
-                        ulPwr = s_powers10[iCurScale];
-                        iScale += iCurScale;
+                        power = s_powers10[curScale];
+                        scale += curScale;
 
-                        if (IncreaseScale(ref bufQuo, ulPwr) != 0)
+                        if (IncreaseScale(ref bufQuo, power) != 0)
                             goto ThrowOverflow;
 
-                        ulong num = UInt32x32To64(remainder, ulPwr);
+                        ulong num = UInt32x32To64(remainder, power);
                         // TODO: https://github.com/dotnet/coreclr/issues/3439
                         uint div = (uint)(num / den);
                         remainder = (uint)num - div * den;
 
                         if (!Add32To96(ref bufQuo, div))
                         {
-                            iScale = OverflowUnscale(ref bufQuo, iScale, remainder != 0);
+                            scale = OverflowUnscale(ref bufQuo, scale, remainder != 0);
                             break;
                         }
                     } // for (;;)
@@ -2030,29 +2038,29 @@ ReturnZero:
                     // Divisor has bits set in the upper 64 bits.
                     //
                     // Divisor must be fully normalized (shifted so bit 31 of the most
-                    // significant ULONG is 1).  Locate the MSB so we know how much to
+                    // significant uint is 1).  Locate the MSB so we know how much to
                     // normalize by.  The dividend will be shifted by the same amount so
                     // the quotient is not changed.
                     //
-                    ulTmp = d2.High;
-                    if (ulTmp == 0)
-                        ulTmp = d2.Mid;
+                    tmp = d2.High;
+                    if (tmp == 0)
+                        tmp = d2.Mid;
 
-                    iCurScale = X86.Lzcnt.IsSupported ? (int)X86.Lzcnt.LeadingZeroCount(ulTmp) : LeadingZeroCount(ulTmp);
+                    curScale = X86.Lzcnt.IsSupported ? (int)X86.Lzcnt.LeadingZeroCount(tmp) : LeadingZeroCount(tmp);
 
-                    // Shift both dividend and divisor left by iCurScale.
+                    // Shift both dividend and divisor left by curScale.
                     //
                     Buf16 bufRem;
                     _ = &bufRem; // workaround for CS0165
-                    bufRem.Low64 = d1.Low64 << iCurScale;
-                    bufRem.High64 = (d1.Mid + ((ulong)d1.High << 32)) >> (32 - iCurScale);
+                    bufRem.Low64 = d1.Low64 << curScale;
+                    bufRem.High64 = (d1.Mid + ((ulong)d1.High << 32)) >> (32 - curScale);
 
-                    ulong divisor = d2.Low64 << iCurScale;
+                    ulong divisor = d2.Low64 << curScale;
 
                     if (d2.High == 0)
                     {
                         // Have a 64-bit divisor in sdlDivisor.  The remainder
-                        // (currently 96 bits spread over 4 ULONGs) will be < divisor.
+                        // (currently 96 bits spread over 4 uints) will be < divisor.
                         //
 
                         bufQuo.U1 = Div96By64(ref *(Buf12*)&bufRem.U1, divisor);
@@ -2062,60 +2070,60 @@ ReturnZero:
                         {
                             if (bufRem.Low64 == 0)
                             {
-                                if (iScale < 0)
+                                if (scale < 0)
                                 {
-                                    iCurScale = Math.Min(9, -iScale);
+                                    curScale = Math.Min(9, -scale);
                                     goto HaveScale64;
                                 }
                                 break;
                             }
 
                             // We need to unscale if and only if we have a non-zero remainder
-                            fUnscale = true;
+                            unscale = true;
 
                             // Remainder is non-zero.  Scale up quotient and remainder by
                             // powers of 10 so we can compute more significant bits.
                             //
-                            if (iScale == DEC_SCALE_MAX || (iCurScale = SearchScale(ref bufQuo, iScale)) == 0)
+                            if (scale == DEC_SCALE_MAX || (curScale = SearchScale(ref bufQuo, scale)) == 0)
                             {
                                 // No more scaling to be done, but remainder is non-zero.
                                 // Round quotient.
                                 //
-                                ulong tmp = bufRem.Low64;
-                                if ((long)tmp < 0 || (tmp <<= 1) > divisor ||
-                                  (tmp == divisor && (bufQuo.U0 & 1) != 0))
+                                ulong tmp64 = bufRem.Low64;
+                                if ((long)tmp64 < 0 || (tmp64 <<= 1) > divisor ||
+                                  (tmp64 == divisor && (bufQuo.U0 & 1) != 0))
                                     goto RoundUp;
                                 break;
                             }
 
                             HaveScale64:
-                            ulPwr = s_powers10[iCurScale];
-                            iScale += iCurScale;
+                            power = s_powers10[curScale];
+                            scale += curScale;
 
-                            if (IncreaseScale(ref bufQuo, ulPwr) != 0)
+                            if (IncreaseScale(ref bufQuo, power) != 0)
                                 goto ThrowOverflow;
 
-                            IncreaseScale64(ref *(Buf12*)&bufRem, ulPwr);
-                            ulTmp = Div96By64(ref *(Buf12*)&bufRem, divisor);
-                            if (!Add32To96(ref bufQuo, ulTmp))
+                            IncreaseScale64(ref *(Buf12*)&bufRem, power);
+                            tmp = Div96By64(ref *(Buf12*)&bufRem, divisor);
+                            if (!Add32To96(ref bufQuo, tmp))
                             {
-                                iScale = OverflowUnscale(ref bufQuo, iScale, bufRem.Low64 != 0);
+                                scale = OverflowUnscale(ref bufQuo, scale, bufRem.Low64 != 0);
                                 break;
                             }
                         } // for (;;)
                     }
                     else
                     {
-                        // Have a 96-bit divisor in rgulDivisor[].
+                        // Have a 96-bit divisor in bufDivisor.
                         //
-                        // Start by finishing the shift left by iCurScale.
+                        // Start by finishing the shift left by curScale.
                         //
-                        uint tmp = (uint)((d2.Mid + ((ulong)d2.High << 32)) >> (32 - iCurScale));
+                        Buf12 bufDivisor;
+                        _ = &bufDivisor; // workaround for CS0165
                         bufDivisor.Low64 = divisor;
-                        bufDivisor.U2 = tmp;
+                        bufDivisor.U2 = (uint)((d2.Mid + ((ulong)d2.High << 32)) >> (32 - curScale));
 
-                        // The remainder (currently 96 bits spread over 4 ULONGs)
-                        // will be < divisor.
+                        // The remainder (currently 96 bits spread over 4 uints) will be < divisor.
                         //
                         bufQuo.Low64 = Div128By96(ref bufRem, ref bufDivisor);
 
@@ -2123,21 +2131,21 @@ ReturnZero:
                         {
                             if ((bufRem.Low64 | bufRem.U2) == 0)
                             {
-                                if (iScale < 0)
+                                if (scale < 0)
                                 {
-                                    iCurScale = Math.Min(9, -iScale);
+                                    curScale = Math.Min(9, -scale);
                                     goto HaveScale96;
                                 }
                                 break;
                             }
 
                             // We need to unscale if and only if we have a non-zero remainder
-                            fUnscale = true;
+                            unscale = true;
 
                             // Remainder is non-zero.  Scale up quotient and remainder by
                             // powers of 10 so we can compute more significant bits.
                             //
-                            if (iScale == DEC_SCALE_MAX || (iCurScale = SearchScale(ref bufQuo, iScale)) == 0)
+                            if (scale == DEC_SCALE_MAX || (curScale = SearchScale(ref bufQuo, scale)) == 0)
                             {
                                 // No more scaling to be done, but remainder is non-zero.
                                 // Round quotient.
@@ -2147,9 +2155,9 @@ ReturnZero:
                                     goto RoundUp;
                                 }
 
-                                ulTmp = bufRem.U1 >> 31;
+                                tmp = bufRem.U1 >> 31;
                                 bufRem.Low64 <<= 1;
-                                bufRem.U2 = (bufRem.U2 << 1) + ulTmp;
+                                bufRem.U2 = (bufRem.U2 << 1) + tmp;
 
                                 if (bufRem.U2 > bufDivisor.U2 || bufRem.U2 == bufDivisor.U2 &&
                                   (bufRem.Low64 > bufDivisor.Low64 || bufRem.Low64 == bufDivisor.Low64 &&
@@ -2159,17 +2167,17 @@ ReturnZero:
                             }
 
                             HaveScale96:
-                            ulPwr = s_powers10[iCurScale];
-                            iScale += iCurScale;
+                            power = s_powers10[curScale];
+                            scale += curScale;
 
-                            if (IncreaseScale(ref bufQuo, ulPwr) != 0)
+                            if (IncreaseScale(ref bufQuo, power) != 0)
                                 goto ThrowOverflow;
 
-                            bufRem.U3 = IncreaseScale(ref *(Buf12*)&bufRem, ulPwr);
-                            ulTmp = Div128By96(ref bufRem, ref bufDivisor);
-                            if (!Add32To96(ref bufQuo, ulTmp))
+                            bufRem.U3 = IncreaseScale(ref *(Buf12*)&bufRem, power);
+                            tmp = Div128By96(ref bufRem, ref bufDivisor);
+                            if (!Add32To96(ref bufQuo, tmp))
                             {
-                                iScale = OverflowUnscale(ref bufQuo, iScale, (bufRem.Low64 | bufRem.High64) != 0);
+                                scale = OverflowUnscale(ref bufQuo, scale, (bufRem.Low64 | bufRem.High64) != 0);
                                 break;
                             }
                         } // for (;;)
@@ -2177,11 +2185,11 @@ ReturnZero:
                 }
 
 Unscale:
-                if (fUnscale)
+                if (unscale)
                 {
                     uint low = bufQuo.U0;
                     ulong high64 = bufQuo.High64;
-                    Unscale(ref low, ref high64, ref iScale);
+                    Unscale(ref low, ref high64, ref scale);
                     d1.Low = low;
                     d1.Mid = (uint)high64;
                     d1.High = (uint)(high64 >> 32);
@@ -2192,14 +2200,14 @@ Unscale:
                     d1.High = bufQuo.U2;
                 }
 
-                d1.uflags = ((d1.uflags ^ d2.uflags) & SignMask) | ((uint)iScale << ScaleShift);
+                d1.uflags = ((d1.uflags ^ d2.uflags) & SignMask) | ((uint)scale << ScaleShift);
                 return;
 
 RoundUp:
                 {
                     if (++bufQuo.Low64 == 0 && ++bufQuo.U2 == 0)
                     {
-                        iScale = OverflowUnscale(ref bufQuo, iScale, true);
+                        scale = OverflowUnscale(ref bufQuo, scale, true);
                     }
                     goto Unscale;
                 }
@@ -2408,7 +2416,9 @@ ThrowOverflow:
                 Ceiling = 4,
             }
 
-            // Does an in-place round by the specified scale
+            /// <summary>
+            /// Does an in-place round by the specified scale
+            /// </summary>
             internal static void InternalRound(ref DecCalc d, uint scale, RoundingMode mode)
             {
                 // the scale becomes the desired decimal count
@@ -2557,7 +2567,7 @@ done:
             static readonly PowerOvfl[] PowerOvflValues = new[]
             {
                 // This is a table of the largest values that can be in the upper two
-                // ULONGs of a 96-bit number that will not overflow when multiplied
+                // uints of a 96-bit number that will not overflow when multiplied
                 // by a given power.  For the upper word, this is a table of
                 // 2^32 / 10^n for 1 <= n <= 8.  For the lower word, this is the
                 // remaining fraction part * 2^32.  2^32 = 4294967296.
index 2d38297..a82ca0d 100644 (file)
@@ -307,7 +307,7 @@ namespace System
         // positive, the result is d. If d is negative, the result
         // is -d.
         //
-        internal static decimal Abs(ref decimal d)
+        internal static decimal Abs(in decimal d)
         {
             return new decimal(in d, d.flags & ~SignMask);
         }
@@ -320,7 +320,6 @@ namespace System
             return d1;
         }
 
-
         // Rounds a Decimal to an integer value. The Decimal argument is rounded
         // towards positive infinity.
         public static decimal Ceiling(decimal d)
@@ -530,7 +529,7 @@ namespace System
             return new int[] { d.lo, d.mid, d.hi, d.flags };
         }
 
-        internal static void GetBytes(decimal d, byte[] buffer)
+        internal static void GetBytes(in decimal d, byte[] buffer)
         {
             Debug.Assert((buffer != null && buffer.Length >= 16), "[GetBytes]buffer != null && buffer.Length >= 16");
             buffer[0] = (byte)d.lo;
@@ -566,14 +565,14 @@ namespace System
 
         // Returns the larger of two Decimal values.
         //
-        internal static ref decimal Max(ref decimal d1, ref decimal d2)
+        internal static ref readonly decimal Max(in decimal d1, in decimal d2)
         {
             return ref DecCalc.VarDecCmp(in d1, in d2) >= 0 ? ref d1 : ref d2;
         }
 
         // Returns the smaller of two Decimal values.
         //
-        internal static ref decimal Min(ref decimal d1, ref decimal d2)
+        internal static ref readonly decimal Min(in decimal d1, in decimal d2)
         {
             return ref DecCalc.VarDecCmp(in d1, in d2) < 0 ? ref d1 : ref d2;
         }
@@ -626,7 +625,7 @@ namespace System
             return d;
         }
 
-        internal static int Sign(ref decimal d) => (d.lo | d.mid | d.hi) == 0 ? 0 : (d.flags >> 31) | 1;
+        internal static int Sign(in decimal d) => (d.lo | d.mid | d.hi) == 0 ? 0 : (d.flags >> 31) | 1;
 
         // Subtracts two Decimal values.
         //
@@ -699,7 +698,7 @@ namespace System
         //
         public static double ToDouble(decimal d)
         {
-            return DecCalc.VarR8FromDec(ref d);
+            return DecCalc.VarR8FromDec(in d);
         }
 
         // Converts a Decimal to an integer. The Decimal value is rounded towards
@@ -807,7 +806,7 @@ namespace System
         //
         public static float ToSingle(decimal d)
         {
-            return DecCalc.VarR4FromDec(ref d);
+            return DecCalc.VarR4FromDec(in d);
         }
 
         // Truncates a Decimal to an integer value. The Decimal argument is rounded
@@ -830,7 +829,7 @@ namespace System
 
         public static implicit operator decimal(byte value)
         {
-            return new decimal(value);
+            return new decimal((uint)value);
         }
 
         [CLSCompliant(false)]
@@ -847,12 +846,12 @@ namespace System
         [CLSCompliant(false)]
         public static implicit operator decimal(ushort value)
         {
-            return new decimal(value);
+            return new decimal((uint)value);
         }
 
         public static implicit operator decimal(char value)
         {
-            return new decimal(value);
+            return new decimal((uint)value);
         }
 
         public static implicit operator decimal(int value)
@@ -963,7 +962,7 @@ namespace System
 
         public static decimal operator -(decimal d)
         {
-            return Negate(d);
+            return new decimal(in d, d.flags ^ SignMask);
         }
 
         public static decimal operator ++(decimal d)
@@ -978,27 +977,32 @@ namespace System
 
         public static decimal operator +(decimal d1, decimal d2)
         {
-            return Add(d1, d2);
+            DecCalc.DecAddSub(ref AsMutable(ref d1), ref AsMutable(ref d2), false);
+            return d1;
         }
 
         public static decimal operator -(decimal d1, decimal d2)
         {
-            return Subtract(d1, d2);
+            DecCalc.DecAddSub(ref AsMutable(ref d1), ref AsMutable(ref d2), true);
+            return d1;
         }
 
         public static decimal operator *(decimal d1, decimal d2)
         {
-            return Multiply(d1, d2);
+            DecCalc.VarDecMul(ref AsMutable(ref d1), ref AsMutable(ref d2));
+            return d1;
         }
 
         public static decimal operator /(decimal d1, decimal d2)
         {
-            return Divide(d1, d2);
+            DecCalc.VarDecDiv(ref AsMutable(ref d1), ref AsMutable(ref d2));
+            return d1;
         }
 
         public static decimal operator %(decimal d1, decimal d2)
         {
-            return Remainder(d1, d2);
+            DecCalc.VarDecMod(ref AsMutable(ref d1), ref AsMutable(ref d2));
+            return d1;
         }
 
         public static bool operator ==(decimal d1, decimal d2)
@@ -1045,7 +1049,6 @@ namespace System
             return Convert.ToBoolean(this);
         }
 
-
         char IConvertible.ToChar(IFormatProvider provider)
         {
             throw new InvalidCastException(SR.Format(SR.InvalidCast_FromTo, "Decimal", "Char"));
index 433e00b..6eef1c8 100644 (file)
@@ -13,7 +13,7 @@ namespace System.Diagnostics
     /// </summary>
     public static partial class Debug
     {
-        private static DebugProvider s_provider = new DebugProvider();
+        private static volatile DebugProvider s_provider = new DebugProvider();
 
         public static DebugProvider SetProvider(DebugProvider provider)
         {
@@ -25,27 +25,32 @@ namespace System.Diagnostics
 
         public static bool AutoFlush { get { return true; } set { } }
 
+        [ThreadStatic]
+        private static int t_indentLevel;
         public static int IndentLevel
         {
             get
             {
-                return DebugProvider.IndentLevel;
+                return t_indentLevel;
             }
             set
             {
-                DebugProvider.IndentLevel = value;
+                t_indentLevel = value < 0 ? 0 : value;
+                s_provider.OnIndentLevelChanged(t_indentLevel);
             }
         }
 
+        private static volatile int s_indentSize = 4;
         public static int IndentSize
         {
             get
             {
-                return DebugProvider.IndentSize;
+                return s_indentSize;
             }
             set
             {
-                DebugProvider.IndentSize = value;
+                s_indentSize = value < 0 ? 0 : value;
+                s_provider.OnIndentSizeChanged(s_indentSize);
             }
         }
 
@@ -96,17 +101,7 @@ namespace System.Diagnostics
         {
             if (!condition)
             {
-                string stackTrace;
-                try
-                {
-                    stackTrace = new StackTrace(0, true).ToString(System.Diagnostics.StackTrace.TraceFormat.Normal);
-                }
-                catch
-                {
-                    stackTrace = "";
-                }
-                WriteLine(FormatAssert(stackTrace, message, detailMessage));
-                s_provider.ShowDialog(stackTrace, message, detailMessage, "Assertion Failed");
+                Fail(message, detailMessage);
             }
         }
 
@@ -123,32 +118,21 @@ namespace System.Diagnostics
                 {
                     stackTrace = "";
                 }
-                WriteLine(FormatAssert(stackTrace, message, detailMessage));
-                s_provider.ShowDialog(stackTrace, message, detailMessage, SR.GetResourceString(failureKindMessage));
+                s_provider.WriteAssert(stackTrace, message, detailMessage);
+                DebugProvider.FailCore(stackTrace, message, detailMessage, SR.GetResourceString(failureKindMessage));
             }
         }
 
         [System.Diagnostics.Conditional("DEBUG")]
         public static void Fail(string message)
         {
-            Assert(false, message, string.Empty);
+            Fail(message, string.Empty);
         }
 
         [System.Diagnostics.Conditional("DEBUG")]
         public static void Fail(string message, string detailMessage)
         {
-            Assert(false, message, detailMessage);
-        }
-
-        private static string FormatAssert(string stackTrace, string message, string detailMessage)
-        {
-            string newLine = DebugProvider.GetIndentString() + Environment.NewLine;
-            return SR.DebugAssertBanner + newLine
-                   + SR.DebugAssertShortMessage + newLine
-                   + message + newLine
-                   + SR.DebugAssertLongMessage + newLine
-                   + detailMessage + newLine
-                   + stackTrace;
+            s_provider.Fail(message, detailMessage);
         }
 
         [System.Diagnostics.Conditional("DEBUG")]
@@ -160,7 +144,7 @@ namespace System.Diagnostics
         [System.Diagnostics.Conditional("DEBUG")]
         public static void WriteLine(string message)
         {
-            Write(message + Environment.NewLine);
+            s_provider.WriteLine(message);
         }
 
         [System.Diagnostics.Conditional("DEBUG")]
@@ -196,7 +180,7 @@ namespace System.Diagnostics
             }
             else
             {
-                WriteLine(category + ":" + message);
+                WriteLine(category + ": " + message);
             }
         }
 
@@ -215,7 +199,7 @@ namespace System.Diagnostics
             }
             else
             {
-                Write(category + ":" + message);
+                Write(category + ": " + message);
             }
         }
 
index b0f2f95..e151717 100644 (file)
@@ -10,8 +10,14 @@ namespace System.Diagnostics
     {
         private static readonly bool s_shouldWriteToStdErr = Environment.GetEnvironmentVariable("COMPlus_DebugWriteToStdErr") == "1";
 
-        public virtual void ShowDialog(string stackTrace, string message, string detailMessage, string errorSource)
+        public static void FailCore(string stackTrace, string message, string detailMessage, string errorSource)
         {
+            if (s_FailCore != null)
+            {
+                s_FailCore(stackTrace, message, detailMessage, errorSource); 
+                return;
+            }
+
             if (Debugger.IsAttached)
             {
                 Debugger.Break();
@@ -38,8 +44,14 @@ namespace System.Diagnostics
             }
         }
 
-        private static void WriteCore(string message)
+        public static void WriteCore(string message)
         {
+            if (s_WriteCore != null)
+            {
+                s_WriteCore(message); 
+                return;
+            }
+
             WriteToDebugger(message);
 
             if (s_shouldWriteToStdErr)
index 5ddb6d5..686fc18 100644 (file)
@@ -8,31 +8,65 @@
 namespace System.Diagnostics
 {
     /// <summary>
-    /// Provides default implementation for Write and ShowDialog methods in Debug class.
+    /// Provides default implementation for Write and Fail methods in Debug class.
     /// </summary>
     public partial class DebugProvider
     {
+        public virtual void Fail(string message, string detailMessage)
+        {
+            string stackTrace;
+            try
+            {
+                stackTrace = new StackTrace(0, true).ToString(System.Diagnostics.StackTrace.TraceFormat.Normal);
+            }
+            catch
+            {
+                stackTrace = "";
+            }
+            WriteAssert(stackTrace, message, detailMessage);
+            FailCore(stackTrace, message, detailMessage, "Assertion Failed");
+        }
+
+        internal void WriteAssert(string stackTrace, string message, string detailMessage)
+        {
+            WriteLine(SR.DebugAssertBanner + Environment.NewLine
+                   + SR.DebugAssertShortMessage + Environment.NewLine
+                   + message + Environment.NewLine
+                   + SR.DebugAssertLongMessage + Environment.NewLine
+                   + detailMessage + Environment.NewLine
+                   + stackTrace);
+        }
+
         public virtual void Write(string message)
         {
             lock (s_lock)
             {
                 if (message == null)
                 {
-                    s_WriteCore(string.Empty);
+                    WriteCore(string.Empty);
                     return;
                 }
-                if (s_needIndent)
+                if (_needIndent)
                 {
                     message = GetIndentString() + message;
-                    s_needIndent = false;
+                    _needIndent = false;
                 }
-                s_WriteCore(message);
+                WriteCore(message);
                 if (message.EndsWith(Environment.NewLine))
                 {
-                    s_needIndent = true;
+                    _needIndent = true;
                 }
             }
         }
+        
+        public virtual void WriteLine(string message)
+        {
+            Write(message + Environment.NewLine);
+        }
+
+        public virtual void OnIndentLevelChanged(int indentLevel) { }
+
+        public virtual void OnIndentSizeChanged(int indentSize) { }
 
         private static readonly object s_lock = new object();
 
@@ -54,48 +88,22 @@ namespace System.Diagnostics
             }
         }
 
-        [ThreadStatic]
-        private static int s_indentLevel;
-        internal static int IndentLevel
-        {
-            get
-            {
-                return s_indentLevel;
-            }
-            set
-            {
-                s_indentLevel = value < 0 ? 0 : value;
-            }
-        }
-
-        private static int s_indentSize = 4;
-        internal static int IndentSize
-        {
-            get
-            {
-                return s_indentSize;
-            }
-            set
-            {
-                s_indentSize = value < 0 ? 0 : value;
-            }
-        }
-
-        private static bool s_needIndent;
+        private bool _needIndent = true;
 
-        private static string s_indentString;
+        private string _indentString;
 
-        internal static string GetIndentString()
+        private string GetIndentString()
         {
-            int indentCount = IndentSize * IndentLevel;
-            if (s_indentString?.Length == indentCount)
+            int indentCount = Debug.IndentSize * Debug.IndentLevel;
+            if (_indentString?.Length == indentCount)
             {
-                return s_indentString;
+                return _indentString;
             }
-            return s_indentString = new string(' ', indentCount);
+            return _indentString = new string(' ', indentCount);
         }
 
         // internal and not readonly so that the tests can swap this out.
-        internal static Action<string> s_WriteCore = WriteCore;
+        internal static Action<string, string, string, string> s_FailCore = null;
+        internal static Action<string> s_WriteCore = null;
     }
 }
index a23de3a..ab1eecf 100644 (file)
@@ -16,7 +16,7 @@ using System.Reflection;
 using System.Diagnostics;
 using System.Runtime.InteropServices;
 using System.Runtime.Serialization;
-using System.Buffers;
+using System.Text;
 using Internal.Runtime.CompilerServices;
 
 namespace System.Globalization
@@ -595,37 +595,143 @@ namespace System.Globalization
         }
 
 
-        internal static bool EqualsOrdinalIgnoreCase(ref char strA, ref char strB, int length)
+        internal static bool EqualsOrdinalIgnoreCase(ref char charA, ref char charB, int length)
         {
-            ref char charA = ref strA;
-            ref char charB = ref strB;
+            IntPtr byteOffset = IntPtr.Zero;
 
-            // in InvariantMode we support all range and not only the ascii characters.
-            char maxChar = (GlobalizationMode.Invariant ? (char)0xFFFF : (char)0x7F);
+#if BIT64
+            // Read 4 chars (64 bits) at a time from each string
+            while ((uint)length >= 4)
+            {
+                ulong valueA = Unsafe.ReadUnaligned<ulong>(ref Unsafe.As<char, byte>(ref Unsafe.AddByteOffset(ref charA, byteOffset)));
+                ulong valueB = Unsafe.ReadUnaligned<ulong>(ref Unsafe.As<char, byte>(ref Unsafe.AddByteOffset(ref charB, byteOffset)));
 
-            while (length != 0 && charA <= maxChar && charB <= maxChar)
+                // A 32-bit test - even with the bit-twiddling here - is more efficient than a 64-bit test.
+                ulong temp = valueA | valueB;
+                if (!Utf16Utility.AllCharsInUInt32AreAscii((uint)temp | (uint)(temp >> 32)))
+                {
+                    goto NonAscii; // one of the inputs contains non-ASCII data
+                }
+
+                // Generally, the caller has likely performed a first-pass check that the input strings
+                // are likely equal. Consider a dictionary which computes the hash code of its key before
+                // performing a proper deep equality check of the string contents. We want to optimize for
+                // the case where the equality check is likely to succeed, which means that we want to avoid
+                // branching within this loop unless we're about to exit the loop, either due to failure or
+                // due to us running out of input data.
+
+                if (!Utf16Utility.UInt64OrdinalIgnoreCaseAscii(valueA, valueB))
+                {
+                    return false;
+                }
+
+                byteOffset += 8;
+                length -= 4;
+            }
+#endif
+
+            // Read 2 chars (32 bits) at a time from each string
+#if BIT64
+            if ((uint)length >= 2)
+#else
+            while ((uint)length >= 2)
+#endif
             {
-                // Ordinal equals or lowercase equals if the result ends up in the a-z range 
-                if (charA == charB ||
-                    ((charA | 0x20) == (charB | 0x20) &&
-                        (uint)((charA | 0x20) - 'a') <= (uint)('z' - 'a')))
+                uint valueA = Unsafe.ReadUnaligned<uint>(ref Unsafe.As<char, byte>(ref Unsafe.AddByteOffset(ref charA, byteOffset)));
+                uint valueB = Unsafe.ReadUnaligned<uint>(ref Unsafe.As<char, byte>(ref Unsafe.AddByteOffset(ref charB, byteOffset)));
+
+                if (!Utf16Utility.AllCharsInUInt32AreAscii(valueA | valueB))
                 {
-                    length--;
-                    charA = ref Unsafe.Add(ref charA, 1);
-                    charB = ref Unsafe.Add(ref charB, 1);
+                    goto NonAscii; // one of the inputs contains non-ASCII data
                 }
-                else
+
+                // Generally, the caller has likely performed a first-pass check that the input strings
+                // are likely equal. Consider a dictionary which computes the hash code of its key before
+                // performing a proper deep equality check of the string contents. We want to optimize for
+                // the case where the equality check is likely to succeed, which means that we want to avoid
+                // branching within this loop unless we're about to exit the loop, either due to failure or
+                // due to us running out of input data.
+
+                if (!Utf16Utility.UInt32OrdinalIgnoreCaseAscii(valueA, valueB))
                 {
                     return false;
                 }
+
+                byteOffset += 4;
+                length -= 2;
             }
 
-            if (length == 0)
-                return true;
+            if (length != 0)
+            {
+                Debug.Assert(length == 1);
 
-            Debug.Assert(!GlobalizationMode.Invariant);
+                uint valueA = Unsafe.AddByteOffset(ref charA, byteOffset);
+                uint valueB = Unsafe.AddByteOffset(ref charB, byteOffset);
 
-            return CompareStringOrdinalIgnoreCase(ref charA, length, ref charB, length) == 0;
+                if ((valueA | valueB) > 0x7Fu)
+                {
+                    goto NonAscii; // one of the inputs contains non-ASCII data
+                }
+
+                if (valueA == valueB)
+                {
+                    return true; // exact match
+                }
+
+                valueA |= 0x20u;
+                if ((uint)(valueA - 'a') > (uint)('z' - 'a'))
+                {
+                    return false; // not exact match, and first input isn't in [A-Za-z]
+                }
+
+                // The ternary operator below seems redundant but helps RyuJIT generate more optimal code.
+                // See https://github.com/dotnet/coreclr/issues/914.
+                return (valueA == (valueB | 0x20u)) ? true : false;
+            }
+
+            Debug.Assert(length == 0);
+            return true;
+
+        NonAscii:
+            // The non-ASCII case is factored out into its own helper method so that the JIT
+            // doesn't need to emit a complex prolog for its caller (this method).
+            return EqualsOrdinalIgnoreCaseNonAscii(ref Unsafe.AddByteOffset(ref charA, byteOffset), ref Unsafe.AddByteOffset(ref charB, byteOffset), length);
+        }
+
+        private static bool EqualsOrdinalIgnoreCaseNonAscii(ref char charA, ref char charB, int length)
+        {
+            if (!GlobalizationMode.Invariant)
+            {
+                return CompareStringOrdinalIgnoreCase(ref charA, length, ref charB, length) == 0;
+            }
+            else
+            {
+                // If we don't have localization tables to consult, we'll still perform a case-insensitive
+                // check for ASCII characters, but if we see anything outside the ASCII range we'll immediately
+                // fail if it doesn't have true bitwise equality.
+
+                IntPtr byteOffset = IntPtr.Zero;
+                while (length != 0)
+                {
+                    // Ordinal equals or lowercase equals if the result ends up in the a-z range 
+                    uint valueA = Unsafe.AddByteOffset(ref charA, byteOffset);
+                    uint valueB = Unsafe.AddByteOffset(ref charB, byteOffset);
+
+                    if (valueA == valueB ||
+                        ((valueA | 0x20) == (valueB | 0x20) &&
+                            (uint)((valueA | 0x20) - 'a') <= (uint)('z' - 'a')))
+                    {
+                        byteOffset += 2;
+                        length--;
+                    }
+                    else
+                    {
+                        return false;
+                    }
+                }
+
+                return true;
+            }
         }
 
         ////////////////////////////////////////////////////////////////////////
index d1a333f..dea1f03 100644 (file)
@@ -5,6 +5,7 @@
 using System.Text;
 using System.Diagnostics;
 using System.Buffers;
+using System.Threading.Tasks;
 
 namespace System.IO
 {
@@ -12,7 +13,7 @@ namespace System.IO
     // primitives to an arbitrary stream. A subclass can override methods to
     // give unique encodings.
     //
-    public class BinaryWriter : IDisposable
+    public class BinaryWriter : IDisposable, IAsyncDisposable
     {
         public static readonly BinaryWriter Null = new BinaryWriter();
 
@@ -87,6 +88,34 @@ namespace System.IO
             Dispose(true);
         }
 
+        public virtual ValueTask DisposeAsync()
+        {
+            try
+            {
+                if (GetType() == typeof(BinaryWriter))
+                {
+                    if (_leaveOpen)
+                    {
+                        return new ValueTask(OutStream.FlushAsync());
+                    }
+
+                    OutStream.Close();
+                }
+                else
+                {
+                    // Since this is a derived BinaryWriter, delegate to whatever logic
+                    // the derived implementation already has in Dispose.
+                    Dispose();
+                }
+
+                return default;
+            }
+            catch (Exception exc)
+            {
+                return new ValueTask(Task.FromException(exc));
+            }
+        }
+
         // Returns the stream associated with the writer. It flushes all pending
         // writes before returning. All subclasses should override Flush to
         // ensure that all buffered data is sent to the stream.
index ae4b709..5f3c55e 100644 (file)
@@ -269,6 +269,24 @@ namespace System.IO
             }
         }
 
+        public override ValueTask DisposeAsync()
+        {
+            // On Unix, we don't have any special support for async I/O, simply queueing writes
+            // rather than doing them synchronously.  As such, if we're "using async I/O" and we
+            // have something to flush, queue the call to Dispose, so that we end up queueing whatever
+            // write work happens to flush the buffer.  Otherwise, just delegate to the base implementation,
+            // which will synchronously invoke Dispose.  We don't need to factor in the current type
+            // as we're using the virtual Dispose either way, and therefore factoring in whatever
+            // override may already exist on a derived type.
+            if (_useAsyncIO && _writePos > 0)
+            {
+                return new ValueTask(Task.Factory.StartNew(s => ((FileStream)s).Dispose(), this,
+                    CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default));
+            }
+
+            return base.DisposeAsync();
+        }
+
         /// <summary>Flushes the OS buffer.  This does not flush the internal read/write buffer.</summary>
         private void FlushOSBuffer()
         {
index 4f8292b..91612dc 100644 (file)
@@ -226,24 +226,21 @@ namespace System.IO
             // finalized.
             try
             {
-                if (_fileHandle != null && !_fileHandle.IsClosed)
+                if (_fileHandle != null && !_fileHandle.IsClosed && _writePos > 0)
                 {
                     // Flush data to disk iff we were writing.  After 
                     // thinking about this, we also don't need to flush
                     // our read position, regardless of whether the handle
                     // was exposed to the user.  They probably would NOT 
                     // want us to do this.
-                    if (_writePos > 0)
+                    try
                     {
-                        try
-                        {
-                            FlushWriteBuffer(!disposing);
-                        }
-                        catch (Exception e) when (IsIoRelatedException(e) && !disposing)
-                        {
-                            // On finalization, ignore failures from trying to flush the write buffer,
-                            // e.g. if this stream is wrapping a pipe and the pipe is now broken.
-                        }
+                        FlushWriteBuffer(!disposing);
+                    }
+                    catch (Exception e) when (IsIoRelatedException(e) && !disposing)
+                    {
+                        // On finalization, ignore failures from trying to flush the write buffer,
+                        // e.g. if this stream is wrapping a pipe and the pipe is now broken.
                     }
                 }
             }
@@ -251,22 +248,46 @@ namespace System.IO
             {
                 if (_fileHandle != null && !_fileHandle.IsClosed)
                 {
-                    if (_fileHandle.ThreadPoolBinding != null)
-                        _fileHandle.ThreadPoolBinding.Dispose();
-
+                    _fileHandle.ThreadPoolBinding?.Dispose();
                     _fileHandle.Dispose();
                 }
 
-                if (_preallocatedOverlapped != null)
-                    _preallocatedOverlapped.Dispose();
-
+                _preallocatedOverlapped?.Dispose();
                 _canSeek = false;
 
                 // Don't set the buffer to null, to avoid a NullReferenceException
                 // when users have a race condition in their code (i.e. they call
                 // Close when calling another method on Stream like Read).
-                //_buffer = null;
-                base.Dispose(disposing);
+            }
+        }
+
+        public override ValueTask DisposeAsync() =>
+            GetType() == typeof(FileStream) ?
+                DisposeAsyncCore() :
+                base.DisposeAsync();
+
+        private async ValueTask DisposeAsyncCore()
+        {
+            // Same logic as in Dispose(), except with async counterparts.
+            // TODO: https://github.com/dotnet/corefx/issues/32837: FlushAsync does synchronous work.
+            try
+            {
+                if (_fileHandle != null && !_fileHandle.IsClosed && _writePos > 0)
+                {
+                    await FlushAsyncInternal(default).ConfigureAwait(false);
+                }
+            }
+            finally
+            {
+                if (_fileHandle != null && !_fileHandle.IsClosed)
+                {
+                    _fileHandle.ThreadPoolBinding?.Dispose();
+                    _fileHandle.Dispose();
+                }
+
+                _preallocatedOverlapped?.Dispose();
+                _canSeek = false;
+                GC.SuppressFinalize(this); // the handle is closed; nothing further for the finalizer to do
             }
         }
 
@@ -1544,6 +1565,7 @@ namespace System.IO
             if (_fileHandle.IsClosed)
                 throw Error.GetFileNotOpen();
 
+            // TODO: https://github.com/dotnet/corefx/issues/32837 (stop doing this synchronous work).
             // The always synchronous data transfer between the OS and the internal buffer is intentional 
             // because this is needed to allow concurrent async IO requests. Concurrent data transfer
             // between the OS and the internal buffer will result in race conditions. Since FlushWrite and
index 602900c..fe9f9fe 100644 (file)
@@ -25,7 +25,7 @@ using System.Threading.Tasks;
 
 namespace System.IO
 {
-    public abstract partial class Stream : MarshalByRefObject, IDisposable
+    public abstract partial class Stream : MarshalByRefObject, IDisposable, IAsyncDisposable
     {
         public static readonly Stream Null = new NullStream();
 
@@ -234,6 +234,19 @@ namespace System.IO
             // torn down.  This is the last code to run on cleanup for a stream.
         }
 
+        public virtual ValueTask DisposeAsync()
+        {
+            try
+            {
+                Dispose();
+                return default;
+            }
+            catch (Exception exc)
+            {
+                return new ValueTask(Task.FromException(exc));
+            }
+        }
+
         public abstract void Flush();
 
         public Task FlushAsync()
@@ -1202,6 +1215,12 @@ namespace System.IO
                 }
             }
 
+            public override ValueTask DisposeAsync()
+            {
+                lock (_stream)
+                    return _stream.DisposeAsync();
+            }
+
             public override void Flush()
             {
                 lock (_stream)
index 8d94ac6..d55eaae 100644 (file)
@@ -195,35 +195,62 @@ namespace System.IO
             }
             finally
             {
-                // Dispose of our resources if this StreamWriter is closable. 
-                // Note: Console.Out and other such non closable streamwriters should be left alone 
-                if (!LeaveOpen && _stream != null)
+                CloseStreamFromDispose(disposing);
+            }
+        }
+
+        private void CloseStreamFromDispose(bool disposing)
+        {
+            // Dispose of our resources if this StreamWriter is closable. 
+            if (!LeaveOpen && _stream != null)
+            {
+                try
                 {
-                    try
+                    // Attempt to close the stream even if there was an IO error from Flushing.
+                    // Note that Stream.Close() can potentially throw here (may or may not be
+                    // due to the same Flush error). In this case, we still need to ensure 
+                    // cleaning up internal resources, hence the finally block.  
+                    if (disposing)
                     {
-                        // Attempt to close the stream even if there was an IO error from Flushing.
-                        // Note that Stream.Close() can potentially throw here (may or may not be
-                        // due to the same Flush error). In this case, we still need to ensure 
-                        // cleaning up internal resources, hence the finally block.  
-                        if (disposing)
-                        {
-                            _stream.Close();
-                        }
-                    }
-                    finally
-                    {
-                        _stream = null;
-                        _byteBuffer = null;
-                        _charBuffer = null;
-                        _encoding = null;
-                        _encoder = null;
-                        _charLen = 0;
-                        base.Dispose(disposing);
+                        _stream.Close();
                     }
                 }
+                finally
+                {
+                    _stream = null;
+                    _byteBuffer = null;
+                    _charBuffer = null;
+                    _encoding = null;
+                    _encoder = null;
+                    _charLen = 0;
+                    base.Dispose(disposing);
+                }
             }
         }
 
+        public override ValueTask DisposeAsync() =>
+            GetType() != typeof(StreamWriter) ?
+                base.DisposeAsync() :
+                DisposeAsyncCore();
+
+        private async ValueTask DisposeAsyncCore()
+        {
+            // Same logic as in Dispose(), but with async flushing.
+            Debug.Assert(GetType() == typeof(StreamWriter));
+            try
+            {
+                if (_stream != null)
+                {
+                    await FlushAsync().ConfigureAwait(false);
+                }
+            }
+            finally
+            {
+                CloseStreamFromDispose(disposing: true);
+            }
+            GC.SuppressFinalize(this);
+        }
+
         public override void Flush()
         {
             CheckAsyncTaskInProgress();
index 99f99b6..c164027 100644 (file)
@@ -18,7 +18,7 @@ namespace System.IO
     //
     // This class is intended for character output, not bytes.
     // There are methods on the Stream class for writing bytes.
-    public abstract partial class TextWriter : MarshalByRefObject, IDisposable
+    public abstract partial class TextWriter : MarshalByRefObject, IDisposable, IAsyncDisposable
     {
         public static readonly TextWriter Null = new NullTextWriter();
 
@@ -79,6 +79,19 @@ namespace System.IO
             GC.SuppressFinalize(this);
         }
 
+        public virtual ValueTask DisposeAsync()
+        {
+            try
+            {
+                Dispose();
+                return default;
+            }
+            catch (Exception exc)
+            {
+                return new ValueTask(Task.FromException(exc));
+            }
+        }
+
         // Clears all buffers for this TextWriter and causes any buffered data to be
         // written to the underlying device. This default method is empty, but
         // descendant classes can override the method to provide the appropriate
@@ -774,6 +787,14 @@ namespace System.IO
                     ((IDisposable)_out).Dispose();
             }
 
+            // [MethodImpl(MethodImplOptions.Synchronized)]
+            public override ValueTask DisposeAsync()
+            {
+                // TODO: https://github.com/dotnet/coreclr/issues/20499
+                // Manual synchronization should be replaced by Synchronized for consistency.
+                lock (this) return _out.DisposeAsync();
+            }
+
             [MethodImpl(MethodImplOptions.Synchronized)]
             public override void Flush() => _out.Flush();
 
index b211d39..41a0806 100644 (file)
@@ -96,7 +96,7 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static decimal Abs(decimal value)
         {
-            return decimal.Abs(ref value);
+            return decimal.Abs(value);
         }
 
         [StackTraceHidden]
@@ -110,6 +110,76 @@ namespace System
             return ((long)a) * b;
         }
 
+        public static double BitDecrement(double x)
+        {
+            var bits = BitConverter.DoubleToInt64Bits(x);
+
+            if (((bits >> 32) & 0x7FF00000) >= 0x7FF00000)
+            {
+                // NaN returns NaN
+                // -Infinity returns -Infinity
+                // +Infinity returns double.MaxValue
+                return (bits == 0x7FF00000_00000000) ? double.MaxValue : x;
+            }
+
+            if (bits == 0x00000000_00000000)
+            {
+                // +0.0 returns -double.Epsilon
+                return -double.Epsilon;
+            }
+
+            // Negative values need to be incremented
+            // Positive values need to be decremented
+
+            bits += ((bits < 0) ? +1 : -1);
+            return BitConverter.Int64BitsToDouble(bits);
+        }
+
+        public static double BitIncrement(double x)
+        {
+            var bits = BitConverter.DoubleToInt64Bits(x);
+
+            if (((bits >> 32) & 0x7FF00000) >= 0x7FF00000)
+            {
+                // NaN returns NaN
+                // -Infinity returns double.MinValue
+                // +Infinity returns +Infinity
+                return (bits == unchecked((long)(0xFFF00000_00000000))) ? double.MinValue : x;
+            }
+
+            if (bits == unchecked((long)(0x80000000_00000000)))
+            {
+                // -0.0 returns double.Epsilon
+                return double.Epsilon;
+            }
+
+            // Negative values need to be decremented
+            // Positive values need to be incremented
+
+            bits += ((bits < 0) ? -1 : +1);
+            return BitConverter.Int64BitsToDouble(bits);
+        }
+
+        public static unsafe double CopySign(double x, double y)
+        {
+            // This method is required to work for all inputs,
+            // including NaN, so we operate on the raw bits.
+
+            var xbits = BitConverter.DoubleToInt64Bits(x);
+            var ybits = BitConverter.DoubleToInt64Bits(y);
+
+            // If the sign bits of x and y are not the same,
+            // flip the sign bit of x and return the new value;
+            // otherwise, just return x
+
+            if ((xbits ^ ybits) < 0)
+            {
+                return BitConverter.Int64BitsToDouble(xbits ^ long.MinValue);
+            }
+
+            return x;
+        }
+
         public static int DivRem(int a, int b, out int result)
         {
             // TODO https://github.com/dotnet/coreclr/issues/3439:
@@ -463,7 +533,7 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static decimal Max(decimal val1, decimal val2)
         {
-            return decimal.Max(ref val1, ref val2);
+            return decimal.Max(val1, val2);
         }
 
         public static double Max(double val1, double val2)
@@ -542,6 +612,11 @@ namespace System
             return (val1 >= val2) ? val1 : val2;
         }
 
+        public static double MaxMagnitude(double x, double y)
+        {
+            return Max(Abs(x), Abs(y));
+        }
+
         [NonVersionable]
         public static byte Min(byte val1, byte val2)
         {
@@ -551,7 +626,7 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static decimal Min(decimal val1, decimal val2)
         {
-            return decimal.Min(ref val1, ref val2);
+            return decimal.Min(val1, val2);
         }
 
         public static double Min(double val1, double val2)
@@ -630,6 +705,11 @@ namespace System
             return (val1 <= val2) ? val1 : val2;
         }
 
+        public static double MinMagnitude(double x, double y)
+        {
+            return Min(Abs(x), Abs(y));
+        }
+
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static decimal Round(decimal d)
         {
@@ -680,7 +760,7 @@ namespace System
                 flrTempVal -= 1.0;
             }
 
-            return copysign(flrTempVal, a);
+            return CopySign(flrTempVal, a);
         }
 
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -736,7 +816,7 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static int Sign(decimal value)
         {
-            return decimal.Sign(ref value);
+            return decimal.Sign(value);
         }
 
         public static int Sign(double value)
@@ -810,23 +890,6 @@ namespace System
             return d;
         }
 
-        private static unsafe double copysign(double x, double y)
-        {
-            var xbits = BitConverter.DoubleToInt64Bits(x);
-            var ybits = BitConverter.DoubleToInt64Bits(y);
-
-            // If the sign bits of x and y are not the same,
-            // flip the sign bit of x and return the new value;
-            // otherwise, just return x
-
-            if (((xbits ^ ybits) >> 63) != 0)
-            {
-                return BitConverter.Int64BitsToDouble(xbits ^ long.MinValue);
-            }
-
-            return x;
-        }
-
         private static void ThrowMinMaxException<T>(T min, T max)
         {
             throw new ArgumentException(SR.Format(SR.Argument_MinMaxValue, min, max));
index 7769023..9eac890 100644 (file)
@@ -36,6 +36,76 @@ namespace System
             return Math.Abs(x);
         }
 
+        public static float BitDecrement(float x)
+        {
+            var bits = BitConverter.SingleToInt32Bits(x);
+
+            if ((bits & 0x7F800000) >= 0x7F800000)
+            {
+                // NaN returns NaN
+                // -Infinity returns -Infinity
+                // +Infinity returns float.MaxValue
+                return (bits == 0x7F800000) ? float.MaxValue : x;
+            }
+
+            if (bits == 0x00000000)
+            {
+                // +0.0 returns -float.Epsilon
+                return -float.Epsilon;
+            }
+
+            // Negative values need to be incremented
+            // Positive values need to be decremented
+
+            bits += ((bits < 0) ? +1 : -1);
+            return BitConverter.Int32BitsToSingle(bits);
+        }
+
+        public static float BitIncrement(float x)
+        {
+            var bits = BitConverter.SingleToInt32Bits(x);
+
+            if ((bits & 0x7F800000) >= 0x7F800000)
+            {
+                // NaN returns NaN
+                // -Infinity returns float.MinValue
+                // +Infinity returns +Infinity
+                return (bits == unchecked((int)(0xFF800000))) ? float.MinValue : x;
+            }
+
+            if (bits == unchecked((int)(0x80000000)))
+            {
+                // -0.0 returns float.Epsilon
+                return float.Epsilon;
+            }
+
+            // Negative values need to be decremented
+            // Positive values need to be incremented
+
+            bits += ((bits < 0) ? -1 : +1);
+            return BitConverter.Int32BitsToSingle(bits);
+        }
+
+        public static unsafe float CopySign(float x, float y)
+        {
+            // This method is required to work for all inputs,
+            // including NaN, so we operate on the raw bits.
+
+            var xbits = BitConverter.SingleToInt32Bits(x);
+            var ybits = BitConverter.SingleToInt32Bits(y);
+
+            // If the sign bits of x and y are not the same,
+            // flip the sign bit of x and return the new value;
+            // otherwise, just return x
+
+            if ((xbits ^ ybits) < 0)
+            {
+                return BitConverter.Int32BitsToSingle(xbits ^ int.MinValue);
+            }
+
+            return x;
+        }
+
         public static float IEEERemainder(float x, float y)
         {
             if (float.IsNaN(x))
@@ -118,12 +188,22 @@ namespace System
             return Math.Max(x, y);
         }
 
+        public static float MaxMagnitude(float x, float y)
+        {
+            return Max(Abs(x), Abs(y));
+        }
+
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public static float Min(float x, float y)
         {
             return Math.Min(x, y);
         }
 
+        public static float MinMagnitude(float x, float y)
+        {
+            return Min(Abs(x), Abs(y));
+        }
+
         [Intrinsic]
         public static float Round(float x)
         {
@@ -214,22 +294,5 @@ namespace System
             ModF(x, &x);
             return x;
         }
-
-        private static unsafe float CopySign(float x, float y)
-        {
-            var xbits = BitConverter.SingleToInt32Bits(x);
-            var ybits = BitConverter.SingleToInt32Bits(y);
-
-            // If the sign bits of x and y are not the same,
-            // flip the sign bit of x and return the new value;
-            // otherwise, just return x
-
-            if (((xbits ^ ybits) >> 31) != 0)
-            {
-                return BitConverter.Int32BitsToSingle(xbits ^ int.MinValue);
-            }
-
-            return x;
-        }
     }
 }
index 1a75567..033b806 100644 (file)
@@ -24,20 +24,13 @@ namespace System
         // NOTE: With the current implementation, Memory<T> and ReadOnlyMemory<T> must have the same layout,
         // as code uses Unsafe.As to cast between them.
 
-        // The highest order bit of _index is used to discern whether _object is an array/string or an owned memory
-        // if (_index >> 31) == 1, object _object is an MemoryManager<T>
-        // else, object _object is a T[] or a string.
-        //     if (_length >> 31) == 1, _object is a pre-pinned array, so Pin() will not allocate a new GCHandle
-        //     else, Pin() needs to allocate a new GCHandle to pin the object.
-        // It can only be a string if the Memory<T> was created by
-        // using unsafe / marshaling code to reinterpret a ReadOnlyMemory<char> wrapped around a string as
-        // a Memory<T>.
+        // The highest order bit of _index is used to discern whether _object is a pre-pinned array.
+        // (_index < 0) => _object is a pre-pinned array, so Pin() will not allocate a new GCHandle
+        //       (else) => Pin() needs to allocate a new GCHandle to pin the object.
         private readonly object _object;
         private readonly int _index;
         private readonly int _length;
-
-        private const int RemoveFlagsBitMask = 0x7FFFFFFF;
-
+        
         /// <summary>
         /// Creates a new memory over the entirety of the target array.
         /// </summary>
@@ -104,8 +97,14 @@ namespace System
             }
             if (default(T) == null && array.GetType() != typeof(T[]))
                 ThrowHelper.ThrowArrayTypeMismatchException();
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)array.Length)
+                ThrowHelper.ThrowArgumentOutOfRangeException();
+#else
             if ((uint)start > (uint)array.Length || (uint)length > (uint)(array.Length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException();
+#endif
 
             _object = array;
             _index = start;
@@ -131,8 +130,7 @@ namespace System
                 ThrowHelper.ThrowArgumentOutOfRangeException();
 
             _object = manager;
-            _index = (1 << 31); // Mark as MemoryManager type
-            // Before using _index, check if _index < 0, then 'and' it with RemoveFlagsBitMask
+            _index = 0;
             _length = length;
         }
 
@@ -156,15 +154,18 @@ namespace System
                 ThrowHelper.ThrowArgumentOutOfRangeException();
 
             _object = manager;
-            _index = start | (1 << 31); // Mark as MemoryManager type
-            // Before using _index, check if _index < 0, then 'and' it with RemoveFlagsBitMask
+            _index = start;
             _length = length;
         }
 
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         internal Memory(object obj, int start, int length)
         {
-            // No validation performed; caller must provide any necessary validation.
+            // No validation performed in release builds; caller must provide any necessary validation.
+
+            // 'obj is T[]' below also handles things like int[] <-> uint[] being convertible
+            Debug.Assert((obj == null) || (typeof(T) == typeof(char) && obj is string) || (obj is T[]) || (obj is MemoryManager<T>));
+
             _object = obj;
             _index = start;
             _length = length;
@@ -194,12 +195,12 @@ namespace System
         /// <summary>
         /// The number of items in the memory.
         /// </summary>
-        public int Length => _length & RemoveFlagsBitMask;
+        public int Length => _length;
 
         /// <summary>
         /// Returns true if Length is 0.
         /// </summary>
-        public bool IsEmpty => (_length & RemoveFlagsBitMask) == 0;
+        public bool IsEmpty => _length == 0;
 
         /// <summary>
         /// For <see cref="Memory{Char}"/>, returns a new instance of string that represents the characters pointed to by the memory.
@@ -209,9 +210,9 @@ namespace System
         {
             if (typeof(T) == typeof(char))
             {
-                return (_object is string str) ? str.Substring(_index, _length & RemoveFlagsBitMask) : Span.ToString();
+                return (_object is string str) ? str.Substring(_index, _length) : Span.ToString();
             }
-            return string.Format("System.Memory<{0}>[{1}]", typeof(T).Name, _length & RemoveFlagsBitMask);
+            return string.Format("System.Memory<{0}>[{1}]", typeof(T).Name, _length);
         }
 
         /// <summary>
@@ -224,16 +225,13 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public Memory<T> Slice(int start)
         {
-            // Used to maintain the high-bit which indicates whether the Memory has been pre-pinned or not.
-            int capturedLength = _length;
-            int actualLength = capturedLength & RemoveFlagsBitMask;
-            if ((uint)start > (uint)actualLength)
+            if ((uint)start > (uint)_length)
             {
                 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
             }
 
-            // It is expected for (capturedLength - start) to be negative if the memory is already pre-pinned.
-            return new Memory<T>(_object, _index + start, capturedLength - start);
+            // It is expected for _index + start to be negative if the memory is already pre-pinned.
+            return new Memory<T>(_object, _index + start, _length - start);
         }
 
         /// <summary>
@@ -247,50 +245,103 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public Memory<T> Slice(int start, int length)
         {
-            // Used to maintain the high-bit which indicates whether the Memory has been pre-pinned or not.
-            int capturedLength = _length;
-            int actualLength = capturedLength & RemoveFlagsBitMask;
-            if ((uint)start > (uint)actualLength || (uint)length > (uint)(actualLength - start))
-            {
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)_length)
                 ThrowHelper.ThrowArgumentOutOfRangeException();
-            }
+#else
+            if ((uint)start > (uint)_length || (uint)length > (uint)(_length - start))
+                ThrowHelper.ThrowArgumentOutOfRangeException();
+#endif
 
-            // Set the high-bit to match the this._length high bit (1 for pre-pinned, 0 for unpinned).
-            return new Memory<T>(_object, _index + start, length | (capturedLength & ~RemoveFlagsBitMask));
+            // It is expected for _index + start to be negative if the memory is already pre-pinned.
+            return new Memory<T>(_object, _index + start, length);
         }
 
         /// <summary>
         /// Returns a span from the memory.
         /// </summary>
-        public Span<T> Span
+        public unsafe Span<T> Span
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
             get
             {
-                if (_index < 0)
-                {
-                    Debug.Assert(_length >= 0);
-                    Debug.Assert(_object != null);
-                    return ((MemoryManager<T>)_object).GetSpan().Slice(_index & RemoveFlagsBitMask, _length);
-                }
-                else if (typeof(T) == typeof(char) && _object is string s)
-                {
-                    Debug.Assert(_length >= 0);
-                    // This is dangerous, returning a writable span for a string that should be immutable.
-                    // However, we need to handle the case where a ReadOnlyMemory<char> was created from a string
-                    // and then cast to a Memory<T>. Such a cast can only be done with unsafe or marshaling code,
-                    // in which case that's the dangerous operation performed by the dev, and we're just following
-                    // suit here to make it work as best as possible.
-                    return new Span<T>(ref Unsafe.As<char, T>(ref s.GetRawStringData()), s.Length).Slice(_index, _length);
-                }
-                else if (_object != null)
-                {
-                    return new Span<T>((T[])_object, _index, _length & RemoveFlagsBitMask);
-                }
-                else
+                // This property getter has special support for returning a mutable Span<char> that wraps
+                // an immutable String instance. This is obviously a dangerous feature and breaks type safety.
+                // However, we need to handle the case where a ReadOnlyMemory<char> was created from a string
+                // and then cast to a Memory<T>. Such a cast can only be done with unsafe or marshaling code,
+                // in which case that's the dangerous operation performed by the dev, and we're just following
+                // suit here to make it work as best as possible.
+
+                ref T refToReturn = ref Unsafe.AsRef<T>(null);
+                int lengthOfUnderlyingSpan = 0;
+
+                // Copy this field into a local so that it can't change out from under us mid-operation.
+
+                object tmpObject = _object;
+                if (tmpObject != null)
                 {
-                    return default;
+                    if (typeof(T) == typeof(char) && tmpObject.GetType() == typeof(string))
+                    {
+                        // Special-case string since it's the most common for ROM<char>.
+
+                        refToReturn = ref Unsafe.As<char, T>(ref Unsafe.As<string>(tmpObject).GetRawStringData());
+                        lengthOfUnderlyingSpan = Unsafe.As<string>(tmpObject).Length;
+                    }
+                    else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject))
+                    {
+                        // We know the object is not null, it's not a string, and it is variable-length. The only
+                        // remaining option is for it to be a T[] (or a U[] which is blittable to T[], like int[]
+                        // and uint[]). Otherwise somebody used private reflection to set this field, and we're not
+                        // too worried about type safety violations at this point.
+
+                        // 'tmpObject is T[]' below also handles things like int[] <-> uint[] being convertible
+                        Debug.Assert(tmpObject is T[]);
+
+                        refToReturn = ref Unsafe.As<byte, T>(ref Unsafe.As<T[]>(tmpObject).GetRawSzArrayData());
+                        lengthOfUnderlyingSpan = Unsafe.As<T[]>(tmpObject).Length;
+                    }
+                    else
+                    {
+                        // We know the object is not null, and it's not variable-length, so it must be a MemoryManager<T>.
+                        // Otherwise somebody used private reflection to set this field, and we're not too worried about
+                        // type safety violations at that point. Note that it can't be a MemoryManager<U>, even if U and
+                        // T are blittable (e.g., MemoryManager<int> to MemoryManager<uint>), since there exists no
+                        // constructor or other public API which would allow such a conversion.
+
+                        Debug.Assert(tmpObject is MemoryManager<T>);
+                        Span<T> memoryManagerSpan = Unsafe.As<MemoryManager<T>>(tmpObject).GetSpan();
+                        refToReturn = ref MemoryMarshal.GetReference(memoryManagerSpan);
+                        lengthOfUnderlyingSpan = memoryManagerSpan.Length;
+                    }
+
+                    // If the Memory<T> or ReadOnlyMemory<T> instance is torn, this property getter has undefined behavior.
+                    // We try to detect this condition and throw an exception, but it's possible that a torn struct might
+                    // appear to us to be valid, and we'll return an undesired span. Such a span is always guaranteed at
+                    // least to be in-bounds when compared with the original Memory<T> instance, so using the span won't
+                    // AV the process.
+
+                    int desiredStartIndex = _index & ReadOnlyMemory<T>.RemoveFlagsBitMask;
+                    int desiredLength = _length;
+
+#if BIT64
+                    // See comment in Span<T>.Slice for how this works.
+                    if ((ulong)(uint)desiredStartIndex + (ulong)(uint)desiredLength > (ulong)(uint)lengthOfUnderlyingSpan)
+                    {
+                        ThrowHelper.ThrowArgumentOutOfRangeException();
+                    }
+#else
+                    if ((uint)desiredStartIndex > (uint)lengthOfUnderlyingSpan || (uint)desiredLength > (uint)(lengthOfUnderlyingSpan - desiredStartIndex))
+                    {
+                        ThrowHelper.ThrowArgumentOutOfRangeException();
+                    }
+#endif
+                    
+                    refToReturn = ref Unsafe.Add(ref refToReturn, desiredStartIndex);
+                    lengthOfUnderlyingSpan = desiredLength;
                 }
+
+                return new Span<T>(ref refToReturn, lengthOfUnderlyingSpan);
             }
         }
 
@@ -327,37 +378,51 @@ namespace System
         /// </summary>
         public unsafe MemoryHandle Pin()
         {
-            if (_index < 0)
-            {
-                Debug.Assert(_object != null);
-                return ((MemoryManager<T>)_object).Pin((_index & RemoveFlagsBitMask));
-            }
-            else if (typeof(T) == typeof(char) && _object is string s)
+            // Just like the Span property getter, we have special support for a mutable Memory<char>
+            // that wraps an immutable String instance. This might happen if a caller creates an
+            // immutable ROM<char> wrapping a String, then uses Unsafe.As to create a mutable M<char>.
+            // This needs to work, however, so that code that uses a single Memory<char> field to store either
+            // a readable ReadOnlyMemory<char> or a writable Memory<char> can still be pinned and
+            // used for interop purposes.
+
+            // It's possible that the below logic could result in an AV if the struct
+            // is torn. This is ok since the caller is expecting to use raw pointers,
+            // and we're not required to keep this as safe as the other Span-based APIs.
+
+            object tmpObject = _object;
+            if (tmpObject != null)
             {
-                // This case can only happen if a ReadOnlyMemory<char> was created around a string
-                // and then that was cast to a Memory<char> using unsafe / marshaling code.  This needs
-                // to work, however, so that code that uses a single Memory<char> field to store either
-                // a readable ReadOnlyMemory<char> or a writable Memory<char> can still be pinned and
-                // used for interop purposes.
-                GCHandle handle = GCHandle.Alloc(s, GCHandleType.Pinned);
-                void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref s.GetRawStringData()), _index);
-                return new MemoryHandle(pointer, handle);
-            }
-            else if (_object is T[] array)
-            {
-                // Array is already pre-pinned
-                if (_length < 0)
+                if (typeof(T) == typeof(char) && tmpObject is string s)
+                {
+                    GCHandle handle = GCHandle.Alloc(tmpObject, GCHandleType.Pinned);
+                    ref char stringData = ref Unsafe.Add(ref s.GetRawStringData(), _index);
+                    return new MemoryHandle(Unsafe.AsPointer(ref stringData), handle);
+                }
+                else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject))
                 {
-                    void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref array.GetRawSzArrayData()), _index);
-                    return new MemoryHandle(pointer);
+                    // 'tmpObject is T[]' below also handles things like int[] <-> uint[] being convertible
+                    Debug.Assert(tmpObject is T[]);
+
+                    // Array is already pre-pinned
+                    if (_index < 0)
+                    {
+                        void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref Unsafe.As<T[]>(tmpObject).GetRawSzArrayData()), _index & ReadOnlyMemory<T>.RemoveFlagsBitMask);
+                        return new MemoryHandle(pointer);
+                    }
+                    else
+                    {
+                        GCHandle handle = GCHandle.Alloc(tmpObject, GCHandleType.Pinned);
+                        void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref Unsafe.As<T[]>(tmpObject).GetRawSzArrayData()), _index);
+                        return new MemoryHandle(pointer, handle);
+                    }
                 }
                 else
                 {
-                    GCHandle handle = GCHandle.Alloc(array, GCHandleType.Pinned);
-                    void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref array.GetRawSzArrayData()), _index);
-                    return new MemoryHandle(pointer, handle);
+                    Debug.Assert(tmpObject is MemoryManager<T>);
+                    return Unsafe.As<MemoryManager<T>>(tmpObject).Pin(_index);
                 }
             }
+
             return default;
         }
 
@@ -407,18 +472,9 @@ namespace System
         [EditorBrowsable(EditorBrowsableState.Never)]
         public override int GetHashCode()
         {
-            return _object != null ? CombineHashCodes(_object.GetHashCode(), _index.GetHashCode(), _length.GetHashCode()) : 0;
-        }
-
-        private static int CombineHashCodes(int left, int right)
-        {
-            return ((left << 5) + left) ^ right;
+            // We use RuntimeHelpers.GetHashCode instead of Object.GetHashCode because the hash
+            // code is based on object identity and referential equality, not deep equality (as common with string).
+            return (_object != null) ? HashCode.Combine(RuntimeHelpers.GetHashCode(_object), _index, _length) : 0;
         }
-
-        private static int CombineHashCodes(int h1, int h2, int h3)
-        {
-            return CombineHashCodes(CombineHashCodes(h1, h2), h3);
-        }
-
     }
 }
index 31051c8..99fb83e 100644 (file)
@@ -450,8 +450,14 @@ namespace System
                 return default;
             }
 
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)text.Length)
+                ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
+#else
             if ((uint)start > (uint)text.Length || (uint)length > (uint)(text.Length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
+#endif
 
             return new ReadOnlySpan<char>(ref Unsafe.Add(ref text.GetRawStringData(), start), length);
         }
@@ -506,8 +512,14 @@ namespace System
                 return default;
             }
 
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)text.Length)
+                ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
+#else
             if ((uint)start > (uint)text.Length || (uint)length > (uint)(text.Length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
+#endif
 
             return new ReadOnlyMemory<char>(text, start, length);
         }
index 02445ec..8fd659a 100644 (file)
@@ -24,11 +24,9 @@ namespace System
         // NOTE: With the current implementation, Memory<T> and ReadOnlyMemory<T> must have the same layout,
         // as code uses Unsafe.As to cast between them.
 
-        // The highest order bit of _index is used to discern whether _object is an array/string or an owned memory
-        // if (_index >> 31) == 1, _object is an MemoryManager<T>
-        // else, _object is a T[] or string.
-        //     if (_length >> 31) == 1, _object is a pre-pinned array, so Pin() will not allocate a new GCHandle
-        //     else, Pin() needs to allocate a new GCHandle to pin the object.
+        // The highest order bit of _index is used to discern whether _object is a pre-pinned array.
+        // (_index < 0) => _object is a pre-pinned array, so Pin() will not allocate a new GCHandle
+        //       (else) => Pin() needs to allocate a new GCHandle to pin the object.
         private readonly object _object;
         private readonly int _index;
         private readonly int _length;
@@ -77,8 +75,14 @@ namespace System
                 this = default;
                 return; // returns default
             }
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)array.Length)
+                ThrowHelper.ThrowArgumentOutOfRangeException();
+#else
             if ((uint)start > (uint)array.Length || (uint)length > (uint)(array.Length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException();
+#endif
 
             _object = array;
             _index = start;
@@ -92,7 +96,11 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         internal ReadOnlyMemory(object obj, int start, int length)
         {
-            // No validation performed; caller must provide any necessary validation.
+            // No validation performed in release builds; caller must provide any necessary validation.
+
+            // 'obj is T[]' below also handles things like int[] <-> uint[] being convertible
+            Debug.Assert((obj == null) || (typeof(T) == typeof(char) && obj is string) || (obj is T[]) || (obj is MemoryManager<T>));
+
             _object = obj;
             _index = start;
             _length = length;
@@ -116,12 +124,12 @@ namespace System
         /// <summary>
         /// The number of items in the memory.
         /// </summary>
-        public int Length => _length & RemoveFlagsBitMask;
+        public int Length => _length;
 
         /// <summary>
         /// Returns true if Length is 0.
         /// </summary>
-        public bool IsEmpty => (_length & RemoveFlagsBitMask) == 0;
+        public bool IsEmpty => _length == 0;
 
         /// <summary>
         /// For <see cref="ReadOnlyMemory{Char}"/>, returns a new instance of string that represents the characters pointed to by the memory.
@@ -131,9 +139,9 @@ namespace System
         {
             if (typeof(T) == typeof(char))
             {
-                return (_object is string str) ? str.Substring(_index, _length & RemoveFlagsBitMask) : Span.ToString();
+                return (_object is string str) ? str.Substring(_index, _length) : Span.ToString();
             }
-            return string.Format("System.ReadOnlyMemory<{0}>[{1}]", typeof(T).Name, _length & RemoveFlagsBitMask);
+            return string.Format("System.ReadOnlyMemory<{0}>[{1}]", typeof(T).Name, _length);
         }
 
         /// <summary>
@@ -146,16 +154,13 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public ReadOnlyMemory<T> Slice(int start)
         {
-            // Used to maintain the high-bit which indicates whether the Memory has been pre-pinned or not.
-            int capturedLength = _length;
-            int actualLength = capturedLength & RemoveFlagsBitMask;
-            if ((uint)start > (uint)actualLength)
+            if ((uint)start > (uint)_length)
             {
                 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
             }
 
-            // It is expected for (capturedLength - start) to be negative if the memory is already pre-pinned.
-            return new ReadOnlyMemory<T>(_object, _index + start, capturedLength - start);
+            // It is expected for _index + start to be negative if the memory is already pre-pinned.
+            return new ReadOnlyMemory<T>(_object, _index + start, _length - start);
         }
 
         /// <summary>
@@ -169,45 +174,96 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public ReadOnlyMemory<T> Slice(int start, int length)
         {
-            // Used to maintain the high-bit which indicates whether the Memory has been pre-pinned or not.
-            int capturedLength = _length;
-            int actualLength = _length & RemoveFlagsBitMask;
-            if ((uint)start > (uint)actualLength || (uint)length > (uint)(actualLength - start))
-            {
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)_length)
                 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
-            }
+#else
+            if ((uint)start > (uint)_length || (uint)length > (uint)(_length - start))
+                ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.start);
+#endif
 
-            // Set the high-bit to match the this._length high bit (1 for pre-pinned, 0 for unpinned).
-            return new ReadOnlyMemory<T>(_object, _index + start, length | (capturedLength & ~RemoveFlagsBitMask));
+            // It is expected for _index + start to be negative if the memory is already pre-pinned.
+            return new ReadOnlyMemory<T>(_object, _index + start, length);
         }
 
         /// <summary>
         /// Returns a span from the memory.
         /// </summary>
-        public ReadOnlySpan<T> Span
+        public unsafe ReadOnlySpan<T> Span
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
             get
             {
-                if (_index < 0)
-                {
-                    Debug.Assert(_length >= 0);
-                    Debug.Assert(_object != null);
-                    return ((MemoryManager<T>)_object).GetSpan().Slice(_index & RemoveFlagsBitMask, _length);
-                }
-                else if (typeof(T) == typeof(char) && _object is string s)
-                {
-                    Debug.Assert(_length >= 0);
-                    return new ReadOnlySpan<T>(ref Unsafe.As<char, T>(ref s.GetRawStringData()), s.Length).Slice(_index, _length);
-                }
-                else if (_object != null)
-                {
-                    return new ReadOnlySpan<T>((T[])_object, _index, _length & RemoveFlagsBitMask);
-                }
-                else
+                ref T refToReturn = ref Unsafe.AsRef<T>(null);
+                int lengthOfUnderlyingSpan = 0;
+
+                // Copy this field into a local so that it can't change out from under us mid-operation.
+
+                object tmpObject = _object;
+                if (tmpObject != null)
                 {
-                    return default;
+                    if (typeof(T) == typeof(char) && tmpObject.GetType() == typeof(string))
+                    {
+                        // Special-case string since it's the most common for ROM<char>.
+
+                        refToReturn = ref Unsafe.As<char, T>(ref Unsafe.As<string>(tmpObject).GetRawStringData());
+                        lengthOfUnderlyingSpan = Unsafe.As<string>(tmpObject).Length;
+                    }
+                    else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject))
+                    {
+                        // We know the object is not null, it's not a string, and it is variable-length. The only
+                        // remaining option is for it to be a T[] (or a U[] which is blittable to T[], like int[]
+                        // and uint[]). Otherwise somebody used private reflection to set this field, and we're not
+                        // too worried about type safety violations at this point.
+
+                        // 'tmpObject is T[]' below also handles things like int[] <-> uint[] being convertible
+                        Debug.Assert(tmpObject is T[]);
+
+                        refToReturn = ref Unsafe.As<byte, T>(ref Unsafe.As<T[]>(tmpObject).GetRawSzArrayData());
+                        lengthOfUnderlyingSpan = Unsafe.As<T[]>(tmpObject).Length;
+                    }
+                    else
+                    {
+                        // We know the object is not null, and it's not variable-length, so it must be a MemoryManager<T>.
+                        // Otherwise somebody used private reflection to set this field, and we're not too worried about
+                        // type safety violations at that point. Note that it can't be a MemoryManager<U>, even if U and
+                        // T are blittable (e.g., MemoryManager<int> to MemoryManager<uint>), since there exists no
+                        // constructor or other public API which would allow such a conversion.
+
+                        Debug.Assert(tmpObject is MemoryManager<T>);
+                        Span<T> memoryManagerSpan = Unsafe.As<MemoryManager<T>>(tmpObject).GetSpan();
+                        refToReturn = ref MemoryMarshal.GetReference(memoryManagerSpan);
+                        lengthOfUnderlyingSpan = memoryManagerSpan.Length;
+                    }
+
+                    // If the Memory<T> or ReadOnlyMemory<T> instance is torn, this property getter has undefined behavior.
+                    // We try to detect this condition and throw an exception, but it's possible that a torn struct might
+                    // appear to us to be valid, and we'll return an undesired span. Such a span is always guaranteed at
+                    // least to be in-bounds when compared with the original Memory<T> instance, so using the span won't
+                    // AV the process.
+
+                    int desiredStartIndex = _index & RemoveFlagsBitMask;
+                    int desiredLength = _length;
+
+#if BIT64
+                    // See comment in Span<T>.Slice for how this works.
+                    if ((ulong)(uint)desiredStartIndex + (ulong)(uint)desiredLength > (ulong)(uint)lengthOfUnderlyingSpan)
+                    {
+                        ThrowHelper.ThrowArgumentOutOfRangeException();
+                    }
+#else
+                    if ((uint)desiredStartIndex > (uint)lengthOfUnderlyingSpan || (uint)desiredLength > (uint)(lengthOfUnderlyingSpan - desiredStartIndex))
+                    {
+                        ThrowHelper.ThrowArgumentOutOfRangeException();
+                    }
+#endif
+
+                    refToReturn = ref Unsafe.Add(ref refToReturn, desiredStartIndex);
+                    lengthOfUnderlyingSpan = desiredLength;
                 }
+
+                return new ReadOnlySpan<T>(ref refToReturn, lengthOfUnderlyingSpan);
             }
         }
 
@@ -244,32 +300,44 @@ namespace System
         /// </summary>
         public unsafe MemoryHandle Pin()
         {
-            if (_index < 0)
-            {
-                Debug.Assert(_object != null);
-                return ((MemoryManager<T>)_object).Pin((_index & RemoveFlagsBitMask));
-            }
-            else if (typeof(T) == typeof(char) && _object is string s)
-            {
-                GCHandle handle = GCHandle.Alloc(s, GCHandleType.Pinned);
-                void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref s.GetRawStringData()), _index);
-                return new MemoryHandle(pointer, handle);
-            }
-            else if (_object is T[] array)
+            // It's possible that the below logic could result in an AV if the struct
+            // is torn. This is ok since the caller is expecting to use raw pointers,
+            // and we're not required to keep this as safe as the other Span-based APIs.
+
+            object tmpObject = _object;
+            if (tmpObject != null)
             {
-                // Array is already pre-pinned
-                if (_length < 0)
+                if (typeof(T) == typeof(char) && tmpObject is string s)
+                {
+                    GCHandle handle = GCHandle.Alloc(tmpObject, GCHandleType.Pinned);
+                    ref char stringData = ref Unsafe.Add(ref s.GetRawStringData(), _index);
+                    return new MemoryHandle(Unsafe.AsPointer(ref stringData), handle);
+                }
+                else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject))
                 {
-                    void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref array.GetRawSzArrayData()), _index);
-                    return new MemoryHandle(pointer);
+                    // 'tmpObject is T[]' below also handles things like int[] <-> uint[] being convertible
+                    Debug.Assert(tmpObject is T[]);
+
+                    // Array is already pre-pinned
+                    if (_index < 0)
+                    {
+                        void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref Unsafe.As<T[]>(tmpObject).GetRawSzArrayData()), _index & RemoveFlagsBitMask);
+                        return new MemoryHandle(pointer);
+                    }
+                    else
+                    {
+                        GCHandle handle = GCHandle.Alloc(tmpObject, GCHandleType.Pinned);
+                        void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref Unsafe.As<T[]>(tmpObject).GetRawSzArrayData()), _index);
+                        return new MemoryHandle(pointer, handle);
+                    }
                 }
                 else
                 {
-                    GCHandle handle = GCHandle.Alloc(array, GCHandleType.Pinned);
-                    void* pointer = Unsafe.Add<T>(Unsafe.AsPointer(ref array.GetRawSzArrayData()), _index);
-                    return new MemoryHandle(pointer, handle);
+                    Debug.Assert(tmpObject is MemoryManager<T>);
+                    return Unsafe.As<MemoryManager<T>>(tmpObject).Pin(_index);
                 }
             }
+
             return default;
         }
 
@@ -314,19 +382,11 @@ namespace System
         [EditorBrowsable(EditorBrowsableState.Never)]
         public override int GetHashCode()
         {
-            return _object != null ? CombineHashCodes(_object.GetHashCode(), _index.GetHashCode(), _length.GetHashCode()) : 0;
-        }
-
-        private static int CombineHashCodes(int left, int right)
-        {
-            return ((left << 5) + left) ^ right;
+            // We use RuntimeHelpers.GetHashCode instead of Object.GetHashCode because the hash
+            // code is based on object identity and referential equality, not deep equality (as common with string).
+            return (_object != null) ? HashCode.Combine(RuntimeHelpers.GetHashCode(_object), _index, _length) : 0;
         }
-
-        private static int CombineHashCodes(int h1, int h2, int h3)
-        {
-            return CombineHashCodes(CombineHashCodes(h1, h2), h3);
-        }
-
+        
         /// <summary>Gets the state of the memory as individual fields.</summary>
         /// <param name="start">The offset.</param>
         /// <param name="length">The count.</param>
index 8ba8fd6..3077e2f 100644 (file)
@@ -75,8 +75,14 @@ namespace System
                 this = default;
                 return; // returns default
             }
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)array.Length)
+                ThrowHelper.ThrowArgumentOutOfRangeException();
+#else
             if ((uint)start > (uint)array.Length || (uint)length > (uint)(array.Length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException();
+#endif
 
             _pointer = new ByReference<T>(ref Unsafe.Add(ref Unsafe.As<byte, T>(ref array.GetRawSzArrayData()), start));
             _length = length;
@@ -259,8 +265,14 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public ReadOnlySpan<T> Slice(int start, int length)
         {
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)_length)
+                ThrowHelper.ThrowArgumentOutOfRangeException();
+#else
             if ((uint)start > (uint)_length || (uint)length > (uint)(_length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException();
+#endif
 
             return new ReadOnlySpan<T>(ref Unsafe.Add(ref _pointer.Value, start), length);
         }
index fcc9c4f..d2d94fd 100644 (file)
@@ -24,27 +24,50 @@ namespace System.Runtime.InteropServices
         public static bool TryGetArray<T>(ReadOnlyMemory<T> memory, out ArraySegment<T> segment)
         {
             object obj = memory.GetObjectStartLength(out int index, out int length);
-            if (index < 0)
+
+            // As an optimization, we skip the "is string?" check below if typeof(T) is not char,
+            // as Memory<T> / ROM<T> can't possibly contain a string instance in this case.
+
+            if (obj != null && (typeof(T) != typeof(char) || obj.GetType() != typeof(string)))
             {
-                Debug.Assert(length >= 0);
-                if (((MemoryManager<T>)obj).TryGetArray(out ArraySegment<T> arraySegment))
+                if (RuntimeHelpers.ObjectHasComponentSize(obj))
                 {
-                    segment = new ArraySegment<T>(arraySegment.Array, arraySegment.Offset + (index & ReadOnlyMemory<T>.RemoveFlagsBitMask), length);
+                    // The object has a component size, which means it's variable-length, but we already
+                    // checked above that it's not a String. The only remaining option is that it's a T[]
+                    // or a U[] which is blittable to a T[] (e.g., int[] and uint[]).
+
+                    // The array may be prepinned, so remove the high bit from the start index in the line below.
+                    // The ArraySegment<T> ctor will perform bounds checking on index & length.
+
+                    segment = new ArraySegment<T>(Unsafe.As<T[]>(obj), index & ReadOnlyMemory<T>.RemoveFlagsBitMask, length);
                     return true;
                 }
+                else
+                {
+                    // The object isn't null, and it's not variable-length, so the only remaining option
+                    // is MemoryManager<T>. The ArraySegment<T> ctor will perform bounds checking on index & length.
+
+                    Debug.Assert(obj is MemoryManager<T>);
+                    if (Unsafe.As<MemoryManager<T>>(obj).TryGetArray(out ArraySegment<T> tempArraySegment))
+                    {
+                        segment = new ArraySegment<T>(tempArraySegment.Array, tempArraySegment.Offset + index, length);
+                        return true;
+                    }
+                }
             }
-            else if (obj is T[] arr)
-            {
-                segment = new ArraySegment<T>(arr, index, length & ReadOnlyMemory<T>.RemoveFlagsBitMask);
-                return true;
-            }
 
-            if ((length & ReadOnlyMemory<T>.RemoveFlagsBitMask) == 0)
+            // If we got to this point, the object is null, or it's a string, or it's a MemoryManager<T>
+            // which isn't backed by an array. We'll quickly homogenize all zero-length Memory<T> instances
+            // to an empty array for the purposes of reporting back to our caller.
+
+            if (length == 0)
             {
                 segment = ArraySegment<T>.Empty;
                 return true;
             }
 
+            // Otherwise, there's *some* data, but it's not convertible to T[].
+
             segment = default;
             return false;
         }
@@ -82,7 +105,6 @@ namespace System.Runtime.InteropServices
         {
             TManager localManager; // Use register for null comparison rather than byref
             manager = localManager = memory.GetObjectStartLength(out start, out length) as TManager;
-            start &= ReadOnlyMemory<T>.RemoveFlagsBitMask;
 
             Debug.Assert(length >= 0);
 
@@ -284,8 +306,8 @@ namespace System.Runtime.InteropServices
             if ((uint)start > (uint)array.Length || (uint)length > (uint)(array.Length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException();
 
-            // Before using _length, check if _length < 0, then 'and' it with RemoveFlagsBitMask
-            return new Memory<T>((object)array, start, length | (1 << 31));
+            // Before using _index, check if _index < 0, then 'and' it with RemoveFlagsBitMask
+            return new Memory<T>((object)array, start | (1 << 31), length);
         }
     }
 }
index 3073592..626c06e 100644 (file)
@@ -81,8 +81,14 @@ namespace System
             }
             if (default(T) == null && array.GetType() != typeof(T[]))
                 ThrowHelper.ThrowArrayTypeMismatchException();
+#if BIT64
+            // See comment in Span<T>.Slice for how this works.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)array.Length)
+                ThrowHelper.ThrowArgumentOutOfRangeException();
+#else
             if ((uint)start > (uint)array.Length || (uint)length > (uint)(array.Length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException();
+#endif
 
             _pointer = new ByReference<T>(ref Unsafe.Add(ref Unsafe.As<byte, T>(ref array.GetRawSzArrayData()), start));
             _length = length;
@@ -338,8 +344,19 @@ namespace System
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         public Span<T> Slice(int start, int length)
         {
+#if BIT64
+            // Since start and length are both 32-bit, their sum can be computed across a 64-bit domain
+            // without loss of fidelity. The cast to uint before the cast to ulong ensures that the
+            // extension from 32- to 64-bit is zero-extending rather than sign-extending. The end result
+            // of this is that if either input is negative or if the input sum overflows past Int32.MaxValue,
+            // that information is captured correctly in the comparison against the backing _length field.
+            // We don't use this same mechanism in a 32-bit process due to the overhead of 64-bit arithmetic.
+            if ((ulong)(uint)start + (ulong)(uint)length > (ulong)(uint)_length)
+                ThrowHelper.ThrowArgumentOutOfRangeException();
+#else
             if ((uint)start > (uint)_length || (uint)length > (uint)(_length - start))
                 ThrowHelper.ThrowArgumentOutOfRangeException();
+#endif
 
             return new Span<T>(ref Unsafe.Add(ref _pointer.Value, start), length);
         }
index cec4b89..e4378c5 100644 (file)
@@ -293,7 +293,7 @@ namespace System
                 {
                     return false;
                 }
-                return string.Equals(x, y, StringComparison.OrdinalIgnoreCase);
+                return CompareInfo.EqualsOrdinalIgnoreCase(ref x.GetRawStringData(), ref y.GetRawStringData(), x.Length);
             }
             return x.Equals(y);
         }
@@ -367,7 +367,25 @@ namespace System
 
         public override int Compare(string x, string y) => string.Compare(x, y, StringComparison.OrdinalIgnoreCase);
 
-        public override bool Equals(string x, string y) => string.Equals(x, y, StringComparison.OrdinalIgnoreCase);
+        public override bool Equals(string x, string y)
+        {
+            if (ReferenceEquals(x, y))
+            {
+                return true;
+            }
+
+            if (x is null || y is null)
+            {
+                return false;
+            }
+
+            if (x.Length != y.Length)
+            {
+                return false;
+            }
+
+            return CompareInfo.EqualsOrdinalIgnoreCase(ref x.GetRawStringData(), ref y.GetRawStringData(), x.Length);
+        }
 
         public override int GetHashCode(string obj)
         {
index 2e1b067..54218ca 100644 (file)
@@ -1211,6 +1211,8 @@ namespace System.Text
             return this;
         }
 
+        public StringBuilder Append(ReadOnlyMemory<char> value) => Append(value.Span);
+
         #region AppendJoin
 
         public unsafe StringBuilder AppendJoin(string separator, params object[] values)
@@ -2088,7 +2090,10 @@ namespace System.Text
                 fixed (char* valuePtr = value)
                 {
                     // calculate the total amount of extra space or space needed for all the replacements.
-                    int delta = (value.Length - removeCount) * replacementsCount;
+                    long longDelta = (value.Length - removeCount) * (long)replacementsCount;
+                    int delta = (int)longDelta;
+                    if (delta != longDelta)
+                        throw new OutOfMemoryException();
 
                     StringBuilder targetChunk = sourceChunk;        // the target as we copy chars down
                     int targetIndexInChunk = replacements[0];
@@ -2337,19 +2342,20 @@ namespace System.Text
             //     really big chunks even if the string gets really big.
             int newBlockLength = Math.Max(minBlockCharCount, Math.Min(Length, MaxChunkSize));
 
+            // Check for integer overflow (logical buffer size > int.MaxValue)
+            if (m_ChunkOffset + m_ChunkLength + newBlockLength < newBlockLength)
+                throw new OutOfMemoryException();
+
+            // Allocate the array before updating any state to avoid leaving inconsistent state behind in case of out of memory exception
+            char[] chunkChars = new char[newBlockLength];
+
             // Move all of the data from this chunk to a new one, via a few O(1) pointer adjustments.
             // Then, have this chunk point to the new one as its predecessor.
             m_ChunkPrevious = new StringBuilder(this);
             m_ChunkOffset += m_ChunkLength;
             m_ChunkLength = 0;
 
-            // Check for integer overflow (logical buffer size > int.MaxValue)
-            if (m_ChunkOffset + newBlockLength < newBlockLength)
-            {
-                m_ChunkChars = null;
-                throw new OutOfMemoryException();
-            }
-            m_ChunkChars = new char[newBlockLength];
+            m_ChunkChars = chunkChars;
 
             AssertInvariants();
         }
index 39bc3f5..d579cc9 100644 (file)
@@ -39,9 +39,6 @@ namespace System.Text
         internal static readonly UTF32Encoding s_default = new UTF32Encoding(bigEndian: false, byteOrderMark: true);
         internal static readonly UTF32Encoding s_bigEndianDefault = new UTF32Encoding(bigEndian: true, byteOrderMark: true);
 
-        private static readonly byte[] s_bigEndianPreamble = new byte[4] { 0x00, 0x00, 0xFE, 0xFF };
-        private static readonly byte[] s_littleEndianPreamble = new byte[4] { 0xFF, 0xFE, 0x00, 0x00 };
-
         private readonly bool _emitUTF32ByteOrderMark = false;
         private readonly bool _isThrowException = false;
         private readonly bool _bigEndian = false;
@@ -1155,9 +1152,10 @@ namespace System.Text
         }
 
         public override ReadOnlySpan<byte> Preamble =>
-            GetType() != typeof(UTF32Encoding) ? GetPreamble() : // in case a derived UTF32Encoding overrode GetPreamble
-            _emitUTF32ByteOrderMark ? (_bigEndian ? s_bigEndianPreamble : s_littleEndianPreamble) :
-            Array.Empty<byte>();
+            GetType() != typeof(UTF32Encoding) ? new ReadOnlySpan<byte>(GetPreamble()) : // in case a derived UTF32Encoding overrode GetPreamble
+            !_emitUTF32ByteOrderMark ? default :
+            _bigEndian ? (ReadOnlySpan<byte>)new byte[4] { 0x00, 0x00, 0xFE, 0xFF } : // uses C# compiler's optimization for static byte[] data
+            (ReadOnlySpan<byte>)new byte[4] { 0xFF, 0xFE, 0x00, 0x00 };      
 
         public override bool Equals(object value)
         {
index 672d235..426835e 100644 (file)
@@ -55,14 +55,14 @@ namespace System.Text
         {
             public UTF8EncodingSealed(bool encoderShouldEmitUTF8Identifier) : base(encoderShouldEmitUTF8Identifier) { }
 
-            public override ReadOnlySpan<byte> Preamble => _emitUTF8Identifier ? s_preamble : Array.Empty<byte>();
+            public override ReadOnlySpan<byte> Preamble => _emitUTF8Identifier ? PreambleSpan : default;
         }
 
         // Used by Encoding.UTF8 for lazy initialization
         // The initialization code will not be run until a static member of the class is referenced
         internal static readonly UTF8EncodingSealed s_default = new UTF8EncodingSealed(encoderShouldEmitUTF8Identifier: true);
 
-        internal static readonly byte[] s_preamble = new byte[3] { 0xEF, 0xBB, 0xBF };
+        internal static ReadOnlySpan<byte> PreambleSpan => new byte[3] { 0xEF, 0xBB, 0xBF }; // uses C# compiler's optimization for static byte[] data
 
         // Yes, the idea of emitting U+FEFF as a UTF-8 identifier has made it into
         // the standard.
@@ -2549,9 +2549,9 @@ namespace System.Text
         }
 
         public override ReadOnlySpan<byte> Preamble =>
-            GetType() != typeof(UTF8Encoding) ? GetPreamble() : // in case a derived UTF8Encoding overrode GetPreamble
-            _emitUTF8Identifier ? s_preamble :
-            Array.Empty<byte>();
+            GetType() != typeof(UTF8Encoding) ? new ReadOnlySpan<byte>(GetPreamble()) : // in case a derived UTF8Encoding overrode GetPreamble
+            _emitUTF8Identifier ? PreambleSpan :
+            default;
 
         public override bool Equals(object value)
         {
index 0e4ff65..d80c229 100644 (file)
@@ -26,9 +26,6 @@ namespace System.Text
         internal static readonly UnicodeEncoding s_bigEndianDefault = new UnicodeEncoding(bigEndian: true, byteOrderMark: true);
         internal static readonly UnicodeEncoding s_littleEndianDefault = new UnicodeEncoding(bigEndian: false, byteOrderMark: true);
 
-        private static readonly byte[] s_bigEndianPreamble = new byte[2] { 0xfe, 0xff };
-        private static readonly byte[] s_littleEndianPreamble = new byte[2] { 0xff, 0xfe };
-
         private readonly bool isThrowException = false;
 
         private readonly bool bigEndian = false;
@@ -1793,9 +1790,10 @@ namespace System.Text
         }
 
         public override ReadOnlySpan<byte> Preamble =>
-            GetType() != typeof(UnicodeEncoding) ? GetPreamble() : // in case a derived UnicodeEncoding overrode GetPreamble
-            byteOrderMark ? (bigEndian ? s_bigEndianPreamble : s_littleEndianPreamble) :
-            Array.Empty<byte>();
+            GetType() != typeof(UnicodeEncoding) ? new ReadOnlySpan<byte>(GetPreamble()) : // in case a derived UnicodeEncoding overrode GetPreamble
+            !byteOrderMark ? default :
+            bigEndian ? (ReadOnlySpan<byte>)new byte[2] { 0xfe, 0xff } : // uses C# compiler's optimization for static byte[] data
+            (ReadOnlySpan<byte>)new byte[2] { 0xff, 0xfe };
 
         public override int GetMaxByteCount(int charCount)
         {
index 821528d..bed3905 100644 (file)
@@ -15,7 +15,16 @@ namespace System.Text
         [MethodImpl(MethodImplOptions.AggressiveInlining)]
         internal static bool AllCharsInUInt32AreAscii(uint value)
         {
-            return (value & ~0x007F007Fu) == 0;
+            return (value & ~0x007F_007Fu) == 0;
+        }
+
+        /// <summary>
+        /// Returns true iff the UInt64 represents four ASCII UTF-16 characters in machine endianness.
+        /// </summary>
+        [MethodImpl(MethodImplOptions.AggressiveInlining)]
+        internal static bool AllCharsInUInt64AreAscii(ulong value)
+        {
+            return (value & ~0x007F_007F_007F_007Ful) == 0;
         }
 
         /// <summary>
@@ -33,16 +42,16 @@ namespace System.Text
             Debug.Assert(AllCharsInUInt32AreAscii(value));
 
             // the 0x80 bit of each word of 'lowerIndicator' will be set iff the word has value >= 'A'
-            uint lowerIndicator = value + 0x00800080u - 0x00410041u;
+            uint lowerIndicator = value + 0x0080_0080u - 0x0041_0041u;
 
             // the 0x80 bit of each word of 'upperIndicator' will be set iff the word has value > 'Z'
-            uint upperIndicator = value + 0x00800080u - 0x005B005Bu;
+            uint upperIndicator = value + 0x0080_0080u - 0x005B_005Bu;
 
             // the 0x80 bit of each word of 'combinedIndicator' will be set iff the word has value >= 'A' and <= 'Z'
             uint combinedIndicator = (lowerIndicator ^ upperIndicator);
 
             // the 0x20 bit of each word of 'mask' will be set iff the word has value >= 'A' and <= 'Z'
-            uint mask = (combinedIndicator & 0x00800080u) >> 2;
+            uint mask = (combinedIndicator & 0x0080_0080u) >> 2;
 
             return value ^ mask; // bit flip uppercase letters [A-Z] => [a-z]
         }
@@ -62,16 +71,16 @@ namespace System.Text
             Debug.Assert(AllCharsInUInt32AreAscii(value));
 
             // the 0x80 bit of each word of 'lowerIndicator' will be set iff the word has value >= 'a'
-            uint lowerIndicator = value + 0x00800080u - 0x00610061u;
+            uint lowerIndicator = value + 0x0080_0080u - 0x0061_0061u;
 
             // the 0x80 bit of each word of 'upperIndicator' will be set iff the word has value > 'z'
-            uint upperIndicator = value + 0x00800080u - 0x007B007Bu;
+            uint upperIndicator = value + 0x0080_0080u - 0x007B_007Bu;
 
             // the 0x80 bit of each word of 'combinedIndicator' will be set iff the word has value >= 'a' and <= 'z'
             uint combinedIndicator = (lowerIndicator ^ upperIndicator);
 
             // the 0x20 bit of each word of 'mask' will be set iff the word has value >= 'a' and <= 'z'
-            uint mask = (combinedIndicator & 0x00800080u) >> 2;
+            uint mask = (combinedIndicator & 0x0080_0080u) >> 2;
 
             return value ^ mask; // bit flip lowercase letters [a-z] => [A-Z]
         }
@@ -90,15 +99,15 @@ namespace System.Text
             Debug.Assert(AllCharsInUInt32AreAscii(value));
 
             // the 0x80 bit of each word of 'lowerIndicator' will be set iff the word has value >= 'a'
-            uint lowerIndicator = value + 0x00800080u - 0x00610061u;
+            uint lowerIndicator = value + 0x0080_0080u - 0x0061_0061u;
 
             // the 0x80 bit of each word of 'upperIndicator' will be set iff the word has value > 'z'
-            uint upperIndicator = value + 0x00800080u - 0x007B007Bu;
+            uint upperIndicator = value + 0x0080_0080u - 0x007B_007Bu;
 
             // the 0x80 bit of each word of 'combinedIndicator' will be set iff the word has value >= 'a' and <= 'z'
             uint combinedIndicator = (lowerIndicator ^ upperIndicator);
 
-            return (combinedIndicator & 0x00800080u) != 0;
+            return (combinedIndicator & 0x0080_0080u) != 0;
         }
 
         /// <summary>
@@ -115,15 +124,92 @@ namespace System.Text
             Debug.Assert(AllCharsInUInt32AreAscii(value));
 
             // the 0x80 bit of each word of 'lowerIndicator' will be set iff the word has value >= 'A'
-            uint lowerIndicator = value + 0x00800080u - 0x00410041u;
+            uint lowerIndicator = value + 0x0080_0080u - 0x0041_0041u;
 
             // the 0x80 bit of each word of 'upperIndicator' will be set iff the word has value > 'Z'
-            uint upperIndicator = value + 0x00800080u - 0x005B005Bu;
+            uint upperIndicator = value + 0x0080_0080u - 0x005B_005Bu;
 
             // the 0x80 bit of each word of 'combinedIndicator' will be set iff the word has value >= 'A' and <= 'Z'
             uint combinedIndicator = (lowerIndicator ^ upperIndicator);
 
-            return (combinedIndicator & 0x00800080u) != 0;
+            return (combinedIndicator & 0x0080_0080u) != 0;
+        }
+
+        /// <summary>
+        /// Given two UInt32s that represent two ASCII UTF-16 characters each, returns true iff
+        /// the two inputs are equal using an ordinal case-insensitive comparison.
+        /// </summary>
+        /// <remarks>
+        /// This is a branchless implementation.
+        /// </remarks>
+        [MethodImpl(MethodImplOptions.AggressiveInlining)]
+        internal static bool UInt32OrdinalIgnoreCaseAscii(uint valueA, uint valueB)
+        {
+            // ASSUMPTION: Caller has validated that input values are ASCII.
+            Debug.Assert(AllCharsInUInt32AreAscii(valueA));
+            Debug.Assert(AllCharsInUInt32AreAscii(valueB));
+
+            // a mask of all bits which are different between A and B
+            uint differentBits = valueA ^ valueB;
+
+            // the 0x80 bit of each word of 'lowerIndicator' will be set iff the word has value < 'A'
+            uint lowerIndicator = valueA + 0x0100_0100u - 0x0041_0041u;
+
+            // the 0x80 bit of each word of 'upperIndicator' will be set iff (word | 0x20) has value > 'z'
+            uint upperIndicator = (valueA | 0x0020_0020u) + 0x0080_0080u - 0x007B_007Bu;
+
+            // the 0x80 bit of each word of 'combinedIndicator' will be set iff the word is *not* [A-Za-z]
+            uint combinedIndicator = lowerIndicator | upperIndicator;
+
+            // Shift all the 0x80 bits of 'combinedIndicator' into the 0x20 positions, then set all bits
+            // aside from 0x20. This creates a mask where all bits are set *except* for the 0x20 bits
+            // which correspond to alpha chars (either lower or upper). For these alpha chars only, the
+            // 0x20 bit is allowed to differ between the two input values. Every other char must be an
+            // exact bitwise match between the two input values. In other words, (valueA & mask) will
+            // convert valueA to uppercase, so (valueA & mask) == (valueB & mask) answers "is the uppercase
+            // form of valueA equal to the uppercase form of valueB?" (Technically if valueA has an alpha
+            // char in the same position as a non-alpha char in valueB, or vice versa, this operation will
+            // result in nonsense, but it'll still compute as inequal regardless, which is what we want ultimately.)
+            // The line below is a more efficient way of doing the same check taking advantage of the XOR
+            // computation we performed at the beginning of the method.
+
+            return (((combinedIndicator >> 2) | ~0x0020_0020u) & differentBits) == 0;
+        }
+
+        /// <summary>
+        /// Given two UInt64s that represent four ASCII UTF-16 characters each, returns true iff
+        /// the two inputs are equal using an ordinal case-insensitive comparison.
+        /// </summary>
+        /// <remarks>
+        /// This is a branchless implementation.
+        /// </remarks>
+        [MethodImpl(MethodImplOptions.AggressiveInlining)]
+        internal static bool UInt64OrdinalIgnoreCaseAscii(ulong valueA, ulong valueB)
+        {
+            // ASSUMPTION: Caller has validated that input values are ASCII.
+            Debug.Assert(AllCharsInUInt64AreAscii(valueA));
+            Debug.Assert(AllCharsInUInt64AreAscii(valueB));
+
+            // the 0x80 bit of each word of 'lowerIndicator' will be set iff the word has value >= 'A'
+            ulong lowerIndicator = valueA + 0x0080_0080_0080_0080ul - 0x0041_0041_0041_0041ul;
+
+            // the 0x80 bit of each word of 'upperIndicator' will be set iff (word | 0x20) has value <= 'z'
+            ulong upperIndicator = (valueA | 0x0020_0020_0020_0020ul) + 0x0100_0100_0100_0100ul - 0x007B_007B_007B_007Bul;
+
+            // the 0x20 bit of each word of 'combinedIndicator' will be set iff the word is [A-Za-z]
+            ulong combinedIndicator = (0x0080_0080_0080_0080ul & lowerIndicator & upperIndicator) >> 2;
+
+            // Convert both values to lowercase (using the combined indicator from the first value)
+            // and compare for equality. It's possible that the first value will contain an alpha character
+            // where the second value doesn't (or vice versa), and applying the combined indicator will
+            // create nonsensical data, but the comparison would have failed anyway in this case so it's
+            // a safe operation to perform.
+            //
+            // This 64-bit method is similar to the 32-bit method, but it performs the equivalent of convert-to-
+            // lowercase-then-compare rather than convert-to-uppercase-and-compare. This particular operation
+            // happens to be faster on x64.
+
+            return (valueA | combinedIndicator) == (valueB | combinedIndicator);
         }
     }
 }
index 6702010..ff9d3df 100644 (file)
@@ -142,17 +142,22 @@ namespace System.Threading.Tasks.Sources
             // awaited twice concurrently), _continuationState might get erroneously overwritten.
             // To minimize the chances of that, we check preemptively whether _continuation
             // is already set to something other than the completion sentinel.
-            object currentContinuation = _continuation;
-            if (currentContinuation != null &&
-                !ReferenceEquals(currentContinuation, ManualResetValueTaskSourceCoreShared.s_sentinel))
+
+            object oldContinuation = _continuation;
+            if (oldContinuation == null)
             {
-                ManualResetValueTaskSourceCoreShared.ThrowInvalidOperationException();
+                _continuationState = state;
+                oldContinuation = Interlocked.CompareExchange(ref _continuation, continuation, null);
             }
-            _continuationState = state;
 
-            Action<object> oldContinuation = Interlocked.CompareExchange(ref _continuation, continuation, null);
             if (oldContinuation != null)
             {
+                // Operation already completed, so we need to queue the supplied callback.
+                if (!ReferenceEquals(oldContinuation, ManualResetValueTaskSourceCoreShared.s_sentinel))
+                {
+                    ManualResetValueTaskSourceCoreShared.ThrowInvalidOperationException();
+                }
+
                 switch (_capturedContext)
                 {
                     case null:
@@ -200,7 +205,7 @@ namespace System.Threading.Tasks.Sources
             }
             _completed = true;
 
-            if (Interlocked.CompareExchange(ref _continuation, ManualResetValueTaskSourceCoreShared.s_sentinel, null) != null)
+            if (_continuation != null || Interlocked.CompareExchange(ref _continuation, ManualResetValueTaskSourceCoreShared.s_sentinel, null) != null)
             {
                 if (_executionContext != null)
                 {
index 5645c2a..ebeb301 100644 (file)
@@ -80,6 +80,14 @@ namespace System
             GetDisplayName(Interop.Globalization.TimeZoneDisplayNameType.Standard, ref _standardDisplayName);
             GetDisplayName(Interop.Globalization.TimeZoneDisplayNameType.DaylightSavings, ref _daylightDisplayName);
 
+            if (_standardDisplayName == _displayName)
+            {
+                if (_baseUtcOffset >= TimeSpan.Zero)
+                    _displayName = $"(UTC+{_baseUtcOffset:hh\\:mm}) {_standardDisplayName}";
+                else
+                    _displayName = $"(UTC-{_baseUtcOffset:hh\\:mm}) {_standardDisplayName}";
+            }
+
             // TZif supports seconds-level granularity with offsets but TimeZoneInfo only supports minutes since it aligns
             // with DateTimeOffset, SQL Server, and the W3C XML Specification
             if (_baseUtcOffset.Ticks % TimeSpan.TicksPerMinute != 0)
index 5cb7f1d..b181afc 100644 (file)
@@ -204,11 +204,6 @@ namespace System
         [MethodImplAttribute(MethodImplOptions.InternalCall)]
         private static extern unsafe Array InternalCreate(void* elementType, int rank, int* pLengths, int* pLowerBounds);
 
-        internal static Array UnsafeCreateInstance(Type elementType, int length)
-        {
-            return CreateInstance(elementType, length);
-        }
-
         // Copies length elements from sourceArray, starting at index 0, to
         // destinationArray, starting at index 0.
         //
index fd84dd3..f69582a 100644 (file)
@@ -436,7 +436,7 @@ namespace System
 
         private static Attribute[] CreateAttributeArrayHelper(Type elementType, int elementCount)
         {
-            return (Attribute[])Array.UnsafeCreateInstance(elementType, elementCount);
+            return (Attribute[])Array.CreateInstance(elementType, elementCount);
         }
         #endregion
 
index b16d30b..1eb445d 100644 (file)
@@ -6,8 +6,14 @@ namespace System.Diagnostics
 {
     public partial class DebugProvider
     {
-        public virtual void ShowDialog(string stackTrace, string message, string detailMessage, string errorSource)
+        public static void FailCore(string stackTrace, string message, string detailMessage, string errorSource)
         {
+            if (s_FailCore != null)
+            {
+                s_FailCore(stackTrace, message, detailMessage, errorSource); 
+                return;
+            }
+
             if (Debugger.IsAttached)
             {
                 Debugger.Break();
@@ -36,8 +42,14 @@ namespace System.Diagnostics
 
         private static readonly object s_ForLock = new object();
 
-        private static void WriteCore(string message)
+        public static void WriteCore(string message)
         {
+            if (s_WriteCore != null)
+            {
+                s_WriteCore(message); 
+                return;
+            }
+
             // really huge messages mess up both VS and dbmon, so we chop it up into 
             // reasonable chunks if it's too big. This is the number of characters 
             // that OutputDebugstring chunks at.
index e4c85f9..5331353 100644 (file)
@@ -65,15 +65,27 @@ namespace System
         public static extern double Floor(double d);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern double FusedMultiplyAdd(double x, double y, double z);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern int IlogB(double x);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern double Log(double d);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern double Log2(double x);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern double Log10(double d);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern double Pow(double x, double y);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern double ScaleB(double x, int n);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern double Sin(double a);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
index 1abc040..fa99f1f 100644 (file)
@@ -56,15 +56,27 @@ namespace System
         public static extern float Floor(float x);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern float FusedMultiplyAdd(float x, float y, float z);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern int IlogB(float x);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern float Log(float x);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern float Log2(float x);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern float Log10(float x);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern float Pow(float x, float y);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
+        public static extern float ScaleB(float x, int n);
+
+        [MethodImpl(MethodImplOptions.InternalCall)]
         public static extern float Sin(float x);
 
         [MethodImpl(MethodImplOptions.InternalCall)]
index c1c6e4f..6044256 100644 (file)
@@ -62,7 +62,7 @@ namespace System.Reflection
 
             IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
 
-            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes((RuntimeType)target, typeof(object) as RuntimeType, out int pcaCount);
+            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes((RuntimeType)target, (RuntimeType)typeof(object), out int pcaCount);
 
             if (pcaCount == 0)
                 return cad;
@@ -83,7 +83,7 @@ namespace System.Reflection
 
             IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
 
-            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes((RuntimeFieldInfo)target, typeof(object) as RuntimeType, out int pcaCount);
+            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes((RuntimeFieldInfo)target, (RuntimeType)typeof(object), out int pcaCount);
 
             if (pcaCount == 0)
                 return cad;
@@ -104,7 +104,7 @@ namespace System.Reflection
 
             IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
 
-            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes((RuntimeMethodInfo)target, typeof(object) as RuntimeType, out int pcaCount);
+            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes((RuntimeMethodInfo)target, (RuntimeType)typeof(object), out int pcaCount);
 
             if (pcaCount == 0)
                 return cad;
@@ -156,7 +156,7 @@ namespace System.Reflection
 
             IList<CustomAttributeData> cad = GetCustomAttributes((RuntimeModule)target.ManifestModule, RuntimeAssembly.GetToken(target.GetNativeHandle()));
 
-            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes(target, typeof(object) as RuntimeType, out int pcaCount);
+            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes(target, (RuntimeType)typeof(object), out int pcaCount);
 
             if (pcaCount == 0)
                 return cad;
@@ -177,7 +177,7 @@ namespace System.Reflection
 
             IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken);
 
-            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes(target, typeof(object) as RuntimeType, out int pcaCount);
+            Attribute[] a = PseudoCustomAttribute.GetCustomAttributes(target, (RuntimeType)typeof(object), out int pcaCount);
 
             if (pcaCount == 0)
                 return cad;
@@ -1276,17 +1276,17 @@ namespace System.Reflection
                 return attributes;
             }
 
-            List<object> result = new List<object>();
+            RuntimeType.ListBuilder<object> result = new RuntimeType.ListBuilder<object>();
             bool mustBeInheritable = false;
             bool useObjectArray = (caType == null || caType.IsValueType || caType.ContainsGenericParameters);
-            Type arrayType = useObjectArray ? typeof(object) : caType;
+            RuntimeType arrayType = useObjectArray ? (RuntimeType)typeof(object) : caType;
 
             while (pcaCount > 0)
                 result.Add(pca[--pcaCount]);
 
             while (type != (RuntimeType)typeof(object) && type != null)
             {
-                object[] attributes = GetCustomAttributes(type.GetRuntimeModule(), type.MetadataToken, 0, caType, mustBeInheritable, result);
+                object[] attributes = GetCustomAttributes(type.GetRuntimeModule(), type.MetadataToken, 0, caType, mustBeInheritable, ref result);
                 mustBeInheritable = true;
                 for (int i = 0; i < attributes.Length; i++)
                     result.Add(attributes[i]);
@@ -1295,7 +1295,10 @@ namespace System.Reflection
             }
 
             object[] typedResult = CreateAttributeArrayHelper(arrayType, result.Count);
-            Array.Copy(result.ToArray(), 0, typedResult, 0, result.Count);
+            for (var i = 0; i < result.Count; i++)
+            {
+                typedResult[i] = result[i];
+            }
             return typedResult;
         }
 
@@ -1319,17 +1322,17 @@ namespace System.Reflection
                 return attributes;
             }
 
-            List<object> result = new List<object>();
+            RuntimeType.ListBuilder<object> result = new RuntimeType.ListBuilder<object>();
             bool mustBeInheritable = false;
             bool useObjectArray = (caType == null || caType.IsValueType || caType.ContainsGenericParameters);
-            Type arrayType = useObjectArray ? typeof(object) : caType;
+            RuntimeType arrayType = useObjectArray ? (RuntimeType)typeof(object) : caType;
 
             while (pcaCount > 0)
                 result.Add(pca[--pcaCount]);
 
             while (method != null)
             {
-                object[] attributes = GetCustomAttributes(method.GetRuntimeModule(), method.MetadataToken, 0, caType, mustBeInheritable, result);
+                object[] attributes = GetCustomAttributes(method.GetRuntimeModule(), method.MetadataToken, 0, caType, mustBeInheritable, ref result);
                 mustBeInheritable = true;
                 for (int i = 0; i < attributes.Length; i++)
                     result.Add(attributes[i]);
@@ -1338,7 +1341,10 @@ namespace System.Reflection
             }
 
             object[] typedResult = CreateAttributeArrayHelper(arrayType, result.Count);
-            Array.Copy(result.ToArray(), 0, typedResult, 0, result.Count);
+            for (var i = 0; i < result.Count; i++)
+            {
+                typedResult[i] = result[i];
+            }
             return typedResult;
         }
 
@@ -1445,6 +1451,7 @@ namespace System.Reflection
                 RuntimeType attributeType;
                 IRuntimeMethodInfo ctor;
                 bool ctorHasParameters, isVarArg;
+                RuntimeType.ListBuilder<object> derivedAttributes = default;
 
                 // Optimization for the case where attributes decorate entities in the same assembly in which case 
                 // we can cache the successful APTCA check between the decorated and the declared assembly.
@@ -1455,7 +1462,7 @@ namespace System.Reflection
                     CustomAttributeRecord caRecord = car[i];
 
                     if (FilterCustomAttributeRecord(caRecord, scope, ref lastAptcaOkAssembly,
-                        decoratedModule, decoratedMetadataToken, attributeFilterType, mustBeInheritable, null, null,
+                        decoratedModule, decoratedMetadataToken, attributeFilterType, mustBeInheritable, null, ref derivedAttributes,
                         out attributeType, out ctor, out ctorHasParameters, out isVarArg))
                         return true;
                 }
@@ -1480,18 +1487,19 @@ namespace System.Reflection
         private static unsafe object[] GetCustomAttributes(
             RuntimeModule decoratedModule, int decoratedMetadataToken, int pcaCount, RuntimeType attributeFilterType)
         {
-            return GetCustomAttributes(decoratedModule, decoratedMetadataToken, pcaCount, attributeFilterType, false, null);
+            RuntimeType.ListBuilder<object> _ = default;
+            return GetCustomAttributes(decoratedModule, decoratedMetadataToken, pcaCount, attributeFilterType, false, ref _);
         }
 
         private static unsafe object[] GetCustomAttributes(
             RuntimeModule decoratedModule, int decoratedMetadataToken, int pcaCount,
-            RuntimeType attributeFilterType, bool mustBeInheritable, IList derivedAttributes)
+            RuntimeType attributeFilterType, bool mustBeInheritable, ref RuntimeType.ListBuilder<object> derivedAttributes)
         {
             MetadataImport scope = decoratedModule.MetadataImport;
             CustomAttributeRecord[] car = CustomAttributeData.GetCustomAttributeRecords(decoratedModule, decoratedMetadataToken);
 
             bool useObjectArray = (attributeFilterType == null || attributeFilterType.IsValueType || attributeFilterType.ContainsGenericParameters);
-            Type arrayType = useObjectArray ? typeof(object) : attributeFilterType;
+            RuntimeType arrayType = useObjectArray ? (RuntimeType)typeof(object) : attributeFilterType;
 
             if (attributeFilterType == null && car.Length == 0)
                 return CreateAttributeArrayHelper(arrayType, 0);
@@ -1519,7 +1527,7 @@ namespace System.Reflection
 
                 if (!FilterCustomAttributeRecord(caRecord, scope, ref lastAptcaOkAssembly,
                                                  decoratedModule, decoratedMetadataToken, attributeFilterType, mustBeInheritable,
-                                                 attributes, derivedAttributes,
+                                                 attributes, ref derivedAttributes,
                                                  out attributeType, out ctor, out ctorHasParameters, out isVarArg))
                     continue;
 
@@ -1647,7 +1655,7 @@ namespace System.Reflection
             RuntimeType attributeFilterType,
             bool mustBeInheritable,
             object[] attributes,
-            IList derivedAttributes,
+            ref RuntimeType.ListBuilder<object> derivedAttributes,
             out RuntimeType attributeType,
             out IRuntimeMethodInfo ctor,
             out bool ctorHasParameters,
@@ -1671,7 +1679,7 @@ namespace System.Reflection
 
             // Ensure if attribute type must be inheritable that it is inhertiable
             // Ensure that to consider a duplicate attribute type AllowMultiple is true
-            if (!AttributeUsageCheck(attributeType, mustBeInheritable, attributes, derivedAttributes))
+            if (!AttributeUsageCheck(attributeType, mustBeInheritable, ref derivedAttributes))
                 return false;
 
             // Windows Runtime attributes aren't real types - they exist to be read as metadata only, and as such
@@ -1743,7 +1751,7 @@ namespace System.Reflection
 
         #region Private Static Methods
         private static bool AttributeUsageCheck(
-            RuntimeType attributeType, bool mustBeInheritable, object[] attributes, IList derivedAttributes)
+            RuntimeType attributeType, bool mustBeInheritable, ref RuntimeType.ListBuilder<object> derivedAttributes)
         {
             AttributeUsageAttribute attributeUsageAttribute = null;
 
@@ -1756,8 +1764,7 @@ namespace System.Reflection
             }
 
             // Legacy: AllowMultiple ignored for none inheritable attributes
-
-            if (derivedAttributes == null)
+            if (derivedAttributes.Count == 0)
                 return true;
 
             for (int i = 0; i < derivedAttributes.Count; i++)
@@ -1844,9 +1851,15 @@ namespace System.Reflection
             blobStart = (IntPtr)pBlobStart;
         }
 
-        private static object[] CreateAttributeArrayHelper(Type elementType, int elementCount)
+        private static object[] CreateAttributeArrayHelper(RuntimeType elementType, int elementCount)
         {
-            return (object[])Array.UnsafeCreateInstance(elementType, elementCount);
+            // If we have 0 elements, don't allocate a new array
+            if (elementCount == 0)
+            {
+                return elementType.GetEmptyArray();
+            }
+
+            return (object[])Array.CreateInstance(elementType, elementCount);
         }
         #endregion
     }
index ce329b5..f87e477 100644 (file)
@@ -2,21 +2,16 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-// 
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Globalization;
+using System.Runtime.CompilerServices;
+using System.Security;
+using System.Text;
+using System.Threading;
 
 namespace System.Reflection.Emit
 {
-    using System;
-    using System.Collections.Generic;
-    using CultureInfo = System.Globalization.CultureInfo;
-    using System.Reflection;
-    using System.Security;
-    using System.Threading;
-    using System.Runtime.CompilerServices;
-    using System.Runtime.Versioning;
-    using System.Diagnostics;
-    using System.Runtime.InteropServices;
-
     public sealed class DynamicMethod : MethodInfo
     {
         private RuntimeType[] m_parameterTypes;
@@ -585,7 +580,17 @@ namespace System.Reflection.Emit
             //
             public override string ToString()
             {
-                return ReturnType.FormatTypeName() + " " + FormatNameAndSig();
+                var sbName = new ValueStringBuilder(MethodNameBufferSize);
+
+                sbName.Append(ReturnType.FormatTypeName());
+                sbName.Append(' ');
+                sbName.Append(Name);
+
+                sbName.Append('(');
+                AppendParameters(ref sbName, GetParameterTypes(), CallingConvention);
+                sbName.Append(')');
+
+                return sbName.ToString();
             }
 
             public override string Name
index c6f01c6..8f3e909 100644 (file)
@@ -2,7 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-using System.Diagnostics;
 using System.Globalization;
 using System.Text;
 using System.Threading;
@@ -54,9 +53,10 @@ namespace System.Reflection
         #region Internal Methods
         // helper method to construct the string representation of the parameter list
 
-        internal static string ConstructParameters(Type[] parameterTypes, CallingConventions callingConvention, bool serialization)
+        internal const int MethodNameBufferSize = 100;
+
+        internal static void AppendParameters(ref ValueStringBuilder sbParamList, Type[] parameterTypes, CallingConventions callingConvention)
         {
-            StringBuilder sbParamList = new StringBuilder();
             string comma = "";
 
             for (int i = 0; i < parameterTypes.Length; i++)
@@ -65,12 +65,12 @@ namespace System.Reflection
 
                 sbParamList.Append(comma);
 
-                string typeName = t.FormatTypeName(serialization);
+                string typeName = t.FormatTypeName();
 
                 // Legacy: Why use "ByRef" for by ref parameters? What language is this? 
                 // VB uses "ByRef" but it should precede (not follow) the parameter name.
                 // Why don't we just use "&"?
-                if (t.IsByRef && !serialization)
+                if (t.IsByRef)
                 {
                     sbParamList.Append(typeName.TrimEnd('&'));
                     sbParamList.Append(" ByRef");
@@ -88,32 +88,6 @@ namespace System.Reflection
                 sbParamList.Append(comma);
                 sbParamList.Append("...");
             }
-
-            return sbParamList.ToString();
-        }
-
-        internal string FullName
-        {
-            get
-            {
-                return string.Format("{0}.{1}", DeclaringType.FullName, FormatNameAndSig());
-            }
-        }
-        internal string FormatNameAndSig()
-        {
-            return FormatNameAndSig(false);
-        }
-
-        internal virtual string FormatNameAndSig(bool serialization)
-        {
-            // Serialization uses ToString to resolve MethodInfo overloads.
-            StringBuilder sbName = new StringBuilder(Name);
-
-            sbName.Append("(");
-            sbName.Append(ConstructParameters(GetParameterTypes(), CallingConvention, serialization));
-            sbName.Append(")");
-
-            return sbName.ToString();
         }
 
         internal virtual Type[] GetParameterTypes()
index c0f40bf..ba50df5 100644 (file)
@@ -5,6 +5,7 @@
 using System.Collections.Generic;
 using System.Diagnostics;
 using System.Globalization;
+using System.Text;
 using RuntimeTypeCache = System.RuntimeType.RuntimeTypeCache;
 
 namespace System.Reflection
@@ -140,9 +141,21 @@ namespace System.Reflection
         #region Object Overrides
         public override string ToString()
         {
-            // "Void" really doesn't make sense here. But we'll keep it for compat reasons.
             if (m_toString == null)
-                m_toString = "Void " + FormatNameAndSig();
+            {
+                var sbName = new ValueStringBuilder(MethodNameBufferSize);
+
+                // "Void" really doesn't make sense here. But we'll keep it for compat reasons.
+                sbName.Append("Void ");
+
+                sbName.Append(Name);
+
+                sbName.Append('(');
+                AppendParameters(ref sbName, GetParameterTypes(), CallingConvention);
+                sbName.Append(')');
+
+                m_toString = sbName.ToString();
+            }
 
             return m_toString;
         }
index 743d55f..d3b0969 100644 (file)
@@ -124,25 +124,6 @@ namespace System.Reflection
         #endregion
 
         #region Internal Members
-        internal override string FormatNameAndSig(bool serialization)
-        {
-            // Serialization uses ToString to resolve MethodInfo overloads.
-            StringBuilder sbName = new StringBuilder(Name);
-
-            // serialization == true: use unambiguous (except for assembly name) type names to distinguish between overloads.
-            // serialization == false: use basic format to maintain backward compatibility of MethodInfo.ToString().
-            TypeNameFormatFlags format = serialization ? TypeNameFormatFlags.FormatSerialization : TypeNameFormatFlags.FormatBasic;
-
-            if (IsGenericMethod)
-                sbName.Append(RuntimeMethodHandle.ConstructInstantiation(this, format));
-
-            sbName.Append("(");
-            sbName.Append(ConstructParameters(GetParameterTypes(), CallingConvention, serialization));
-            sbName.Append(")");
-
-            return sbName.ToString();
-        }
-
         internal override bool CacheEquals(object o)
         {
             RuntimeMethodInfo m = o as RuntimeMethodInfo;
@@ -197,7 +178,22 @@ namespace System.Reflection
         public override string ToString()
         {
             if (m_toString == null)
-                m_toString = ReturnType.FormatTypeName() + " " + FormatNameAndSig();
+            {
+                var sbName = new ValueStringBuilder(MethodNameBufferSize);
+
+                sbName.Append(ReturnType.FormatTypeName());
+                sbName.Append(' ');
+                sbName.Append(Name);
+
+                if (IsGenericMethod)
+                    sbName.Append(RuntimeMethodHandle.ConstructInstantiation(this, TypeNameFormatFlags.FormatBasic));
+
+                sbName.Append('(');
+                AppendParameters(ref sbName, GetParameterTypes(), CallingConvention);
+                sbName.Append(')');
+
+                m_toString = sbName.ToString();
+            }
 
             return m_toString;
         }
index 880e826..7f118d3 100644 (file)
@@ -122,22 +122,18 @@ namespace System.Reflection
         #region Object Overrides
         public override string ToString()
         {
-            return FormatNameAndSig(false);
-        }
-
-        private string FormatNameAndSig(bool serialization)
-        {
-            StringBuilder sbName = new StringBuilder(PropertyType.FormatTypeName(serialization));
+            var sbName = new ValueStringBuilder(MethodBase.MethodNameBufferSize);
 
-            sbName.Append(" ");
+            sbName.Append(PropertyType.FormatTypeName());
+            sbName.Append(' ');
             sbName.Append(Name);
 
             RuntimeType[] arguments = Signature.Arguments;
             if (arguments.Length > 0)
             {
                 sbName.Append(" [");
-                sbName.Append(MethodBase.ConstructParameters(arguments, Signature.CallingConvention, serialization));
-                sbName.Append("]");
+                MethodBase.AppendParameters(ref sbName, arguments, Signature.CallingConvention);
+                sbName.Append(']');
             }
 
             return sbName.ToString();
index 743e229..c1be93e 100644 (file)
@@ -52,20 +52,12 @@ namespace System
         FormatAngleBrackets = 0x00000040, // Whether generic types are C<T> or C[T]
         FormatStubInfo = 0x00000080, // Include stub info like {unbox-stub}
         FormatGenericParam = 0x00000100, // Use !name and !!name for generic type and method parameters
-
-        // If we want to be able to distinguish between overloads whose parameter types have the same name but come from different assemblies,
-        // we can add FormatAssembly | FormatNoVersion to FormatSerialization. But we are omitting it because it is not a useful scenario
-        // and including the assembly name will normally increase the size of the serialized data and also decrease the performance.
-        FormatSerialization = FormatNamespace |
-                              FormatGenericParam |
-                              FormatFullInst
     }
 
     internal enum TypeNameKind
     {
         Name,
         ToString,
-        SerializationName,
         FullName,
     }
 
@@ -83,7 +75,7 @@ namespace System
         }
 
         // Helper to build lists of MemberInfos. Special cased to avoid allocations for lists of one element.
-        private struct ListBuilder<T> where T : class
+        internal struct ListBuilder<T> where T : class
         {
             private T[] _items;
             private T _item;
@@ -1448,7 +1440,6 @@ namespace System
             private string m_fullname;
             private string m_toString;
             private string m_namespace;
-            private string m_serializationname;
             private bool m_isGlobal;
             private bool m_bIsDomainInitialized;
             private MemberInfoCache<RuntimeMethodInfo> m_methodInfoCache;
@@ -1462,6 +1453,7 @@ namespace System
             private static object s_methodInstantiationsLock;
             private string m_defaultMemberName;
             private object m_genericCache; // Generic cache for rare scenario specific data. It is used to cache Enum names and values.
+            private object[] _emptyArray; // Object array cache for Attribute.GetCustomAttributes() pathological no-result case.
             #endregion
 
             #region Constructor
@@ -1545,13 +1537,6 @@ namespace System
                         // No full instantiation and assembly.
                         return ConstructName(ref m_toString, TypeNameFormatFlags.FormatNamespace);
 
-                    case TypeNameKind.SerializationName:
-                        // Use FormatGenericParam in serialization. Otherwise we won't be able 
-                        // to distinguish between a generic parameter and a normal type with the same name.
-                        // e.g. Foo<T>.Bar(T t), the parameter type T could be !1 or a real type named "T".
-                        // Excluding the version number in the assembly name for VTS.
-                        return ConstructName(ref m_serializationname, TypeNameFormatFlags.FormatSerialization);
-
                     default:
                         throw new InvalidOperationException();
                 }
@@ -1636,6 +1621,11 @@ namespace System
 
                 return m_defaultMemberName;
             }
+
+            internal object[] GetEmptyArray()
+            {
+                return _emptyArray ?? (_emptyArray = (object[])Array.CreateInstance(m_runtimeType, 0));
+            }
             #endregion
 
             #region Caches Accessors
@@ -3549,6 +3539,11 @@ namespace System
         {
             return RuntimeTypeHandle.GetElementType(this);
         }
+
+        internal object[] GetEmptyArray()
+        {
+            return Cache.GetEmptyArray();
+        }
         #endregion
 
         #region Enums
@@ -3576,7 +3571,7 @@ namespace System
             ulong[] values = Enum.InternalGetValues(this);
 
             // Create a generic Array
-            Array ret = Array.UnsafeCreateInstance(this, values.Length);
+            Array ret = Array.CreateInstance(this, values.Length);
 
             for (int i = 0; i < values.Length; i++)
             {
@@ -4496,36 +4491,27 @@ namespace System
         //  3. Remove the namespace ("System") for all primitive types, which is not language neutral.
         //  4. MethodBase.ToString() use "ByRef" for byref parameters which is different than Type.ToString().
         //  5. ConstructorInfo.ToString() outputs "Void" as the return type. Why Void?
-        // Since it could be a breaking changes to fix these legacy behaviors, we only use the better and more unambiguous format
-        // in serialization (MemberInfoSerializationHolder).
-        internal override string FormatTypeName(bool serialization)
+        internal override string FormatTypeName()
         {
-            if (serialization)
-            {
-                return GetCachedName(TypeNameKind.SerializationName);
-            }
-            else
-            {
-                Type elementType = GetRootElementType();
-
-                // Legacy: this doesn't make sense, why use only Name for nested types but otherwise
-                // ToString() which contains namespace.
-                if (elementType.IsNested)
-                    return Name;
+            Type elementType = GetRootElementType();
 
-                string typeName = ToString();
+            // Legacy: this doesn't make sense, why use only Name for nested types but otherwise
+            // ToString() which contains namespace.
+            if (elementType.IsNested)
+                return Name;
 
-                // Legacy: why removing "System"? Is it just because C# has keywords for these types?
-                // If so why don't we change it to lower case to match the C# keyword casing?
-                if (elementType.IsPrimitive ||
-                    elementType == typeof(void) ||
-                    elementType == typeof(TypedReference))
-                {
-                    typeName = typeName.Substring(@"System.".Length);
-                }
+            string typeName = ToString();
 
-                return typeName;
+            // Legacy: why removing "System"? Is it just because C# has keywords for these types?
+            // If so why don't we change it to lower case to match the C# keyword casing?
+            if (elementType.IsPrimitive ||
+                elementType == typeof(void) ||
+                elementType == typeof(TypedReference))
+            {
+                typeName = typeName.Substring(@"System.".Length);
             }
+
+            return typeName;
         }
 
         // This method looks like an attractive inline but expands to two calls,
@@ -4997,7 +4983,7 @@ namespace System
                     // Allocate the new array of wrappers.
                     Array oldArray = (Array)aArgs[i];
                     int numElems = oldArray.Length;
-                    Object[] newArray = (Object[])Array.UnsafeCreateInstance(wrapperType, numElems);
+                    Object[] newArray = (Object[])Array.CreateInstance(wrapperType, numElems);
 
                     // Retrieve the ConstructorInfo for the wrapper type.
                     ConstructorInfo wrapperCons;
index 53b2848..93490d9 100644 (file)
@@ -13,6 +13,7 @@
 namespace System.Runtime.CompilerServices
 {
     using System;
+    using System.Diagnostics;
     using System.Security;
     using System.Runtime;
     using System.Runtime.CompilerServices;
@@ -21,6 +22,7 @@ namespace System.Runtime.CompilerServices
     using System.Runtime.Serialization;
     using System.Threading;
     using System.Runtime.Versioning;
+    using Internal.Runtime.CompilerServices;
 
     public static class RuntimeHelpers
     {
@@ -194,6 +196,45 @@ namespace System.Runtime.CompilerServices
             // See getILIntrinsicImplementation for how this happens.
             throw new InvalidOperationException();
         }
+
+        // Returns true iff the object has a component size;
+        // i.e., is variable length like System.String or Array.
+        [MethodImpl(MethodImplOptions.AggressiveInlining)]
+        internal static unsafe bool ObjectHasComponentSize(object obj)
+        {
+            // CLR objects are laid out in memory as follows.
+            // [ pMethodTable || .. object data .. ]
+            //   ^-- the object reference points here
+            //
+            // The first DWORD of the method table class will have its high bit set if the
+            // method table has component size info stored somewhere. See member
+            // MethodTable:IsStringOrArray in src\vm\methodtable.h for full details.
+            //
+            // So in effect this method is the equivalent of
+            // return ((MethodTable*)(*obj))->IsStringOrArray();
+
+            Debug.Assert(obj != null);
+            return *(int*)GetObjectMethodTablePointer(obj) < 0;
+        }
+
+        // Given an object reference, returns its MethodTable* as an IntPtr.
+        [MethodImpl(MethodImplOptions.AggressiveInlining)]
+        private static IntPtr GetObjectMethodTablePointer(object obj)
+        {
+            Debug.Assert(obj != null);
+
+            // We know that the first data field in any managed object is immediately after the
+            // method table pointer, so just back up one pointer and immediately deref.
+            // This is not ideal in terms of minimizing instruction count but is the best we can do at the moment.
+
+            return Unsafe.Add(ref Unsafe.As<byte, IntPtr>(ref JitHelpers.GetPinningHelper(obj).m_data), -1);
+            
+            // The JIT currently implements this as:
+            // lea tmp, [rax + 8h] ; assume rax contains the object reference, tmp is type IntPtr&
+            // mov tmp, qword ptr [tmp - 8h] ; tmp now contains the MethodTable* pointer
+            //
+            // Ideally this would just be a single dereference:
+            // mov tmp, qword ptr [rax] ; rax = obj ref, tmp = MethodTable* pointer
+        }
     }
 }
-
index 9cbc0b9..8d062fe 100644 (file)
@@ -142,12 +142,7 @@ namespace System
 #endif // FEATURE_COMINTEROP
 
         // This is only ever called on RuntimeType objects.
-        internal string FormatTypeName()
-        {
-            return FormatTypeName(false);
-        }
-
-        internal virtual string FormatTypeName(bool serialization)
+        internal virtual string FormatTypeName()
         {
             throw new NotImplementedException();
         }
index be8ad96..ac27c02 100644 (file)
@@ -43,6 +43,7 @@ IP2MD
 Name2EE
 PrintException
 StopOnCatch
+SyncBlk
 Threads
 ThreadState
 Token2EE
index 45e4c43..5cd3a87 100644 (file)
@@ -34,12 +34,12 @@ GCRoot (gcroot)                    GCInfo
 PrintException (pe)                EHInfo
                                    bpmd (bpmd)
                                    
-
 Examining CLR data structures      Diagnostic Utilities
 -----------------------------      -----------------------------
 DumpDomain                         VerifyHeap
 EEHeap (eeheap)                    FindAppDomain          
 Name2EE (name2ee)                  DumpLog (dumplog)
+SyncBlk (syncblk)
 DumpMT (dumpmt)
 DumpClass (dumpclass)
 DumpMD (dumpmd)                    
@@ -308,7 +308,7 @@ DumpHeap [-stat]
 
 DumpHeap is a powerful command that traverses the garbage collected heap, 
 collection statistics about objects. With it's various options, it can look for
-particular types, restrict to a range, or look for ThinLocks (see SyncBlk 
+particular types, restrict to a range, or look for ThinLocks (see syncblk 
 documentation). Finally, it will provide a warning if it detects excessive 
 fragmentation in the GC heap. 
 
@@ -361,7 +361,7 @@ The arguments in detail:
 -live     Only print live objects
 -dead     Only print dead objects (objects which will be collected in the
           next full GC)
--thinlock Report on any ThinLocks (an efficient locking scheme, see SyncBlk 
+-thinlock Report on any ThinLocks (an efficient locking scheme, see syncblk 
           documentation for more info)
 -startAtLowerBound 
           Force heap walk to begin at lower bound of a supplied address range.
@@ -1208,6 +1208,84 @@ all loaded modules in all domains. And remember that you can browse all the
 types in a module with DumpModule -mt <module pointer>.
 \\
 
+COMMAND: syncblk.
+SyncBlk [-all | <syncblk number>]
+
+A SyncBlock is a holder for extra information that doesn't need to be created 
+for every object. It can hold COM Interop data, HashCodes, and locking 
+information for thread-safe operations.
+
+When called without arguments, syncblk will print the list of SyncBlocks 
+corresponding to objects that are owned by a thread. For example, a
+
+    lock(MyObject)
+    {
+        ....
+    }
+
+statement will set MyObject to be owned by the current thread. A SyncBlock will
+be created for MyObject, and the thread ownership information stored there 
+(this is an oversimplification, see NOTE below). If another thread tries to 
+execute the same code, they won't be able to enter the block until the first 
+thread exits.
+
+This makes syncblk useful for detecting managed deadlocks. Consider that the
+following code is executed by Threads A & B:
+
+    Resource r1 = new Resource();
+    Resource r2 = new Resource();
+
+    ...
+    
+    lock(r1)                             lock(r2)
+    {                                    {
+        lock(r2)                             lock(r1)
+        {                                    {
+            ...                                  ...
+        }                                    }
+    }                                    }
+
+This is a deadlock situation, as Thread A could take r1, and Thread B r2, 
+leaving both threads with no option but to wait forever in the second lock 
+statement. syncblk will detect this with the following output:
+
+        0:003> syncblk
+        Index SyncBlock MonitorHeld Recursion Owning Thread Info   SyncBlock Owner
+          238 001e40ec            3         1 001e4e60   e04   3   00a7a194 Resource
+          239 001e4124            3         1 001e5980   ab8   4   00a7a1a4 Resource
+
+It means that Thread e04 owns object 00a7a194, and Thread ab8 owns object 
+00a7a1a4. Combine that information with the call stacks of the deadlock:
+
+(threads 3 and 4 have similar output)  
+        0:003> bt
+        ChildEBP RetAddr
+        0404ea04 77f5c524 SharedUserData!SystemCallStub+0x4
+        0404ea08 77e75ee0 ntdll!NtWaitForMultipleObjects+0xc
+        0404eaa4 5d9de9d6 KERNEL32!WaitForMultipleObjectsEx+0x12c
+        0404eb38 5d9def80 clr!Thread::DoAppropriateAptStateWait+0x156
+        0404ecc4 5d9dd8bb clr!Thread::DoAppropriateWaitWorker+0x360
+        0404ed20 5da628dd clr!Thread::DoAppropriateWait+0xbb
+        0404ede4 5da4e2e2 clr!CLREvent::Wait+0x29d
+        0404ee70 5da4dd41 clr!AwareLock::EnterEpilog+0x132
+        0404ef34 5da4efa3 clr!AwareLock::Enter+0x2c1
+        0404f09c 5d767880 clr!AwareLock::Contention+0x483
+        0404f1c4 03f00229 clr!JITutil_MonContention+0x2c0
+        0404f1f4 5b6ef077 image00400000!Worker.Work()+0x79
+        ...
+
+By looking at the code corresponding to Worker.Work()+0x79 (run "clru 03f00229"),
+you can see that thread 3 is attempting to acquire the Resource 00a7a1a4, which
+is owned by thread 4.
+  
+NOTE:
+It is not always the case that a SyncBlock will be created for every object 
+that is locked by a thread. In version 2.0 of the CLR and above, a mechanism 
+called a ThinLock will be used if there is not already a SyncBlock for the 
+object in question. ThinLocks will not be reported by the syncblk command. 
+You can use "dumpheap -thinlock" to list objects locked in this way.
+\\
+
 COMMAND: dumpmt.
 DumpMT [-MD] <MethodTable address>
 
index b150848..d7794f4 100644 (file)
@@ -5141,6 +5141,8 @@ DECLARE_API(GCHeapStat)
 #endif // FEATURE_PAL
 }
 
+#endif // FEATURE_PAL
+
 /**********************************************************************\
 * Routine Description:                                                 *
 *                                                                      *
@@ -5323,14 +5325,18 @@ DECLARE_API(SyncBlk)
     
     ExtOut("-----------------------------\n");
     ExtOut("Total           %d\n", dwCount);
+#ifdef FEATURE_COMINTEROP
     ExtOut("CCW             %d\n", CCWCount);
     ExtOut("RCW             %d\n", RCWCount);
     ExtOut("ComClassFactory %d\n", CFCount);
+#endif
     ExtOut("Free            %d\n", freeCount);
    
     return Status;
 }
 
+#ifndef FEATURE_PAL
+
 #ifdef FEATURE_COMINTEROP
 struct VisitRcwArgs
 {
index 623d615..39b1314 100644 (file)
@@ -15,8 +15,12 @@ endif (CORECLR_SET_RPATH)
 
 add_definitions(-DPAL_STDCPP_COMPAT)
 
-set(ENABLE_LLDBPLUGIN ${CLR_CMAKE_PLATFORM_UNIX} CACHE BOOL "Enable building the SOS plugin for LLDB.")
-set(REQUIRE_LLDBPLUGIN ${CLR_CMAKE_PLATFORM_LINUX} CACHE BOOL "Require building the SOS plugin for LLDB.")
+if (CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_FREEBSD)
+ set(PLATFORM_SUPPORTS_LLDB_PLUGIN true)
+endif()
+
+set(ENABLE_LLDBPLUGIN ${PLATFORM_SUPPORTS_LLDB_PLUGIN} CACHE BOOL "Enable building the SOS plugin for LLDB.")
+set(REQUIRE_LLDBPLUGIN ${PLATFORM_SUPPORTS_LLDB_PLUGIN} CACHE BOOL "Require building the SOS plugin for LLDB.")
 
 if(SKIP_LLDBPLUGIN)
     SET(REQUIRE_LLDBPLUGIN false)
@@ -100,6 +104,10 @@ else()
     find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/lib/llvm-3.6/include")
     find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/lib/llvm-3.5/include")
     #FreeBSD
+    find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/local/llvm70/include")
+    find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/local/llvm60/include")
+    find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/local/llvm50/include")
+    find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/local/llvm40/include")
     find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/local/llvm39/include")
     find_path(LLDB_H "lldb/API/LLDB.h" PATHS "/usr/local/llvm38/include")
 
index 0a54f63..3565b9e 100644 (file)
@@ -145,6 +145,7 @@ sosCommandInitialize(lldb::SBDebugger debugger)
     interpreter.AddCommand("ip2md", new sosCommand("IP2MD"), "Displays the MethodDesc structure at the specified address in code that has been JIT-compiled.");
     interpreter.AddCommand("name2ee", new sosCommand("Name2EE"), "Displays the MethodTable structure and EEClass structure for the specified type or method in the specified module.");
     interpreter.AddCommand("pe", new sosCommand("PrintException"), "Displays and formats fields of any object derived from the Exception class at the specified address.");
+    interpreter.AddCommand("syncblk", new sosCommand("SyncBlk"), "Displays the SyncBlock holder info.");
     interpreter.AddCommand("histclear", new sosCommand("HistClear"), "Releases any resources used by the family of Hist commands.");
     interpreter.AddCommand("histinit", new sosCommand("HistInit"), "Initializes the SOS structures from the stress log saved in the debuggee.");
     interpreter.AddCommand("histobj", new sosCommand("HistObj"), "Examines all stress log relocation records and displays the chain of garbage collection relocations that may have led to the address passed in as an argument.");
index 9c89262..cd1a245 100644 (file)
@@ -38,7 +38,7 @@ namespace BINDER_SPACE
         typedef PCWSTR key_t;
         static const FileNameMapEntry Null() { FileNameMapEntry e; e.m_wszFileName = nullptr; return e; }
         static bool IsNull(const FileNameMapEntry & e) { return e.m_wszFileName == nullptr; }
-        static const key_t GetKey(const FileNameMapEntry & e)
+        static key_t GetKey(const FileNameMapEntry & e)
         {
             key_t key;
             key = e.m_wszFileName;
@@ -65,7 +65,7 @@ namespace BINDER_SPACE
         typedef PCWSTR key_t;
         static const SimpleNameToFileNameMapEntry Null() { SimpleNameToFileNameMapEntry e; e.m_wszSimpleName = nullptr; return e; }
         static bool IsNull(const SimpleNameToFileNameMapEntry & e) { return e.m_wszSimpleName == nullptr; }
-        static const key_t GetKey(const SimpleNameToFileNameMapEntry & e)
+        static key_t GetKey(const SimpleNameToFileNameMapEntry & e)
         {
             key_t key;
             key = e.m_wszSimpleName;
index 285368f..b212396 100644 (file)
@@ -45,7 +45,7 @@ namespace BINDER_SPACE
         {
             return pAssemblyName->Hash(dwAssemblyNameFlags);
         }
-        static const element_t Null()
+        static element_t Null()
         {
             return NULL;
         }
index 39ad283..f7a9439 100644 (file)
@@ -88,7 +88,7 @@ namespace BINDER_SPACE
             else
                 return HashStringA(textualIdentity); 
         }
-        static const element_t Null()
+        static element_t Null()
         {
             return NULL;
         }
index 7d65544..36134be 100644 (file)
@@ -73,7 +73,7 @@ namespace BINDER_SPACE
         {
             return HashCaseInsensitive(pAssemblyNameOrPath);
         }
-        static const element_t Null()
+        static element_t Null()
         {
             return NULL;
         }
index c35d5f0..40549e7 100644 (file)
@@ -80,7 +80,7 @@ namespace BINDER_SPACE
         {
             return pPropertyName->Hash();
         }
-        static const element_t Null()
+        static element_t Null()
         {
             return NULL;
         }
index b27ef61..2e4b382 100644 (file)
@@ -200,6 +200,24 @@ FCIMPL2_VV(double, COMDouble::FMod, double x, double y)
     return (double)fmod(x, y);
 FCIMPLEND
 
+/*=====================================FusedMultiplyAdd==========================
+**
+==============================================================================*/
+FCIMPL3_VVV(double, COMDouble::FusedMultiplyAdd, double x, double y, double z)
+    FCALL_CONTRACT;
+
+    return (double)fma(x, y, z);
+FCIMPLEND
+
+/*=====================================Ilog2====================================
+**
+==============================================================================*/
+FCIMPL1_V(int, COMDouble::IlogB, double x)
+    FCALL_CONTRACT;
+
+    return (int)ilogb(x);
+FCIMPLEND
+
 /*=====================================Log======================================
 **
 ==============================================================================*/
@@ -209,6 +227,15 @@ FCIMPL1_V(double, COMDouble::Log, double x)
     return (double)log(x);
 FCIMPLEND
 
+/*=====================================Log2=====================================
+**
+==============================================================================*/
+FCIMPL1_V(double, COMDouble::Log2, double x)
+    FCALL_CONTRACT;
+
+    return (double)log2(x);
+FCIMPLEND
+
 /*====================================Log10=====================================
 **
 ==============================================================================*/
@@ -236,6 +263,15 @@ FCIMPL2_VV(double, COMDouble::Pow, double x, double y)
     return (double)pow(x, y);
 FCIMPLEND
 
+/*=====================================ScaleB===================================
+**
+==============================================================================*/
+FCIMPL2_VI(double, COMDouble::ScaleB, double x, int n)
+    FCALL_CONTRACT;
+
+    return (double)scalbn(x, n);
+FCIMPLEND
+
 /*=====================================Sin======================================
 **
 ==============================================================================*/
index 3903bc9..23c1445 100644 (file)
@@ -187,6 +187,24 @@ FCIMPL2_VV(float, COMSingle::FMod, float x, float y)
     return (float)fmodf(x, y);
 FCIMPLEND
 
+/*=====================================FusedMultiplyAdd==========================
+**
+==============================================================================*/
+FCIMPL3_VVV(float, COMSingle::FusedMultiplyAdd, float x, float y, float z)
+    FCALL_CONTRACT;
+
+    return (float)fmaf(x, y, z);
+FCIMPLEND
+
+/*=====================================Ilog2====================================
+**
+==============================================================================*/
+FCIMPL1_V(int, COMSingle::IlogB, float x)
+    FCALL_CONTRACT;
+
+    return (int)ilogbf(x);
+FCIMPLEND
+
 /*=====================================Log======================================
 **
 ==============================================================================*/
@@ -196,6 +214,15 @@ FCIMPL1_V(float, COMSingle::Log, float x)
     return (float)logf(x);
 FCIMPLEND
 
+/*=====================================Log2=====================================
+**
+==============================================================================*/
+FCIMPL1_V(float, COMSingle::Log2, float x)
+    FCALL_CONTRACT;
+
+    return (float)log2f(x);
+FCIMPLEND
+
 /*====================================Log10=====================================
 **
 ==============================================================================*/
@@ -223,6 +250,15 @@ FCIMPL2_VV(float, COMSingle::Pow, float x, float y)
     return (float)powf(x, y);
 FCIMPLEND
 
+/*=====================================ScaleB===================================
+**
+==============================================================================*/
+FCIMPL2_VI(float, COMSingle::ScaleB, float x, int n)
+    FCALL_CONTRACT;
+
+    return (float)scalbnf(x, n);
+FCIMPLEND
+
 /*=====================================Sin======================================
 **
 ==============================================================================*/
index d2c819f..602b45b 100644 (file)
@@ -25,10 +25,14 @@ public:
     FCDECL1_V(static double, Exp, double x);
     FCDECL1_V(static double, Floor, double x);
     FCDECL2_VV(static double, FMod, double x, double y);
+    FCDECL3_VVV(static double, FusedMultiplyAdd, double x, double y, double z);
+    FCDECL1_V(static int, IlogB, double x);
     FCDECL1_V(static double, Log, double x);
+    FCDECL1_V(static double, Log2, double x);
     FCDECL1_V(static double, Log10, double x);
     FCDECL2_VI(static double, ModF, double x, double* intptr);
     FCDECL2_VV(static double, Pow, double x, double y);
+    FCDECL2_VI(static double, ScaleB, double x, int n);
     FCDECL1_V(static double, Sin, double x);
     FCDECL1_V(static double, Sinh, double x);
     FCDECL1_V(static double, Sqrt, double x);
index a4f9cb7..f54a650 100644 (file)
@@ -25,10 +25,14 @@ public:
     FCDECL1_V(static float, Exp, float x);
     FCDECL1_V(static float, Floor, float x);
     FCDECL2_VV(static float, FMod, float x, float y);
+    FCDECL3_VVV(static float, FusedMultiplyAdd, float x, float y, float z);
+    FCDECL1_V(static int, IlogB, float x);
     FCDECL1_V(static float, Log, float x);
+    FCDECL1_V(static float, Log2, float x);
     FCDECL1_V(static float, Log10, float x);
     FCDECL2_VI(static float, ModF, float x, float* intptr);
     FCDECL2_VV(static float, Pow, float x, float y);
+    FCDECL2_VI(static float, ScaleB, float x, int n);
     FCDECL1_V(static float, Sin, float x);
     FCDECL1_V(static float, Sinh, float x);
     FCDECL1_V(static float, Sqrt, float x);
index 46bbcc3..096f933 100644 (file)
@@ -55,9 +55,9 @@ public:
     static bool GetStatus(pid_t pid, pid_t* ppid, pid_t* tgid, char** name);
     static const MemoryRegion* SearchMemoryRegions(const std::set<MemoryRegion>& regions, const MemoryRegion& search);
 
-    inline const pid_t Pid() const { return m_pid; }
-    inline const pid_t Ppid() const { return m_ppid; }
-    inline const pid_t Tgid() const { return m_tgid; }
+    inline pid_t Pid() const { return m_pid; }
+    inline pid_t Ppid() const { return m_ppid; }
+    inline pid_t Tgid() const { return m_tgid; }
     inline const char* Name() const { return m_name; }
     inline ICLRDataTarget* DataTarget() const { return m_dataTarget; }
 
@@ -66,7 +66,7 @@ public:
     inline const std::set<MemoryRegion> OtherMappings() const { return m_otherMappings; }
     inline const std::set<MemoryRegion> MemoryRegions() const { return m_memoryRegions; }
     inline const std::vector<elf_aux_entry> AuxvEntries() const { return m_auxvEntries; }
-    inline const size_t GetAuxvSize() const { return m_auxvEntries.size() * sizeof(elf_aux_entry); }
+    inline size_t GetAuxvSize() const { return m_auxvEntries.size() * sizeof(elf_aux_entry); }
 
     // IUnknown
     STDMETHOD(QueryInterface)(___in REFIID InterfaceId, ___out PVOID* Interface);
index 1d6b0f9..af06f78 100644 (file)
@@ -55,9 +55,9 @@ private:
     bool WriteThread(const ThreadInfo& thread, int fatal_signal);
     bool WriteData(const void* buffer, size_t length);
 
-    const size_t GetProcessInfoSize() const { return sizeof(Nhdr) + 8 + sizeof(prpsinfo_t); }
-    const size_t GetAuxvInfoSize() const { return sizeof(Nhdr) + 8 + m_crashInfo.GetAuxvSize(); }
-    const size_t GetThreadInfoSize() const 
+    size_t GetProcessInfoSize() const { return sizeof(Nhdr) + 8 + sizeof(prpsinfo_t); }
+    size_t GetAuxvInfoSize() const { return sizeof(Nhdr) + 8 + m_crashInfo.GetAuxvSize(); }
+    size_t GetThreadInfoSize() const
     {
         return m_crashInfo.Threads().size() * ((sizeof(Nhdr) + 8 + sizeof(prstatus_t))
 #if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
index fbdd9d0..6146420 100644 (file)
@@ -100,13 +100,13 @@ public:
     {
     }
 
-    const uint32_t Permissions() const { return m_flags & MEMORY_REGION_FLAG_PERMISSIONS_MASK; }
-    const uint32_t Flags() const { return m_flags; }
-    const bool IsBackedByMemory() const { return (m_flags & MEMORY_REGION_FLAG_MEMORY_BACKED) != 0; }
-    const uint64_t StartAddress() const { return m_startAddress; }
-    const uint64_t EndAddress() const { return m_endAddress; }
-    const uint64_t Size() const { return m_endAddress - m_startAddress; }
-    const uint64_t Offset() const { return m_offset; }
+    uint32_t Permissions() const { return m_flags & MEMORY_REGION_FLAG_PERMISSIONS_MASK; }
+    uint32_t Flags() const { return m_flags; }
+    bool IsBackedByMemory() const { return (m_flags & MEMORY_REGION_FLAG_MEMORY_BACKED) != 0; }
+    uint64_t StartAddress() const { return m_startAddress; }
+    uint64_t EndAddress() const { return m_endAddress; }
+    uint64_t Size() const { return m_endAddress - m_startAddress; }
+    uint64_t Offset() const { return m_offset; }
     const char* FileName() const { return m_fileName; }
 
     bool operator<(const MemoryRegion& rhs) const
index 8851877..5055b22 100644 (file)
@@ -41,9 +41,9 @@ public:
     void GetThreadStack(CrashInfo& crashInfo);
     void GetThreadContext(uint32_t flags, CONTEXT* context) const;
 
-    inline const pid_t Tid() const { return m_tid; }
-    inline const pid_t Ppid() const { return m_ppid; }
-    inline const pid_t Tgid() const { return m_tgid; }
+    inline pid_t Tid() const { return m_tid; }
+    inline pid_t Ppid() const { return m_ppid; }
+    inline pid_t Tgid() const { return m_tgid; }
 
     inline const user_regs_struct* GPRegisters() const { return &m_gpRegisters; }
     inline const user_fpregs_struct* FPRegisters() const { return &m_fpRegisters; }
index b00917c..988f673 100644 (file)
@@ -7259,6 +7259,22 @@ HRESULT DacDbiInterfaceImpl::GetMDStructuresVersion(ULONG32* pMDStructuresVersio
     return S_OK;
 }
 
+HRESULT DacDbiInterfaceImpl::EnableGCNotificationEvents(BOOL fEnable)
+{
+    DD_ENTER_MAY_THROW
+
+    HRESULT hr = S_OK;
+    EX_TRY
+    {
+        if (g_pDebugger != NULL)
+        {
+            TADDR addr = PTR_HOST_MEMBER_TADDR(Debugger, g_pDebugger, m_isGarbageCollectionEventsEnabled);
+            SafeWriteStructOrThrow<BOOL>(addr, &fEnable);
+        }
+    }
+    EX_CATCH_HRESULT(hr);
+    return hr;
+}
 
 DacRefWalker::DacRefWalker(ClrDataAccess *dac, BOOL walkStacks, BOOL walkFQ, UINT32 handleMask)
     : mDac(dac), mWalkStacks(walkStacks), mWalkFQ(walkFQ), mHandleMask(handleMask), mStackWalker(NULL),
index 6655800..403fa7f 100644 (file)
@@ -156,6 +156,7 @@ public:
     HRESULT GetILCodeVersionNodeData(VMPTR_ILCodeVersionNode vmILCodeVersionNode, DacSharedReJitInfo* pData);
     HRESULT GetDefinesBitField(ULONG32 *pDefines);
     HRESULT GetMDStructuresVersion(ULONG32* pMDStructuresVersion);
+    HRESULT EnableGCNotificationEvents(BOOL fEnable);
 
 private:
     void TypeHandleToExpandedTypeInfoImpl(AreValueTypesBoxed              boxed,
index 9cf52c8..a5116f7 100644 (file)
@@ -3,7 +3,7 @@
 // See the LICENSE file in the project root for more information.
 //*****************************************************************************
 // File: process.cpp
-// 
+//
 
 //
 //*****************************************************************************
@@ -11,7 +11,7 @@
 #include "primitives.h"
 #include "safewrap.h"
 
-#include "check.h" 
+#include "check.h"
 
 #ifndef SM_REMOTESESSION
 #define SM_REMOTESESSION 0x1000
@@ -34,7 +34,7 @@
 // Keep this around for retail debugging. It's very very useful because
 // it's global state that we can always find, regardless of how many locals the compiler
 // optimizes away ;)
-struct RSDebuggingInfo; 
+struct RSDebuggingInfo;
 extern RSDebuggingInfo * g_pRSDebuggingInfo;
 
 //---------------------------------------------------------------------------------------
@@ -56,20 +56,20 @@ extern RSDebuggingInfo * g_pRSDebuggingInfo;
 // Assumptions:
 //
 // Notes:
-//    The outgoing process object can be cleaned up by calling Detach (which 
-//    will reset the Attach bit.) 
+//    The outgoing process object can be cleaned up by calling Detach (which
+//    will reset the Attach bit.)
 //    @dbgtodo attach-bit: need to determine fate of attach bit.
 //
 //---------------------------------------------------------------------------------------
 STDAPI OpenVirtualProcessImpl(
-    ULONG64 clrInstanceId, 
+    ULONG64 clrInstanceId,
     IUnknown * pDataTarget,
     HMODULE hDacModule,
     CLR_DEBUGGING_VERSION * pMaxDebuggerSupportedVersion,
     REFIID riid,
     IUnknown ** ppInstance,
     CLR_DEBUGGING_PROCESS_FLAGS* pFlagsOut)
-{    
+{
     HRESULT hr = S_OK;
     RSExtSmartPtr<CordbProcess> pProcess;
     PUBLIC_API_ENTRY(NULL);
@@ -95,7 +95,7 @@ STDAPI OpenVirtualProcessImpl(
         }
 
         // This process object is intended to be used for the V3 pipeline, and so
-        // much of the process from V2 is not being used. For example, 
+        // much of the process from V2 is not being used. For example,
         // - there is no ShimProcess object
         // - there is no w32et thread (all threads are effectively an event thread)
         // - the stop state is 'live', which corresponds to CordbProcess not knowing what
@@ -104,8 +104,8 @@ STDAPI OpenVirtualProcessImpl(
             clrInstanceId,
             pDataTarget,  // takes a reference
             hDacModule,
-            NULL, // Cordb        
-            (DWORD) 0, // 0 for V3 cases (pShim == NULL). 
+            NULL, // Cordb
+            (DWORD) 0, // 0 for V3 cases (pShim == NULL).
             NULL, // no Shim in V3 cases
             &pProcess));
 
@@ -123,7 +123,7 @@ STDAPI OpenVirtualProcessImpl(
             }
         }
 
-        // 
+        //
         // Check to make sure the debugger supports debugging this version
         // Note that it's important that we still store the flags (above) in this case
         //
@@ -191,17 +191,17 @@ STDAPI OpenVirtualProcessImpl2(
 //---------------------------------------------------------------------------------------
 // DEPRECATED - use OpenVirtualProcessImpl
 // OpenVirtualProcess method used by the shim in CLR v4 Beta1
-// We'd like a beta1 shim/VS to still be able to open dumps using a CLR v4 Beta2+ mscordbi.dll, 
+// We'd like a beta1 shim/VS to still be able to open dumps using a CLR v4 Beta2+ mscordbi.dll,
 // so we'll leave this in place (at least until after Beta2 is in wide use).
 //---------------------------------------------------------------------------------------
 STDAPI OpenVirtualProcess2(
-    ULONG64 clrInstanceId, 
+    ULONG64 clrInstanceId,
     IUnknown * pDataTarget,
     HMODULE hDacModule,
     REFIID riid,
     IUnknown ** ppInstance,
     CLR_DEBUGGING_PROCESS_FLAGS* pFlagsOut)
-{    
+{
     CLR_DEBUGGING_VERSION maxVersion = {0};
     maxVersion.wMajor = 4;
     return OpenVirtualProcessImpl(clrInstanceId, pDataTarget, hDacModule, &maxVersion, riid, ppInstance, pFlagsOut);
@@ -213,11 +213,11 @@ STDAPI OpenVirtualProcess2(
 // Used directly in CLR v4 pre Beta1 - can probably be safely removed now
 //---------------------------------------------------------------------------------------
 STDAPI OpenVirtualProcess(
-    ULONG64 clrInstanceId, 
+    ULONG64 clrInstanceId,
     IUnknown * pDataTarget,
     REFIID riid,
     IUnknown ** ppInstance)
-{    
+{
     return OpenVirtualProcess2(clrInstanceId, pDataTarget, NULL, riid, ppInstance, NULL);
 };
 
@@ -329,7 +329,7 @@ IMDInternalImport * CordbProcess::LookupMetaData(VMPTR_PEFile vmPEFile, bool &is
 
     // There may be perf issues here. The DAC may make a lot of metadata requests, and so
     // this may be an area for potential perf optimizations if we find things running slow.
-    
+
     // enumerate through all Modules
     for (CordbAppDomain * pAppDomain = m_appDomains.FindFirst(&hashFindAppDomain);
          pAppDomain != NULL;
@@ -530,12 +530,12 @@ IMDInternalImport * CordbProcess::LookupMetaDataFromDebuggerForSingleFile(
 //
 // Notes:
 //    Since this function is a callback from DAC, it must not take the process lock.
-//    If it does, we may deadlock between the DD lock and the process lock.  
+//    If it does, we may deadlock between the DD lock and the process lock.
 //    If we really need to take the process lock for whatever reason, we must take it in the DBI functions
 //    which call the DAC API that ends up calling this function.
 //    See code:InternalDacCallbackHolder for more information.
 //
+
 void * CordbProcess::Alloc(SIZE_T lenBytes)
 {
     return new BYTE[lenBytes]; // throws
@@ -550,15 +550,15 @@ void * CordbProcess::Alloc(SIZE_T lenBytes)
 //
 // Notes:
 //    Since this function is a callback from DAC, it must not take the process lock.
-//    If it does, we may deadlock between the DD lock and the process lock.  
+//    If it does, we may deadlock between the DD lock and the process lock.
 //    If we really need to take the process lock for whatever reason, we must take it in the DBI functions
 //    which call the DAC API that ends up calling this function.
 //    See code:InternalDacCallbackHolder for more information.
 //
+
 void CordbProcess::Free(void * p)
 {
-    // This shouldn't throw. 
+    // This shouldn't throw.
     delete [] ((BYTE *) p);
 }
 
@@ -566,38 +566,38 @@ void CordbProcess::Free(void * p)
 //---------------------------------------------------------------------------------------
 //
 // #DBIVersionChecking
-// 
+//
 // There are a few checks we need to do to make sure we are using the matching DBI and DAC for a particular
 // version of the runtime.
-// 
+//
 // 1. Runtime vs. DBI
 //     - Desktop
 //         This is done by making sure that the CorDebugInterfaceVersion passed to code:CreateCordbObject is
 //         compatible with the version of the DBI.
-//         
+//
 //     - Windows CoreCLR
 //         This is done by dbgshim.dll.  It checks whether the runtime DLL and the DBI DLL have the same
 //         product version.  See CreateDebuggingInterfaceForVersion() in dbgshim.cpp.
-//         
+//
 //     - Remote transport (Mac CoreCLR + CoreSystem CoreCLR)
 //         Since there is no dbgshim.dll for a remote CoreCLR, we have to do this check in some other place.
-//         We do this in code:CordbProcess::CreateDacDbiInterface, by calling 
-//         code:DacDbiInterfaceImpl::CheckDbiVersion right after we have created the DDMarshal.  
+//         We do this in code:CordbProcess::CreateDacDbiInterface, by calling
+//         code:DacDbiInterfaceImpl::CheckDbiVersion right after we have created the DDMarshal.
 //         The IDacDbiInterface implementation on remote device checks the product version of the device
 //         coreclr by:
 //             mac - looking at the Info.plist file in the CoreCLR bundle.
 //             CoreSystem - this check is skipped at the moment, but should be implemented if we release it
-//         
+//
 //         The one twist here is that the DBI needs to communicate with the IDacDbiInterface
 //         implementation on the device BEFORE it can verify the product versions.  This means that we need to
-//         have one IDacDbiInterface API which is consistent across all versions of the IDacDbiInterface.  
+//         have one IDacDbiInterface API which is consistent across all versions of the IDacDbiInterface.
 //         This puts two constraints on CheckDbiVersion():
-//         
+//
 //             1.  It has to be the first API on the IDacDbiInterface.
-//             - Otherwise, a wrong version of the DBI may end up calling a different API on the 
+//             - Otherwise, a wrong version of the DBI may end up calling a different API on the
 //               IDacDbiInterface and getting random results. (Really what matters is that it is
 //               protocol message id 0, at present the source code position implies the message id)
-//               
+//
 //             2.  Its parameters cannot change.
 //             - Otherwise, we may run into random errors when we marshal/unmarshal the arguments for the
 //               call to CheckDbiVersion().  Debugging will still fail, but we won't get the
@@ -624,7 +624,7 @@ void CordbProcess::Free(void * p)
 //
 //      - Remote transport (Mac CoreCLR and CoreSystem CoreCLR)
 //          Because the transport exists between DBI and DAC it becomes much more important to do a versioning check
-//         
+//
 //          Mac - currently does a tightly bound version check between DBI and the runtime (CheckDbiVersion() above),
 //             which transitively gives a tightly bound check to DAC. In same function there is also a check that is
 //             logically a DAC DBI protocol check, verifying that the m_dwProtocolBreakingChangeCounter of DbiVersion
@@ -645,20 +645,20 @@ void CordbProcess::Free(void * p)
 //                case would be changing the DDMarshal proxy generation code. In addition to the hashes we also
 //                embed timestamps when the auto-generated code was produced. However this isn't used for version
 //                matching, only as a hint to indicate which of two mismatched versions is newer.
-//                
-//         
+//
+//
 // 3. Runtime vs. DAC
 //     - Desktop, Windows CoreCLR, CoreSystem CoreCLR
 //         In both cases we check this by matching the timestamp in the debug directory of the runtime image
-//         and the timestamp we store in the DAC table when we generate the DAC dll.  This is done in 
+//         and the timestamp we store in the DAC table when we generate the DAC dll.  This is done in
 //         code:ClrDataAccess::VerifyDlls.
-//         
+//
 //     - Mac CoreCLR
-//         On Mac, we don't have a timestamp in the runtime image.  Instead, we rely on checking the 16-byte 
-//         UUID in the image.  This UUID is used to check whether a symbol file matches the image, so 
-//         conceptually it's the same as the timestamp we use on Windows.  This is also done in 
+//         On Mac, we don't have a timestamp in the runtime image.  Instead, we rely on checking the 16-byte
+//         UUID in the image.  This UUID is used to check whether a symbol file matches the image, so
+//         conceptually it's the same as the timestamp we use on Windows.  This is also done in
 //         code:ClrDataAccess::VerifyDlls.
-// 
+//
 //---------------------------------------------------------------------------------------
 //
 // Instantiates a DacDbi Interface object in a live-debugging scenario that matches
@@ -681,7 +681,7 @@ CordbProcess::CreateDacDbiInterface()
 {
     _ASSERTE(m_pDACDataTarget != NULL);
     _ASSERTE(m_pDacPrimitives == NULL); // don't double-init
-    
+
     // Caller has already determined which CLR in the target is being debugged.
     _ASSERTE(m_clrInstanceId != 0);
 
@@ -699,7 +699,7 @@ CordbProcess::CreateDacDbiInterface()
     }
 
     //
-    // Get the access interface, passing our callback interfaces (data target, allocator and metadata lookup) 
+    // Get the access interface, passing our callback interfaces (data target, allocator and metadata lookup)
     //
 
     IDacDbiInterface::IAllocator * pAllocator = this;
@@ -707,10 +707,10 @@ CordbProcess::CreateDacDbiInterface()
 
 
     typedef HRESULT (STDAPICALLTYPE * PFN_DacDbiInterfaceInstance)(
-        ICorDebugDataTarget *, 
+        ICorDebugDataTarget *,
         CORDB_ADDRESS,
-        IDacDbiInterface::IAllocator *, 
-        IDacDbiInterface::IMetaDataLookup *, 
+        IDacDbiInterface::IAllocator *,
+        IDacDbiInterface::IMetaDataLookup *,
         IDacDbiInterface **);
 
     IDacDbiInterface* pInterfacePtr = NULL;
@@ -724,7 +724,7 @@ CordbProcess::CreateDacDbiInterface()
     IfFailThrow(hrStatus);
 
     // We now have a resource, pInterfacePtr, that needs to be freed.
-    m_pDacPrimitives = pInterfacePtr;   
+    m_pDacPrimitives = pInterfacePtr;
 
     // Setup DAC target consistency checking based on what we're using for DBI
     m_pDacPrimitives->DacSetTargetConsistencyChecks( m_fAssertOnTargetInconsistency );
@@ -732,7 +732,7 @@ CordbProcess::CreateDacDbiInterface()
 
 //---------------------------------------------------------------------------------------
 //
-// Is the DAC/DBI interface initialized? 
+// Is the DAC/DBI interface initialized?
 //
 // Return Value:
 //    TRUE iff init.
@@ -749,14 +749,14 @@ BOOL CordbProcess::IsDacInitialized()
 
 //---------------------------------------------------------------------------------------
 //
-// Get the DAC interface. 
+// Get the DAC interface.
 //
 // Return Value:
 //    the Dac/Dbi interface pointer to the process.
 //    Never returns NULL.
 //
 // Assumptions:
-//    Caller is responsible for ensuring Data-Target is safe to access (eg, not 
+//    Caller is responsible for ensuring Data-Target is safe to access (eg, not
 //    currently running).
 //    Caller is responsible for ensuring DAC-cache is flushed. Call code:CordbProcess::ForceDacFlush
 //    as needed.
@@ -778,7 +778,7 @@ IDacDbiInterface * CordbProcess::GetDAC()
 
 //---------------------------------------------------------------------------------------
 // Get the Data-Target
-// 
+//
 // Returns:
 //     pointer to the data-target. Should be non-null.
 //     Lifetime of the pointer is until this process object is neutered.
@@ -793,9 +793,9 @@ ICorDebugDataTarget * CordbProcess::GetDataTarget()
 //
 // Arguments:
 //     pDataTarget - abstracts access to the debuggee.
-//     clrInstanceId - identifies the CLR instance within the debuggee. (This is the 
+//     clrInstanceId - identifies the CLR instance within the debuggee. (This is the
 //         base address of mscorwks)
-//     pCordb - Pointer to the implementation of the owning Cordb object implementing the 
+//     pCordb - Pointer to the implementation of the owning Cordb object implementing the
 //         owning ICD interface.
 //         This should go away - we can get the functionality from the pShim.
 //         If this is null, then pShim must be null too.
@@ -814,13 +814,13 @@ ICorDebugDataTarget * CordbProcess::GetDataTarget()
 //
 //---------------------------------------------------------------------------------------
 
-// static 
+// static
 HRESULT CordbProcess::OpenVirtualProcess(
-    ULONG64 clrInstanceId, 
+    ULONG64 clrInstanceId,
     IUnknown * pDataTarget,
     HMODULE hDacModule,
-    Cordb* pCordb,     
-    DWORD dwProcessID, 
+    Cordb* pCordb,
+    DWORD dwProcessID,
     ShimProcess * pShim,
     CordbProcess ** ppProcess)
 {
@@ -863,9 +863,9 @@ HRESULT CordbProcess::OpenVirtualProcess(
     // This will bump reference count.
     if (pShim != NULL)
     {
-        pShim->SetProcess(pProcess);    
+        pShim->SetProcess(pProcess);
 
-        _ASSERTE(pShim->GetProcess() == pThis);        
+        _ASSERTE(pShim->GetProcess() == pThis);
         _ASSERTE(pShim->GetWin32EventThread() != NULL);
     }
 
@@ -889,7 +889,7 @@ HRESULT CordbProcess::OpenVirtualProcess(
 
         // In failure case, pProcess's dtor will do the final release.
     }
-    
+
 
     return hr;
 }
@@ -898,16 +898,16 @@ HRESULT CordbProcess::OpenVirtualProcess(
 // CordbProcess constructor
 //
 // Arguments:
-//     pDataTarget - Pointer to an implementation of ICorDebugDataTarget 
+//     pDataTarget - Pointer to an implementation of ICorDebugDataTarget
 //         (or ICorDebugMutableDataTarget), which virtualizes access to the process.
 //     clrInstanceId - representation of the CLR to debug in the process.  Must be specified
 //         (non-zero) if pShim is NULL.  If 0, use the first CLR that we see.
-//     pCordb - Pointer to the implementation of the owning Cordb object implementing the 
+//     pCordb - Pointer to the implementation of the owning Cordb object implementing the
 //         owning ICD interface.
 //     pW32 - Pointer to the Win32 event thread to use when processing events for this
 //         process.
-//     dwProcessID - For V3, 0. 
-//         Else for shim codepaths, the processID of the process this object will represent. 
+//     dwProcessID - For V3, 0.
+//         Else for shim codepaths, the processID of the process this object will represent.
 //     pShim - Pointer to the shim for handling V2 debuggers on the V3 architecture.
 //
 //---------------------------------------------------------------------------------------
@@ -920,13 +920,13 @@ CordbProcess::CordbProcess(ULONG64 clrInstanceId,
                            ShimProcess * pShim)
   : CordbBase(NULL, dwProcessID, enumCordbProcess),
     m_fDoDelayedManagedAttached(false),
-    m_cordb(pCordb), 
-    m_handle(NULL),    
-    m_detached(false), 
+    m_cordb(pCordb),
+    m_handle(NULL),
+    m_detached(false),
     m_uninitializedStop(false),
     m_exiting(false),
     m_terminated(false),
-    m_unrecoverableError(false), 
+    m_unrecoverableError(false),
     m_specialDeferment(false),
     m_helperThreadDead(false),
     m_loaderBPReceived(false),
@@ -938,7 +938,7 @@ CordbProcess::CordbProcess(ULONG64 clrInstanceId,
     m_syncCompleteReceived(false),
     m_pShim(pShim),
     m_userThreads(11),
-    m_oddSync(false), 
+    m_oddSync(false),
 #ifdef FEATURE_INTEROP_DEBUGGING
     m_unmanagedThreads(11),
 #endif
@@ -950,7 +950,7 @@ CordbProcess::CordbProcess(ULONG64 clrInstanceId,
     m_leftSideEventAvailable(NULL),
     m_leftSideEventRead(NULL),
 #if defined(FEATURE_INTEROP_DEBUGGING)
-    m_leftSideUnmanagedWaitEvent(NULL),    
+    m_leftSideUnmanagedWaitEvent(NULL),
 #endif // FEATURE_INTEROP_DEBUGGING
     m_initialized(false),
     m_stopRequested(false),
@@ -964,7 +964,7 @@ CordbProcess::CordbProcess(ULONG64 clrInstanceId,
     m_lastDispatchedIBEvent(NULL),
     m_dispatchingUnmanagedEvent(false),
     m_dispatchingOOBEvent(false),
-    m_doRealContinueAfterOOBBlock(false),   
+    m_doRealContinueAfterOOBBlock(false),
     m_state(0),
 #endif // FEATURE_INTEROP_DEBUGGING
     m_helperThreadId(0),
@@ -1006,8 +1006,8 @@ CordbProcess::CordbProcess(ULONG64 clrInstanceId,
     m_pProcess.Assign(this);
 
 #ifdef _DEBUG
-    // On Debug builds, we'll ASSERT by default whenever the target appears to be corrupt or 
-    // otherwise inconsistent (both in DAC and DBI).  But we also need the ability to 
+    // On Debug builds, we'll ASSERT by default whenever the target appears to be corrupt or
+    // otherwise inconsistent (both in DAC and DBI).  But we also need the ability to
     // explicitly test corrupt targets.
     // Tests should set COMPlus_DbgIgnoreInconsistentTarget=1 to suppress these asserts
     // Note that this controls two things:
@@ -1076,19 +1076,19 @@ CordbProcess::~CordbProcess()
 
     // We shouldn't still be in Cordb's list of processes. Unfortunately, our root Cordb object
     // may have already been deleted b/c we're at the mercy of ref-counting, so we can't check.
-    
+
        _ASSERTE(m_sharedAppDomain == NULL);
-        
+
     m_processMutex.Destroy();
     m_StopGoLock.Destroy();
 
     // These handles were cleared in neuter
-    _ASSERTE(m_handle == NULL); 
+    _ASSERTE(m_handle == NULL);
 #if defined(FEATURE_INTEROP_DEBUGGING)
     _ASSERTE(m_leftSideUnmanagedWaitEvent == NULL);
 #endif // FEATURE_INTEROP_DEBUGGING
     _ASSERTE(m_stopWaitEvent == NULL);
-    
+
     // Set this to mark that we really did cleanup.
 }
 
@@ -1099,7 +1099,7 @@ CordbProcess::~CordbProcess()
 // the Cordb object.
 //
 // Arguments:
-//     pCordb - Pointer to the implementation of the owning Cordb object implementing the 
+//     pCordb - Pointer to the implementation of the owning Cordb object implementing the
 //         owning ICD interface.
 //     szProgramName - Name of the program to execute.
 //     szProgramArgs - Command line arguments for the process.
@@ -1150,7 +1150,7 @@ HRESULT ShimProcess::CreateProcess(
         hr = pShim->CreateAndStartWin32ET(pCordb);
         IfFailThrow(hr);
 
-        // Call out to newly created Win32-event Thread to create the process. 
+        // Call out to newly created Win32-event Thread to create the process.
         // If this succeeds, new CordbProcess will add a ref to the ShimProcess
         hr = pShim->GetWin32EventThread()->SendCreateProcessEvent(pShim->GetMachineInfo(),
                                                                   szProgramName,
@@ -1210,7 +1210,7 @@ HRESULT ShimProcess::DebugActiveProcess(
 
         // Indicate that this process was attached to, asopposed to being started under the debugger.
         pShim->m_attached = true;
-       
+
         hr = pShim->CreateAndStartWin32ET(pCordb);
         IfFailThrow(hr);
 
@@ -1231,7 +1231,7 @@ HRESULT ShimProcess::DebugActiveProcess(
         // after DebugActiveProcess completes which means we must wait here long enough to have set the debuggee
         // bit indicating managed attach is coming.
         // However in interop debugging we can't do that because there are debug events which come before the
-        // loader breakpoint (which is how far we need to get to set the debuggee bit). If we blocked 
+        // loader breakpoint (which is how far we need to get to set the debuggee bit). If we blocked
         // DebugActiveProcess there then the debug events would be refering to an ICorDebugProcess that hasn't
         // yet been returned to the caller of DebugActiveProcess. Instead, for interop debugging we force the
         // native debugger to wait until it gets the loader breakpoint to set the event. Note we can't converge
@@ -1258,7 +1258,7 @@ HRESULT ShimProcess::DebugActiveProcess(
 #endif //!FEATURE_DBGIPC_TRANSPORT_DI
     }
     EX_CATCH_HRESULT(hr);
-    
+
     // If this succeeds, then process takes ownership of thread. Else we need to kill it.
     if (FAILED(hr))
     {
@@ -1267,7 +1267,7 @@ HRESULT ShimProcess::DebugActiveProcess(
             pShim->Dispose();
         }
     }
-    
+
     // Always release our ref to ShimProcess. If the Process was created, then it takes a reference.
 
     return hr;
@@ -1284,28 +1284,28 @@ HRESULT ShimProcess::DebugActiveProcess(
 //   code:CordbProcess::IsReadyForDetach)
 //   3. Caller did code:CordbProcess::NeuterLeftSideResources first
 //   to clean up left-side resources.
-//   
+//
 // Notes:
 //   This could be called multiple times (code:CordbProcess::FlushAll), so
 //   be sure to null out any potential dangling pointers. State may be rebuilt
 //   up after each time.
 void CordbProcess::NeuterChildren()
-{   
+{
     _ASSERTE(GetProcessLock()->HasLock());
-    
+
     // Frees left-side resources. See assumptions above.
     m_LeftSideResourceCleanupList.NeuterAndClear(this);
 
 
-    m_EvalTable.Clear();    
-    
+    m_EvalTable.Clear();
+
 
-    // Sweep neuter lists.    
+    // Sweep neuter lists.
     m_ExitNeuterList.NeuterAndClear(this);
     m_ContinueNeuterList.NeuterAndClear(this);
 
     m_userThreads.NeuterAndClear(GetProcessLock());
-    
+
     m_pDefaultAppDomain = NULL;
 
     // Frees per-appdomain left-side resources. See assumptions above.
@@ -1347,10 +1347,10 @@ void CordbProcess::Neuter()
     // Take the process lock.
     RSLockHolder lockHolder(GetProcessLock());
 
-    
+
     NeuterChildren();
 
-    // Release the metadata interfaces    
+    // Release the metadata interfaces
     m_pMetaDispenser.Clear();
 
 
@@ -1377,7 +1377,7 @@ void CordbProcess::Neuter()
             // W23ET.
             if (m_pShim != NULL)
             {
-                m_pShim->Dispose();            
+                m_pShim->Dispose();
                 m_pShim.Clear();
             }
         }
@@ -1396,24 +1396,24 @@ void CordbProcess::Neuter()
         m_pEventChannel->Delete();
         m_pEventChannel = NULL;
     }
-    
-    // Need process lock to clear the patch table    
+
+    // Need process lock to clear the patch table
     ClearPatchTable();
-    
+
     CordbProcess::CloseIPCHandles();
 
     CordbBase::Neuter();
-        
+
     m_cordb.Clear();
 
     // Need to release this reference to ourselves. Other leaf objects may still hold
     // strong references back to this CordbProcess object.
     _ASSERTE(m_pProcess == this);
-    m_pProcess.Clear();    
+    m_pProcess.Clear();
 }
 
 // Wrapper to return metadata dispenser.
-// 
+//
 // Notes:
 //    Does not adjust reference count of dispenser.
 //    Dispenser is destroyed in code:CordbProcess::Neuter
@@ -1482,7 +1482,7 @@ void CordbProcess::CloseIPCHandles()
 //     S_OK on success.
 //-----------------------------------------------------------------------------
 HRESULT ShimProcess::CreateAndStartWin32ET(Cordb * pCordb)
-{   
+{
 
     //
     // Create the win32 event listening thread
@@ -1522,13 +1522,13 @@ HRESULT ShimProcess::CreateAndStartWin32ET(Cordb * pCordb)
 //
 // Return Value:
 //    TRUE  - DAC is initialized.
-//    FALSE  - Not initialized, but can try again later. Common case if 
+//    FALSE  - Not initialized, but can try again later. Common case if
 //          target has not yet loaded the runtime.
 //    Throws exception - fatal.
 //
 // Assumptions:
 //    Target is stopped by OS, so we can safely inspect it without it moving on us.
-// 
+//
 // Notes:
 //    This can be called eagerly to sniff if the LS is initialized.
 //
@@ -1543,9 +1543,9 @@ BOOL CordbProcess::TryInitializeDac()
 
     // Target is stopped by OS, so we can safely inspect it without it moving on us.
 
-    // We want to avoid exceptions in the normal case, so we do some pre-checks 
+    // We want to avoid exceptions in the normal case, so we do some pre-checks
     // to detect failure without relying on exceptions.
-    // Can't initialize DAC until mscorwks is loaded. So that's a sanity test.    
+    // Can't initialize DAC until mscorwks is loaded. So that's a sanity test.
     HRESULT hr = EnsureClrInstanceIdSet();
     if (FAILED(hr))
     {
@@ -1566,7 +1566,7 @@ BOOL CordbProcess::TryInitializeDac()
 // Load & Init DAC, expecting to succeed.
 //
 // Return Value:
-//    Throws on failure. 
+//    Throws on failure.
 //
 // Assumptions:
 //    Caller invokes this at a point where they can expect it to succeed.
@@ -1576,7 +1576,7 @@ BOOL CordbProcess::TryInitializeDac()
 // Notes:
 //    This needs to succeed, and should always succeed (baring a bad installation)
 //    so we assert on failure paths.
-//    This may be called mutliple times. 
+//    This may be called mutliple times.
 //
 //---------------------------------------------------------------------------------------
 void CordbProcess::InitializeDac()
@@ -1599,8 +1599,8 @@ void CordbProcess::InitializeDac()
     {
         LOG((LF_CORDB, LL_INFO1000, "Dac already loaded, 0x%p\n", (HMODULE)m_hDacModule));
     }
-    
-    // Always flush dac.    
+
+    // Always flush dac.
     ForceDacFlush();
 }
 
@@ -1609,7 +1609,7 @@ void CordbProcess::InitializeDac()
 // Free DAC resources
 //
 // Notes:
-//    This should clean up state such that code:CordbProcess::InitializeDac could be called again. 
+//    This should clean up state such that code:CordbProcess::InitializeDac could be called again.
 //
 //---------------------------------------------------------------------------------------
 void CordbProcess::FreeDac()
@@ -1643,12 +1643,12 @@ IEventChannel * CordbProcess::GetEventChannel()
 // Mark that the process is being interop-debugged.
 //
 // Notes:
-//   @dbgtodo shim: this should eventually move into the shim or go away. 
+//   @dbgtodo shim: this should eventually move into the shim or go away.
 //   It's only to support V2 legacy interop-debugging.
 //   Called after code:CordbProcess::Init if we want to enable interop debugging.
 //   This allows us to separate out Interop-debugging flags from the core initialization,
 //   and paves the way for us to eventually remove it.
-//   
+//
 //   Since we're always on the naitve-pipeline, the Enabling interop debugging just changes
 //   how the native debug events are being handled. So this must be called after Init, but
 //   before any events are actually handled.
@@ -1670,7 +1670,7 @@ void CordbProcess::EnableInteropDebugging()
     m_state |= PS_WIN32_ATTACHED;
     if (GetDCB() != NULL)
     {
-        GetDCB()->m_rightSideIsWin32Debugger = true; 
+        GetDCB()->m_rightSideIsWin32Debugger = true;
         UpdateLeftSideDCBField(&(GetDCB()->m_rightSideIsWin32Debugger), sizeof(GetDCB()->m_rightSideIsWin32Debugger));
     }
 
@@ -1700,7 +1700,7 @@ void CordbProcess::EnableInteropDebugging()
 HRESULT CordbProcess::Init()
 {
     INTERNAL_API_ENTRY(this);
-    
+
     HRESULT hr = S_OK;
     BOOL fIsLSStarted = FALSE; // see meaning below.
 
@@ -1733,13 +1733,13 @@ HRESULT CordbProcess::Init()
 
         m_pMetaDataLocator.Clear();
         hr = m_pDACDataTarget->QueryInterface(IID_ICorDebugMetaDataLocator, reinterpret_cast<void **>(&m_pMetaDataLocator));
-        
-        // Get the metadata dispenser.        
+
+        // Get the metadata dispenser.
         hr = InternalCreateMetaDataDispenser(IID_IMetaDataDispenserEx, (void **)&m_pMetaDispenser);
 
-        // We statically link in the dispenser. We expect it to succeed, except for OOM, which 
+        // We statically link in the dispenser. We expect it to succeed, except for OOM, which
         // debugger doesn't yet handle.
-        SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr); 
+        SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr);
         IfFailThrow(hr);
 
         _ASSERTE(m_pMetaDispenser != NULL);
@@ -1762,9 +1762,9 @@ HRESULT CordbProcess::Init()
         // Managed debugging is built on the native-pipeline, and that will detect against double-attaches.
 
         // @dbgtodo shim: In V2, LSEA + LSER were used by the LS's helper thread. Now with the V3 pipeline,
-        // that helper-thread uses native-debug events. The W32ET gets those events and then uses LSEA, LSER to 
+        // that helper-thread uses native-debug events. The W32ET gets those events and then uses LSEA, LSER to
         // signal existing RS infrastructure. Eventually get rid of LSEA, LSER completely.
-        // 
+        //
 
         m_leftSideEventAvailable = WszCreateEvent(NULL, FALSE, FALSE, NULL);
         if (m_leftSideEventAvailable == NULL)
@@ -1811,11 +1811,11 @@ HRESULT CordbProcess::Init()
         // This means there's an overlap: if we catch it at phase 5, we'll just get
         // an extra Startup exception from phase 6, which is safe. This overlap is good
         // because it means there's no bad window to do an attach in.
-        
+
         // fIsLSStarted means before phase 6 (eg, RS should expect a startup exception)
 
         // Determines if the LS is started.
-        
+
         {
             BOOL fReady = TryInitializeDac();
 
@@ -1825,7 +1825,7 @@ HRESULT CordbProcess::Init()
                 _ASSERTE(m_pDacPrimitives != NULL);
                 fIsLSStarted = m_pDacPrimitives->IsLeftSideInitialized();
             }
-            else 
+            else
             {
                 _ASSERTE(m_pDacPrimitives == NULL);
 
@@ -1834,8 +1834,8 @@ HRESULT CordbProcess::Init()
                 _ASSERTE(!fIsLSStarted);
             }
         }
-        
-        
+
+
         if (fIsLSStarted)
         {
             // Left-side has started up. This is common for Attach cases when managed-code is already running.
@@ -1855,7 +1855,7 @@ HRESULT CordbProcess::Init()
             }
             else
             {
-                // In the V3 pipeline case, if we have the DD-interface, then the runtime is loaded 
+                // In the V3 pipeline case, if we have the DD-interface, then the runtime is loaded
                 // and we consider it initialized.
                 if (IsDacInitialized())
                 {
@@ -1935,11 +1935,11 @@ void CordbProcess::QueueManagedAttachIfNeeded()
 
 //---------------------------------------------------------------------------------------
 // Hook from Shim to request a managed attach IPC event
-// 
+//
 // Notes:
-//   Called by shim after the loader-breakpoint is handled. 
+//   Called by shim after the loader-breakpoint is handled.
 //   @dbgtodo sync: ths should go away once the shim can initiate
-//   a sync 
+//   a sync
 void CordbProcess::QueueManagedAttachIfNeededWorker()
 {
     HRESULT hrQueue = S_OK;
@@ -1947,16 +1947,16 @@ void CordbProcess::QueueManagedAttachIfNeededWorker()
     // m_fDoDelayedManagedAttached ensures that we only send an Attach event if the LS is actually present.
     if (m_fDoDelayedManagedAttached && GetShim()->GetAttached())
     {
-        RSLockHolder lockHolder(&this->m_processMutex);            
-        GetDAC()->MarkDebuggerAttachPending();                            
+        RSLockHolder lockHolder(&this->m_processMutex);
+        GetDAC()->MarkDebuggerAttachPending();
 
         hrQueue = this->QueueManagedAttach();
-    } 
-    
+    }
+
     if (m_pShim != NULL)
         m_pShim->SetMarkAttachPendingEvent();
-    
-    IfFailThrow(hrQueue); 
+
+    IfFailThrow(hrQueue);
 }
 
 //---------------------------------------------------------------------------------------
@@ -1982,19 +1982,19 @@ HRESULT CordbProcess::QueueManagedAttach()
 
     // We don't know what Queue it.
     SendAttachProcessWorkItem * pItem = new (nothrow) SendAttachProcessWorkItem(this);
-    
+
     if (pItem == NULL)
     {
         return E_OUTOFMEMORY;
     }
-    
+
     this->m_cordb->m_rcEventThread->QueueAsyncWorkItem(pItem);
-    
+
     return S_OK;
 }
 
 // However, we still want to synchronize.
-// @dbgtodo sync: when we hoist attaching, we can send an DB_IPCE_ASYNC_BREAK event instead or Attach 
+// @dbgtodo sync: when we hoist attaching, we can send an DB_IPCE_ASYNC_BREAK event instead or Attach
 // (for V2 semantics, we still need to synchronize the process)?
 void SendAttachProcessWorkItem::Do()
 {
@@ -2004,10 +2004,10 @@ void SendAttachProcessWorkItem::Do()
     RSLockHolder ch(this->GetProcess()->GetStopGoLock());
 
     DebuggerIPCEvent *event = (DebuggerIPCEvent*) _alloca(CorDBIPC_BUFFER_SIZE);
-    
+
     // This just acts like an async-break, which will kick off things.
     // This will not induce any faked attach events from the VM (like it did in V2).
-    // The Left-side will still slip foward allowing the async-break to happen, so 
+    // The Left-side will still slip foward allowing the async-break to happen, so
     // we may get normal debug events in addition to the sync-complete.
     //
     // 1. In the common attach case, we should just get a sync-complete.
@@ -2015,12 +2015,12 @@ void SendAttachProcessWorkItem::Do()
     GetProcess()->InitAsyncIPCEvent(event, DB_IPCE_ATTACHING, VMPTR_AppDomain::NullPtr());
 
     // This should result in a sync-complete from the Left-side, which will be raised as an exception
-    // that the debugger passes into Filter and then internally goes through code:CordbProcess::TriageSyncComplete 
+    // that the debugger passes into Filter and then internally goes through code:CordbProcess::TriageSyncComplete
     // and that triggers code:CordbRCEventThread::FlushQueuedEvents to be called on the RCET.
     // We already pre-queued a fake CreateProcess event.
 
-    // The left-side will also mark itself as attached in response to this event. 
-    // We explicitly don't mark it as attached from the right-side because we want to let the left-side 
+    // The left-side will also mark itself as attached in response to this event.
+    // We explicitly don't mark it as attached from the right-side because we want to let the left-side
     // synchronize first (to stop all running threads) before marking the debugger as attached.
     LOG((LF_CORDB, LL_INFO1000, "[%x] CP::S: sending attach.\n", GetCurrentThreadId()));
 
@@ -2040,7 +2040,7 @@ void SendAttachProcessWorkItem::Do()
 //
 // Notes:
 //     This does not create the thread object if it's not cached. Caching is unpredictable,
-//     and so this may appear to randomly return NULL. 
+//     and so this may appear to randomly return NULL.
 //     Callers should prefer code:CordbProcess::LookupOrCreateThread unless they expicitly
 //     want to check RS state.
 CordbThread * CordbProcess::TryLookupThread(VMPTR_Thread vmThread)
@@ -2061,7 +2061,7 @@ CordbThread * CordbProcess::TryLookupThread(VMPTR_Thread vmThread)
 //
 // Notes:
 //      OS Thread ID is not fiber-safe, so this is a dangerous function to call.
-//      Avoid this as much as possible. Prefer using VMPTR_Thread and 
+//      Avoid this as much as possible. Prefer using VMPTR_Thread and
 //      code:CordbProcess::LookupOrCreateThread instead of OS thread IDs.
 //      See code:CordbThread::GetID for details.
 CordbThread * CordbProcess::TryLookupOrCreateThreadByVolatileOSId(DWORD dwThreadId)
@@ -2071,7 +2071,7 @@ CordbThread * CordbProcess::TryLookupOrCreateThreadByVolatileOSId(DWORD dwThread
 }
 
 //---------------------------------------------------------------------------------------
-// Lookup a cached CordbThread object by the tid. Returns null if not in the cache (which 
+// Lookup a cached CordbThread object by the tid. Returns null if not in the cache (which
 // includes unmanged thread)
 //
 // Arguments:
@@ -2087,7 +2087,7 @@ CordbThread * CordbProcess::TryLookupOrCreateThreadByVolatileOSId(DWORD dwThread
 //   * OS Thread ID is not fiber-safe, so this is a dangerous function to call.
 //   * This is juts a Lookup, not LookupOrCreate, so it should only be used by methods
 //    that care about the RS state (instead of just LS state).
-//   Prefer using VMPTR_Thread and code:CordbProcess::LookupOrCreateThread 
+//   Prefer using VMPTR_Thread and code:CordbProcess::LookupOrCreateThread
 //
 CordbThread * CordbProcess::TryLookupThreadByVolatileOSId(DWORD dwThreadId)
 {
@@ -2107,7 +2107,7 @@ CordbThread * CordbProcess::TryLookupThreadByVolatileOSId(DWORD dwThreadId)
     }
 
     // This OS thread ID does not match any managed thread id.
-    return NULL; 
+    return NULL;
 }
 
 //---------------------------------------------------------------------------------------
@@ -2175,6 +2175,10 @@ HRESULT CordbProcess::QueryInterface(REFIID id, void **pInterface)
     {
         *pInterface = static_cast<ICorDebugProcess8*>(this);
     }
+    else if (id == IID_ICorDebugProcess10)
+    {
+        *pInterface = static_cast<ICorDebugProcess10*>(this);
+    }
 #ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL
     else if (id == IID_ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly)
     {
@@ -2203,12 +2207,12 @@ HRESULT CordbProcess::QueryInterface(REFIID id, void **pInterface)
 HRESULT CordbProcess::ProcessStateChanged(CorDebugStateChange eChange)
 {
     HRESULT hr = S_OK;
-    PUBLIC_API_BEGIN(this)            
-    {        
+    PUBLIC_API_BEGIN(this)
+    {
         switch(eChange)
         {
-        case PROCESS_RUNNING:            
-            FlushProcessRunning();                
+        case PROCESS_RUNNING:
+            FlushProcessRunning();
             break;
 
         case FLUSH_ALL:
@@ -2229,11 +2233,11 @@ HRESULT CordbProcess::EnumerateHeap(ICorDebugHeapEnum **ppObjects)
 {
     if (!ppObjects)
         return E_POINTER;
-    
+
     HRESULT hr = S_OK;
     PUBLIC_API_ENTRY(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(this);
-    
+
     EX_TRY
     {
         if (m_pDacPrimitives->AreGCStructuresValid())
@@ -2246,9 +2250,9 @@ HRESULT CordbProcess::EnumerateHeap(ICorDebugHeapEnum **ppObjects)
         {
             hr = CORDBG_E_GC_STRUCTURES_INVALID;
         }
-    } 
+    }
     EX_CATCH_HRESULT(hr);
-    
+
     return hr;
 }
 
@@ -2256,17 +2260,17 @@ HRESULT CordbProcess::GetGCHeapInformation(COR_HEAPINFO *pHeapInfo)
 {
     if (!pHeapInfo)
         return E_INVALIDARG;
-        
+
     HRESULT hr = S_OK;
     PUBLIC_API_ENTRY(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(this);
-    
+
     EX_TRY
     {
         GetDAC()->GetGCHeapInformation(pHeapInfo);
     }
     EX_CATCH_HRESULT(hr);
-    
+
     return hr;
 }
 
@@ -2278,12 +2282,12 @@ HRESULT CordbProcess::EnumerateHeapRegions(ICorDebugHeapSegmentEnum **ppRegions)
     HRESULT hr = S_OK;
     PUBLIC_API_ENTRY(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(this);
-    
+
     EX_TRY
     {
         DacDbiArrayList<COR_SEGMENT> segments;
         hr = GetDAC()->GetHeapSegments(&segments);
-        
+
         if (SUCCEEDED(hr))
         {
             if (!segments.IsEmpty())
@@ -2299,17 +2303,22 @@ HRESULT CordbProcess::EnumerateHeapRegions(ICorDebugHeapSegmentEnum **ppRegions)
         }
     }
     EX_CATCH_HRESULT(hr);
-    
+
     return hr;
 }
 
-HRESULT CordbProcess::GetObject(CORDB_ADDRESS addr, ICorDebugObjectValue **pObject)
+HRESULT CordbProcess::GetObject(CORDB_ADDRESS addr, ICorDebugObjectValue **ppObject)
+{
+    return this->GetObjectInternal(addr, nullptr, ppObject);
+}
+
+HRESULT CordbProcess::GetObjectInternal(CORDB_ADDRESS addr, CordbAppDomain* pAppDomainOverride, ICorDebugObjectValue **pObject)
 {
     HRESULT hr = S_OK;
-    
+
     PUBLIC_REENTRANT_API_ENTRY(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(this);
-    
+
     EX_TRY
     {
         if (!m_pDacPrimitives->IsValidObject(addr))
@@ -2324,22 +2333,22 @@ HRESULT CordbProcess::GetObject(CORDB_ADDRESS addr, ICorDebugObjectValue **pObje
         {
             RSLockHolder ch(GetProcess()->GetStopGoLock());
             RSLockHolder procLock(this->GetProcess()->GetProcessLock());
-            
+
             CordbAppDomain *cdbAppDomain = NULL;
             CordbType *pType = NULL;
-            hr = GetTypeForObject(addr, &pType, &cdbAppDomain);
-            
+            hr = GetTypeForObject(addr, pAppDomainOverride, &pType, &cdbAppDomain);
+
             if (SUCCEEDED(hr))
             {
                 _ASSERTE(pType != NULL);
                 _ASSERTE(cdbAppDomain != NULL);
-                
+
                 DebuggerIPCE_ObjectData objData;
                 m_pDacPrimitives->GetBasicObjectInfo(addr, ELEMENT_TYPE_CLASS, cdbAppDomain->GetADToken(), &objData);
-                
+
                 NewHolder<CordbObjectValue> pNewObjectValue(new CordbObjectValue(cdbAppDomain, pType, TargetBuffer(addr, (ULONG)objData.objSize), &objData));
                 hr = pNewObjectValue->Init();
-                
+
                 if (SUCCEEDED(hr))
                 {
                     hr = pNewObjectValue->QueryInterface(__uuidof(ICorDebugObjectValue), (void**)pObject);
@@ -2359,11 +2368,11 @@ HRESULT CordbProcess::EnumerateGCReferences(BOOL enumerateWeakReferences, ICorDe
 {
     if (!ppEnum)
         return E_POINTER;
-        
+
     HRESULT hr = S_OK;
     PUBLIC_API_ENTRY(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(this);
-    
+
     EX_TRY
     {
         CordbRefEnum *pRefEnum = new CordbRefEnum(this, enumerateWeakReferences);
@@ -2378,11 +2387,11 @@ HRESULT CordbProcess::EnumerateHandles(CorGCReferenceType types, ICorDebugGCRefe
 {
     if (!ppEnum)
         return E_POINTER;
-        
+
     HRESULT hr = S_OK;
     PUBLIC_API_ENTRY(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(this);
-    
+
     EX_TRY
     {
         CordbRefEnum *pRefEnum = new CordbRefEnum(this, types);
@@ -2390,7 +2399,7 @@ HRESULT CordbProcess::EnumerateHandles(CorGCReferenceType types, ICorDebugGCRefe
         hr = pRefEnum->QueryInterface(IID_ICorDebugGCReferenceEnum, (void**)ppEnum);
     }
     EX_CATCH_HRESULT(hr);
-    
+
     return hr;
 }
 
@@ -2404,17 +2413,17 @@ HRESULT CordbProcess::GetTypeID(CORDB_ADDRESS obj, COR_TYPEID *pId)
 {
     if (pId == NULL)
         return E_POINTER;
-        
+
     HRESULT hr = S_OK;
     PUBLIC_API_ENTRY(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(this);
-    
+
     EX_TRY
     {
         hr = GetProcess()->GetDAC()->GetTypeID(obj, pId);
     }
     EX_CATCH_HRESULT(hr);
-    
+
     return hr;
 }
 
@@ -2422,13 +2431,13 @@ HRESULT CordbProcess::GetTypeForTypeID(COR_TYPEID id, ICorDebugType **ppType)
 {
     if (ppType == NULL)
         return E_POINTER;
-        
+
     HRESULT hr = S_OK;
-    
+
     PUBLIC_API_ENTRY(this);
     RSLockHolder stopGoLock(this->GetProcess()->GetStopGoLock());
     RSLockHolder procLock(this->GetProcess()->GetProcessLock());
-    
+
     EX_TRY
     {
         DebuggerIPCE_ExpandedTypeData data;
@@ -2439,7 +2448,7 @@ HRESULT CordbProcess::GetTypeForTypeID(COR_TYPEID id, ICorDebugType **ppType)
 
         if (SUCCEEDED(hr))
             hr = type->QueryInterface(IID_ICorDebugType, (void**)ppType);
-    } 
+    }
     EX_CATCH_HRESULT(hr);
 
     return hr;
@@ -2450,12 +2459,12 @@ COM_METHOD CordbProcess::GetArrayLayout(COR_TYPEID id, COR_ARRAY_LAYOUT *pLayout
 {
     if (pLayout == NULL)
         return E_POINTER;
-        
+
     HRESULT hr = S_OK;
     PUBLIC_API_BEGIN(this);
 
     hr = GetProcess()->GetDAC()->GetArrayLayout(id, pLayout);
-    
+
     PUBLIC_API_END(hr);
     return hr;
 }
@@ -2464,12 +2473,12 @@ COM_METHOD CordbProcess::GetTypeLayout(COR_TYPEID id, COR_TYPE_LAYOUT *pLayout)
 {
     if (pLayout == NULL)
         return E_POINTER;
-        
+
     HRESULT hr = S_OK;
     PUBLIC_API_BEGIN(this);
-    
+
     hr = GetProcess()->GetDAC()->GetTypeLayout(id, pLayout);
-    
+
     PUBLIC_API_END(hr);
     return hr;
 }
@@ -2478,9 +2487,9 @@ COM_METHOD CordbProcess::GetTypeFields(COR_TYPEID id, ULONG32 celt, COR_FIELD fi
 {
     HRESULT hr = S_OK;
     PUBLIC_API_BEGIN(this);
-    
+
     hr = GetProcess()->GetDAC()->GetObjectFields(id, celt, fields, pceltNeeded);
-    
+
     PUBLIC_API_END(hr);
     return hr;
 }
@@ -2489,7 +2498,7 @@ COM_METHOD CordbProcess::SetWriteableMetadataUpdateMode(WriteableMetadataUpdateM
 {
     HRESULT hr = S_OK;
     PUBLIC_API_BEGIN(this);
-    
+
     if(flags != LegacyCompatPolicy &&
        flags != AlwaysShowUpdates)
     {
@@ -2507,7 +2516,7 @@ COM_METHOD CordbProcess::SetWriteableMetadataUpdateMode(WriteableMetadataUpdateM
     {
         m_writableMetadataUpdateMode = flags;
     }
-    
+
     PUBLIC_API_END(hr);
     return hr;
 }
@@ -2523,6 +2532,17 @@ COM_METHOD CordbProcess::EnableExceptionCallbacksOutsideOfMyCode(BOOL enableExce
     return hr;
 }
 
+COM_METHOD CordbProcess::EnableGCNotificationEvents(BOOL fEnable)
+{
+    HRESULT hr = S_OK;
+    PUBLIC_API_BEGIN(this)
+    {
+        hr = this->m_pDacPrimitives->EnableGCNotificationEvents(fEnable);
+    }
+    PUBLIC_API_END(hr);
+    return hr;
+}
+
 #ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL
 
 COM_METHOD CordbProcess::InvokePauseCallback()
@@ -2537,25 +2557,29 @@ COM_METHOD CordbProcess::InvokeResumeCallback()
 
 #endif
 
-HRESULT CordbProcess::GetTypeForObject(CORDB_ADDRESS addr, CordbType **ppType, CordbAppDomain **pAppDomain)
+HRESULT CordbProcess::GetTypeForObject(CORDB_ADDRESS addr, CordbAppDomain* pAppDomainOverride, CordbType **ppType, CordbAppDomain **pAppDomain)
 {
     VMPTR_AppDomain appDomain;
     VMPTR_Module mod;
     VMPTR_DomainFile domainFile;
-    
+
     HRESULT hr = E_FAIL;
     if (GetDAC()->GetAppDomainForObject(addr, &appDomain, &mod, &domainFile))
     {
+        if (pAppDomainOverride)
+        {
+            appDomain = pAppDomainOverride->GetADToken();
+        }
         CordbAppDomain *cdbAppDomain = appDomain.IsNull() ? GetSharedAppDomain() : LookupOrCreateAppDomain(appDomain);
-        
+
         _ASSERTE(cdbAppDomain);
-        
+
         DebuggerIPCE_ExpandedTypeData data;
         GetDAC()->GetObjectExpandedTypeInfo(AllBoxed, appDomain, addr, &data);
 
         CordbType *type = 0;
         hr = CordbType::TypeDataToType(cdbAppDomain, &data, &type);
-        
+
         if (SUCCEEDED(hr))
         {
             *ppType = type;
@@ -2563,7 +2587,7 @@ HRESULT CordbProcess::GetTypeForObject(CORDB_ADDRESS addr, CordbType **ppType, C
                 *pAppDomain = cdbAppDomain;
         }
     }
-    
+
     return hr;
 }
 
@@ -2595,10 +2619,10 @@ void CordbRefEnum::Neuter()
     }
     EX_CATCH
     {
-        _ASSERTE(!"Hit an error freeing a ref walk."); 
+        _ASSERTE(!"Hit an error freeing a ref walk.");
     }
     EX_END_CATCH(SwallowAllExceptions)
-    
+
     CordbBase::Neuter();
 }
 
@@ -2606,7 +2630,7 @@ HRESULT CordbRefEnum::QueryInterface(REFIID riid, void **ppInterface)
 {
     if (ppInterface == NULL)
         return E_INVALIDARG;
-        
+
     if (riid == IID_ICorDebugGCReferenceEnum)
     {
         *ppInterface = static_cast<ICorDebugGCReferenceEnum*>(this);
@@ -2643,7 +2667,7 @@ HRESULT CordbRefEnum::Reset()
         }
     }
     EX_CATCH_HRESULT(hr);
-    
+
     return hr;
 }
 
@@ -2664,52 +2688,52 @@ HRESULT CordbRefEnum::Next(ULONG celt, COR_GC_REFERENCE refs[], ULONG *pceltFetc
 {
     if (refs == NULL || pceltFetched == NULL)
         return E_POINTER;
-    
+
     CordbProcess *process = GetProcess();
     HRESULT hr = S_OK;
-    
+
     PUBLIC_API_ENTRY(this);
     FAIL_IF_NEUTERED(this);
     ATT_REQUIRE_STOPPED_MAY_FAIL(process);
-    
+
     RSLockHolder procLockHolder(process->GetProcessLock());
-    
+
     EX_TRY
     {
         if (!mRefHandle)
             hr = process->GetDAC()->CreateRefWalk(&mRefHandle, mEnumStacksFQ, mEnumStacksFQ, mHandleMask);
-            
+
         if (SUCCEEDED(hr))
         {
             DacGcReference dacRefs[32];
             ULONG toFetch = _countof(dacRefs);
             ULONG total = 0;
-            
+
             for (ULONG c = 0; SUCCEEDED(hr) && c < (celt/_countof(dacRefs) + 1); ++c)
             {
                 // Fetch 32 references at a time, the last time, only fetch the remainder (that is, if
                 // the user didn't fetch a multiple of 32).
                 if (c == celt/_countof(dacRefs))
                     toFetch = celt % _countof(dacRefs);
-                    
+
                 ULONG fetched = 0;
                 hr = process->GetDAC()->WalkRefs(mRefHandle, toFetch, dacRefs, &fetched);
-                
+
                 if (SUCCEEDED(hr))
                 {
                     for (ULONG i = 0; i < fetched; ++i)
                     {
                         CordbAppDomain *pDomain = process->LookupOrCreateAppDomain(dacRefs[i].vmDomain);
-                        
+
                         ICorDebugAppDomain *pAppDomain;
                         ICorDebugValue *pOutObject = NULL;
                         if (dacRefs[i].pObject & 1)
                         {
                             dacRefs[i].pObject &= ~1;
                             ICorDebugObjectValue *pObjValue = NULL;
-                            
+
                             hr = process->GetObject(dacRefs[i].pObject, &pObjValue);
-                            
+
                             if (SUCCEEDED(hr))
                             {
                                 hr = pObjValue->QueryInterface(IID_ICorDebugValue, (void**)&pOutObject);
@@ -2722,32 +2746,32 @@ HRESULT CordbRefEnum::Next(ULONG celt, COR_GC_REFERENCE refs[], ULONG *pceltFetc
                             IfFailThrow(CordbReferenceValue::BuildFromGCHandle(pDomain,
                                                                    dacRefs[i].objHnd,
                                                                    &tmpValue));
-                            
+
                             if (SUCCEEDED(hr))
                             {
                                 hr = tmpValue->QueryInterface(IID_ICorDebugValue, (void**)&pOutObject);
                                 tmpValue->Release();
                             }
                         }
-                        
+
                         if (SUCCEEDED(hr) && pDomain)
                         {
                             hr = pDomain->QueryInterface(IID_ICorDebugAppDomain, (void**)&pAppDomain);
                         }
-                        
+
                         if (FAILED(hr))
                             break;
-                        
+
                         refs[total].Domain = pAppDomain;
                         refs[total].Location = pOutObject;
                         refs[total].Type = (CorGCReferenceType)dacRefs[i].dwType;
                         refs[total].ExtraData = dacRefs[i].i64ExtraData;
-                        
+
                         total++;
                     }
                 }
             }
-            
+
             *pceltFetched = total;
         }
     }
@@ -2769,7 +2793,7 @@ HRESULT CordbHeapEnum::QueryInterface(REFIID riid, void **ppInterface)
 {
     if (ppInterface == NULL)
         return E_INVALIDARG;
-        
+
     if (riid == IID_ICorDebugHeapEnum)
     {
         *ppInterface = static_cast<ICorDebugHeapEnum*>(this);
@@ -2811,7 +2835,7 @@ void CordbHeapEnum::Clear()
     }
     EX_CATCH
     {
-        _ASSERTE(!"Hit an error freeing the heap walk."); 
+        _ASSERTE(!"Hit an error freeing the heap walk.");
     }
     EX_END_CATCH(SwallowAllExceptions)
 }
@@ -2846,17 +2870,17 @@ HRESULT CordbHeapEnum::Next(ULONG celt, COR_HEAPOBJECT objects[], ULONG *pceltFe
             hr = GetProcess()->GetDAC()->WalkHeap(mHeapHandle, celt, objects, &fetched);
             _ASSERTE(fetched <= celt);
         }
-        
+
         if (SUCCEEDED(hr))
         {
             // Return S_FALSE if we've reached the end of the enum.
             if (fetched < celt)
                 hr = S_FALSE;
         }
-    } 
+    }
     EX_CATCH_HRESULT(hr);
 
-    // Set the fetched parameter to reflect the number of elements (if any) 
+    // Set the fetched parameter to reflect the number of elements (if any)
     // that were successfully saved to "objects"
     if (pceltFetched)
         *pceltFetched = fetched;
@@ -2866,33 +2890,33 @@ HRESULT CordbHeapEnum::Next(ULONG celt, COR_HEAPOBJECT objects[], ULONG *pceltFe
 
 //---------------------------------------------------------------------------------------
 // Flush state for when the process starts running.
-// 
+//
 // Notes:
 //   Helper for code:CordbProcess::ProcessStateChanged.
-//   Since ICD Arrowhead does not own the eventing pipeline, it needs the debugger to 
+//   Since ICD Arrowhead does not own the eventing pipeline, it needs the debugger to
 //   notifying it of when the process is running again.  This is like the counterpart
 //   to code:CordbProcess::Filter
 void CordbProcess::FlushProcessRunning()
 {
     _ASSERTE(GetProcessLock()->HasLock());
-    
+
     // Update the continue counter.
     m_continueCounter++;
 
     // Safely dispose anything that should be neutered on continue.
-    MarkAllThreadsDirty();    
+    MarkAllThreadsDirty();
     ForceDacFlush();
 }
 
 //---------------------------------------------------------------------------------------
 // Flush all cached state and bring us back to "cold startup"
-// 
+//
 // Notes:
 //   Helper for code:CordbProcess::ProcessStateChanged.
 //   This is used if the data-target changes underneath us in a way that is
 //   not consistent with the process running forward. For example, if for
 //   a time-travel debugger, the data-target may flow "backwards" in time.
-//   
+//
 void CordbProcess::FlushAll()
 {
     CONTRACTL
@@ -2911,7 +2935,7 @@ void CordbProcess::FlushAll()
     hr = IsReadyForDetach();
     IfFailThrow(hr);
 
-    // Check for outstanding CordbHandle values. 
+    // Check for outstanding CordbHandle values.
     if (OutstandingHandles())
     {
         ThrowHR(CORDBG_E_DETACH_FAILED_OUTSTANDING_TARGET_RESOURCES);
@@ -2923,7 +2947,7 @@ void CordbProcess::FlushAll()
 
     // If we detach before the CLR is loaded into the debuggee, then we can no-op a lot of work.
     // We sure can't be sending IPC events to the LS before it exists.
-    NeuterChildren();    
+    NeuterChildren();
 }
 
 //---------------------------------------------------------------------------------------
@@ -2947,14 +2971,14 @@ void CordbProcess::FlushAll()
 //    in V3, especially w.r.t to an attach bit.
 //---------------------------------------------------------------------------------------
 HRESULT CordbProcess::Detach()
-{   
+{
     PUBLIC_API_ENTRY(this);
 
     FAIL_IF_NEUTERED(this);
 
     if (IsInteropDebugging())
     {
-        return CORDBG_E_INTEROP_NOT_SUPPORTED; 
+        return CORDBG_E_INTEROP_NOT_SUPPORTED;
     }
 
 
@@ -2965,7 +2989,7 @@ HRESULT CordbProcess::Detach()
     // @todo-  why can't we enforce that the managed event Q is drained?
     ATT_REQUIRE_SYNCED_OR_NONINIT_MAY_FAIL(this);
 
-    
+
     hr = IsReadyForDetach();
     if (FAILED(hr))
     {
@@ -2978,13 +3002,13 @@ HRESULT CordbProcess::Detach()
     RSSmartPtr<CordbProcess> pRef(this);
 
 
-    
+
     LOG((LF_CORDB, LL_INFO1000, "CP::Detach - beginning\n"));
     if (m_pShim == NULL) // This API is moved off to the shim
     {
-        
-        // This is still invasive. 
-        // Ignore failures. This will fail for a non-invasive target. 
+
+        // This is still invasive.
+        // Ignore failures. This will fail for a non-invasive target.
         if (IsDacInitialized())
         {
             HRESULT hrIgnore = S_OK;
@@ -2996,10 +3020,10 @@ HRESULT CordbProcess::Detach()
         }
     }
     else
-    {         
+    {
         EX_TRY
         {
-            DetachShim();       
+            DetachShim();
         }
         EX_CATCH_HRESULT(hr);
     }
@@ -3013,7 +3037,7 @@ HRESULT CordbProcess::Detach()
 }
 
 // Free up key left-side resources
-// 
+//
 // Called on detach
 // This does key neutering of objects that hold left-side resources and require
 // preemptively freeing the resources.
@@ -3021,24 +3045,24 @@ HRESULT CordbProcess::Detach()
 void CordbProcess::NeuterChildrenLeftSideResources()
 {
     _ASSERTE(GetStopGoLock()->HasLock());
-    
+
     _ASSERTE(!GetProcessLock()->HasLock());
     RSLockHolder lockHolder(GetProcessLock());
 
-    
+
     // Need process-lock to operate on hashtable, but can't yet Neuter under process-lock,
     // so we have to copy the contents to an auxilary list which we can then traverse outside the lock.
     RSPtrArray<CordbAppDomain> listAppDomains;
     m_appDomains.CopyToArray(&listAppDomains);
-    
-    
+
+
 
     // Must not hold process lock so that we can be safe to send IPC events
     // to cleanup left-side resources.
     lockHolder.Release();
     _ASSERTE(!GetProcessLock()->HasLock());
 
-    // Frees left-side resources. This may send IPC events. 
+    // Frees left-side resources. This may send IPC events.
     // This will make normal neutering a nop.
     m_LeftSideResourceCleanupList.NeuterLeftSideResourcesAndClear(this);
 
@@ -3048,20 +3072,20 @@ void CordbProcess::NeuterChildrenLeftSideResources()
 
         // CordbHandleValue is in the appdomain exit list, and that needs
         // to send an IPC event to cleanup and release the handle from
-        // the GCs handle table. 
+        // the GCs handle table.
         pAppDomain->GetSweepableExitNeuterList()->NeuterLeftSideResourcesAndClear(this);
     }
     listAppDomains.Clear();
-    
+
 }
 
 //---------------------------------------------------------------------------------------
 // Detach the Debugger from the LS process for the V2 case
-// 
+//
 // Assumptions:
 //      This will NeuterChildren(), caller will do the real Neuter()
 //      Caller has already ensured that detach is safe.
-// 
+//
 //   @dbgtodo attach-bit: this should be moved into the shim; need
 //   to figure out semantics for freeing left-side resources (especially GC
 //   handles) on detach.
@@ -3074,7 +3098,7 @@ void CordbProcess::DetachShim()
     // If we detach before the CLR is loaded into the debuggee, then we can no-op a lot of work.
     // We sure can't be sending IPC events to the LS before it exists.
     if (m_initialized)
-    {   
+    {
         // The managed event queue is not necessarily drained. Cordbg could call detach between any callback.
         // While the process is still stopped, neuter all of our children.
         // This will make our Neuter() a nop and saves the W32ET from having to do dangerous work.
@@ -3095,7 +3119,7 @@ void CordbProcess::DetachShim()
     else
     {
         // @dbgtodo attach-bit: push this up, once detach IPC event is hoisted.
-        RSLockHolder lockHolder(GetProcessLock()); 
+        RSLockHolder lockHolder(GetProcessLock());
 
         // Shouldn't have any appdomains.
         (void)hashFind; //prevent "unused variable" error from GCC
@@ -3124,7 +3148,7 @@ void CordbProcess::DetachShim()
         m_detached = true;
     }
     IfFailThrow(hr);
-    
+
 
     // Now that all complicated cleanup is done, caller can do a final neuter.
     // This will implicitly stop our Win32 event thread as well.
@@ -3218,7 +3242,7 @@ HRESULT CordbProcess::Terminate(unsigned int exitCode)
 
 
     // @dbgtodo shutdown: eventually, all of Terminate() will be in the Shim.
-    // Free all the remaining events. Since this will call into the shim, do this outside of any locks. 
+    // Free all the remaining events. Since this will call into the shim, do this outside of any locks.
     // (ATT_ takes locks).
     DeleteQueuedEvents();
 
@@ -3258,7 +3282,7 @@ HRESULT CordbProcess::Terminate(unsigned int exitCode)
     //
     // Note that on Windows, the process isn't really terminated until we receive the EXIT_PROCESS_DEBUG_EVENT.
     // Before then, we can still still access the debuggee's address space.  On the other, for Mac debugging,
-    // the process can die any time after this call, and so we can no longer call into the DAC.  
+    // the process can die any time after this call, and so we can no longer call into the DAC.
     GetShim()->GetNativePipeline()->TerminateProcess(exitCode);
 
     // We just call Continue() so that the debugger doesn't have to. (It's arguably odd
@@ -3288,8 +3312,8 @@ HRESULT CordbProcess::GetID(DWORD *pdwProcessId)
     {
         // This shouldn't be used in V3 paths. Normally, we can enforce that by checking against
         // m_pShim. However, this API can be called after being neutered, in which case m_pShim is cleared.
-        // So check against 0 instead.    
-        if (m_id == 0) 
+        // So check against 0 instead.
+        if (m_id == 0)
         {
             *pdwProcessId = 0;
             ThrowHR(E_NOTIMPL);
@@ -3369,11 +3393,11 @@ HRESULT CordbProcess::StopInternal(DWORD dwTimeout, VMPTR_AppDomain pAppDomainTo
     // Stop + Continue are executed under the Stop-Go lock. This makes them atomic.
     // We'll toggle the process-lock (b/c we communicate w/ the W32et, so just the process-lock is
     // not sufficient to make this atomic).
-    // It's ok to take this lock before checking if the CordbProcess has been neutered because 
+    // It's ok to take this lock before checking if the CordbProcess has been neutered because
     // the lock is destroyed in the dtor after neutering.
     RSLockHolder ch(&m_StopGoLock);
 
-    // Check if this CordbProcess has been neutered under the SG lock.  
+    // Check if this CordbProcess has been neutered under the SG lock.
     // Otherwise it's possible to race with Detach() and Terminate().
     FAIL_IF_NEUTERED(this);
     CORDBFailIfOnWin32EventThread(this);
@@ -3613,7 +3637,7 @@ HRESULT CordbProcess::Continue(BOOL fIsOutOfBand)
     if (m_pShim == NULL) // This API is moved off to the shim
     {
         // bias towards failing with CORDBG_E_NUETERED.
-        FAIL_IF_NEUTERED(this); 
+        FAIL_IF_NEUTERED(this);
         return E_NOTIMPL;
     }
 
@@ -3842,7 +3866,7 @@ HRESULT CordbProcess::ContinueInternal(BOOL fIsOutOfBand)
         SetSynchronized(false);
 
         // If the callback queue is not empty, then the LS is not actually continuing, and so our cached
-        // state is still valid. 
+        // state is still valid.
 
         // If we're in the middle of dispatching a managed event, then simply return. This indicates to HandleRCEvent
         // that the user called Continue and HandleRCEvent will dispatch the next queued event. But if Continue was
@@ -3889,7 +3913,7 @@ HRESULT CordbProcess::ContinueInternal(BOOL fIsOutOfBand)
         // may send events.
         Unlock();
 
-        // This may send IPC events. 
+        // This may send IPC events.
         // This will make normal neutering a nop.
         // This will toggle the process lock.
         m_LeftSideResourceCleanupList.SweepNeuterLeftSideResources(this);
@@ -3912,9 +3936,9 @@ HRESULT CordbProcess::ContinueInternal(BOOL fIsOutOfBand)
 
             // CordbHandleValue is in the appdomain exit list, and that needs
             // to send an IPC event to cleanup and release the handle from
-            // the GCs handle table. 
+            // the GCs handle table.
             // This will toggle the process lock.
-            pAppDomain->GetSweepableExitNeuterList()->SweepNeuterLeftSideResources(this); 
+            pAppDomain->GetSweepableExitNeuterList()->SweepNeuterLeftSideResources(this);
         }
         listAppDomains.Clear();
 
@@ -4035,7 +4059,7 @@ HRESULT CordbProcess::ContinueInternal(BOOL fIsOutOfBand)
         SetSynchronized(false);
         SetSyncCompleteRecv(false);
 
-        // we're no longer in a callback, so set flags to indicate that we've finished. 
+        // we're no longer in a callback, so set flags to indicate that we've finished.
         GetShim()->NotifyOnContinue();
 
         // Flush will update state, including continue counter and marking
@@ -4182,7 +4206,7 @@ HRESULT CordbProcess::HasQueuedCallbacks(ICorDebugThread *pThread,
         *pbQueued = m_pShim->GetManagedEventQueue()->HasQueuedCallbacks(pThread);
         return S_OK;
     }
-    return E_NOTIMPL; // Not implemented in V3. 
+    return E_NOTIMPL; // Not implemented in V3.
 }
 
 //
@@ -4230,7 +4254,7 @@ class ShimAssemblyCallbackData
 {
 public:
     // Ctor to intialize callback data
-    // 
+    //
     // Arguments:
     //   pAppDomain - appdomain that the assemblies are in.
     //   pAssemblies - preallocated array of smart pointers to hold assemblies
@@ -4254,10 +4278,10 @@ public:
         {
             pAssemblies[i].Clear();
         }
-    }   
+    }
 
     // Dtor
-    // 
+    //
     // Notes:
     //   This can assert end-of-enumeration invariants.
     ~ShimAssemblyCallbackData()
@@ -4265,13 +4289,13 @@ public:
         // Ensure that we went through all assemblies.
         _ASSERTE(m_index == m_countElements);
     }
-    
+
     // Callback invoked from DAC enumeration.
-    // 
+    //
     // arguments:
     //    vmDomainAssembly - VMPTR for assembly
     //    pData - a 'this' pointer
-    //  
+    //
     static void Callback(VMPTR_DomainAssembly vmDomainAssembly, void * pData)
     {
         ShimAssemblyCallbackData * pThis = static_cast<ShimAssemblyCallbackData *> (pData);
@@ -4283,7 +4307,7 @@ public:
     }
 
     // Set the current index in the table and increment the cursor.
-    // 
+    //
     // Arguments:
     //    pAssembly - assembly from DAC enumerator
     void SetAndMoveNext(CordbAssembly * pAssembly)
@@ -4293,8 +4317,8 @@ public:
         if (m_index >= m_countElements)
         {
             // Enumerating the assemblies in the target should be fixed since
-            // the target is not running. 
-            // We should never get here unless the target is unstable. 
+            // the target is not running.
+            // We should never get here unless the target is unstable.
             // The caller (the shim) pre-allocated the table of assemblies.
             m_pProcess->TargetConsistencyCheck(!"Target changed assembly count");
             return;
@@ -4314,31 +4338,31 @@ protected:
 
 //---------------------------------------------------------------------------------------
 // Shim Helper to enumerate the assemblies in the load-order
-// 
+//
 // Arguments:
 //    pAppdomain - non-null appdomain to enumerate assemblies.
 //    pAssemblies - caller pre-allocated array to hold assemblies
 //    countAssemblies - size of the array.
-//    
+//
 // Notes:
 //    Caller preallocated array (likely from ICorDebugAssemblyEnum::GetCount),
 //    and now this function fills in the assemblies in the order they were
 //    loaded.
-//    
+//
 //    The target should be stable, such that the number of assemblies in the
 //    target is stable, and therefore countAssemblies as determined by the
 //    shim via ICorDebugAssemblyEnum::GetCount should match the number of
-//    assemblies enumerated here. 
-//    
-//    Called by code:ShimProcess::QueueFakeAttachEvents. 
+//    assemblies enumerated here.
+//
+//    Called by code:ShimProcess::QueueFakeAttachEvents.
 //    This provides the assemblies in load-order. In contrast,
 //    ICorDebugAppDomain::EnumerateAssemblies is a random order. The shim needs
 //    load-order to match Whidbey semantics for dispatching fake load-assembly
 //    callbacks on attach. The debugger then uses the order
 //    in its module display window.
-//    
+//
 void CordbProcess::GetAssembliesInLoadOrder(
-    ICorDebugAppDomain * pAppDomain, 
+    ICorDebugAppDomain * pAppDomain,
     RSExtSmartPtr<ICorDebugAssembly>* pAssemblies,
     ULONG countAssemblies)
 {
@@ -4357,7 +4381,7 @@ void CordbProcess::GetAssembliesInLoadOrder(
         ShimAssemblyCallbackData::Callback,
         &data); // user data
 
-    // pAssemblies array has now been updated. 
+    // pAssemblies array has now been updated.
 }
 
 // Callback data for code:CordbProcess::GetModulesInLoadOrder
@@ -4365,7 +4389,7 @@ class ShimModuleCallbackData
 {
 public:
     // Ctor to intialize callback data
-    // 
+    //
     // Arguments:
     //   pAssembly - assembly that the Modules are in.
     //   pModules - preallocated array of smart pointers to hold Modules
@@ -4389,10 +4413,10 @@ public:
         {
             pModules[i].Clear();
         }
-    }   
+    }
 
     // Dtor
-    // 
+    //
     // Notes:
     //   This can assert end-of-enumeration invariants.
     ~ShimModuleCallbackData()
@@ -4400,13 +4424,13 @@ public:
         // Ensure that we went through all Modules.
         _ASSERTE(m_index == m_countElements);
     }
-    
+
     // Callback invoked from DAC enumeration.
-    // 
+    //
     // arguments:
     //    vmDomainFile - VMPTR for Module
     //    pData - a 'this' pointer
-    //  
+    //
     static void Callback(VMPTR_DomainFile vmDomainFile, void * pData)
     {
         ShimModuleCallbackData * pThis = static_cast<ShimModuleCallbackData *> (pData);
@@ -4418,7 +4442,7 @@ public:
     }
 
     // Set the current index in the table and increment the cursor.
-    // 
+    //
     // Arguments:
     //    pModule - Module from DAC enumerator
     void SetAndMoveNext(CordbModule * pModule)
@@ -4428,8 +4452,8 @@ public:
         if (m_index >= m_countElements)
         {
             // Enumerating the Modules in the target should be fixed since
-            // the target is not running. 
-            // We should never get here unless the target is unstable. 
+            // the target is not running.
+            // We should never get here unless the target is unstable.
             // The caller (the shim) pre-allocated the table of Modules.
             m_pProcess->TargetConsistencyCheck(!"Target changed Module count");
             return;
@@ -4449,22 +4473,22 @@ protected:
 
 //---------------------------------------------------------------------------------------
 // Shim Helper to enumerate the Modules in the load-order
-// 
+//
 // Arguments:
 //    pAppdomain - non-null appdomain to enumerate Modules.
 //    pModules - caller pre-allocated array to hold Modules
 //    countModules - size of the array.
-//    
+//
 // Notes:
 //    Caller preallocated array (likely from ICorDebugModuleEnum::GetCount),
 //    and now this function fills in the Modules in the order they were
 //    loaded.
-//    
+//
 //    The target should be stable, such that the number of Modules in the
 //    target is stable, and therefore countModules as determined by the
 //    shim via ICorDebugModuleEnum::GetCount should match the number of
-//    Modules enumerated here. 
-//    
+//    Modules enumerated here.
+//
 //    Called by code:ShimProcess::QueueFakeAssemblyAndModuleEvent.
 //    This provides the Modules in load-order. In contrast,
 //    ICorDebugAssembly::EnumerateModules is a random order. The shim needs
@@ -4473,21 +4497,21 @@ protected:
 //    gets a LodModule callback before any secondary modules.  For dynamic
 //    modules, this is necessary for operations on the secondary module
 //    that rely on manifest metadata (eg. GetSimpleName).
-//    
-//    @dbgtodo : This is almost identical to GetAssembliesInLoadOrder, and 
-//    (together wih the CallbackData classes) seems a HUGE amount of code and 
+//
+//    @dbgtodo : This is almost identical to GetAssembliesInLoadOrder, and
+//    (together wih the CallbackData classes) seems a HUGE amount of code and
 //    complexity for such a simple thing.  We also have extra code to order
 //    AppDomains and Threads.  We should try and rip all of this extra complexity
 //    out, and replace it with better data structures for storing these items.
-//    Eg., if we used std::map, we could have efficient lookups and ordered 
+//    Eg., if we used std::map, we could have efficient lookups and ordered
 //    enumerations.  However, we do need to be careful about exposing new invariants
 //    through ICorDebug that customers may depend on, which could place a long-term
 //    compatibility burden on us.  We could have a simple generic data structure
 //    (eg. built on std::hash_map and std::list) which provided efficient look-up
 //    and both in-order and random enumeration.
-//    
+//
 void CordbProcess::GetModulesInLoadOrder(
-    ICorDebugAssembly * pAssembly, 
+    ICorDebugAssembly * pAssembly,
     RSExtSmartPtr<ICorDebugModule>* pModules,
     ULONG countModules)
 {
@@ -4506,13 +4530,13 @@ void CordbProcess::GetModulesInLoadOrder(
         ShimModuleCallbackData::Callback,
         &data); // user data
 
-    // pModules array has now been updated. 
+    // pModules array has now been updated.
 }
 
 
 //---------------------------------------------------------------------------------------
 // Callback to count the number of enumerations in a process.
-// 
+//
 // Arguments:
 //     id - the connection id.
 //     pName - name of the connection
@@ -4521,14 +4545,14 @@ void CordbProcess::GetModulesInLoadOrder(
 // Notes:
 //    Helper function for code:CordbProcess::QueueFakeConnectionEvents
 //
-// static 
+// static
 void CordbProcess::CountConnectionsCallback(DWORD id, LPCWSTR pName, void * pUserData)
 {
 }
 
 //---------------------------------------------------------------------------------------
 // Callback to enumerate all the connections in a process.
-// 
+//
 // Arguments:
 //     id - the connection id.
 //     pName - name of the connection
@@ -4537,7 +4561,7 @@ void CordbProcess::CountConnectionsCallback(DWORD id, LPCWSTR pName, void * pUse
 // Notes:
 //    Helper function for code:CordbProcess::QueueFakeConnectionEvents
 //
-// static  
+// static
 void CordbProcess::EnumerateConnectionsCallback(DWORD id, LPCWSTR pName, void * pUserData)
 {
 }
@@ -4582,6 +4606,7 @@ void CordbProcess::DispatchRCEvent()
     _ASSERTE(m_cordb->m_managedCallback != NULL);
     _ASSERTE(m_cordb->m_managedCallback2 != NULL);
     _ASSERTE(m_cordb->m_managedCallback3 != NULL);
+    _ASSERTE(m_cordb->m_managedCallback4 != NULL);
 
 
     // Bump up the stop count. Either we'll dispatch a managed event,
@@ -4611,9 +4636,9 @@ void CordbProcess::DispatchRCEvent()
     // This gives us delayed continues w/ no extra state flags.
 
 
-    // The debugger may call Detach() immediately after it returns from the callback, but before this thread returns 
+    // The debugger may call Detach() immediately after it returns from the callback, but before this thread returns
     // from this function.  Thus after we execute the callbacks, it's possible the CordbProcess object has been neutered.
-    
+
     // Since we're already sycned, the Stop from the holder here is practically a nop that just bumps up a count.
     // Create an extra scope for the StopContinueHolder.
     {
@@ -4625,13 +4650,13 @@ void CordbProcess::DispatchRCEvent()
         }
 
         HRESULT hrCallback = S_OK;
-        // It's possible a ICorDebugProcess::Detach() may have occurred by now. 
+        // It's possible a ICorDebugProcess::Detach() may have occurred by now.
         {
             // @dbgtodo shim: eventually the entire RCET should be considered outside the RS.
-            PUBLIC_CALLBACK_IN_THIS_SCOPE0_NO_LOCK(this); 
+            PUBLIC_CALLBACK_IN_THIS_SCOPE0_NO_LOCK(this);
 
 
-            // Snag the first event off the queue.    
+            // Snag the first event off the queue.
             // Holder will call Delete, which will invoke virtual Dtor that will release ICD objects.
             // Since these are external refs, we want to do it while "outside" the RS.
             NewHolder<ManagedEvent> pEvent(pShim->DequeueManagedEvent());
@@ -4652,7 +4677,7 @@ void CordbProcess::DispatchRCEvent()
                     m_pDBGLastIPCEventType = pEvent->GetDebugCookie();
 #endif
 
-                    ManagedEvent::DispatchArgs args(m_cordb->m_managedCallback, m_cordb->m_managedCallback2, m_cordb->m_managedCallback3);        
+                    ManagedEvent::DispatchArgs args(m_cordb->m_managedCallback, m_cordb->m_managedCallback2, m_cordb->m_managedCallback3, m_cordb->m_managedCallback4);
 
                     {
                         // Release lock around the dispatch of the event
@@ -4663,7 +4688,7 @@ void CordbProcess::DispatchRCEvent()
                             // This dispatches almost directly into the user's callbacks.
                             // It does not update any RS state.
                             hrCallback = pEvent->Dispatch(args);
-                        } 
+                        }
                         EX_CATCH_HRESULT(hrCallback);
                     }
                 }
@@ -4675,18 +4700,18 @@ void CordbProcess::DispatchRCEvent()
         {
             ContinueInternal(FALSE);
         }
-        
-           
+
+
     } // forces Continue to be called
 
-    Lock();  
+    Lock();
 
 };
 
 #ifdef _DEBUG
 //---------------------------------------------------------------------------------------
 // Debug-only callback to ensure that an appdomain is not available after the ExitAppDomain event.
-// 
+//
 // Arguments:
 //    vmAppDomain - appdomain from enumeration
 //    pUserData - pointer to a DbgAssertAppDomainDeletedData which contains the VMAppDomain that was just deleted.
@@ -4698,23 +4723,23 @@ void CordbProcess::DbgAssertAppDomainDeletedCallback(VMPTR_AppDomain vmAppDomain
     INTERNAL_DAC_CALLBACK(pCallbackData->m_pThis);
 
     VMPTR_AppDomain vmAppDomainDeleted = pCallbackData->m_vmAppDomainDeleted;
-    CONSISTENCY_CHECK_MSGF((vmAppDomain != vmAppDomainDeleted), 
-        ("An ExitAppDomain event was sent for appdomain, but it still shows up in the enumeration.\n vmAppDomain=%p\n", 
+    CONSISTENCY_CHECK_MSGF((vmAppDomain != vmAppDomainDeleted),
+        ("An ExitAppDomain event was sent for appdomain, but it still shows up in the enumeration.\n vmAppDomain=%p\n",
         VmPtrToCookie(vmAppDomainDeleted)));
 }
 
 //---------------------------------------------------------------------------------------
 // Debug-only helper to Assert that VMPTR is actually removed.
-// 
+//
 // Arguments:
-//    vmAppDomainDeleted - vmptr of appdomain that we just got exit event for. 
+//    vmAppDomainDeleted - vmptr of appdomain that we just got exit event for.
 //       This should not be discoverable from the RS.
-//       
+//
 // Notes:
 //   See code:IDacDbiInterface#Enumeration for rules that we're asserting.
 //   Once the exit appdomain event is dispatched, the appdomain should not be discoverable by the RS.
-//   Else the RS may use the AppDomain* after it's deleted. 
-//   This asserts that the AppDomain* is not discoverable. 
+//   Else the RS may use the AppDomain* after it's deleted.
+//   This asserts that the AppDomain* is not discoverable.
 //
 //   Since this is a debug-only function, it should have no side-effects.
 void CordbProcess::DbgAssertAppDomainDeleted(VMPTR_AppDomain vmAppDomainDeleted)
@@ -4738,24 +4763,24 @@ void CordbProcess::DbgAssertAppDomainDeleted(VMPTR_AppDomain vmAppDomainDeleted)
 //    pCallback1 - callback object to dispatch on (for V1 callbacks)
 //    pCallback2 - 2nd callback object to dispatch on (for new V2 callbacks)
 //    pCallback3 - 3rd callback object to dispatch on (for new V4 callbacks)
-//       
+//
 //
 // Returns:
-//    Nothing. Throws on error. 
-//       
+//    Nothing. Throws on error.
+//
 // Notes:
 //    Generally, this will dispatch exactly 1 callback. It may dispatch 0 callbacks if there is an error
-//    or in other corner cases (documented within the dispatch code below). 
+//    or in other corner cases (documented within the dispatch code below).
 //    Errors could occur because:
 //    - the event is corrupted (exceptional case)
 //    - the RS is corrupted / OOM (exceptional case)
 //    Exception errors here will propogate back to the Filter() call, and there's not really anything
 //    a debugger can do about an error here (perhaps report it to the user).
-//    Errors must leave IcorDebug in a consistent state. 
+//    Errors must leave IcorDebug in a consistent state.
 //
 //    This is dispatched directly on the Win32Event Thread in response to calling Filter.
 //    Therefore, this can't send any IPC events (Not an issue once everything is DAC-ized).
-//    A V2 shim can provide a proxy calllack that takes these events and queues them and 
+//    A V2 shim can provide a proxy calllack that takes these events and queues them and
 //    does the real dispatch to the user to emulate V2 semantics.
 //
 #ifdef _PREFAST_
@@ -4763,11 +4788,12 @@ void CordbProcess::DbgAssertAppDomainDeleted(VMPTR_AppDomain vmAppDomainDeleted)
 #pragma warning(disable:21000) // Suppress PREFast warning about overly large function
 #endif
 void CordbProcess::RawDispatchEvent(
-    DebuggerIPCEvent *          pEvent, 
+    DebuggerIPCEvent *          pEvent,
     RSLockHolder *              pLockHolder,
-    ICorDebugManagedCallback *  pCallback1, 
+    ICorDebugManagedCallback *  pCallback1,
     ICorDebugManagedCallback2 * pCallback2,
-    ICorDebugManagedCallback3 * pCallback3)
+    ICorDebugManagedCallback3 * pCallback3,
+    ICorDebugManagedCallback4 * pCallback4)
 {
     CONTRACTL
     {
@@ -4791,17 +4817,17 @@ void CordbProcess::RawDispatchEvent(
     // so if this flag is set, EP will wait on the miscWaitEvent (which will
     // get set in FlushQueuedEvents when we return from here) and let us finish here.
     //
-    StartEventDispatch(pEvent->type); 
+    StartEventDispatch(pEvent->type);
 
     // Keep strong references to these objects in case a callback deletes them from underneath us.
     RSSmartPtr<CordbAppDomain> pAppDomain;
     CordbThread * pThread = NULL;
 
-   
+
     // Get thread that this event is on. In attach scenarios, this may be the first time ICorDebug has seen this thread.
     if (!pEvent->vmThread.IsNull())
     {
-        pThread = LookupOrCreateThread(pEvent->vmThread); 
+        pThread = LookupOrCreateThread(pEvent->vmThread);
     }
 
     if (!pEvent->vmAppDomain.IsNull())
@@ -4810,7 +4836,7 @@ void CordbProcess::RawDispatchEvent(
     }
 
     DWORD dwVolatileThreadId = 0;
-    if (pThread != NULL) 
+    if (pThread != NULL)
     {
         dwVolatileThreadId = pThread->GetUniqueId();
     }
@@ -4823,7 +4849,7 @@ void CordbProcess::RawDispatchEvent(
     {
         // It shouldn't be possible for us to see an exited AppDomain here
         _ASSERTE( !pAppDomain->IsNeutered() );
-        
+
          pThread->m_pAppDomain = pAppDomain;
     }
 
@@ -4831,7 +4857,7 @@ void CordbProcess::RawDispatchEvent(
     _ASSERTE(pCallback1 != NULL);
     _ASSERTE(pCallback2 != NULL);
     _ASSERTE(pCallback3 != NULL);
-    
+    _ASSERTE(pCallback4 != NULL);
 
     STRESS_LOG1(LF_CORDB, LL_EVERYTHING, "Pre-Dispatch IPC event: %s\n", IPCENames::GetName(pEvent->type));
 
@@ -4849,11 +4875,11 @@ void CordbProcess::RawDispatchEvent(
             _ASSERTE(pThread != NULL);
             _ASSERTE(pAppDomain != NULL);
 
-            // Find the breakpoint object on this side.            
+            // Find the breakpoint object on this side.
             CordbBreakpoint *pBreakpoint = NULL;
 
             // We've found cases out in the wild where we get this event on a thread we don't recognize.
-            // We're not sure how this happens. Add a runtime check to protect ourselves to avoid the 
+            // We're not sure how this happens. Add a runtime check to protect ourselves to avoid the
             // an AV. We still assert because this should not be happening.
             // It likely means theres some issue where we failed to send a CreateThread notification.
             TargetConsistencyCheck(pThread != NULL);
@@ -4872,6 +4898,35 @@ void CordbProcess::RawDispatchEvent(
         }
         break;
 
+    case DB_IPCE_BEFORE_GARBAGE_COLLECTION:
+        {
+            {
+                PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
+                pCallback4->BeforeGarbageCollection(static_cast<ICorDebugProcess*>(this));
+            }
+            break;
+        }
+
+    case DB_IPCE_AFTER_GARBAGE_COLLECTION:
+        {
+            {
+                PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
+                pCallback4->AfterGarbageCollection(static_cast<ICorDebugProcess*>(this));
+            }
+            break;
+        }
+
+    case DB_IPCE_DATA_BREAKPOINT:
+        {
+            _ASSERTE(pThread != NULL);
+        
+            {
+                PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
+                pCallback4->DataBreakpoint(static_cast<ICorDebugProcess*>(this), pThread);
+            }
+            break;
+        }
+        break;
     case DB_IPCE_USER_BREAKPOINT:
         {
             STRESS_LOG1(LF_CORDB, LL_INFO1000, "[%x] RCET::DRCE: user breakpoint.\n",
@@ -4932,9 +4987,9 @@ void CordbProcess::RawDispatchEvent(
             // even executed jitted code on the thread. We may have not received a CreateThread yet.
             // In V2, we detected this and sent a LogMessage on a random thread.
             // In V3, we lazily create the CordbThread objects (possibly before the CreateThread event),
-            // and so we know we should have one.            
+            // and so we know we should have one.
             _ASSERTE(pThread != NULL);
-            
+
             pThread->SetExInfo(pEvent->Exception.vmExceptionHandle);
 
             _ASSERTE(pThread->m_pAppDomain != NULL);
@@ -4979,7 +5034,7 @@ void CordbProcess::RawDispatchEvent(
 
                 _ASSERTE(pAppDomain != NULL);
 
-                // A thread is reported as dead before we get the exit event.                
+                // A thread is reported as dead before we get the exit event.
                 // See code:IDacDbiInterface#IsThreadMarkedDead for the invariant being asserted here.
                 TargetConsistencyCheck(pThread->IsThreadDead());
 
@@ -5014,9 +5069,9 @@ void CordbProcess::RawDispatchEvent(
     case DB_IPCE_LOAD_MODULE:
         {
             _ASSERTE (pAppDomain != NULL);
-            CordbModule * pModule = pAppDomain->LookupOrCreateModule(pEvent->LoadModuleData.vmDomainFile);                        
-            
-            {         
+            CordbModule * pModule = pAppDomain->LookupOrCreateModule(pEvent->LoadModuleData.vmDomainFile);
+
+            {
                 pModule->SetLoadEventContinueMarker();
 
                 PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
@@ -5038,7 +5093,7 @@ void CordbProcess::RawDispatchEvent(
                 this,
                 pEvent->CreateConnection.connectionId,
                 const_cast<WCHAR*> (pEvent->CreateConnection.wzConnectionName.GetString()));
-        }   
+        }
         break;
 
     case DB_IPCE_DESTROY_CONNECTION:
@@ -5070,7 +5125,7 @@ void CordbProcess::RawDispatchEvent(
                  VmPtrToCookie(pEvent->vmAppDomain));
 
             PREFIX_ASSUME (pAppDomain != NULL);
-            
+
             CordbModule *module = pAppDomain->LookupOrCreateModule(pEvent->UnloadModuleData.vmDomainFile);
 
             if (module == NULL)
@@ -5091,7 +5146,7 @@ void CordbProcess::RawDispatchEvent(
                 PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
                 pCallback1->UnloadModule(pAppDomain, module);
             }
-            
+
             pAppDomain->m_modules.RemoveBase(VmPtrToCookie(pEvent->UnloadModuleData.vmDomainFile));
         }
         break;
@@ -5243,14 +5298,14 @@ void CordbProcess::RawDispatchEvent(
 
 
             // determine first whether custom notifications for this type are enabled -- if not
-            // we just return without doing anything. 
-            CordbClass * pNotificationClass = LookupClass(pAppDomain, 
-                                                          pEvent->CustomNotification.vmDomainFile, 
+            // we just return without doing anything.
+            CordbClass * pNotificationClass = LookupClass(pAppDomain,
+                                                          pEvent->CustomNotification.vmDomainFile,
                                                           pEvent->CustomNotification.classToken);
 
             // if the class is NULL, that means the debugger never enabled notifications for it. Otherwise,
-            // the CordbClass instance would already have been created when the notifications were 
-            // enabled. 
+            // the CordbClass instance would already have been created when the notifications were
+            // enabled.
             if ((pNotificationClass != NULL) && pNotificationClass->CustomNotificationsEnabled())
 
             {
@@ -5270,13 +5325,13 @@ void CordbProcess::RawDispatchEvent(
 
 
             // Enumerate may have prepopulated the appdomain, so check if it already exists.
-            // Either way, still send the CreateEvent. (We don't want to skip the Create event 
+            // Either way, still send the CreateEvent. (We don't want to skip the Create event
             // just because the debugger did an enumerate)
             // We remove AppDomains from the hash as soon as they are exited.
             pAppDomain.Assign(LookupOrCreateAppDomain(pEvent->AppDomainData.vmAppDomain));
             _ASSERTE(pAppDomain != NULL); // throws on failure
 
-            {   
+            {
                 PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
                 hr = pCallback1->CreateAppDomain(this, pAppDomain);
             }
@@ -5313,11 +5368,11 @@ void CordbProcess::RawDispatchEvent(
                 m_pDefaultAppDomain = NULL;
             }
 
-            // Update any threads which were last seen in this AppDomain.  We don't 
+            // Update any threads which were last seen in this AppDomain.  We don't
             // get any notification when a thread leaves an AppDomain, so our idea
             // of what AppDomain the thread is in may be out of date.
             UpdateThreadsForAdUnload( pAppDomain );
-            
+
             // This will still maintain weak references so we could call Continue.
             AddToNeuterOnContinueList(pAppDomain);
 
@@ -5333,7 +5388,7 @@ void CordbProcess::RawDispatchEvent(
 
             // Remove this app domain. This means any attempt to lookup the AppDomain
             // will fail (which we do at the top of this method).  Since any threads (incorrectly) referring
-            // to this AppDomain have been moved to the default AppDomain, no one should be 
+            // to this AppDomain have been moved to the default AppDomain, no one should be
             // interested in looking this AppDomain up anymore.
             m_appDomains.RemoveBase(VmPtrToCookie(pEvent->vmAppDomain));
         }
@@ -5373,7 +5428,7 @@ void CordbProcess::RawDispatchEvent(
             _ASSERTE (pAppDomain != NULL);
 
             CordbAssembly * pAssembly = pAppDomain->LookupOrCreateAssembly(pEvent->AssemblyData.vmDomainAssembly);
-            
+
             if (pAssembly == NULL)
             {
                 // No assembly. This could happen if we attach right before an unload event is sent.
@@ -5536,7 +5591,7 @@ void CordbProcess::RawDispatchEvent(
             if (symFormat == IDacDbiInterface::kSymbolFormatPDB)
             {
                 PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
-                
+
                 _ASSERTE(pStream != NULL); // Shouldn't send the event if we don't have a stream.
 
                 pCallback1->UpdateModuleSymbols(pAppDomain, pModule, pStream);
@@ -5562,7 +5617,7 @@ void CordbProcess::RawDispatchEvent(
                 PUBLIC_CALLBACK_IN_THIS_SCOPE(this, pLockHolder, pEvent);
 
                 pCallback2->MDANotification(
-                    this, 
+                    this,
                     pThread, // may be null
                     pExternalMDARef);
 
@@ -5703,21 +5758,21 @@ void CordbProcess::RawDispatchEvent(
             if (pThread == NULL)
             {
                 // We've found cases out in the wild where we get this event on a thread we don't recognize.
-                // We're not sure how this happens. Add a runtime check to protect ourselves to avoid the 
+                // We're not sure how this happens. Add a runtime check to protect ourselves to avoid the
                 // an AV. We still assert because this should not be happening.
                 // It likely means theres some issue where we failed to send a CreateThread notification.
-                STRESS_LOG1(LF_CORDB, LL_INFO1000, "BreakpointSetError on unrecognized thread. %p\n", pBreakpoint);                
+                STRESS_LOG1(LF_CORDB, LL_INFO1000, "BreakpointSetError on unrecognized thread. %p\n", pBreakpoint);
 
                 _ASSERTE(!"Missing thread on bp set error");
                 break;
-            }   
-            
+            }
+
             pBreakpoint = pAppDomain->m_breakpoints.GetBase(LsPtrToCookie(pEvent->BreakpointSetErrorData.breakpointToken));
 
             if (pBreakpoint != NULL)
             {
                 ICorDebugBreakpoint * pIBreakpoint = CordbBreakpointToInterface(pBreakpoint);
-                _ASSERTE(pIBreakpoint != NULL);            
+                _ASSERTE(pIBreakpoint != NULL);
             {
                     PUBLIC_CALLBACK_IN_THIS_SCOPE2(this, pLockHolder, pEvent, "thread=0x%p, bp=0x%p", pThread, pBreakpoint);
                     pCallback1->BreakpointSetError(pAppDomain, pThread, pIBreakpoint, 0);
@@ -5740,8 +5795,8 @@ void CordbProcess::RawDispatchEvent(
 
             if (pThread == NULL)
             {
-                // We've got an exception on a thread we don't know about.  This could be a thread that 
-                // has never run any managed code, so let's just ignore the exception.  We should have 
+                // We've got an exception on a thread we don't know about.  This could be a thread that
+                // has never run any managed code, so let's just ignore the exception.  We should have
                 // already sent a log message about this situation for the EXCEPTION callback above.
                 _ASSERTE( pEvent->ExceptionCallback2.eventType == DEBUG_EXCEPTION_UNHANDLED );
                 break;
@@ -5759,12 +5814,12 @@ void CordbProcess::RawDispatchEvent(
             {
                 // The interface forces us to to pass a FramePointer via an ICorDebugFrame.
                 // However, we can't get a real ICDFrame without a stackwalk, and we don't
-                // want to do a stackwalk now. so pass a netuered proxy frame. The shim 
+                // want to do a stackwalk now. so pass a netuered proxy frame. The shim
                 // can map this to a real frame.
                 // See comments at CordbPlaceHolderFrame class for details.
                 pFrame.Assign(new CordbPlaceholderFrame(this, fp));
             }
-           
+
             CorDebugExceptionCallbackType type = pEvent->ExceptionCallback2.eventType;
             {
                 PUBLIC_CALLBACK_IN_THIS_SCOPE3(this, pLockHolder, pEvent, "pThread=0x%p, frame=%p, type=%d", pThread, (ICorDebugFrame*) pFrame, type);
@@ -5825,7 +5880,7 @@ void CordbProcess::RawDispatchEvent(
             }
 
             //
-            // Tell the debugger that the exception has been intercepted.  This is similar to the 
+            // Tell the debugger that the exception has been intercepted.  This is similar to the
             // notification we give when we start unwinding for a non-intercepted exception, except that the
             // interception has been completed at this point, which means that we are conceptually at the end
             // of the second pass.
@@ -5833,9 +5888,9 @@ void CordbProcess::RawDispatchEvent(
             {
                 PUBLIC_CALLBACK_IN_THIS_SCOPE1(this, pLockHolder, pEvent, "pThread=0x%p", pThread);
                 hr = pCallback2->ExceptionUnwind(
-                    pThread->m_pAppDomain, 
-                    pThread, 
-                    DEBUG_EXCEPTION_INTERCEPTED, 
+                    pThread->m_pAppDomain,
+                    pThread,
+                    DEBUG_EXCEPTION_INTERCEPTED,
                     0);
             }
         }
@@ -5861,7 +5916,7 @@ void CordbProcess::RawDispatchEvent(
             }
             else // the lock was already held
             {
-                // see if we threw because the lock was held 
+                // see if we threw because the lock was held
                 _ASSERTE(hr == CORDBG_E_PROCESS_NOT_SYNCHRONIZED);
                 if (hr != CORDBG_E_PROCESS_NOT_SYNCHRONIZED)
                 {
@@ -5872,7 +5927,7 @@ void CordbProcess::RawDispatchEvent(
 
         }
         break;
-        
+
     case DB_IPCE_TEST_RWLOCK:
         {
             EX_TRY
@@ -5893,7 +5948,7 @@ void CordbProcess::RawDispatchEvent(
             }
             else // the lock was already held
             {
-                // see if we threw because the lock was held 
+                // see if we threw because the lock was held
                 _ASSERTE(hr == CORDBG_E_PROCESS_NOT_SYNCHRONIZED);
                 if (hr != CORDBG_E_PROCESS_NOT_SYNCHRONIZED)
                 {
@@ -5921,7 +5976,7 @@ void CordbProcess::RawDispatchEvent(
 
 //---------------------------------------------------------------------------------------
 // Callback for prepopulating threads.
-// 
+//
 // Arugments:
 //    vmThread - thread as part of the eunmeration.
 //    pUserData - data supplied with callback. It's a CordbProcess* object.
@@ -5953,7 +6008,7 @@ void CordbProcess::PrepopulateThreadsOrThrow()
 
 //---------------------------------------------------------------------------------------
 // Create a Thread enumerator
-// 
+//
 // Arguments:
 //     pOwnerObj - object (a CordbProcess or CordbThread) that will own the enumerator.
 //     pOwnerList - the neuter list that the enumerator will live on
@@ -5962,8 +6017,8 @@ void CordbProcess::PrepopulateThreadsOrThrow()
 void CordbProcess::BuildThreadEnum(CordbBase * pOwnerObj, NeuterList * pOwnerList, RSInitHolder<CordbHashTableEnum> * pHolder)
 {
     CordbHashTableEnum::BuildOrThrow(
-        pOwnerObj, 
-        pOwnerList, 
+        pOwnerObj,
+        pOwnerList,
         &m_userThreads,
         IID_ICorDebugThreadEnum,
         pHolder);
@@ -5978,7 +6033,7 @@ HRESULT CordbProcess::EnumerateThreads(ICorDebugThreadEnum **ppThreads)
         if (m_detached)
         {
             // #Detach_Check:
-            // 
+            //
             // FUTURE: Consider adding this IF block to the PUBLIC_API macros so that
             // typical public APIs fail quickly if we're trying to do a detach.  For
             // now, I'm hand-adding this check only to the few problematic APIs that get
@@ -6029,7 +6084,7 @@ HRESULT CordbProcess::GetThread(DWORD dwThreadId, ICorDebugThread **ppThread)
             // See code:CordbProcess::EnumerateThreads#Detach_Check
             ThrowHR(CORDBG_E_PROCESS_DETACHED);
         }
-        CordbThread * pThread = TryLookupOrCreateThreadByVolatileOSId(dwThreadId); 
+        CordbThread * pThread = TryLookupOrCreateThreadByVolatileOSId(dwThreadId);
         if (pThread == NULL)
         {
             // This is a common case because we may be looking up an unmanaged thread.
@@ -6117,22 +6172,22 @@ HRESULT CordbProcess::SetAllThreadsDebugState(CorDebugThreadState state,
     }
     CordbThread * pCordbExceptThread = static_cast<CordbThread *> (pExceptThread);
 
-    LOG((LF_CORDB, LL_INFO1000, "CP::SATDS: except thread=0x%08x 0x%x\n", 
-         pExceptThread, 
+    LOG((LF_CORDB, LL_INFO1000, "CP::SATDS: except thread=0x%08x 0x%x\n",
+         pExceptThread,
          (pCordbExceptThread != NULL) ? pCordbExceptThread->m_id : 0));
 
     // Send one event to the Left Side to twiddle each thread's state.
     DebuggerIPCEvent event;
-    
+
     InitIPCEvent(&event, DB_IPCE_SET_ALL_DEBUG_STATE, true, VMPTR_AppDomain::NullPtr());
-    
-    event.SetAllDebugState.vmThreadToken = ((pCordbExceptThread != NULL) ? 
+
+    event.SetAllDebugState.vmThreadToken = ((pCordbExceptThread != NULL) ?
                                             pCordbExceptThread->m_vmThreadToken : VMPTR_Thread::NullPtr());
-    
+
     event.SetAllDebugState.debugState = state;
 
     HRESULT hr = SendIPCEvent(&event, sizeof(DebuggerIPCEvent));
-    
+
     hr = WORST_HR(hr, event.hr);
 
     // If that worked, then loop over all the threads on this side and set their states.
@@ -6143,8 +6198,8 @@ HRESULT CordbProcess::SetAllThreadsDebugState(CorDebugThreadState state,
         CordbThread * pThread;
 
         // We don't need to prepopulate here (to collect LS state) because we're just updating RS state.
-        for (pThread = m_userThreads.FindFirst(&hashFind); 
-              pThread != NULL; 
+        for (pThread = m_userThreads.FindFirst(&hashFind);
+              pThread != NULL;
               pThread = m_userThreads.FindNext(&hashFind))
         {
             if (pThread != pCordbExceptThread)
@@ -6170,7 +6225,7 @@ HRESULT CordbProcess::EnumerateObjects(ICorDebugObjectEnum **ppObjects)
 
 //---------------------------------------------------------------------------------------
 //
-// Determines if the target address is a "CLR transition stub". 
+// Determines if the target address is a "CLR transition stub".
 //
 // Arguments:
 //     address - The address of an instruction to check in the target address space.
@@ -6227,7 +6282,7 @@ HRESULT CordbProcess::IsTransitionStub(CORDB_ADDRESS address, BOOL *pfTransition
 
         // Check against DAC primitives
         {
-            BOOL fIsStub2 = GetDAC()->IsTransitionStub(address);            
+            BOOL fIsStub2 = GetDAC()->IsTransitionStub(address);
             (void)fIsStub2; //prevent "unused variable" error from GCC
             CONSISTENCY_CHECK_MSGF(*pfTransitionStub == fIsStub2, ("IsStub2 failed, DAC2:%d, IPC:%d, addr:0x%p", (int) fIsStub2, (int) *pfTransitionStub, CORDB_ADDRESS_TO_PTR(address)));
 
@@ -6305,7 +6360,7 @@ HRESULT CordbProcess::SafeReadThreadContext(LSPTR_CONTEXT pContext, DT_CONTEXT *
 
         // At a minimum we have room for a whole context up to the extended registers.
     #if defined(DT_CONTEXT_EXTENDED_REGISTERS)
-        ULONG32 minContextSize = offsetof(DT_CONTEXT, ExtendedRegisters);    
+        ULONG32 minContextSize = offsetof(DT_CONTEXT, ExtendedRegisters);
     #else
         ULONG32 minContextSize = sizeof(DT_CONTEXT);
     #endif
@@ -6313,7 +6368,7 @@ HRESULT CordbProcess::SafeReadThreadContext(LSPTR_CONTEXT pContext, DT_CONTEXT *
         // Read the minimum part.
         TargetBuffer tbMin = tbFull.SubBuffer(0, minContextSize);
         SafeReadBuffer(tbMin, (BYTE*) pCtx);
-        
+
     #if defined(DT_CONTEXT_EXTENDED_REGISTERS)
         void *pCurExtReg = (void*)((UINT_PTR)pCtx + minContextSize);
         TargetBuffer tbExtended = tbFull.SubBuffer(minContextSize);
@@ -6360,7 +6415,7 @@ HRESULT CordbProcess::SafeWriteThreadContext(LSPTR_CONTEXT pContext, const DT_CO
     }
 #endif
 
-// 64 bit windows puts space for the first 6 stack parameters in the CONTEXT structure so that 
+// 64 bit windows puts space for the first 6 stack parameters in the CONTEXT structure so that
 // kernel to usermode transitions don't have to allocate a CONTEXT and do a seperate sub rsp
 // to allocate stack spill space for the arguments. This means that writing to P1Home - P6Home
 // will overwrite the arguments of some function higher on the stack, very bad. Conceptually you
@@ -6380,7 +6435,7 @@ HRESULT CordbProcess::SafeWriteThreadContext(LSPTR_CONTEXT pContext, const DT_CO
         SafeWriteBuffer(tb, (const BYTE*) pCtxSource);
     }
     EX_CATCH_HRESULT(hr);
-    
+
     return hr;
 }
 
@@ -6389,12 +6444,9 @@ HRESULT CordbProcess::GetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
 {
     PUBLIC_REENTRANT_API_ENTRY(this);
     FAIL_IF_NEUTERED(this);
-    FAIL_IF_MANAGED_ONLY(this);
-
-    DT_CONTEXT * pContext;
     LOG((LF_CORDB, LL_INFO10000, "CP::GTC: thread=0x%x\n", threadID));
 
-    RSLockHolder lockHolder(GetProcessLock());
+    DT_CONTEXT * pContext;
 
     if (contextSize != sizeof(DT_CONTEXT))
     {
@@ -6406,90 +6458,143 @@ HRESULT CordbProcess::GetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
 
     VALIDATE_POINTER_TO_OBJECT_ARRAY(context, BYTE, contextSize, true, true);
 
-#if !defined(FEATURE_INTEROP_DEBUGGING)
-    return E_NOTIMPL;
-#else
-    // Find the unmanaged thread
-    CordbUnmanagedThread *ut = GetUnmanagedThread(threadID);
-
-    if (ut == NULL)
+    if (this->IsInteropDebugging())
     {
-        LOG((LF_CORDB, LL_INFO10000, "CP::GTC: thread=0x%x, thread id is invalid.\n", threadID));
+#ifdef FEATURE_INTEROP_DEBUGGING
+        RSLockHolder lockHolder(GetProcessLock());
 
-        return E_INVALIDARG;
+        // Find the unmanaged thread
+        CordbUnmanagedThread *ut = GetUnmanagedThread(threadID);
+
+        if (ut == NULL)
+        {
+            LOG((LF_CORDB, LL_INFO10000, "CP::GTC: thread=0x%x, thread id is invalid.\n", threadID));
+
+            return E_INVALIDARG;
+        }
+
+        return ut->GetThreadContext((DT_CONTEXT*)context);
+#else
+        return E_NOTIMPL;
+#endif
     }
+    else
+    {
+        RSLockHolder ch(GetProcess()->GetStopGoLock());
+        RSLockHolder lockHolder(GetProcessLock());
 
-    return ut->GetThreadContext((DT_CONTEXT*)context);
-#endif // FEATURE_INTEROP_DEBUGGING
+        HRESULT hr = S_OK;
+        EX_TRY
+        {
+            CordbThread* thread = this->TryLookupThreadByVolatileOSId(threadID);
+            if (thread == NULL)
+            {
+                LOG((LF_CORDB, LL_INFO10000, "CP::GTC: thread=0x%x, thread id is invalid.\n", threadID));
+
+                hr = E_INVALIDARG;
+            }
+            else
+            {                
+                DT_CONTEXT* managedContext;
+                hr = thread->GetManagedContext(&managedContext);
+                *pContext = *managedContext;
+            }
+        }
+        EX_CATCH_HRESULT(hr)
+        return hr;
+    }
 }
 
 // Public implementation of ICorDebugProcess::SetThreadContext.
-// @dbgtodo interop-debugging: this should go away in V3. Use the data-target instead. This is 
+// @dbgtodo interop-debugging: this should go away in V3. Use the data-target instead. This is
 // interop-debugging aware (and cooperates with hijacks)
 HRESULT CordbProcess::SetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE context[])
 {
     PUBLIC_REENTRANT_API_ENTRY(this);
-    FAIL_IF_MANAGED_ONLY(this);
 
-#if !defined(FEATURE_INTEROP_DEBUGGING)
-    return E_NOTIMPL;
-#else
     HRESULT hr = S_OK;
 
-    RSLockHolder lockHolder(GetProcessLock());
-
-    CordbUnmanagedThread *ut = NULL;
+    // @todo -  could we look at the context flags and return E_INVALIDARG if they're bad?
+    FAIL_IF_NEUTERED(this);
+    VALIDATE_POINTER_TO_OBJECT_ARRAY(context, BYTE, contextSize, true, true);
 
     if (contextSize != sizeof(DT_CONTEXT))
     {
         LOG((LF_CORDB, LL_INFO10000, "CP::STC: thread=0x%x, context size is invalid.\n", threadID));
-        hr = E_INVALIDARG;
-        goto Label_Done;
+        return E_INVALIDARG;
     }
 
-    // @todo -  could we look at the context flags and return E_INVALIDARG if they're bad?
-    FAIL_IF_NEUTERED(this);
-    VALIDATE_POINTER_TO_OBJECT_ARRAY(context, BYTE, contextSize, true, true);
-
-    // Find the unmanaged thread
-    ut = GetUnmanagedThread(threadID);
+    DT_CONTEXT* pContext = (DT_CONTEXT*)context;
 
-    if (ut == NULL)
+    if (this->IsInteropDebugging())
     {
-        LOG((LF_CORDB, LL_INFO10000, "CP::STC: thread=0x%x, thread is invalid.\n", threadID));
-        hr = E_INVALIDARG;
-        goto Label_Done;
-    }
+#ifdef FEATURE_INTEROP_DEBUGGING
+        RSLockHolder lockHolder(GetProcessLock());
 
-    hr = ut->SetThreadContext((DT_CONTEXT*)context);
+        CordbUnmanagedThread *ut = NULL;
 
+        // Find the unmanaged thread
+        ut = GetUnmanagedThread(threadID);
 
-    // Update the register set for the leaf-unmanaged chain so that it's consistent w/ the context.
-    // We may not necessarily be synchronized, and so these frames may be stale. Even so, no harm done.
-    if (SUCCEEDED(hr))
-    {
-        // @dbgtodo stackwalk: this should all disappear with V3 stackwalker and getting rid of SetThreadContext.
-        EX_TRY
+        if (ut == NULL)
         {
-            // Find the managed thread.  Returns NULL if thread is not managed.
-            // If we don't have a thread prveiously cached, then there's no state to update.
-            CordbThread * pThread = TryLookupThreadByVolatileOSId(threadID); 
-            
-            if (pThread != NULL)
+            LOG((LF_CORDB, LL_INFO10000, "CP::STC: thread=0x%x, thread is invalid.\n", threadID));
+            return E_INVALIDARG;
+        }
+
+        hr = ut->SetThreadContext(pContext);
+
+        // Update the register set for the leaf-unmanaged chain so that it's consistent w/ the context.
+        // We may not necessarily be synchronized, and so these frames may be stale. Even so, no harm done.
+        if (SUCCEEDED(hr))
+        {
+            // @dbgtodo stackwalk: this should all disappear with V3 stackwalker and getting rid of SetThreadContext.
+            EX_TRY
             {
-                // In V2, we used to update the CONTEXT of the leaf chain if the chain is an unmanaged chain.
-                // In Arrowhead, we just force a cleanup of the stackwalk cache.  This is a more correct
-                // thing to do anyway, since the CONTEXT being set could be anything.
-                pThread->CleanupStack();
+                // Find the managed thread.  Returns NULL if thread is not managed.
+                // If we don't have a thread prveiously cached, then there's no state to update.
+                CordbThread * pThread = TryLookupThreadByVolatileOSId(threadID);
+
+                if (pThread != NULL)
+                {
+                    // In V2, we used to update the CONTEXT of the leaf chain if the chain is an unmanaged chain.
+                    // In Arrowhead, we just force a cleanup of the stackwalk cache.  This is a more correct
+                    // thing to do anyway, since the CONTEXT being set could be anything.
+                    pThread->CleanupStack();
+                }
             }
+            EX_CATCH_HRESULT(hr);
         }
-        EX_CATCH_HRESULT(hr);
+#else
+        return E_NOTIMPL;
+#endif
     }
+    else
+    {
+        RSLockHolder ch(GetProcess()->GetStopGoLock());
+        RSLockHolder lockHolder(GetProcessLock());
+        
+        EX_TRY
+        {
+            CordbThread* thread = this->TryLookupThreadByVolatileOSId(threadID);
+            if (thread == NULL)
+            {
+                LOG((LF_CORDB, LL_INFO10000, "CP::GTC: thread=0x%x, thread id is invalid.\n", threadID));
 
-Label_Done:
-    return ErrWrapper(hr);
+                hr = E_INVALIDARG;
+            }
 
-#endif // FEATURE_INTEROP_DEBUGGING
+            hr = thread->SetManagedContext(pContext);
+        }
+        EX_CATCH
+        {
+            hr = E_FAIL;
+        }
+        EX_END_CATCH(SwallowAllExceptions)
+
+        
+    }
+    return hr;
 }
 
 
@@ -6586,9 +6691,9 @@ LExit:
 // if we've written over them. And put the int3 back in for write-memory.
 //
 // Note: If we're writing memory over top of a patch, then it must be JITted or stub code.
-// Writing over JITed or Stub code can be dangerous since the CLR may not expect it 
+// Writing over JITed or Stub code can be dangerous since the CLR may not expect it
 // (eg. JIT data structures about the code layout may be incorrect), but in certain
-// narrow cases it may be safe (eg. replacing a constant).  VS says they wouldn't expect 
+// narrow cases it may be safe (eg. replacing a constant).  VS says they wouldn't expect
 // this to work, but we'll keep the support in for legacy reasons.
 //
 // address, size - describe buffer in LS memory
@@ -6663,7 +6768,7 @@ HRESULT CordbProcess::AdjustBuffer( CORDB_ADDRESS address,
                 _ASSERTE( pbUpdatePatchTable != NULL );
                 _ASSERTE( bufferCopy != NULL );
 
-                //There can be multiple patches at the same address: we don't want 2nd+ patches to get the 
+                //There can be multiple patches at the same address: we don't want 2nd+ patches to get the
                 // break opcode, so we read from the unmodified copy.
                 m_rgUncommitedOpcode[iNextFree] =
                     CORDbgGetInstructionEx(*bufferCopy, address, patchAddress, opcode, size);
@@ -6686,7 +6791,7 @@ HRESULT CordbProcess::AdjustBuffer( CORDB_ADDRESS address,
         delete [] *bufferCopy;
         *bufferCopy = NULL;
     }
-    
+
     return S_OK;
 }
 
@@ -6809,14 +6914,14 @@ HRESULT CordbProcess::RefreshPatchTable(CORDB_ADDRESS address, SIZE_T size, BYTE
             LOG((LF_CORDB, LL_INFO10000, "Wont refresh patch table because its not valid now.\n"));
             return S_OK;
         }
-        
+
         EX_TRY
         {
             rgb = new BYTE[cbTableSlice]; // throws
 
             TargetBuffer tbSlice((BYTE*)m_runtimeOffsets.m_pPatches + offStart, cbTableSlice);
             this->SafeReadBuffer(tbSlice, rgb); // Throws;
-            
+
             // Note that rgData is a pointer in the left side address space
             m_rgData = *(BYTE**)(rgb + m_runtimeOffsets.m_offRgData - offStart);
             m_cPatch = *(ULONG*)(rgb + m_runtimeOffsets.m_offCData - offStart);
@@ -6838,7 +6943,7 @@ HRESULT CordbProcess::RefreshPatchTable(CORDB_ADDRESS address, SIZE_T size, BYTE
 
             TargetBuffer tb(m_rgData, cbPatchTable);
             this->SafeReadBuffer(tb, m_pPatchTable); // Throws
-            
+
             //As we go through the patch table we do a number of things:
             //
             // 1. collect min,max address seen for quick fail check
@@ -6917,7 +7022,7 @@ LExit:
         EX_CATCH_HRESULT(hr);
     }
 
+
     if (rgb != NULL )
     {
         delete [] rgb;
@@ -6933,7 +7038,7 @@ LExit:
 
 //---------------------------------------------------------------------------------------
 //
-// Given an address, see if there is a patch in the patch table that matches it and return 
+// Given an address, see if there is a patch in the patch table that matches it and return
 // if its an unmanaged patch or not.
 //
 // Arguments:
@@ -6941,14 +7046,14 @@ LExit:
 //     pfPatchFound - Space to store the result, TRUE if the address belongs to a
 //         patch, FALSE if not.  Only valid if this method returns a success code.
 //     pfPatchIsUnmanaged - Space to store the result, TRUE if the address is a patch
-//         and the patch is unmanaged, FALSE if not.  Only valid if this method returns a 
+//         and the patch is unmanaged, FALSE if not.  Only valid if this method returns a
 //         success code.
 //
 // Return Value:
 //     Typical HRESULT symantics, nothing abnormal.
 //
-// Note: this method is pretty in-efficient. It refreshes the patch table, then scans it. 
-//     Refreshing the patch table involves a scan, too, so this method could be folded 
+// Note: this method is pretty in-efficient. It refreshes the patch table, then scans it.
+//     Refreshing the patch table involves a scan, too, so this method could be folded
 //     with that.
 //
 //---------------------------------------------------------------------------------------
@@ -7092,13 +7197,13 @@ HRESULT CordbProcess::WriteMemory(CORDB_ADDRESS address, DWORD size,
                 "(This assert is only enabled under the COM+ knob DbgCheckInt3.)\n",
                 CORDB_ADDRESS_TO_PTR(address)));
         }
-#endif // DBG_TARGET_X86 || DBG_TARGET_AMD64   
+#endif // DBG_TARGET_X86 || DBG_TARGET_AMD64
 
         // check if we're replaced an opcode.
         if (size == 1)
         {
             RSLockHolder ch(&this->m_processMutex);
-            
+
             NativePatch * p = GetNativePatch(CORDB_ADDRESS_TO_PTR(address));
             if (p != NULL)
             {
@@ -7129,7 +7234,7 @@ HRESULT CordbProcess::WriteMemory(CORDB_ADDRESS address, DWORD size,
     if (m_initialized)
     {
         RSLockHolder ch(&this->m_processMutex);
-        
+
         if (m_pPatchTable == NULL )
         {
             if (!SUCCEEDED( hr = RefreshPatchTable() ) )
@@ -7165,7 +7270,7 @@ HRESULT CordbProcess::WriteMemory(CORDB_ADDRESS address, DWORD size,
         else
             hrSaved = hr;
     }
-    
+
 
     LOG((LF_CORDB, LL_INFO100000, "CP::WM: wrote %d bytes at 0x%08x, first byte is 0x%x\n",
          *written, (DWORD)address, buffer[0]));
@@ -7314,7 +7419,7 @@ CordbUnmanagedThread *CordbProcess::HandleUnmanagedCreateThread(DWORD dwThreadId
 // Note: Throws on error
 //-----------------------------------------------------------------------------
 void CordbProcess::InitDac()
-{        
+{
     // Go-Go DAC power!!
     HRESULT hr = S_OK;
     EX_TRY
@@ -7331,7 +7436,7 @@ void CordbProcess::InitDac()
         // - a CLR dev built mscorwks but didn't build DAC.
         SIMPLIFYING_ASSUMPTION_MSGF(false, ("Failed to load DAC while for debugging. hr=0x%08x", hr));
         ThrowHR(hr);
-    }   
+    }
 } //CordbProcess::InitDac
 
 // Update the entire RS copy of the debugger control block by reading the LS copy. The RS copy is treated as
@@ -7340,8 +7445,8 @@ void CordbProcess::InitDac()
 // update everything for simplicity; any perf hit we take by doing this instead of updating the individual
 // fields we want at any given point isn't significant, particularly if we are updating multiple fields.
 
-// Arguments: 
-//     none, but reads process memory from the LS debugger control block 
+// Arguments:
+//     none, but reads process memory from the LS debugger control block
 // Return Value: none (copies from LS DCB to RS buffer GetDCB())
 // Note: throws if SafeReadBuffer fails
 void CordbProcess::UpdateRightSideDCB()
@@ -7351,7 +7456,7 @@ void CordbProcess::UpdateRightSideDCB()
 
 // Update a single field with a value stored in the RS copy of the DCB. We can't update the entire LS DCB
 // because in some cases, the LS and RS are simultaneously initializing the DCB. If we initialize a field on
-// the RS and write back the whole thing, we may overwrite something the LS has initialized in the interim. 
+// the RS and write back the whole thing, we may overwrite something the LS has initialized in the interim.
 
 // Arguments:
 //     input: rsFieldAddr - the address of the field in the RS copy of the DCB that we want to write back to
@@ -7370,28 +7475,28 @@ void CordbProcess::UpdateLeftSideDCBField(void * rsFieldAddr, SIZE_T size)
 //-----------------------------------------------------------------------------
 // Gets the remote address of the event block for the Target and verifies that it's valid.
 // We use this address when we need to read from or write to the debugger control block.
-// Also allocates the RS buffer used for temporary storage for information from the DCB and 
+// Also allocates the RS buffer used for temporary storage for information from the DCB and
 // copies the LS DCB into the RS buffer.
 // Arguments:
 //     output: pfBlockExists - true iff the LS DCB has been successfully allocated.  Note that
-//             we need this information even if the function throws, so we can't simply send it back 
+//             we need this information even if the function throws, so we can't simply send it back
 //             as a return value.
 // Return value:
-//     None, but allocates GetDCB() on success. If the LS DCB has not  
-//     been successfully initialized or if this throws, GetDCB() will be NULL. 
+//     None, but allocates GetDCB() on success. If the LS DCB has not
+//     been successfully initialized or if this throws, GetDCB() will be NULL.
 //
 // Notes:
 //     Throws on error
 //
 //-----------------------------------------------------------------------------
 void CordbProcess::GetEventBlock(BOOL * pfBlockExists)
-{    
+{
     if (GetDCB() == NULL) // we only need to do this once
     {
         _ASSERTE(m_pShim != NULL);
         _ASSERTE(ThreadHoldsProcessLock());
 
-        // This will Initialize the DAC/DBI interface.     
+        // This will Initialize the DAC/DBI interface.
         BOOL fDacReady = TryInitializeDac();
 
         if (fDacReady)
@@ -7406,11 +7511,11 @@ void CordbProcess::GetEventBlock(BOOL * pfBlockExists)
             if (pLeftSideDCB == NULL)
             {
                 *pfBlockExists = false;
-                ThrowHR(CORDBG_E_DEBUGGING_NOT_POSSIBLE); 
+                ThrowHR(CORDBG_E_DEBUGGING_NOT_POSSIBLE);
             }
 
-            IfFailThrow(NewEventChannelForThisPlatform(pLeftSideDCB, 
-                                                       m_pMutableDataTarget, 
+            IfFailThrow(NewEventChannelForThisPlatform(pLeftSideDCB,
+                                                       m_pMutableDataTarget,
                                                        GetPid(),
                                                        m_pShim->GetMachineInfo(),
                                                        &m_pEventChannel));
@@ -7420,12 +7525,12 @@ void CordbProcess::GetEventBlock(BOOL * pfBlockExists)
             UpdateRightSideDCB();
 
             // Verify that the control block is valid.
-            // This  will throw on error. 
-            VerifyControlBlock();   
-            
+            // This  will throw on error.
+            VerifyControlBlock();
+
             *pfBlockExists = true;
         }
-        else 
+        else
         {
             // we can't initialize the DAC, so we can't get the block
             *pfBlockExists = false;
@@ -7460,7 +7565,7 @@ void CordbProcess::VerifyControlBlock()
     UpdateLeftSideDCBField(&(GetDCB()->m_rightSideProtocolCurrent), sizeof(GetDCB()->m_rightSideProtocolCurrent));
 
     GetDCB()->m_rightSideProtocolMinSupported = CorDB_RightSideProtocolMinSupported;
-    UpdateLeftSideDCBField(&(GetDCB()->m_rightSideProtocolMinSupported), 
+    UpdateLeftSideDCBField(&(GetDCB()->m_rightSideProtocolMinSupported),
                            sizeof(GetDCB()->m_rightSideProtocolMinSupported));
 
     // For Telesto, Dbi and Wks have a more flexible versioning allowed, as described by the Debugger
@@ -7475,7 +7580,7 @@ void CordbProcess::VerifyControlBlock()
     // But just in case the installation is corrupted, we'll check it.
     if (GetDCB()->m_DCBSize != sizeof(DebuggerIPCControlBlock))
     {
-        CONSISTENCY_CHECK_MSGF(false, ("DCB in LS is %d bytes, in RS is %d bytes. Version mismatch!!\n", 
+        CONSISTENCY_CHECK_MSGF(false, ("DCB in LS is %d bytes, in RS is %d bytes. Version mismatch!!\n",
                                GetDCB()->m_DCBSize, sizeof(DebuggerIPCControlBlock)));
         ThrowHR(CORDBG_E_INCOMPATIBLE_PROTOCOL);
     }
@@ -7565,7 +7670,7 @@ HRESULT CordbProcess::GetRuntimeOffsets()
 
     // get the remote address of the runtime offsets structure and read the structure itself
     HRESULT hrRead = SafeReadStruct(PTR_TO_CORDB_ADDRESS(GetDCB()->m_pRuntimeOffsets), &m_runtimeOffsets);
-    
+
     if (FAILED(hrRead))
     {
         return hrRead;
@@ -7649,7 +7754,7 @@ HRESULT CordbProcess::GetRuntimeOffsets()
             m_runtimeOffsets.m_excepNotForRuntimeBPAddr,
             m_runtimeOffsets.m_notifyRSOfSyncCompleteBPAddr,
         };
-        
+
         const int NumFlares = NumItems(flares);
 
         // Ensure that all of the flares are unique.
@@ -7796,7 +7901,7 @@ void CordbProcess::QueueUnmanagedEvent(CordbUnmanagedThread *pUThread, const DEB
         // the event then it did not.
         _ASSERTE(ue->IsEventContinuedUnhijacked());
         LOG((LF_CORDB, LL_INFO10000, "CP::QUE: A previously seen event is being discarded 0x%x 0x%p\n",
-         ue->m_currentDebugEvent.u.Exception.ExceptionRecord.ExceptionCode, 
+         ue->m_currentDebugEvent.u.Exception.ExceptionRecord.ExceptionCode,
          ue->m_currentDebugEvent.u.Exception.ExceptionRecord.ExceptionAddress));
         DequeueUnmanagedEvent(ue->m_owner);
     }
@@ -8243,12 +8348,12 @@ HRESULT CordbProcess::StartSyncFromWin32Stop(BOOL * pfAsyncBreakSent)
     // The process can be running free as far as Win32 events are concerned, but still not synchronized as far as the
     // Runtime is concerned. This can happen in a lot of cases where we end up with the Runtime not sync'd but with the
     // process running free due to hijacking, etc...
-    if (((m_state & CordbProcess::PS_WIN32_STOPPED) && (m_outOfBandEventQueue == NULL)) || 
+    if (((m_state & CordbProcess::PS_WIN32_STOPPED) && (m_outOfBandEventQueue == NULL)) ||
         (!GetSynchronized() && IsInteropDebugging()))
     {
         Lock();
 
-        if (((m_state & CordbProcess::PS_WIN32_STOPPED) && (m_outOfBandEventQueue == NULL)) || 
+        if (((m_state & CordbProcess::PS_WIN32_STOPPED) && (m_outOfBandEventQueue == NULL)) ||
             (!GetSynchronized() && IsInteropDebugging()))
         {
             // This can't be the win32 ET b/c we need that thread to be alive and pumping win32 DE so that
@@ -8400,17 +8505,17 @@ void CordbProcess::UnrecoverableError(HRESULT errorHR,
     // debugger while inside CordbProcess::DispatchRCEvent() (as that function deliberately
     // calls Unlock() while calling into the Shim).  Detect such cases here & bail before we
     // try to access invalid fields on this CordbProcess.
-    // 
+    //
     // Normally, we'd need to take the cordb process lock around the IsNeutered check
     // (and the code that follows).  And perhaps this is a good thing to do in the
     // future.  But for now we're not for two reasons:
-    // 
+    //
     // 1) It's scary.  We're in UnrecoverableError() for gosh sake.  I don't know all
     // the possible bad states we can be in to get here.  Will taking the process lock
     // have ordering issues?  Will the process lock even be valid to take here (or might
     // we AV)?  Since this is error handling, we should probably be as light as we can
     // not to cause more errors.
-    // 
+    //
     // 2) It's unnecessary.  For the Watson dump I investigated that caused this fix in
     // the first place, we already detached before entering UnrecoverableError()
     // (indeed, the only reason we're in UnrecoverableError is that we already detached
@@ -8430,7 +8535,7 @@ void CordbProcess::UnrecoverableError(HRESULT errorHR,
         // @dbgtodo - , shim: Once everything is hoisted, we can remove
         // this code.
         // In the v3 case, we should never get an unrecoverable error. Instead, the HR should be propogated
-        // and returned at the top-level public API. 
+        // and returned at the top-level public API.
         _ASSERTE(!"Unrecoverable error dispatched in V3 case.");
     }
 
@@ -8464,7 +8569,7 @@ void CordbProcess::UnrecoverableError(HRESULT errorHR,
         }
         EX_CATCH
         {
-            _ASSERTE(!"Writing process memory failed, perhaps due to an unexpected disconnection from the target."); 
+            _ASSERTE(!"Writing process memory failed, perhaps due to an unexpected disconnection from the target.");
         }
         EX_END_CATCH(SwallowAllExceptions);
     }
@@ -8489,7 +8594,7 @@ HRESULT CordbProcess::CheckForUnrecoverableError()
 {
     HRESULT hr = S_OK;
 
-    if (GetDCB() != NULL) 
+    if (GetDCB() != NULL)
     {
         // be sure we have the latest information
         UpdateRightSideDCB();
@@ -8568,11 +8673,11 @@ COM_METHOD CordbProcess::ModifyLogSwitch(__in_z WCHAR *pLogSwitchName, LONG lLev
 //    cbSize - the size of local buffer
 //
 // Exceptions
-//    On error throws the result of WriteVirtual unless a short write is performed, 
+//    On error throws the result of WriteVirtual unless a short write is performed,
 //    in which case throws ERROR_PARTIAL_COPY
 //
-void CordbProcess::SafeWriteBuffer(TargetBuffer tb, 
-                                   const BYTE * pLocalBuffer) 
+void CordbProcess::SafeWriteBuffer(TargetBuffer tb,
+                                   const BYTE * pLocalBuffer)
 {
     _ASSERTE(m_pMutableDataTarget != NULL);
     HRESULT hr = m_pMutableDataTarget->WriteVirtual(tb.pAddress,
@@ -8603,10 +8708,10 @@ HRESULT CordbProcess::SafeReadBuffer(TargetBuffer tb, BYTE * pLocalBuffer, BOOL
     ULONG32 cbRead;
     HRESULT hr = m_pDACDataTarget->ReadVirtual(tb.pAddress,
         pLocalBuffer,
-        tb.cbSize, 
+        tb.cbSize,
         &cbRead);
 
-    if (FAILED(hr)) 
+    if (FAILED(hr))
     {
         if (throwOnError)
             ThrowHR(CORDBG_E_READVIRTUAL_FAILURE);
@@ -8632,12 +8737,12 @@ HRESULT CordbProcess::SafeReadBuffer(TargetBuffer tb, BYTE * pLocalBuffer, BOOL
 //     vmAppDomain - CLR appdomain to lookup
 //
 // Returns:
-//     Instance of CordbAppDomain for the given appdomain. This is a cached instance. 
-//     If the CordbAppDomain does not yet exist, it will be created and added to the cache. 
+//     Instance of CordbAppDomain for the given appdomain. This is a cached instance.
+//     If the CordbAppDomain does not yet exist, it will be created and added to the cache.
 //     Never returns NULL. Throw on error.
 CordbAppDomain * CordbProcess::LookupOrCreateAppDomain(VMPTR_AppDomain vmAppDomain)
 {
-    CordbAppDomain * pAppDomain = m_appDomains.GetBase(VmPtrToCookie(vmAppDomain));    
+    CordbAppDomain * pAppDomain = m_appDomains.GetBase(VmPtrToCookie(vmAppDomain));
     if (pAppDomain != NULL)
     {
         return pAppDomain;
@@ -8656,7 +8761,7 @@ CordbAppDomain * CordbProcess::GetSharedAppDomain()
         }
                m_sharedAppDomain->InternalAddRef();
     }
-    
+
     return m_sharedAppDomain;
 }
 
@@ -8668,12 +8773,12 @@ CordbAppDomain * CordbProcess::GetSharedAppDomain()
 //      vmAppDomain - appdomain to add.
 //
 // Return Value:
-//    Pointer to newly created appdomain, which should be the normal case. 
+//    Pointer to newly created appdomain, which should be the normal case.
 //    Throws on failure. Never returns null.
 //
 // Assumptions:
 //    Caller ensure the appdomain is not already cached.
-//    Caller should have stop-go lock, which provides thread-safety. 
+//    Caller should have stop-go lock, which provides thread-safety.
 //
 // Notes:
 //    This sets unrecoverable error on failure.
@@ -8687,8 +8792,8 @@ CordbAppDomain * CordbProcess::CacheAppDomain(VMPTR_AppDomain vmAppDomain)
 
     RSInitHolder<CordbAppDomain> pAppDomain;
     pAppDomain.Assign(new CordbAppDomain(this, vmAppDomain));  // throws
-  
-    // Add to the hash. This will addref the pAppDomain. 
+
+    // Add to the hash. This will addref the pAppDomain.
     // Caller ensures we're not already cached.
     // The cache will take ownership.
     m_appDomains.AddBaseOrThrow(pAppDomain);
@@ -8723,7 +8828,7 @@ CordbAppDomain * CordbProcess::CacheAppDomain(VMPTR_AppDomain vmAppDomain)
 //
 //
 // Assumptions:
-//    Invoked as callback from code:CordbProcess::PrepopulateAppDomains 
+//    Invoked as callback from code:CordbProcess::PrepopulateAppDomains
 //
 //
 //---------------------------------------------------------------------------------------
@@ -8768,8 +8873,8 @@ void CordbProcess::PrepopulateAppDomainsOrThrow()
     CONTRACTL_END;
 
     INTERNAL_API_ENTRY(this);
-    
-    if (!IsDacInitialized()) 
+
+    if (!IsDacInitialized())
     {
         return;
     }
@@ -8791,7 +8896,7 @@ void CordbProcess::PrepopulateAppDomainsOrThrow()
 //    S_OK on success.
 //
 // Assumptions:
-//    
+//
 //
 // Notes:
 //    This operation is non-invasive target.
@@ -8805,16 +8910,16 @@ HRESULT CordbProcess::EnumerateAppDomains(ICorDebugAppDomainEnum **ppAppDomains)
         ValidateOrThrow(ppAppDomains);
 
         // Ensure list is populated.
-        PrepopulateAppDomainsOrThrow(); 
-        
+        PrepopulateAppDomainsOrThrow();
+
         RSInitHolder<CordbHashTableEnum> pEnum;
         CordbHashTableEnum::BuildOrThrow(
-            this, 
-            GetContinueNeuterList(), 
+            this,
+            GetContinueNeuterList(),
             &m_appDomains,
             IID_ICorDebugAppDomainEnum,
             pEnum.GetAddr());
-        
+
         *ppAppDomains = static_cast<ICorDebugAppDomainEnum*> (pEnum);
         pEnum->ExternalAddRef();
 
@@ -8840,7 +8945,7 @@ HRESULT CordbProcess::GetObject(ICorDebugValue **ppObject)
 
 //---------------------------------------------------------------------------------------
 //
-// Given a taskid, finding the corresponding thread. The function can fail if we do not 
+// Given a taskid, finding the corresponding thread. The function can fail if we do not
 // find any thread with the given taskid
 //
 // Arguments:
@@ -8867,7 +8972,7 @@ HRESULT CordbProcess::GetThreadForTaskID(TASKID taskId, ICorDebugThread2 ** ppTh
             ThrowHR(E_INVALIDARG);
         }
 
-        // On initialization, the task ID of every thread is INVALID_TASK_ID, unless a host is present and 
+        // On initialization, the task ID of every thread is INVALID_TASK_ID, unless a host is present and
         // the host calls IClrTask::SetTaskIdentifier().  So we need to explicitly check for INVALID_TASK_ID
         // here and return NULL if necessary.  We return S_FALSE because that's the return value for the case
         // where we can't find a thread for the specified task ID.
@@ -8879,12 +8984,12 @@ HRESULT CordbProcess::GetThreadForTaskID(TASKID taskId, ICorDebugThread2 ** ppTh
         else
         {
             PrepopulateThreadsOrThrow();
-            
+
             // now find the ICorDebugThread corresponding to it
             CordbThread * pThread;
             HASHFIND hashFind;
 
-            
+
             for (pThread  = m_userThreads.FindFirst(&hashFind);
                  pThread != NULL;
                  pThread  = m_userThreads.FindNext(&hashFind))
@@ -8893,7 +8998,7 @@ HRESULT CordbProcess::GetThreadForTaskID(TASKID taskId, ICorDebugThread2 ** ppTh
                 {
                     break;
                 }
-            }    
+            }
 
             if (pThread == NULL)
             {
@@ -8938,7 +9043,7 @@ CordbProcess::GetVersion(COR_VERSION* pVersion)
 NativePatch * CordbProcess::GetNativePatch(const void * pAddress)
 {
     _ASSERTE(ThreadHoldsProcessLock());
-    
+
     int cTotal = m_NativePatchList.Count();
     NativePatch * pTable = m_NativePatchList.Table();
     if (pTable == NULL)
@@ -8972,8 +9077,8 @@ bool CordbProcess::IsBreakOpcodeAtAddress(const void * address)
 #endif
 
     HRESULT hr = SafeReadStruct(PTR_TO_CORDB_ADDRESS(address), &opcodeTest);
-    SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr); 
-    
+    SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr);
+
     return (opcodeTest == CORDbg_BREAK_INSTRUCTION);
 }
 #endif // FEATURE_INTEROP_DEBUGGING
@@ -9114,7 +9219,7 @@ CordbProcess::ClearUnmanagedBreakpoint(CORDB_ADDRESS address)
     PUBLIC_API_ENTRY(this);
     FAIL_IF_NEUTERED(this);
     FAIL_IF_MANAGED_ONLY(this);
-    
+
     _ASSERTE(!ThreadHoldsProcessLock());
 
     HRESULT hr = S_OK;
@@ -9243,7 +9348,7 @@ void CordbProcess::SetSyncCompleteRecv(bool fSyncRecv)
 
 // This can be used if we ever need the RS to emulate old behavior of previous versions.
 // This can not be used in QIs to deny queries for new interfaces.
-// QIs must be consistent across the lifetime of an object. Say CordbThread used this in a QI 
+// QIs must be consistent across the lifetime of an object. Say CordbThread used this in a QI
 // do deny returning a ICorDebugThread2 interface when emulating v1.1. Once that Thread is neutered,
 // it no longer has a pointer to the process, and it no longer knows if it should be denying
 // the v2.0 query. An object's QI can't start returning new interfaces onces its neutered.
@@ -9256,12 +9361,12 @@ bool CordbProcess::SupportsVersion(CorDebugInterfaceVersion featureVersion)
 
 //---------------------------------------------------------------------------------------
 // Add an object to the process's Left-Side resource cleanup list
-// 
+//
 // Arguments:
 //    pObject - non-null object to be added
-//    
+//
 // Notes:
-//    This list tracks objects with process-scope that hold left-side 
+//    This list tracks objects with process-scope that hold left-side
 //    resources (like func-eval).
 //    See code:CordbAppDomain::GetSweepableExitNeuterList for per-appdomain
 //    objects with left-side resources.
@@ -9269,7 +9374,7 @@ void CordbProcess::AddToLeftSideResourceCleanupList(CordbBase * pObject)
 {
     INTERNAL_API_ENTRY(this);
     _ASSERTE(pObject != NULL);
-    
+
     m_LeftSideResourceCleanupList.Add(this, pObject);
 }
 
@@ -9278,12 +9383,12 @@ void CordbProcess::AddToNeuterOnExitList(CordbBase *pObject)
 {
     INTERNAL_API_ENTRY(this);
     _ASSERTE(pObject != NULL);
-    
+
     HRESULT hr = S_OK;
     EX_TRY
     {
         this->m_ExitNeuterList.Add(this, pObject);
-    } 
+    }
     EX_CATCH_HRESULT(hr);
     SetUnrecoverableIfFailed(GetProcess(), hr);
 }
@@ -9294,7 +9399,7 @@ void CordbProcess::AddToNeuterOnContinueList(CordbBase *pObject)
     INTERNAL_API_ENTRY(this);
     _ASSERTE(pObject != NULL);
 
-    m_ContinueNeuterList.Add(this, pObject); // throws 
+    m_ContinueNeuterList.Add(this, pObject); // throws
 }
 
 
@@ -9373,7 +9478,7 @@ void CordbProcess::DuplicateHandleToLocalProcess(HANDLE * pLocalHandle, RemoteHA
     {
         BOOL fSuccess = pRemoteHandle->DuplicateToLocalProcess(m_handle, pLocalHandle);
         if (!fSuccess)
-        {            
+        {
             ThrowLastError();
         }
     }
@@ -9427,7 +9532,7 @@ void CordbProcess::FinishInitializeIPCChannelWorker()
         LOG((LF_CORDB, LL_INFO1000, "[%x] RCET::HFRCE: first event..., process %p\n", GetCurrentThreadId(), this));
 
         BOOL fBlockExists;
-        GetEventBlock(&fBlockExists); // throws on error   
+        GetEventBlock(&fBlockExists); // throws on error
 
         LOG((LF_CORDB, LL_EVERYTHING, "Size of CdbP is %d\n", sizeof(CordbProcess)));
 
@@ -9436,7 +9541,7 @@ void CordbProcess::FinishInitializeIPCChannelWorker()
 #if defined(FEATURE_INTEROP_DEBUGGING)
         DuplicateHandleToLocalProcess(&m_leftSideUnmanagedWaitEvent, &GetDCB()->m_leftSideUnmanagedWaitEvent);
 #endif // FEATURE_INTEROP_DEBUGGING
-        
+
         // Read the Runtime Offsets struct out of the debuggee.
         hr = GetRuntimeOffsets();
         IfFailThrow(hr);
@@ -9444,11 +9549,11 @@ void CordbProcess::FinishInitializeIPCChannelWorker()
         // we need to be careful here. The LS will have a thread running free that may be initializing
         // fields of the DCB (specifically it may be setting up the helper thread), so we need to make sure
         // we don't overwrite any fields that the LS is writing. We need to be sure we only write to RS
-        // status fields. 
+        // status fields.
         m_initialized = true;
         GetDCB()->m_rightSideIsWin32Debugger = IsInteropDebugging();
         UpdateLeftSideDCBField(&(GetDCB()->m_rightSideIsWin32Debugger), sizeof(GetDCB()->m_rightSideIsWin32Debugger));
-            
+
         LOG((LF_CORDB, LL_INFO1000, "[%x] RCET::HFRCE: ...went fine\n", GetCurrentThreadId()));
         _ASSERTE(SUCCEEDED(hr));
 
@@ -9461,7 +9566,7 @@ void CordbProcess::FinishInitializeIPCChannelWorker()
     // We only land here on failure cases.
     // We must have jumped to this label. Maybe we didn't set HR, so check now.
     STRESS_LOG1(LF_CORDB, LL_INFO1000, "HFCR: FAILED hr=0x%08x\n", hr);
-        
+
     CloseIPCHandles();
 
     // Rethrow
@@ -9478,10 +9583,10 @@ void CordbProcess::FinishInitializeIPCChannelWorker()
 // Throws on error
 void Ls_Rs_BaseBuffer::CopyLSDataToRSWorker(ICorDebugDataTarget * pTarget)
 {
-    // 
+    //
     const DWORD cbCacheSize = m_cbSize;
-    
-    // SHOULD not happen for more than once in well-behaved case.    
+
+    // SHOULD not happen for more than once in well-behaved case.
     if (m_pbRS != NULL)
     {
         SIMPLIFYING_ASSUMPTION(!"m_pbRS is non-null; is this a corrupted event?");
@@ -9489,7 +9594,7 @@ void Ls_Rs_BaseBuffer::CopyLSDataToRSWorker(ICorDebugDataTarget * pTarget)
     }
 
     NewHolder<BYTE> pData(new BYTE[cbCacheSize]);
-    
+
     ULONG32 cbRead;
     HRESULT hrRead = pTarget->ReadVirtual(PTR_TO_CORDB_ADDRESS(m_pbLS), pData, cbCacheSize , &cbRead);
 
@@ -9497,7 +9602,7 @@ void Ls_Rs_BaseBuffer::CopyLSDataToRSWorker(ICorDebugDataTarget * pTarget)
     {
         hrRead = CORDBG_E_READVIRTUAL_FAILURE;
     }
-    
+
     if (SUCCEEDED(hrRead) && (cbCacheSize != cbRead))
     {
         hrRead = HRESULT_FROM_WIN32(ERROR_PARTIAL_COPY);
@@ -9506,7 +9611,7 @@ void Ls_Rs_BaseBuffer::CopyLSDataToRSWorker(ICorDebugDataTarget * pTarget)
 
     // Now do Transfer
     m_pbRS = pData;
-    pData.SuppressRelease();   
+    pData.SuppressRelease();
 }
 
 //---------------------------------------------------------------------------------------
@@ -9529,20 +9634,20 @@ void Ls_Rs_ByteBuffer::CopyLSDataToRS(ICorDebugDataTarget * pTarget)
 //
 // Throws on error
 void Ls_Rs_StringBuffer::CopyLSDataToRS(ICorDebugDataTarget * pTarget)
-{        
+{
     CopyLSDataToRSWorker(pTarget);
-    
+
     // Ensure we're a valid, well-formed string.
     // @dbgtodo - this should only happen in corrupted scenarios. Perhaps a better HR here?
     // - null terminated.
     // - no embedded nulls.
-    
+
     const WCHAR * pString = GetString();
     SIZE_T dwExpectedLenWithNull = m_cbSize / sizeof(WCHAR);
-    
+
     // Should at least have 1 character for the null-terminator.
     if (dwExpectedLenWithNull == 0)
-    {        
+    {
         ThrowHR(CORDBG_E_TARGET_INCONSISTENT);
     }
 
@@ -9574,17 +9679,17 @@ void Ls_Rs_StringBuffer::CopyLSDataToRS(ICorDebugDataTarget * pTarget)
 //
 // Assumptions:
 //    Target is currently stopped and inspectable.
-//    After the event is marshalled, it has resources that must be cleaned up 
+//    After the event is marshalled, it has resources that must be cleaned up
 //    by calling code:DeleteIPCEventHelper.
-// 
+//
 // Notes:
 //     Call a Copy function (CopyManagedEventFromTarget, CopyRCEventFromIPCBlock)to
 //     get the event to marshal.
 //     This will marshal args from the target into the host.
-//     The debug event is fixed size. But since the debuggee is stopped, this can copy 
-//     arbitrary-length buffers out of of the debuggee. 
+//     The debug event is fixed size. But since the debuggee is stopped, this can copy
+//     arbitrary-length buffers out of of the debuggee.
 //
-//     This could be rolled into code:CordbProcess::RawDispatchEvent 
+//     This could be rolled into code:CordbProcess::RawDispatchEvent
 //---------------------------------------------------------------------------------------
 void CordbProcess::MarshalManagedEvent(DebuggerIPCEvent * pManagedEvent)
 {
@@ -9624,7 +9729,7 @@ void CordbProcess::MarshalManagedEvent(DebuggerIPCEvent * pManagedEvent)
             break;
     }
 
-    
+
 }
 
 
@@ -9640,37 +9745,37 @@ void CordbProcess::MarshalManagedEvent(DebuggerIPCEvent * pManagedEvent)
 //    loaded into the target and all sending events wit the same exception code.
 //    * False if this does not belong to this instance of ICorDebug. (perhaps it's an event
 //    intended for another instance of the CLR in the target, or some rogue user code happening
-//    to use our exception code).  
+//    to use our exception code).
 //    In either case, the event can still be cleaned up via code:DeleteIPCEventHelper.
 //
 //    Throws on error. In the error case, the contents of pLocalManagedEvent are undefined.
-//    They may have been partially copied from the target. The local managed event does not own 
+//    They may have been partially copied from the target. The local managed event does not own
 //    any resources until it's marshalled, so the buffer can be ignored if this function fails.
 //
 // Assumptions:
 //
 // Notes:
 //    The events are sent form the target via code:Debugger::SendRawEvent
-//    This just does a raw Byte copy, but does not do any Marshalling. 
-//    This should always succeed in the well-behaved case. However, A bad debuggee can 
+//    This just does a raw Byte copy, but does not do any Marshalling.
+//    This should always succeed in the well-behaved case. However, A bad debuggee can
 //    always send a poor-formed debug event.
 //    We don't distinguish between a badly formed event and an event that's not ours.
 //    The event still needs to be Marshaled before being used. (see code:CordbProcess::MarshalManagedEvent)
 //
 //---------------------------------------------------------------------------------------
-#if defined(_MSC_VER) && defined(_TARGET_ARM_) 
+#if defined(_MSC_VER) && defined(_TARGET_ARM_)
 // This is a temporary workaround for an ARM specific MS C++ compiler bug (internal LKG build 18.1).
 // Branch < if (ptrRemoteManagedEvent == NULL) > was always taken and the function always returned false.
 // TODO: It should be removed once the bug is fixed.
 #pragma optimize("", off)
 #endif
 bool CordbProcess::CopyManagedEventFromTarget(
-    const EXCEPTION_RECORD * pRecord, 
+    const EXCEPTION_RECORD * pRecord,
     DebuggerIPCEvent * pLocalManagedEvent)
 {
     _ASSERTE(pRecord != NULL);
     _ASSERTE(pLocalManagedEvent != NULL);
-    
+
     // Initialize the event enough such backout code can call code:DeleteIPCEventHelper.
     pLocalManagedEvent->type = DB_IPCE_DEBUGGER_INVALID;
 
@@ -9700,40 +9805,40 @@ bool CordbProcess::CopyManagedEventFromTarget(
     // For Mac remote debugging the address returned above is actually a local address.
     // Also, we need to copy the entire buffer because once a debug event is read from the debugger
     // transport, it won't be available afterwards.
-    memcpy(reinterpret_cast<BYTE *>(pLocalManagedEvent), 
-           CORDB_ADDRESS_TO_PTR(ptrRemoteManagedEvent), 
+    memcpy(reinterpret_cast<BYTE *>(pLocalManagedEvent),
+           CORDB_ADDRESS_TO_PTR(ptrRemoteManagedEvent),
            CorDBIPC_BUFFER_SIZE);
     hr = S_OK;
-#endif 
-    SIMPLIFYING_ASSUMPTION(SUCCEEDED(hr)); 
+#endif
+    SIMPLIFYING_ASSUMPTION(SUCCEEDED(hr));
     IfFailThrow(hr);
 
     return true;
 }
-#if defined(_MSC_VER) && defined(_TARGET_ARM_) 
+#if defined(_MSC_VER) && defined(_TARGET_ARM_)
 #pragma optimize("", on)
 #endif
 
 //---------------------------------------------------------------------------------------
 // EnsureClrInstanceIdSet - Ensure we have a CLR Instance ID to debug
-// 
+//
 // In Arrowhead scenarios, the debugger is required to pass a valid CLR instance ID
-// to us in OpenVirtualProcess.  In V2 scenarios, for compatibility, we'll allow a 
+// to us in OpenVirtualProcess.  In V2 scenarios, for compatibility, we'll allow a
 // CordbProcess object to exist for a process that doesn't yet have the CLR loaded.
 // In this case the CLR instance ID will start off as 0, but be filled in when we see the
 // startup exception indicating the CLR has been loaded.
 //
 // If we don't already have an instance ID, this function sets it to the only CLR in the
 // target process.  This requires that a CLR be loaded in the target process.
-// 
+//
 // Return Value:
 //    S_OK - if m_clrInstanceId was already set, or is now set to a valid CLR instance ID
-//    an error HRESULT - if m_clrInstanceId was 0, and cannot be set to a valid value 
+//    an error HRESULT - if m_clrInstanceId was 0, and cannot be set to a valid value
 //                       (i.e. because we cannot find a CLR in the target process).
-//    
-//    Note that we need to probe for this on attach, and it's common to attach before the 
+//
+//    Note that we need to probe for this on attach, and it's common to attach before the
 //    CLR has been loaded, so we avoid using exceptions for this common case.
-//    
+//
 HRESULT CordbProcess::EnsureClrInstanceIdSet()
 {
     // If we didn't expect a specific CLR, then attempt to attach to any.
@@ -9760,7 +9865,7 @@ HRESULT CordbProcess::EnsureClrInstanceIdSet()
             _ASSERTE(m_clrInstanceId == 0);
             return hr;
         }
-    }    
+    }
 
     // We've (now) got a valid CLR instance id
     return S_OK;
@@ -9780,7 +9885,7 @@ HRESULT CordbProcess::EnsureClrInstanceIdSet()
 //
 // Notes:
 //    This is copying from a shared-memory block, which is treated as local memory.
-//    This just does a raw Byte copy, but does not do any Marshalling. 
+//    This just does a raw Byte copy, but does not do any Marshalling.
 //    This does no validation on the event.
 //    The event still needs to be Marshaled before being used. (see code:CordbProcess::MarshalManagedEvent)
 //
@@ -9800,9 +9905,9 @@ bool CordbRCEventThread::IsRCEventThread()
 
 //---------------------------------------------------------------------------------------
 // Runtime assert, throws CORDBG_E_TARGET_INCONSISTENT if the expression is not true.
-// 
+//
 // Arguments:
-//     fExpression - assert parameter. If true, this function is a nop. If false, 
+//     fExpression - assert parameter. If true, this function is a nop. If false,
 //             this will throw a CORDBG_E_TARGET_INCONSISTENT error.
 //
 // Notes:
@@ -9812,7 +9917,7 @@ bool CordbRCEventThread::IsRCEventThread()
 void CordbProcess::TargetConsistencyCheck(bool fExpression)
 {
     if (!fExpression)
-    {        
+    {
         STRESS_LOG0(LF_CORDB, LL_INFO10000, "Target consistency check failed");
 
         // When debugging possibly corrupt targets, this failure may be expected.  For debugging purposes,
@@ -9960,7 +10065,7 @@ HRESULT CordbRCEventThread::SendIPCEvent(CordbProcess* process,
         return CORDBG_E_PROCESS_TERMINATED;
     }
 
-    // If the helper thread has died, we can't send an IPC event (and it's never coming back either). 
+    // If the helper thread has died, we can't send an IPC event (and it's never coming back either).
     // Although we do wait on the thread's handle, there are strange windows where the thread's handle
     // is not yet signaled even though we've continued from the exit-thread event for the helper.
     if (process->m_helperThreadDead)
@@ -10146,8 +10251,8 @@ HRESULT CordbRCEventThread::SendIPCEvent(CordbProcess* process,
 
         }
     }
-            
-    process->ForceDacFlush();    
+
+    process->ForceDacFlush();
 
     // The hr and hrEvent are 2 very different things.
     // hr tells us whether the event was sent successfully.
@@ -10176,7 +10281,7 @@ HRESULT CordbRCEventThread::SendIPCEvent(CordbProcess* process,
 void CordbRCEventThread::FlushQueuedEvents(CordbProcess* process)
 {
     CONTRACTL
-    {        
+    {
         NOTHROW; // This is happening on the RCET thread, so there's no place to propogate an error back up.
     }
     CONTRACTL_END;
@@ -10201,9 +10306,9 @@ void CordbRCEventThread::FlushQueuedEvents(CordbProcess* process)
     // ShimProcess now, while we still hold the process lock.  Once we release the lock,
     // GetShim() may not work.
     RSExtSmartPtr<ShimProcess> pShim(process->GetShim());
-    
+
     // Release lock before we call out to shim to Queue fake events.
-    {        
+    {
         RSInverseLockHolder inverseLockHolder(process->GetProcessLock());
         {
             PUBLIC_CALLBACK_IN_THIS_SCOPE0_NO_LOCK(pProcess);
@@ -10268,7 +10373,7 @@ void CordbRCEventThread::FlushQueuedEvents(CordbProcess* process)
 //    None. Throws on error. On error, caller still owns the pManagedEvent and must free it.
 //
 // Assumptions:
-//    This should be called once a notification event is received from the target. 
+//    This should be called once a notification event is received from the target.
 //
 // Notes:
 //    HandleRCEvent -- handle an IPC event received from the runtime controller.
@@ -10276,8 +10381,8 @@ void CordbRCEventThread::FlushQueuedEvents(CordbProcess* process)
 //
 //---------------------------------------------------------------------------------------
 void CordbProcess::HandleRCEvent(
-    DebuggerIPCEvent *         pManagedEvent, 
-    RSLockHolder *             pLockHolder, 
+    DebuggerIPCEvent *         pManagedEvent,
+    RSLockHolder *             pLockHolder,
     ICorDebugManagedCallback * pCallback)
 {
     CONTRACTL
@@ -10295,20 +10400,23 @@ void CordbProcess::HandleRCEvent(
     }
 
     // Marshals over some standard data from event.
-    MarshalManagedEvent(pManagedEvent);                    
+    MarshalManagedEvent(pManagedEvent);
 
     STRESS_LOG4(LF_CORDB, LL_INFO1000, "RCET::TP: Got %s for AD 0x%x, proc 0x%x(%d)\n",
         IPCENames::GetName(pManagedEvent->type), VmPtrToCookie(pManagedEvent->vmAppDomain), this->m_id, this->m_id);
 
     RSExtSmartPtr<ICorDebugManagedCallback2> pCallback2;
-    pCallback->QueryInterface(IID_ICorDebugManagedCallback2, reinterpret_cast<void **> (&pCallback2));   
+    pCallback->QueryInterface(IID_ICorDebugManagedCallback2, reinterpret_cast<void **> (&pCallback2));
 
     RSExtSmartPtr<ICorDebugManagedCallback3> pCallback3;
-    pCallback->QueryInterface(IID_ICorDebugManagedCallback3, reinterpret_cast<void **> (&pCallback3));   
+    pCallback->QueryInterface(IID_ICorDebugManagedCallback3, reinterpret_cast<void **> (&pCallback3));
+
+    RSExtSmartPtr<ICorDebugManagedCallback4> pCallback4;
+    pCallback->QueryInterface(IID_ICorDebugManagedCallback4, reinterpret_cast<void **> (&pCallback4));
 
     // Dispatch directly. May not necessarily dispatch an event.
     // Toggles the lock to dispatch callbacks.
-    RawDispatchEvent(pManagedEvent, pLockHolder, pCallback, pCallback2, pCallback3);    
+    RawDispatchEvent(pManagedEvent, pLockHolder, pCallback, pCallback2, pCallback3, pCallback4);
 }
 
 //
@@ -10328,7 +10436,7 @@ void CordbRCEventThread::ProcessStateChanged()
 
 
 //---------------------------------------------------------------------------------------
-// Primary loop of the Runtime Controller event thread.  This routine loops during the 
+// Primary loop of the Runtime Controller event thread.  This routine loops during the
 // debug session taking IPC events from the IPC block and calling out to process them.
 //
 // Arguments:
@@ -10416,7 +10524,7 @@ void CordbRCEventThread::ThreadProc()
             for (pProcess =  pHashTable->FindFirst(&hashFind); pProcess != NULL; pProcess = pHashTable->FindNext(&hashFind))
             {
                 _ASSERTE(waitCount < MAXIMUM_WAIT_OBJECTS);
-                
+
                 if( waitCount >= MAXIMUM_WAIT_OBJECTS )
                 {
                     break;
@@ -10430,7 +10538,7 @@ void CordbRCEventThread::ThreadProc()
                 // per-process mutex when checking the process's synchronized flag here.
                 if (!pProcess->GetSynchronized() && pProcess->IsSafeToSendEvents())
                 {
-                    STRESS_LOG2(LF_CORDB, LL_INFO1000, "RCET::TP: listening to process 0x%x(%d)\n", 
+                    STRESS_LOG2(LF_CORDB, LL_INFO1000, "RCET::TP: listening to process 0x%x(%d)\n",
                                 pProcess->m_id, pProcess->m_id);
 
                     waitSet[waitCount] = pProcess->m_leftSideEventAvailable;
@@ -10462,7 +10570,7 @@ void CordbRCEventThread::ThreadProc()
                 // Flush the queue if necessary. Note, we only do this if we've actually received a SyncComplete message
                 // from this process. If we haven't received a SyncComplete yet, then we don't attempt to drain any
                 // queued events yet. They'll be drained when the SyncComplete event is actually received.
-                if (pProcess->GetSyncCompleteRecv() && 
+                if (pProcess->GetSyncCompleteRecv() &&
                     (pProcess->GetShim() != NULL) &&
                     !pProcess->GetSynchronized())
                 {
@@ -10472,7 +10580,7 @@ void CordbRCEventThread::ThreadProc()
                         // handling an event.  We can get here if the event raised by the LS is a duplicate
                         // creation event, which the shim discards without adding it to the event queue.
                         // See code:ShimProcess::IsDuplicateCreationEvent.
-                        // 
+                        //
                         // To continue, we need to increment the stop count first.  Also, we can't call
                         // Continue() while holding the process lock.
                         pProcess->SetSynchronized(true);
@@ -10544,7 +10652,7 @@ void CordbRCEventThread::ThreadProc()
 // This is the thread's real thread proc. It simply calls to the
 // thread proc on the given object.
 //
-/*static*/ 
+/*static*/
 DWORD WINAPI CordbRCEventThread::ThreadProc(LPVOID parameter)
 {
     CordbRCEventThread * pThread = (CordbRCEventThread *) parameter;
@@ -10660,7 +10768,7 @@ void CordbRCEventThread::DrainWorkerQueue()
 //    S_OK on success. else failure.
 //
 // Assumptions:
-//    Caller allocates 
+//    Caller allocates
 //
 // Notes:
 //   WaitForIPCEventFromProcess waits for an event from just the specified
@@ -10669,8 +10777,8 @@ void CordbRCEventThread::DrainWorkerQueue()
 //   process's event, too, which would get confusing.
 //
 //   @dbgtodo - this function should eventually be obsolete once everything
-//   is using DAC calls instead of helper-thread. 
-//   
+//   is using DAC calls instead of helper-thread.
+//
 //---------------------------------------------------------------------------------------
 HRESULT CordbRCEventThread::WaitForIPCEventFromProcess(CordbProcess * pProcess,
                                                        CordbAppDomain * pAppDomain,
@@ -10683,7 +10791,7 @@ HRESULT CordbRCEventThread::WaitForIPCEventFromProcess(CordbProcess * pProcess,
 
     do
     {
-        dwStatus = SafeWaitForSingleObject(pProcess, 
+        dwStatus = SafeWaitForSingleObject(pProcess,
                                            pProcess->m_leftSideEventAvailable,
                                            CordbGetWaitTimeout());
 
@@ -10706,9 +10814,9 @@ HRESULT CordbRCEventThread::WaitForIPCEventFromProcess(CordbProcess * pProcess,
             pProcess->MarshalManagedEvent(pEvent);
 
             STRESS_LOG4(LF_CORDB, LL_INFO1000, "CRCET::SIPCE: Got %s for AD 0x%x, proc 0x%x(%d)\n",
-                        IPCENames::GetName(pEvent->type), 
-                        VmPtrToCookie(pEvent->vmAppDomain), 
-                        pProcess->m_id, 
+                        IPCENames::GetName(pEvent->type),
+                        VmPtrToCookie(pEvent->vmAppDomain),
+                        pProcess->m_id,
                         pProcess->m_id);
 
         }
@@ -10761,11 +10869,11 @@ HRESULT CordbRCEventThread::Start()
         return E_INVALIDARG;
     }
 
-    m_thread = CreateThread(NULL, 
-                            0, 
+    m_thread = CreateThread(NULL,
+                            0,
                             &CordbRCEventThread::ThreadProc,
-                            (LPVOID) this, 
-                            0, 
+                            (LPVOID) this,
+                            0,
                             &m_threadId);
 
     if (m_thread == NULL)
@@ -10829,7 +10937,7 @@ enum
 //
 //---------------------------------------------------------------------------------------
 CordbWin32EventThread::CordbWin32EventThread(
-    Cordb * pCordb, 
+    Cordb * pCordb,
     ShimProcess * pShim
     ) :
     m_thread(NULL), m_threadControlEvent(NULL),
@@ -10910,7 +11018,7 @@ void CordbWin32EventThread::ThreadProc()
     DbgRSThread::GetThread()->TakeVirtualLock(RSLock::LL_WIN32_EVENT_THREAD);
 #endif
 
-    // In V2, the debuggee decides what to do if the debugger rudely exits / detaches. (This is 
+    // In V2, the debuggee decides what to do if the debugger rudely exits / detaches. (This is
     // handled by host policy). With the OS native-debuggging pipeline, the debugger by default
     // kills the debuggee if it exits. To emulate V2 behavior, we need to override that default.
     BOOL fOk = m_pNativePipeline->DebugSetProcessKillOnExit(FALSE);
@@ -10937,7 +11045,7 @@ typedef DeleteIPCEventHolderHelper<DebuggerIPCEvent>  DeleteIPCEventHolder;
 // This must be called after an event is marshalled via code:CordbProcess::MarshalManagedEvent
 //
 // Arguments:
-//     pManagedEvent - managed event to delete. 
+//     pManagedEvent - managed event to delete.
 //
 // Notes:
 //     This can delete a partially marshalled event.
@@ -10990,8 +11098,8 @@ void DeleteIPCEventHelper(DebuggerIPCEvent *pManagedEvent)
 // Notes:
 //    This is called after caller does WaitForDebugEvent.
 //    Any exception this Filter does not recognize is treated as kNotClr.
-//    Currently, this includes both managed-exceptions and unmanaged ones. 
-//    For interop-debugging, the interop logic will handle all kNotClr and triage if 
+//    Currently, this includes both managed-exceptions and unmanaged ones.
+//    For interop-debugging, the interop logic will handle all kNotClr and triage if
 //    it's really a non-CLR exception.
 //
 //---------------------------------------------------------------------------------------
@@ -10999,7 +11107,7 @@ void CordbProcess::FilterClrNotification(
     DebuggerIPCEvent * pManagedEvent,
     RSLockHolder * pLockHolder,
     ICorDebugManagedCallback * pCallback)
-{   
+{
     CONTRACTL
     {
         THROWS;
@@ -11014,7 +11122,7 @@ void CordbProcess::FilterClrNotification(
     //       we need to set LSEA/wait on LSER.
     // 2) Sync-Complete (kind of like a special notification)
     //       Ping the helper
-    // 3) Notifications (eg, Module-load): 
+    // 3) Notifications (eg, Module-load):
     //       these are dispatched immediately.
     // 4) Left-side Startup event
 
@@ -11022,13 +11130,13 @@ void CordbProcess::FilterClrNotification(
     // IF we're synced, then we must be getting a "Reply".
     bool fReply = this->GetSynchronized();
 
-    LOG((LF_CORDB, LL_INFO10000, "CP::FCN - Received event %s; fReply: %d\n", 
+    LOG((LF_CORDB, LL_INFO10000, "CP::FCN - Received event %s; fReply: %d\n",
          IPCENames::GetName(pManagedEvent->type),
          fReply));
 
-    if (fReply)    
-    {   
-        // 
+    if (fReply)
+    {
+        //
         _ASSERTE(m_pShim != NULL);
         //
         // Case 1: Reply
@@ -11041,7 +11149,7 @@ void CordbProcess::FilterClrNotification(
         GetEventChannel()->SaveEventFromLeftSide(pManagedEvent);
         SetEvent(this->m_leftSideEventAvailable);
 
-        // Some other thread called code:CordbRCEventThread::WaitForIPCEventFromProcess, and 
+        // Some other thread called code:CordbRCEventThread::WaitForIPCEventFromProcess, and
         // that will respond here and set the event.
 
         DWORD dwResult = WaitForSingleObject(this->m_leftSideEventRead, CordbGetWaitTimeout());
@@ -11049,7 +11157,7 @@ void CordbProcess::FilterClrNotification(
         if (dwResult != WAIT_OBJECT_0)
         {
             // The wait failed.  This is probably WAIT_TIMEOUT which suggests a deadlock/assert on
-            // the RCEventThread.  
+            // the RCEventThread.
             CONSISTENCY_CHECK_MSGF(false, ("WaitForSingleObject failed: %d", dwResult));
             ThrowHR(CORDBG_E_TIMEOUT);
         }
@@ -11062,12 +11170,12 @@ void CordbProcess::FilterClrNotification(
             // Case 4: Left-side startup event. We'll mark that we're attached from oop.
             //
 
-            // Now that LS is started, we should definitely be able to instantiate DAC. 
+            // Now that LS is started, we should definitely be able to instantiate DAC.
             InitializeDac();
-            
+
             // @dbgtodo 'attach-bit': we don't want the debugger automatically invading the process.
-            GetDAC()->MarkDebuggerAttached(TRUE);                            
-        }         
+            GetDAC()->MarkDebuggerAttached(TRUE);
+        }
         else if (pManagedEvent->type == DB_IPCE_SYNC_COMPLETE)
         {
             // Since V3 doesn't request syncs, it shouldn't get sync-complete.
@@ -11090,7 +11198,7 @@ void CordbProcess::FilterClrNotification(
             HandleRCEvent(pManagedEvent, pLockHolder, pCallback);
 
         } // end Notification
-    }    
+    }
 }
 
 
@@ -11106,10 +11214,10 @@ void CordbProcess::FilterClrNotification(
 //
 // Notes:
 //     This is called from shim to emulate being synchronized at an unhandled
-//     exception. 
+//     exception.
 //     Other ICorDebug operations could calls this (eg, func-eval at 2nd chance).
 BOOL CordbProcess::HijackThreadForUnhandledExceptionIfNeeded(DWORD dwThreadId)
-{    
+{
     PUBLIC_API_ENTRY(this); // from Shim
 
     BOOL fHijacked = FALSE;
@@ -11119,13 +11227,13 @@ BOOL CordbProcess::HijackThreadForUnhandledExceptionIfNeeded(DWORD dwThreadId)
         RSLockHolder lockHolder(GetProcessLock());
 
         // OS will not execute the Unhandled Exception Filter under native debugger, so
-        // we need to hijack the thread to get it to execute the UEF, which will then do 
+        // we need to hijack the thread to get it to execute the UEF, which will then do
         // work for unhandled managed exceptions.
         CordbThread * pThread = TryLookupOrCreateThreadByVolatileOSId(dwThreadId);
         if (pThread != NULL)
-        {   
+        {
             // If the thread has a managed exception, then we should have a pThread object.
-            
+
             if (pThread->HasUnhandledNativeException())
             {
                 _ASSERTE(pThread->IsThreadExceptionManaged()); // should have been marked earlier
@@ -11151,12 +11259,12 @@ BOOL CordbProcess::HijackThreadForUnhandledExceptionIfNeeded(DWORD dwThreadId)
 //
 // Returns:
 //    A type-safe exception record from the raw buffer.
-// 
+//
 // Notes:
 //   This is a helper for code:CordbProcess::Filter.
 //   This can do consistency checks on the incoming parameters such as:
 //    * verify countBytes matches the expected size for the given format.
-//    * verify the format is supported. 
+//    * verify the format is supported.
 //
 //   If we let a given ICD understand multiple formats (eg, have x86 understand both Exr32 and
 //    Exr64), this would be the spot to allow the conversion.
@@ -11184,14 +11292,14 @@ const EXCEPTION_RECORD * CordbProcess::ValidateExceptionRecord(
         ThrowHR(E_INVALIDARG);
     }
 #endif
-    
+
     // @dbgtodo cross-plat: once we do cross-plat, need to use correct EXCEPTION_RECORD variant.
     if (countBytes != sizeof(EXCEPTION_RECORD))
     {
         ThrowHR(E_INVALIDARG);
     }
 
-    
+
     const EXCEPTION_RECORD * pRecord = reinterpret_cast<const EXCEPTION_RECORD *> (pRawRecord);
 
     return pRecord;
@@ -11207,21 +11315,21 @@ HRESULT CordbProcess::SetEnableCustomNotification(ICorDebugClass * pClass, BOOL
 
     ((CordbClass *)pClass)->SetCustomNotifications(fEnable);
 
-    PUBLIC_API_END(hr); 
+    PUBLIC_API_END(hr);
     return hr;
 } // CordbProcess::SetEnableCustomNotification
 
 //---------------------------------------------------------------------------------------
 // Public implementation of ICDProcess4::Filter
 //
-// Arguments: 
+// Arguments:
 //    pRawRecord - non-null raw bytes of the exception
 //    countBytes - number of bytes in pRawRecord buffer.
 //    format - format of pRawRecord
 //    dwFlags - flags providing auxillary info for exception record.
 //    dwThreadId - thread that exception occurred on.
 //    pCallback - callback to dispatch potential managed events on.
-//    pContinueStatus - Continuation status for exception. This dictates what 
+//    pContinueStatus - Continuation status for exception. This dictates what
 //         to pass to kernel32!ContinueDebugEvent().
 //
 // Return Value:
@@ -11232,19 +11340,19 @@ HRESULT CordbProcess::SetEnableCustomNotification(ICorDebugClass * pClass, BOOL
 //
 // Notes:
 //    The exception could be anything, including:
-//    - a CLR notification, 
+//    - a CLR notification,
 //    - a random managed exception (both from managed code or the runtime),
 //    - a non-CLR exception
 //
 //    This is cross-platform. The {pRawRecord, countBytes, format} describe events
 //    on an arbitrary target architecture. On windows, this will be an EXCEPTION_RECORD.
-// 
+//
 HRESULT CordbProcess::Filter(
         const BYTE pRawRecord[],
         DWORD countBytes,
         CorDebugRecordFormat format,
-        DWORD dwFlags, 
-        DWORD dwThreadId, 
+        DWORD dwFlags,
+        DWORD dwThreadId,
         ICorDebugManagedCallback * pCallback,
         DWORD * pContinueStatus
 )
@@ -11265,7 +11373,7 @@ HRESULT CordbProcess::Filter(
         DWORD dwFirstChance = (dwFlags & IS_FIRST_CHANCE);
 
         //
-        // Deal with 2nd-chance exceptions. Don't actually hijack now (that's too invasive), 
+        // Deal with 2nd-chance exceptions. Don't actually hijack now (that's too invasive),
         // but mark that we have the exception in case a future operation (eg, func-eval) needs to hijack.
         //
         if (!dwFirstChance)
@@ -11273,16 +11381,16 @@ HRESULT CordbProcess::Filter(
             CordbThread * pThread = TryLookupOrCreateThreadByVolatileOSId(dwThreadId);
 
             // If we don't have a managed-thread object, then it certainly can't have a throwable.
-            // It's possible this is still an exception from the native portion of the runtime, 
+            // It's possible this is still an exception from the native portion of the runtime,
             // but that's ok, we'll just treat it as a native exception.
             // This could be expensive, don't want to do it often... (definitely not on every Filter).
 
 
             // OS will not execute the Unhandled Exception Filter under native debugger, so
-            // we need to hijack the thread to get it to execute the UEF, which will then do 
+            // we need to hijack the thread to get it to execute the UEF, which will then do
             // work for unhandled managed exceptions.
             if ((pThread != NULL) && pThread->IsThreadExceptionManaged())
-            {                
+            {
                 // Copy exception record for future use in case we decide to hijack.
                 pThread->SetUnhandledNativeException(pRecord);
             }
@@ -11297,30 +11405,30 @@ HRESULT CordbProcess::Filter(
             //
             // This may not be for us, or we may not have a managed thread object:
             // 1. Anybody can raise an exception with this exception code, so can't assume this belongs to us yet.
-            // 2. Notifications may come on unmanaged threads if they're coming from MDAs or CLR internal events 
+            // 2. Notifications may come on unmanaged threads if they're coming from MDAs or CLR internal events
             //    fired before the thread is created.
             //
             BYTE * pManagedEventBuffer = new BYTE[CorDBIPC_BUFFER_SIZE];
             DeleteIPCEventHolder pManagedEvent(reinterpret_cast<DebuggerIPCEvent *>(pManagedEventBuffer));
-        
+
             bool fOwner = CopyManagedEventFromTarget(pRecord, pManagedEvent);
             if (fOwner)
             {
                 // This toggles the lock if it dispatches callbacks
                 FilterClrNotification(pManagedEvent, GET_PUBLIC_LOCK_HOLDER(), pCallback);
-                
+
                 // Cancel any notification events from target. These are just supposed to notify ICD and not
                 // actually be real exceptions in the target.
                 // Canceling here also prevents a VectoredExceptionHandler in the target from picking
                 // up exceptions for the CLR.
-                *pContinueStatus = DBG_CONTINUE;             
+                *pContinueStatus = DBG_CONTINUE;
             }
 
             // holder will invoke DeleteIPCEventHelper(pManagedEvent).
         }
 
-    }    
-    PUBLIC_API_END(hr); 
+    }
+    PUBLIC_API_END(hr);
     // we may not find the correct mscordacwks so fail gracefully
     _ASSERTE(SUCCEEDED(hr) || (hr != HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND)));
 
@@ -11338,20 +11446,20 @@ HRESULT CordbProcess::Filter(
 //
 // Notes:
 //   Initial continue status is returned from code:CordbProcess::Filter.
-//   Some operations (mainly hijacking on a 2nd-chance exception), may need to 
+//   Some operations (mainly hijacking on a 2nd-chance exception), may need to
 //   override that continue status.
 //   ICorDebug operations invoke a callback on the data-target to notify the debugger
 //   of a change in status. Debugger may fail the request.
 //
 void CordbProcess::ContinueStatusChanged(DWORD dwThreadId, CORDB_CONTINUE_STATUS dwContinueStatus)
-{        
+{
     HRESULT hr = m_pMutableDataTarget->ContinueStatusChanged(dwThreadId, dwContinueStatus);
     IfFailThrow(hr);
 }
 
 //---------------------------------------------------------------------------------------
 // Request a synchronization to occur after a debug event is dispatched.
-// 
+//
 // Note:
 //    This is called in response to a managed debug event, and so we know that we have
 //    a worker thread in the process (the one that just sent the event!)
@@ -11374,7 +11482,7 @@ void CordbProcess::RequestSyncAtEvent()
 //    None.
 //
 // Notes:
-//    This is it, you've found it, the main guy.  This function loops as long as the 
+//    This is it, you've found it, the main guy.  This function loops as long as the
 //    debugger is around calling the OS WaitForDebugEvent() API.  It takes the OS Debug
 //    Event and filters it thru the right-side, continuing the process if not recognized.
 //
@@ -11389,7 +11497,7 @@ void CordbWin32EventThread::Win32EventLoop()
 
 
     DEBUG_EVENT event;
-    
+
     // Allow the timeout for WFDE to be adjustable. Default to 25 ms based off perf numbers (see issue VSWhidbey 132368).
     DWORD dwWFDETimeout = CLRConfig::GetConfigValue(CLRConfig::UNSUPPORTED_DbgWFDETimeout);
 
@@ -11419,7 +11527,7 @@ void CordbWin32EventThread::Win32EventLoop()
         if (m_pProcess != NULL)
         {
             // Process is always built on Native debugging pipeline, so it needs to always be prepared to call WFDE
-            // As an optimization, if the target is stopped, then we can avoid calling WFDE.            
+            // As an optimization, if the target is stopped, then we can avoid calling WFDE.
             {
 #ifndef FEATURE_INTEROP_DEBUGGING
                 // Managed-only, never win32 stopped, so always check for an event.
@@ -11433,7 +11541,7 @@ void CordbWin32EventThread::Win32EventLoop()
 
                 const bool fIsInteropDebugging = m_pProcess->IsInteropDebugging();
                 (void)fIsInteropDebugging; //prevent "unused variable" error from GCC
-                
+
                 // Assert checks
                 _ASSERTE(fIsInteropDebugging == m_pShim->IsInteropDebugging());
 
@@ -11442,14 +11550,14 @@ void CordbWin32EventThread::Win32EventLoop()
                     dwWaitTimeout = 0;
                     fEventAvailable = m_pNativePipeline->WaitForDebugEvent(&event, dwWFDETimeout, m_pProcess);
                 }
-                else 
+                else
                 {
                     // If we're managed-only debugging, then the process should always be running,
                     // which means we always need to be calling WFDE to pump potential debug events.
                     // If we're interop-debugging, then the process can be stopped at a native-debug event,
                     // in which case we don't have to call WFDE until we resume it again.
-                    // So we can only skip the WFDE when we're interop-debugging. 
-                    _ASSERTE(fIsInteropDebugging); 
+                    // So we can only skip the WFDE when we're interop-debugging.
+                    _ASSERTE(fIsInteropDebugging);
                 }
 #endif // FEATURE_INTEROP_DEBUGGING
             }
@@ -11554,17 +11662,17 @@ void CordbWin32EventThread::Win32EventLoop()
 
         // Must flush the dac cache since we were just running.
         m_pProcess->ForceDacFlush();
-        
+
         // So we've filtered out CLR events.
         // Let the shim handle the remaining events. This will call back into Filter() if appropriate.
         // This will also ensure the debug event gets continued.
         HRESULT hrShim = S_OK;
         {
             PUBLIC_CALLBACK_IN_THIS_SCOPE0_NO_LOCK(NULL);
-            hrShim = m_pShim->HandleWin32DebugEvent(&event); 
+            hrShim = m_pShim->HandleWin32DebugEvent(&event);
         }
         // Any errors from the shim (eg. failure to load DAC) are unrecoverable
-        SetUnrecoverableIfFailed(m_pProcess, hrShim);  
+        SetUnrecoverableIfFailed(m_pProcess, hrShim);
 
     } // loop
 
@@ -11589,13 +11697,13 @@ bool CordbProcess::IsWin32EventThread()
 
 //---------------------------------------------------------------------------------------
 // Call when the sync complete event is received and can be processed.
-// 
+//
 // Notes:
 //    This is called when the RS gets the sync-complete from the LS and can process it.
-//    
+//
 //    This has a somewhat elaborate contract to fill between Interop-debugging, Async-Break, draining the
 //    managed event-queue, and coordinating with the dispatch thread (RCET).
-//    
+//
 //    @dbgtodo - this should eventually get hoisted into the shim.
 void CordbProcess::HandleSyncCompleteRecieved()
 {
@@ -11606,7 +11714,7 @@ void CordbProcess::HandleSyncCompleteRecieved()
     // If some thread is waiting for the process to sync, notify that it can go now.
     if (this->m_stopRequested)
     {
-        this->SetSynchronized(true); 
+        this->SetSynchronized(true);
         SetEvent(this->m_stopWaitEvent);
     }
     else
@@ -11639,7 +11747,7 @@ void CordbProcess::HandleSyncCompleteRecieved()
 //
 //
 // Notes:
-//    Thread may be newly allocated, or may be existing. CordbProcess holds 
+//    Thread may be newly allocated, or may be existing. CordbProcess holds
 //    list of all CordbUnmanagedThreads, and will handle freeing memory.
 //
 //---------------------------------------------------------------------------------------
@@ -11655,25 +11763,25 @@ CordbUnmanagedThread * CordbProcess::GetUnmanagedThreadFromEvent(const DEBUG_EVE
     {
         // We absolutely should have an unmanaged callback by this point.
         // That means that the client debugger should have called ICorDebug::SetUnmanagedHandler by now.
-        // However, we can't actually enforce that (see comment  in ICorDebug::SetUnmanagedHandler for details), 
-        // so we do a runtime check to check this. 
+        // However, we can't actually enforce that (see comment  in ICorDebug::SetUnmanagedHandler for details),
+        // so we do a runtime check to check this.
         // This is an extremely gross API misuse and an issue in the client if the callback is not set yet.
-        // Without the unmanaged callback, we absolutely can't do interop-debugging. We assert (checked builds) and 
+        // Without the unmanaged callback, we absolutely can't do interop-debugging. We assert (checked builds) and
         // dispatch unrecoverable error (retail builds) to avoid an AV.
 
 
         if (this->m_cordb->m_unmanagedCallback == NULL)
         {
-            CONSISTENCY_CHECK_MSGF((this->m_cordb->m_unmanagedCallback != NULL), 
-                ("GROSS API misuse!!\nNo unmanaged callback set by the time we've received CreateProcess debug event for proces 0x%x.\n", 
+            CONSISTENCY_CHECK_MSGF((this->m_cordb->m_unmanagedCallback != NULL),
+                ("GROSS API misuse!!\nNo unmanaged callback set by the time we've received CreateProcess debug event for proces 0x%x.\n",
                 pEvent->dwProcessId));
-                
+
             CORDBSetUnrecoverableError(this, CORDBG_E_INTEROP_NOT_SUPPORTED, 0);
 
             // Returning NULL will tell caller not to dispatch event to client. We have no callback object to dispatch upon.
             return NULL;
         }
-        
+
         pUnmanagedThread = this->HandleUnmanagedCreateThread(pEvent->dwThreadId,
                                                              pEvent->u.CreateProcessInfo.hThread,
                                                              pEvent->u.CreateProcessInfo.lpThreadLocalBase);
@@ -11697,7 +11805,7 @@ CordbUnmanagedThread * CordbProcess::GetUnmanagedThreadFromEvent(const DEBUG_EVE
             // If we have the debugger control block, and if that control block has the address of the thread proc for
             // the helper thread, then we're initialized enough on the Left Side to recgonize the helper thread based on
             // its thread proc's address.
-            if (this->GetDCB() != NULL) 
+            if (this->GetDCB() != NULL)
             {
                 // get the latest LS DCB information
                 UpdateRightSideDCB();
@@ -11718,7 +11826,7 @@ CordbUnmanagedThread * CordbProcess::GetUnmanagedThreadFromEvent(const DEBUG_EVE
         EX_CATCH_HRESULT(hr)
         {
             if (fBlockExists && FAILED(hr))
-            {                        
+            {
                 _ASSERTE(IsLegalFatalError(hr));
                 // Send up the DebuggerError event
                 this->UnrecoverableError(hr, 0, NULL, 0);
@@ -11727,7 +11835,7 @@ CordbUnmanagedThread * CordbProcess::GetUnmanagedThreadFromEvent(const DEBUG_EVE
                 // RS will pump events until we LS process exits.
                 TerminateProcess(this->m_handle, hr);
 
-                return pUnmanagedThread;            
+                return pUnmanagedThread;
             }
         }
     }
@@ -12040,7 +12148,7 @@ Reaction CordbProcess::Triage1stChanceNonSpecial(CordbUnmanagedThread * pUnmanag
     }
     else if (dwExCode == EXCEPTION_MSVC)
     {
-        // The runtime may use C++ exceptions internally. We can still report these 
+        // The runtime may use C++ exceptions internally. We can still report these
         // to the debugger as long as we're outside of a can't-stop region.
         if (pUnmanagedThread->IsCantStop())
         {
@@ -12090,7 +12198,7 @@ Reaction CordbProcess::Triage1stChanceNonSpecial(CordbUnmanagedThread * pUnmanag
         else
         {
             return REACTION(cInband);
-        }        
+        }
     }
 
     UNREACHABLE();
@@ -12112,12 +12220,12 @@ Reaction CordbProcess::Triage1stChanceNonSpecial(CordbUnmanagedThread * pUnmanag
 //
 // Notes:
 //    A 1st-chance event has a wide spectrum of possibility including:
-//    - It may be unmanaged or managed. 
-//    - Or it may be an execution control exception for managed-exceution 
+//    - It may be unmanaged or managed.
+//    - Or it may be an execution control exception for managed-exceution
 //    - thread skipping an OOB event.
 //
 //---------------------------------------------------------------------------------------
-Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnmanagedThread, 
+Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnmanagedThread,
                                                    const DEBUG_EVENT * pEvent)
 {
     _ASSERTE(ThreadHoldsProcessLock());
@@ -12244,8 +12352,8 @@ Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnman
     {
         // If we Single-Step over an exception, then the OS never gives us the single-step event.
         // Thus if we're skipping a native patch, we don't care what exception event we got.
-        LOG((LF_CORDB, LL_INFO100000, "Done skipping native patch. Ex=0x%x\n, IsSS=%d", 
-             dwExCode, 
+        LOG((LF_CORDB, LL_INFO100000, "Done skipping native patch. Ex=0x%x\n, IsSS=%d",
+             dwExCode,
              (dwExCode == STATUS_SINGLE_STEP)));
 
         // This is the 2nd half of skipping a native patch.
@@ -12262,9 +12370,9 @@ Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnman
         CONSISTENCY_CHECK_MSGF(dwExCode != STATUS_SINGLE_STEP, (
                 "Single-Step exception on helper thread (tid=0x%x/%d) in debuggee process (pid=0x%x/%d).\n"
                 "For more information, attach a debuggee non-invasively to the LS to get the callstack.\n",
-                pUnmanagedThread->m_id, 
-                pUnmanagedThread->m_id, 
-                this->m_id, 
+                pUnmanagedThread->m_id,
+                pUnmanagedThread->m_id,
+                this->m_id,
                 this->m_id));
 
         // We ignore any first chance exceptions from the helper thread. There are lots of places
@@ -12287,9 +12395,9 @@ Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnman
             CONSISTENCY_CHECK_MSGF((dwExCode != STATUS_BREAKPOINT), (
                 "Assert on helper thread (tid=0x%x/%d) in debuggee process (pid=0x%x/%d).\n"
                 "For more information, attach a debuggee non-invasively to the LS to get the callstack.\n",
-                pUnmanagedThread->m_id, 
-                pUnmanagedThread->m_id, 
-                this->m_id, 
+                pUnmanagedThread->m_id,
+                pUnmanagedThread->m_id,
+                this->m_id,
                 this->m_id));
 
             // These breakpoint and single step exceptions have to be dispatched to the debugger as
@@ -12350,13 +12458,13 @@ Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnman
                 return REACTION(cOOB);
             }
 
-            // If generichijacked and its not a flare, and the address referenced is on the stack then we've 
-            // got our special stack overflow case. Take off generic hijacked, mark that the helper thread 
+            // If generichijacked and its not a flare, and the address referenced is on the stack then we've
+            // got our special stack overflow case. Take off generic hijacked, mark that the helper thread
             // is dead, throw this event on the floor, and pop anyone in SendIPCEvent out of their wait.
             pUnmanagedThread->ClearState(CUTS_GenericHijacked);
-            
+
             this->m_helperThreadDead = true;
-            
+
             // This only works on Windows, not on Mac.  We don't support interop-debugging on Mac anyway.
             SetEvent(m_pEventChannel->GetRightSideEventAckHandle());
 
@@ -12413,8 +12521,8 @@ Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnman
 //    Called when receiving a debug event when the process is stopped.
 //
 // Notes:
-//    We already hijacked 2nd-chance managed exceptions, so this is just handling 
-//    some V2 Interop corner cases. 
+//    We already hijacked 2nd-chance managed exceptions, so this is just handling
+//    some V2 Interop corner cases.
 //    @dbgtodo interop: this should eventually completely go away with the V3 design.
 //
 //---------------------------------------------------------------------------------------
@@ -12473,7 +12581,7 @@ Reaction CordbProcess::TriageExcep2ndChanceAndInit(CordbUnmanagedThread * pUnman
         // from them and hope for the best.
         return REACTION(cCLR);
     }
-    
+
     if(pUnmanagedThread->IsCantStop())
     {
         return REACTION(cOOB);
@@ -12670,8 +12778,8 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
     {
         // Note: we use ContinueDebugEvent directly here since our continue is very simple and all of our other
         // continue mechanisms rely on having an UnmanagedThread object to play with ;)
-        STRESS_LOG2(LF_CORDB, LL_INFO1000, "W32ET::W32EL: Continuing without thread on tid 0x%x, code=0x%x\n", 
-                    pEvent->dwThreadId, 
+        STRESS_LOG2(LF_CORDB, LL_INFO1000, "W32ET::W32EL: Continuing without thread on tid 0x%x, code=0x%x\n",
+                    pEvent->dwThreadId,
                     pEvent->dwDebugEventCode);
 
         this->m_state &= ~CordbProcess::PS_WIN32_STOPPED;
@@ -12684,13 +12792,13 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
     }
 
     // There's an innate race such that we can get a Debug Event even after we've suspended a thread.
-    // This can happen if the thread has already dispatched the debug event but we haven't called WFDE to pick it up 
+    // This can happen if the thread has already dispatched the debug event but we haven't called WFDE to pick it up
     // yet. This is sufficiently goofy that we want to stress log it.
     if (pUnmanagedThread->IsSuspended())
     {
         STRESS_LOG1(LF_CORDB, LL_INFO1000, "W32ET::W32EL: Thread 0x%x is suspended\n", pEvent->dwThreadId);
     }
-    
+
     // For debugging crazy races in retail, we'll keep a rolling queue of win32 debug events.
     this->DebugRecordWin32Event(pEvent, pUnmanagedThread);
 
@@ -12736,9 +12844,9 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
 
     // Stress-log the reaction.
 #ifdef _DEBUG
-    STRESS_LOG3(LF_CORDB, LL_INFO1000, "Reaction: %d (%s), line=%d\n", 
-                reaction.GetType(), 
-                reaction.GetReactionName(), 
+    STRESS_LOG3(LF_CORDB, LL_INFO1000, "Reaction: %d (%s), line=%d\n",
+                reaction.GetType(),
+                reaction.GetReactionName(),
                 reaction.GetLine());
 #else
     STRESS_LOG1(LF_CORDB, LL_INFO1000, "Reaction: %d\n", reaction.GetType());
@@ -12772,13 +12880,13 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
 
         // Shouldn't be suspending in the first place with outstanding flares.
         _ASSERTE(!pUnmanagedThread->IsSuspended());
-        
+
         pW32EventThread->ForceDbgContinue(this, pUnmanagedThread, DBG_CONTINUE, false);
         goto LDone;
 
     case Reaction::cCLR:
         // Don't care if thread is suspended here. We'll just let the thread continue whatever it's doing.
-        
+
         this->m_DbgSupport.m_TotalCLR++;
 
         // If this is for the CLR, then we just continue unhandled and know that the CLR has
@@ -12808,8 +12916,8 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
 
         // CLR internal exceptions should be sent back to the CLR and never treated as inband events.
         // If this assert fires, the event was triaged wrong.
-        CONSISTENCY_CHECK_MSGF((pEvent->u.Exception.ExceptionRecord.ExceptionCode != EXCEPTION_COMPLUS), 
-            ("Attempting to dispatch a CLR internal exception as an Inband event. Reaction line=%d\n", 
+        CONSISTENCY_CHECK_MSGF((pEvent->u.Exception.ExceptionRecord.ExceptionCode != EXCEPTION_COMPLUS),
+            ("Attempting to dispatch a CLR internal exception as an Inband event. Reaction line=%d\n",
              reaction.GetLine()));
 
 
@@ -12823,16 +12931,16 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
         // 2) If the process is synchronized (since that means we've already dispatched a managed event).
         // 3) If we've received a SyncComplete event, but aren't yet Sync.  This will almost always be the same as
         //    whether we're synced, but has a distict quality. It's always set by the w32 event thread in Interop,
-        //    and so it's guaranteed to be serialized against this check here (also on the w32et). 
+        //    and so it's guaranteed to be serialized against this check here (also on the w32et).
         // 4) Special deferment - This covers the region where we're sending a Stop/Continue IPC event across.
         //    We defer it here to keep the Helper thread alive so that it can handle these IPC events.
         // Queued events will be dispatched when continue is called.
         BOOL fHasUserUncontinuedNativeEvents = HasUserUncontinuedNativeEvents();
         bool fDeferInbandEvent = (fHasUserUncontinuedNativeEvents ||
-                                  GetSynchronized() || 
+                                  GetSynchronized() ||
                                   GetSyncCompleteRecv() ||
                                   m_specialDeferment);
-                                         
+
         // If we've got a new event, queue it.
         if (fNewEvent)
         {
@@ -12858,14 +12966,14 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
         {
             // No need to defer the dispatch, do it now
             this->DispatchUnmanagedInBandEvent();
+
             goto LDone;
         }
         UNREACHABLE();
     }
-    
+
     case Reaction::cFirstChanceHijackStarted:
-    {   
+    {
         // determine the logical event we are handling, if any
         CordbUnmanagedEvent* pUnmanagedEvent = NULL;
         if(pUnmanagedThread->HasIBEvent())
@@ -12887,7 +12995,7 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
         {
             // there should be an event we hijacked in this case
             _ASSERTE(pUnmanagedEvent != NULL);
-            
+
             // block that event
             LOG((LF_CORDB, LL_INFO100000, "W32ET::W32EL: blocking\n"));
             fcd.action = HIJACK_ACTION_WAIT;
@@ -12910,7 +13018,7 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
     case Reaction::cInbandHijackComplete:
     {
         // We now execute the hijack worker even when not actually hijacked
-        // so can't assert this 
+        // so can't assert this
         //_ASSERTE(pUnmanagedThread->IsFirstChanceHijacked());
 
         // we should not be stepping at the end of hijacks
@@ -13068,9 +13176,9 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
         {
             pUnmanagedThread->EndStepping();
         }
-        pW32EventThread->ForceDbgContinue(this, pUnmanagedThread, 
+        pW32EventThread->ForceDbgContinue(this, pUnmanagedThread,
             pUnmanagedEvent->IsExceptionCleared() ? DBG_CONTINUE : DBG_EXCEPTION_NOT_HANDLED, false);
-        
+
         // We've handled this event. Skip further processing.
         goto LDone;
     }
@@ -13079,7 +13187,7 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
     {
         // Don't care if this thread claimed to be suspended or not. Dispatch event anyways. After all,
         // OOB events can come at *any* time.
-        
+
         // This thread may be suspended. We don't care.
         this->m_DbgSupport.m_TotalOOB++;
 
@@ -13191,13 +13299,13 @@ bool CordbProcess::ExceptionIsFlare(DWORD exceptionCode, const void *exceptionAd
 #endif // FEATURE_INTEROP_DEBUGGING
 
 // Allocate a buffer in the target and copy data into it.
-// 
+//
 // Arguments:
-//    pDomain - an appdomain associated with the allocation request. 
+//    pDomain - an appdomain associated with the allocation request.
 //    bufferSize - size of the buffer in bytes
 //    bufferFrom - local buffer of data (bufferSize bytes) to copy data from.
 //    ppRes - address into target of allocated buffer
-//    
+//
 // Returns:
 //    S_OK on success, else error.
 HRESULT CordbProcess::GetAndWriteRemoteBuffer(CordbAppDomain *pDomain, unsigned int bufferSize, const void *bufferFrom, void **ppRes)
@@ -13211,7 +13319,7 @@ HRESULT CordbProcess::GetAndWriteRemoteBuffer(CordbAppDomain *pDomain, unsigned
     {
         TargetBuffer tbTarget = GetRemoteBuffer(bufferSize); // throws
         SafeWriteBuffer(tbTarget, (const BYTE*) bufferFrom); // throws
-        
+
         // Succeeded.
         *ppRes = CORDB_ADDRESS_TO_PTR(tbTarget.pAddress);
     }
@@ -13344,7 +13452,7 @@ void EnableDebugTrace(CordbUnmanagedThread *ut)
 #endif // _DEBUG
 
 //-----------------------------------------------------------------------------
-// DoDbgContinue 
+// DoDbgContinue
 //
 // Continues from a specific Win32 DEBUG_EVENT.
 //
@@ -13353,7 +13461,7 @@ void EnableDebugTrace(CordbUnmanagedThread *ut)
 //    pUnmanagedEvent - The event to continue.
 //
 //-----------------------------------------------------------------------------
-void CordbWin32EventThread::DoDbgContinue(CordbProcess *pProcess, 
+void CordbWin32EventThread::DoDbgContinue(CordbProcess *pProcess,
                                           CordbUnmanagedEvent *pUnmanagedEvent)
 {
     _ASSERTE(pProcess->ThreadHoldsProcessLock());
@@ -13408,7 +13516,7 @@ void CordbWin32EventThread::DoDbgContinue(CordbProcess *pProcess,
             _ASSERTE(!pUnmanagedEvent->IsEventContinuedUnhijacked());
             pUnmanagedEvent->SetState(CUES_EventContinuedUnhijacked);
             dwContType = pUnmanagedEvent->IsExceptionCleared() ? GetDbgContinueFlag() : DBG_EXCEPTION_NOT_HANDLED;
-            
+
             // The event was never hijacked and so will never need to retrigger, get rid
             // of it right now. If it had been hijacked then we would dequeue it either after the
             // hijack complete flare or one instruction after that when it has had a chance to retrigger
@@ -13460,11 +13568,11 @@ void CordbWin32EventThread::DoDbgContinue(CordbProcess *pProcess,
             {
                 LOG((LF_CORDB, LL_INFO1000, "W32ET::DDC: Continuing from LdrBp, doing managed attach.\n"));
                 pProcess->QueueManagedAttachIfNeededWorker();
-            } 
+            }
             EX_CATCH_HRESULT(hrIgnore);
             SIMPLIFYING_ASSUMPTION(SUCCEEDED(hrIgnore));
         }
-    }        
+    }
 
     STRESS_LOG4(LF_CORDB, LL_INFO1000,
         "W32ET::DDC: calling ContinueDebugEvent(0x%x, 0x%x, 0x%x), process state=0x%x\n",
@@ -13632,7 +13740,7 @@ HRESULT CordbWin32EventThread::SendCreateProcessEvent(
     {
       DWORD ret = WaitForSingleObject(m_actionTakenEvent, INFINITE);
 
-        LOG((LF_CORDB, LL_EVERYTHING, "Process Handle is: %x, m_threadControlEvent is %x\n", 
+        LOG((LF_CORDB, LL_EVERYTHING, "Process Handle is: %x, m_threadControlEvent is %x\n",
              (UINT_PTR)m_actionData.createData.lpProcessInformation->hProcess, (UINT_PTR)m_threadControlEvent));
 
         if (ret == WAIT_OBJECT_0)
@@ -13655,7 +13763,7 @@ HRESULT CordbWin32EventThread::SendCreateProcessEvent(
 //
 // Assumptions:
 //    This occurs on the win32 event thread. It is invokved via
-//    a message sent from code:CordbWin32EventThread::SendCreateProcessEvent 
+//    a message sent from code:CordbWin32EventThread::SendCreateProcessEvent
 //
 // Notes:
 //    Create a new process. This is called in the context of the Win32
@@ -13675,7 +13783,7 @@ void CordbWin32EventThread::CreateProcess()
     // Win32 debugging this process. Otherwise, we have to create
     // suspended to give us time to setup up our side of the IPC
     // channel.
-    BOOL fInteropDebugging   = 
+    BOOL fInteropDebugging   =
 #if defined(FEATURE_INTEROP_DEBUGGING)
         (dwCreationFlags & (DEBUG_PROCESS | DEBUG_ONLY_THIS_PROCESS));
 #else
@@ -13718,17 +13826,17 @@ void CordbWin32EventThread::CreateProcess()
 
         // Remember the process in the global list of processes.
         if (SUCCEEDED(hr))
-        {   
+        {
             EX_TRY
             {
                 // Mark if we're interop-debugging
                 if (fInteropDebugging)
                 {
-                    pProcess->EnableInteropDebugging(); 
+                    pProcess->EnableInteropDebugging();
                 }
 
                 m_cordb->AddProcess(pProcess); // will take ref if it succeeds
-            } 
+            }
             EX_CATCH_HRESULT(hr);
         }
 
@@ -13738,7 +13846,7 @@ void CordbWin32EventThread::CreateProcess()
         if (SUCCEEDED(hr))
         {
             _ASSERTE(m_pProcess == NULL);
-            m_pProcess.Assign(pProcess);   
+            m_pProcess.Assign(pProcess);
         }
     }
 
@@ -13852,7 +13960,7 @@ void CordbProcess::CleanupHalfBakedLeftSide()
         }
         EX_CATCH
         {
-            _ASSERTE(!"Writing process memory failed, perhaps due to an unexpected disconnection from the target."); 
+            _ASSERTE(!"Writing process memory failed, perhaps due to an unexpected disconnection from the target.");
         }
         EX_END_CATCH(SwallowAllExceptions);
     }
@@ -13861,10 +13969,10 @@ void CordbProcess::CleanupHalfBakedLeftSide()
     CloseIPCHandles();
 
     m_cordb.Clear();
-    
+
     // This process object is Dead-On-Arrival, so it doesn't really have anything to neuter.
     // But for safekeeping, we'll mark it as neutered.
-    UnsafeNeuterDeadObject(); 
+    UnsafeNeuterDeadObject();
 }
 
 
@@ -13874,8 +13982,8 @@ void CordbProcess::CleanupHalfBakedLeftSide()
 //
 //
 // Assumptions:
-//    Called on W32Event Thread, in response to event sent by 
-//    code:CordbWin32EventThread::SendDebugActiveProcessEvent 
+//    Called on W32Event Thread, in response to event sent by
+//    code:CordbWin32EventThread::SendDebugActiveProcessEvent
 //
 // Notes:
 //    Attach to a process. This is called in the context of the Win32
@@ -13901,8 +14009,8 @@ void CordbWin32EventThread::AttachProcess()
 
     // Always do OS attach to the target.
     // By this point, the pid should be valid (because OpenProcess above), pending some race where the process just exited.
-    // The OS will enforce that only 1 debugger is attached. 
-    // Common failure paths here would be: access denied, double-attach    
+    // The OS will enforce that only 1 debugger is attached.
+    // Common failure paths here would be: access denied, double-attach
     {
         hr = m_pNativePipeline->DebugActiveProcess(m_actionData.attachData.machineInfo,
                                                    dwProcessId);
@@ -13913,7 +14021,7 @@ void CordbWin32EventThread::AttachProcess()
         fNativeAttachSucceeded = true;
     }
 
-    
+
     hr = m_pShim->InitializeDataTarget(m_actionData.attachData.processId);
     if (FAILED(hr))
     {
@@ -13922,17 +14030,17 @@ void CordbWin32EventThread::AttachProcess()
 
     // To emulate V2 semantics, we pass 0 for the clrInstanceID into
     // OpenVirtualProcess. This will then connect to the first CLR
-    // loaded.    
+    // loaded.
     {
         const ULONG64 cFirstClrLoaded = 0;
-        hr = CordbProcess::OpenVirtualProcess(cFirstClrLoaded, m_pShim->GetDataTarget(), NULL, m_cordb, dwProcessId, m_pShim, &pProcess);   
+        hr = CordbProcess::OpenVirtualProcess(cFirstClrLoaded, m_pShim->GetDataTarget(), NULL, m_cordb, dwProcessId, m_pShim, &pProcess);
         if (FAILED(hr))
         {
             goto LExit;
         }
     }
 
-    // Remember the process in the global list of processes.    
+    // Remember the process in the global list of processes.
     // The caller back in code:Cordb::DebugActiveProcess will then get this by fetching it from the list.
 
     EX_TRY
@@ -13951,7 +14059,7 @@ void CordbWin32EventThread::AttachProcess()
             PUBLIC_CALLBACK_IN_THIS_SCOPE0_NO_LOCK(pProcess);
             m_pShim->BeginQueueFakeAttachEvents();
         }
-    } 
+    }
     EX_CATCH_HRESULT(hr);
     if (FAILED(hr))
     {
@@ -13968,7 +14076,7 @@ void CordbWin32EventThread::AttachProcess()
 
 LExit:
     if (FAILED(hr))
-    {        
+    {
         // If we succeed to do a native-attach, but then failed elsewhere, try to native-detach.
         if (fNativeAttachSucceeded)
         {
@@ -14211,7 +14319,7 @@ doRealContinue:
             // This is either the Frozen -> Running transition or a
             // Synced -> Running transition
             _ASSERTE(pProcess->m_outOfBandEventQueue == NULL);
-            
+
 
             pProcess->m_doRealContinueAfterOOBBlock = false;
 
@@ -14236,7 +14344,7 @@ doRealContinue:
                     if(pProcess->m_state & CordbProcess::PS_WIN32_STOPPED)
                     {
                         DoDbgContinue(pProcess, pProcess->m_lastDispatchedIBEvent);
-                        
+
                         // This if should not be necessary, I am just being extra careful because this
                         // fix is going in late - see issue 818301
                         _ASSERTE(pProcess->m_lastDispatchedIBEvent != NULL);
@@ -14256,7 +14364,7 @@ doRealContinue:
                 {
                     // free all the hijacked threads that hit native debug events
                     pProcess->ResumeHijackedThreads();
-                    
+
                     // after continuing the here the process should be running completely
                     // free... no hijacks, no suspended threads, and of course not frozen
                     if(pProcess->m_state & CordbProcess::PS_WIN32_STOPPED)
@@ -14319,7 +14427,7 @@ void ExitProcessWorkItem::Do()
 
     // There is a race condition here where the debuggee process is killed while we are processing a process
     // detach.  We queue the process exit event for the Win32 event thread before queueing the process detach
-    // event.  By the time this function is executed, we may have neutered the CordbProcess already as a 
+    // event.  By the time this function is executed, we may have neutered the CordbProcess already as a
     // result of code:CordbProcess::Detach.  Detect that case here under the SG lock.
     {
         RSLockHolder ch(GetProcess()->GetStopGoLock());
@@ -14344,7 +14452,7 @@ void ExitProcessWorkItem::Do()
     // This CordbProcess object now has no reservations against a client calling ICorDebug::Terminate.
     // That call may race against the CordbProcess::Neuter below, but since we already neutered the children,
     // that neuter call will not do anything interesting that will conflict with Terminate.
-    
+
     LOG((LF_CORDB, LL_INFO1000,"W32ET::EP: returned from ExitProcess callback\n"));
 
     {
@@ -14582,10 +14690,10 @@ HRESULT CordbWin32EventThread::Stop()
 
 
 // Allocate a buffer of cbBuffer bytes in the target.
-// 
+//
 // Arguments:
 //     cbBuffer - count of bytes for the buffer.
-//     
+//
 // Returns:
 //     a TargetBuffer describing the new memory region in the target.
 //     Throws on error.
@@ -14611,7 +14719,7 @@ TargetBuffer CordbProcess::GetRemoteBuffer(ULONG cbBuffer)
     IfFailThrow(event.GetBufferResult.hr);
 
     // The request succeeded. Return the newly allocated range.
-    return TargetBuffer(event.GetBufferResult.pBuffer, cbBuffer);    
+    return TargetBuffer(event.GetBufferResult.pBuffer, cbBuffer);
 }
 
 /*
@@ -14663,7 +14771,7 @@ HRESULT CordbProcess::SetDesiredNGENCompilerFlags(DWORD dwFlags)
         hr = pProcess->GetDAC()->SetNGENCompilerFlags(dwFlags);
         if (!SUCCEEDED(hr) && GetShim() != NULL)
         {
-            // Emulate V2 error semantics. 
+            // Emulate V2 error semantics.
             hr = GetShim()->FilterSetNgenHresult(hr);
         }
     }
@@ -14717,7 +14825,7 @@ HRESULT CordbProcess::GetReferenceValueFromGCHandle(
         {
             ThrowHR(CORDBG_E_BAD_REFERENCE_VALUE);
         }
-        
+
         IDacDbiInterface* pDAC = GetProcess()->GetDAC();
         VMPTR_OBJECTHANDLE vmObjHandle = pDAC->GetVmObjectHandle(gcHandle);
         if(!pDAC->IsVmObjectHandleValid(vmObjHandle))
@@ -14858,25 +14966,25 @@ HRESULT CordbProcess::IsReadyForDetach()
         if (hKernel32 == NULL)
             return HRESULT_FROM_GetLastError();
         typedef BOOL (*DebugActiveProcessStopSig) (DWORD);
-        DebugActiveProcessStopSig pDebugActiveProcessStop = 
+        DebugActiveProcessStopSig pDebugActiveProcessStop =
             reinterpret_cast<DebugActiveProcessStopSig>(GetProcAddress(hKernel32, "DebugActiveProcessStop"));
         if (pDebugActiveProcessStop == NULL)
             return COR_E_PLATFORMNOTSUPPORTED;
 #endif
-    }    
+    }
 
     return S_OK;
 }
 
 
 /*
- * Look for any thread which was last seen in the specified AppDomain.  
+ * Look for any thread which was last seen in the specified AppDomain.
  * The CordbAppDomain object is about to be neutered due to an AD Unload
  * So the thread must no longer be considered to be in that domain.
- * Note that this is a workaround due to the existance of the (possibly incorrect) 
+ * Note that this is a workaround due to the existance of the (possibly incorrect)
  * cached AppDomain value.  Ideally we would remove the cached value entirely
  * and there would be no need for this.
- * 
+ *
  * @dbgtodo: , appdomain: We should remove CordbThread::m_pAppDomain in the V3 architecture.
  * If we need the thread's current domain, we should get it accurately with DAC.
  */
@@ -14884,13 +14992,13 @@ void CordbProcess::UpdateThreadsForAdUnload(CordbAppDomain * pAppDomain)
 {
     INTERNAL_API_ENTRY(this);
 
-    // If we're doing an AD unload then we should have already seen the ATTACH 
+    // If we're doing an AD unload then we should have already seen the ATTACH
     // notification for the default domain.
     //_ASSERTE( m_pDefaultAppDomain != NULL );
     // @dbgtodo appdomain: fix Default domain invariants with DAC-izing Appdomain work.
-    
+
     RSLockHolder lockHolder(GetProcessLock());
-    
+
     CordbThread* t;
     HASHFIND find;
 
@@ -14901,7 +15009,7 @@ void CordbProcess::UpdateThreadsForAdUnload(CordbAppDomain * pAppDomain)
     {
         if( t->GetAppDomain() == pAppDomain )
         {
-            // This thread cannot actually be in this AppDomain anymore (since it's being 
+            // This thread cannot actually be in this AppDomain anymore (since it's being
             // unloaded).  Reset it to point to the default AppDomain
             t->m_pAppDomain = m_pDefaultAppDomain;
         }
@@ -14909,7 +15017,7 @@ void CordbProcess::UpdateThreadsForAdUnload(CordbAppDomain * pAppDomain)
 }
 
 // CordbProcess::LookupClass
-// Looks up a previously constructed CordbClass instance without creating. May return NULL if the 
+// Looks up a previously constructed CordbClass instance without creating. May return NULL if the
 // CordbClass instance doesn't exist.
 // Argument: (in) vmDomainFile - pointer to the domainfile for the module
 //           (in) mdTypeDef    - metadata token for the class
@@ -14930,39 +15038,39 @@ CordbClass * CordbProcess::LookupClass(ICorDebugAppDomain * pAppDomain, VMPTR_Do
 } // CordbProcess::LookupClass
 
 //---------------------------------------------------------------------------------------
-// Look for a specific module in the process. 
+// Look for a specific module in the process.
 //
 // Arguments:
 //    vmDomainFile - non-null module to lookup
-// 
+//
 // Returns:
 //    a CordbModule object for the given cookie. Object may be from the cache, or created
-//    lazily. 
+//    lazily.
 //    Never returns null.  Throws on error.
 //
 // Notes:
 //    A VMPTR_DomainFile has appdomain affinity, but is ultimately scoped to a process.
 //    So if we get a raw VMPTR_DomainFile (eg, from the stackwalker or from some other
-//    lookup function), then we need to do a process wide lookup since we don't know which 
+//    lookup function), then we need to do a process wide lookup since we don't know which
 //    appdomain it's in. If you know the appdomain, you can use code:CordbAppDomain::LookupOrCreateModule.
-//    
+//
 CordbModule * CordbProcess::LookupOrCreateModule(VMPTR_DomainFile vmDomainFile)
 {
     INTERNAL_API_ENTRY(this);
-    
+
     RSLockHolder lockHolder(GetProcess()->GetProcessLock());
     _ASSERTE(!vmDomainFile.IsNull());
 
     DomainFileInfo data;
     GetDAC()->GetDomainFileData(vmDomainFile, &data); // throws
-    
+
     CordbAppDomain * pAppDomain = LookupOrCreateAppDomain(data.vmAppDomain);
     return pAppDomain->LookupOrCreateModule(vmDomainFile);
 }
 
 //---------------------------------------------------------------------------------------
 // Determine if the process has any in-band queued events which have not been dispatched
-// 
+//
 // Returns:
 //    TRUE iff there are undispatched IB events
 //
@@ -14970,7 +15078,7 @@ CordbModule * CordbProcess::LookupOrCreateModule(VMPTR_DomainFile vmDomainFile)
 BOOL CordbProcess::HasUndispatchedNativeEvents()
 {
     INTERNAL_API_ENTRY(this);
-    
+
     CordbUnmanagedEvent* pEvent = m_unmanagedEventQueue;
     while(pEvent != NULL && pEvent->IsDispatched())
     {
@@ -14983,7 +15091,7 @@ BOOL CordbProcess::HasUndispatchedNativeEvents()
 
 //---------------------------------------------------------------------------------------
 // Determine if the process has any in-band queued events which have not been user continued
-// 
+//
 // Returns:
 //    TRUE iff there are user uncontinued IB events
 //
@@ -14991,7 +15099,7 @@ BOOL CordbProcess::HasUndispatchedNativeEvents()
 BOOL CordbProcess::HasUserUncontinuedNativeEvents()
 {
     INTERNAL_API_ENTRY(this);
-    
+
     CordbUnmanagedEvent* pEvent = m_unmanagedEventQueue;
     while(pEvent != NULL && pEvent->IsEventUserContinued())
     {
@@ -15005,7 +15113,7 @@ BOOL CordbProcess::HasUserUncontinuedNativeEvents()
 //---------------------------------------------------------------------------------------
 // Hijack the thread which had this event. If the thread is already hijacked this method
 // has no effect.
-// 
+//
 // Arguments:
 //    pUnmanagedEvent - the debug event which requires us to hijack
 //
@@ -15019,7 +15127,7 @@ HRESULT CordbProcess::HijackIBEvent(CordbUnmanagedEvent * pUnmanagedEvent)
     _ASSERTE(!pUnmanagedEvent->IsEventContinuedHijacked());
     // Can only hijack IB events
     _ASSERTE(pUnmanagedEvent->IsIBEvent());
-    
+
     // If we already hijacked the event then there is nothing left to do
     if(pUnmanagedEvent->m_owner->IsFirstChanceHijacked() ||
         pUnmanagedEvent->m_owner->IsGenericHijacked())
@@ -15063,7 +15171,7 @@ HRESULT CordbProcess::GetAttachStateFlags(CLR_DEBUGGING_PROCESS_FLAGS *pFlags)
 // Determine if this version of ICorDebug is compatibile with the ICorDebug in the specified major CLR version
 bool CordbProcess::IsCompatibleWith(DWORD clrMajorVersion)
 {
-    // The debugger versioning policy is that debuggers generally need to opt-in to supporting major new 
+    // The debugger versioning policy is that debuggers generally need to opt-in to supporting major new
     // versions of the CLR.  Often new versions of the CLR violate some invariant that previous debuggers assume
     // (eg. hot/cold splitting in Whidbey, multiple CLRs in a process in CLR v4), and neither VS or the CLR
     // teams generally want the support burden of forward compatibility.
@@ -15073,17 +15181,17 @@ bool CordbProcess::IsCompatibleWith(DWORD clrMajorVersion)
     // number of the clr.dll has changed. This assert is here to remind you to do a bit of other
     // work you may not have realized you needed to do so that our versioning works smoothly
     // for debugging. You probably want to contact the CLR DST team if you are a
-    // non-debugger person hitting this. DON'T JUST DELETE THIS ASSERT!!! 
+    // non-debugger person hitting this. DON'T JUST DELETE THIS ASSERT!!!
     //
     // 1) You should ensure new versions of all ICorDebug users in DevDiv (VS Debugger, MDbg, etc.)
-    //    are using a creation path that explicitly specifies that they support this new major 
+    //    are using a creation path that explicitly specifies that they support this new major
     //    version of the CLR.
     // 2) You should file an issue to track blocking earlier debuggers from targetting this
     //    version of the CLR (i.e. update requiredVersion to the new CLR major
     //    version).  To enable a smooth internal transition, this often isn't done until absolutely
     //    necessary (sometimes as late as Beta2).
     // 3) You can consider updating the CLR_ID guid used by the shim to recognize a CLR, but only
-    //    if it's important to completely hide newer CLRs from the shim.  The expectation now 
+    //    if it's important to completely hide newer CLRs from the shim.  The expectation now
     //    is that we won't need to do this (i.e. we'd like VS to give a nice error message about
     //    needed a newer version of the debugger, rather than just acting as if a process has no CLR).
     // 4) Update this assert so that it no longer fires for your new CLR version or any of
@@ -15093,8 +15201,8 @@ bool CordbProcess::IsCompatibleWith(DWORD clrMajorVersion)
     _ASSERTE_MSG(clrMajorVersion <= 4,
         "Found major CLR version greater than 4 in mscordbi.dll from CLRv4 - contact CLRDST");
 
-    // This knob lets us enable forward compatibility for internal scenarios, and also simulate new 
-    // versions of the runtime for testing the failure user-experience in a version of the debugger 
+    // This knob lets us enable forward compatibility for internal scenarios, and also simulate new
+    // versions of the runtime for testing the failure user-experience in a version of the debugger
     // before it is shipped.
     // We don't want to risk customers getting this, so for RTM builds this must be CHK-only.
     // To aid in internal transition, we may temporarily enable this in RET builds, but when
@@ -15130,7 +15238,7 @@ bool CordbProcess::IsThreadSuspendedOrHijacked(ICorDebugThread * pICorDebugThrea
     // its entire duration. As a result, this needs to be considered a reentrant API. See
     // comments above code:PrivateShimCallbackHolder for more info.
     PUBLIC_REENTRANT_API_ENTRY_FOR_SHIM(this);
-    
+
     CordbThread * pCordbThread = static_cast<CordbThread *> (pICorDebugThread);
     return GetDAC()->IsThreadSuspendedOrHijacked(pCordbThread->m_vmThreadToken);
 }
index 75a6ad0..8f26de0 100644 (file)
@@ -3,7 +3,7 @@
 // See the LICENSE file in the project root for more information.
 //*****************************************************************************
 // File: RsMain.cpp
-// 
+//
 
 // Random RS utility stuff, plus root ICorCordbug implementation
 //
@@ -102,7 +102,7 @@ void DbgRSThread::NotifyTakeLock(RSLock * pLock)
     {
         return;
     }
-    
+
     int iLevel = pLock->GetLevel();
 
     // Is it safe to take this lock?
@@ -132,7 +132,7 @@ void DbgRSThread::NotifyReleaseLock(RSLock * pLock)
     {
         return;
     }
-    
+
     int iLevel = pLock->GetLevel();
     m_cLocks[iLevel]--;
     _ASSERTE(m_cLocks[iLevel] == 0);
@@ -207,9 +207,9 @@ LONG Cordb::s_DbgMemOutstandingObjectMax = 0;
 
 // Default implementation for neutering left-side resources.
 void CordbBase::NeuterLeftSideResources()
-{ 
-    LIMITED_METHOD_CONTRACT;   
-    
+{
+    LIMITED_METHOD_CONTRACT;
+
     RSLockHolder lockHolder(GetProcess()->GetProcessLock());
     Neuter();
 }
@@ -221,14 +221,14 @@ void CordbBase::Neuter()
     // Neutering occurs under the process lock. Neuter can be called twice
     // and so locking protects against races in double-delete.
     // @dbgtodo - , some CordbBase objects (Cordb, CordbProcessEnum),
-    // don't have process affinity these should eventually be hoisted to the shim, 
+    // don't have process affinity these should eventually be hoisted to the shim,
     // and then we can enforce.
     CordbProcess * pProcess = GetProcess();
     if (pProcess != NULL)
     {
         _ASSERTE(pProcess->ThreadHoldsProcessLock());
     }
-    CordbCommonBase::Neuter(); 
+    CordbCommonBase::Neuter();
 }
 
 //-----------------------------------------------------------------------------
@@ -247,7 +247,7 @@ NeuterList::~NeuterList()
     CONSISTENCY_CHECK_MSGF(m_pHead == NULL, ("NeuterList not empty on shutdown. this=0x%p", this));
 }
 
-// Wrapper around code:NeuterList::UnsafeAdd 
+// Wrapper around code:NeuterList::UnsafeAdd
 void NeuterList::Add(CordbProcess * pProcess, CordbBase * pObject)
 {
     CONTRACTL
@@ -268,7 +268,7 @@ void NeuterList::Add(CordbProcess * pProcess, CordbBase * pObject)
 //
 // Returns:
 //     Throws on error.
-//  
+//
 // Notes:
 //     This will add it to the list and maintain an internal reference to it.
 //     This will take the process lock.
@@ -276,13 +276,13 @@ void NeuterList::Add(CordbProcess * pProcess, CordbBase * pObject)
 void NeuterList::UnsafeAdd(CordbProcess * pProcess, CordbBase * pObject)
 {
     _ASSERTE(pObject != NULL);
-    
-    // Lock if needed. 
+
+    // Lock if needed.
     RSLock * pLock = (pProcess != NULL) ? pProcess->GetProcessLock() : NULL;
     RSLockHolder lockHolder(pLock, FALSE);
     if (pLock != NULL) lockHolder.Acquire();
 
-    
+
     Node * pNode = new Node(); // throws on error.
     pNode->m_pObject.Assign(pObject);
     pNode->m_pNext = m_pHead;
@@ -303,10 +303,10 @@ void NeuterList::UnsafeAdd(CordbProcess * pProcess, CordbBase * pObject)
 //     This will release all internal references and empty the list.
 void NeuterList::NeuterAndClear(CordbProcess * pProcess)
 {
-    RSLock * pLock = (pProcess != NULL) ? pProcess->GetProcessLock() : NULL;        
+    RSLock * pLock = (pProcess != NULL) ? pProcess->GetProcessLock() : NULL;
     (void)pLock; //prevent "unused variable" error from GCC
     _ASSERTE((pLock == NULL) || pLock->HasLock());
-        
+
     while (m_pHead != NULL)
     {
         Node * pTemp = m_pHead;
@@ -351,7 +351,7 @@ void NeuterList::SweepAllNeuterAtWillObjects(CordbProcess * pProcess)
 
 //-----------------------------------------------------------------------------
 // Neuters all objects in the list and empties the list.
-// 
+//
 // Notes:
 //    See also code:LeftSideResourceCleanupList::SweepNeuterLeftSideResources,
 //    which only neuters objects that have been marked as NeuterAtWill (external
@@ -360,9 +360,9 @@ void LeftSideResourceCleanupList::NeuterLeftSideResourcesAndClear(CordbProcess *
 {
     // Traversal protected under Process-lock.
     // SG-lock must already be held to do neutering.
-    // Stop-Go lock is bigger than Process-lock. 
+    // Stop-Go lock is bigger than Process-lock.
     // Neutering requires the Stop-Go lock (until we get rid of IPC events)
-    // But we want to be able to add to the Neuter list under the Process-lock. 
+    // But we want to be able to add to the Neuter list under the Process-lock.
     // So we just need to protected m_pHead under process-lock.
 
     // "Privatize" the list under the lock.
@@ -378,7 +378,7 @@ void LeftSideResourceCleanupList::NeuterLeftSideResourcesAndClear(CordbProcess *
 
     // @dbgtodo - eventually everything can be under the process lock.
     _ASSERTE(!pLock->HasLock()); // Can't hold Process lock while calling NeuterLeftSideResources
-    
+
     // Now we're operating on local data, so traversing doesn't need to be under the lock.
     while (pCur != NULL)
     {
@@ -388,17 +388,17 @@ void LeftSideResourceCleanupList::NeuterLeftSideResourcesAndClear(CordbProcess *
         pTemp->m_pObject->NeuterLeftSideResources();
         delete pTemp; // will implicitly release
     }
-  
+
 }
 
 //-----------------------------------------------------------------------------
 // Only neuter objects that are marked. Removes neutered objects from the list.
-// 
+//
 // Arguments:
 //    pProcess - non-null process owning the objects in the list
-//    
+//
 // Notes:
-//    this cleans up left-side resources held by objects in the list. 
+//    this cleans up left-side resources held by objects in the list.
 //    It may send IPC events to do this.
 void LeftSideResourceCleanupList::SweepNeuterLeftSideResources(CordbProcess * pProcess)
 {
@@ -413,12 +413,12 @@ void LeftSideResourceCleanupList::SweepNeuterLeftSideResources(CordbProcess * pP
     // Lock while we "privatize" the head.
     RSLockHolder lockHolder(pLock);
     Node * pHead = m_pHead;
-    m_pHead = NULL; 
+    m_pHead = NULL;
     lockHolder.Release();
 
     Node ** ppLast = &pHead;
     Node * pCur = pHead;
-    
+
     // Can't hold the process-lock while calling Neuter.
     while (pCur != NULL)
     {
@@ -444,7 +444,7 @@ void LeftSideResourceCleanupList::SweepNeuterLeftSideResources(CordbProcess * pP
 
     // Now link back in. m_pHead may have changed while we were unlocked.
     // The list does not need to be ordered.
-        
+
     lockHolder.Acquire();
     *ppLast = m_pHead;
     m_pHead = pHead;
@@ -465,7 +465,7 @@ void CordbCommonBase::InitializeCommon()
     {
         return;
     }
-    
+
 #ifdef STRESS_LOG
     {
         bool fStressLog = false;
@@ -503,14 +503,14 @@ void CordbCommonBase::InitializeCommon()
 
     // Add debug privilege. This will let us call OpenProcess() on anything, regardless of ACL.
     AddDebugPrivilege();
-        
+
     IsInitialized = true;
 }
 
 // Adjust the permissions of this process to ensure that we have
 // the debugging priviledge. If we can't make the adjustment, it
 // only means that we won't be able to attach to a service under
-// NT, so we won't treat that as a critical failure. 
+// NT, so we won't treat that as a critical failure.
 // This also will let us call OpenProcess() on anything, regardless of DACL. This allows an
 // Admin debugger to attach to a debuggee in the guest account.
 // Ideally, the debugger would set this (and we wouldn't mess with privileges at all). However, we've been
@@ -526,14 +526,14 @@ void CordbCommonBase::AddDebugPrivilege()
 
     fSucc = LookupPrivilegeValueW(NULL, SE_DEBUG_NAME, &SeDebugLuid);
     DWORD err = GetLastError();
-    
+
     if (!fSucc)
     {
         STRESS_LOG1(LF_CORDB, LL_INFO1000, "Unable to adjust permissions of this process to include SE_DEBUG. Lookup failed %d\n", err);
         return;
     }
-    
-    
+
+
     // Retrieve a handle of the access token
     fSucc = OpenProcessToken(GetCurrentProcess(),
                              TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
@@ -555,7 +555,7 @@ void CordbCommonBase::AddDebugPrivilege()
         // The return value of AdjustTokenPrivileges cannot be tested.
         if (err != ERROR_SUCCESS)
         {
-            STRESS_LOG1(LF_CORDB, LL_INFO1000, 
+            STRESS_LOG1(LF_CORDB, LL_INFO1000,
                 "Unable to adjust permissions of this process to include SE_DEBUG. Adjust failed %d\n", err);
         }
         else
@@ -565,7 +565,7 @@ void CordbCommonBase::AddDebugPrivilege()
         CloseHandle(hToken);
     }
 #endif
-} 
+}
 
 
 namespace
@@ -852,6 +852,106 @@ namespace
         pAppDomain->Continue(false);
         return S_OK;
     }
+
+    //
+    // DefaultManagedCallback4
+    //
+    // In the event that the debugger is of an older version than the Right Side & Left Side, the Right Side may issue
+    // new callbacks that the debugger is not expecting. In this case, we need to provide a default behavior for those
+    // new callbacks, if for nothing else than to force the debugger to Continue().
+    //
+    class DefaultManagedCallback4 : public ICorDebugManagedCallback4
+    {
+    public:
+        DefaultManagedCallback4(ICorDebug* pDebug);
+        virtual ~DefaultManagedCallback4() { }
+        virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void** pInterface);
+        virtual ULONG STDMETHODCALLTYPE AddRef();
+        virtual ULONG STDMETHODCALLTYPE Release();
+        COM_METHOD BeforeGarbageCollection(ICorDebugProcess* pProcess);
+        COM_METHOD AfterGarbageCollection(ICorDebugProcess* pProcess);
+        COM_METHOD DataBreakpoint(ICorDebugProcess* pProcess, ICorDebugThread* pThread);
+    private:
+        // not implemented
+        DefaultManagedCallback4(const DefaultManagedCallback4&);
+        DefaultManagedCallback4& operator=(const DefaultManagedCallback4&);
+
+        ICorDebug* m_pDebug;
+        LONG m_refCount;
+    };
+
+    DefaultManagedCallback4::DefaultManagedCallback4(ICorDebug* pDebug) : m_pDebug(pDebug), m_refCount(0)
+    {
+    }
+
+    HRESULT
+        DefaultManagedCallback4::QueryInterface(REFIID iid, void** pInterface)
+    {
+        if (IID_ICorDebugManagedCallback4 == iid)
+        {
+            *pInterface = static_cast<ICorDebugManagedCallback4*>(this);
+        }
+        else if (IID_IUnknown == iid)
+        {
+            *pInterface = static_cast<IUnknown*>(this);
+        }
+        else
+        {
+            *pInterface = NULL;
+            return E_NOINTERFACE;
+        }
+
+        this->AddRef();
+        return S_OK;
+    }
+
+    ULONG
+        DefaultManagedCallback4::AddRef()
+    {
+        return InterlockedIncrement(&m_refCount);
+    }
+
+    ULONG
+        DefaultManagedCallback4::Release()
+    {
+        ULONG ulRef = InterlockedDecrement(&m_refCount);
+        if (0 == ulRef)
+        {
+            delete this;
+        }
+
+        return ulRef;
+    }
+
+    HRESULT
+        DefaultManagedCallback4::BeforeGarbageCollection(ICorDebugProcess* pProcess)
+    {
+        //
+        // Just ignore and continue the process.
+        //
+        pProcess->Continue(false);
+        return S_OK;
+    }
+
+    HRESULT
+        DefaultManagedCallback4::AfterGarbageCollection(ICorDebugProcess* pProcess)
+    {
+        //
+        // Just ignore and continue the process.
+        //
+        pProcess->Continue(false);
+        return S_OK;
+    }
+
+    HRESULT
+        DefaultManagedCallback4::DataBreakpoint(ICorDebugProcess* pProcess, ICorDebugThread* pThread)
+    {
+        //
+        // Just ignore and continue the process.
+        //
+        pProcess->Continue(false);
+        return S_OK;
+    }
 }
 
 /* ------------------------------------------------------------------------- *
@@ -890,13 +990,13 @@ void Cordb::Neuter()
         return;
     }
 
-    
+
     RSLockHolder lockHolder(&m_processListMutex);
     m_pProcessEnumList.NeuterAndClear(NULL);
-    
+
 
     HRESULT hr = S_OK;
-    EX_TRY // @dbgtodo push this up. 
+    EX_TRY // @dbgtodo push this up.
     {
         // Iterating needs to be done under the processList lock (small), while neutering
         // needs to be able to take the process lock (big).
@@ -905,13 +1005,13 @@ void Cordb::Neuter()
 
         // can't hold list lock while calling CordbProcess::Neuter (which
         // will take the Process-lock).
-        lockHolder.Release(); 
+        lockHolder.Release();
 
         list.NeuterAndClear();
         // List dtor calls release on each element
-    }    
+    }
     EX_CATCH_HRESULT(hr);
-    SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr); 
+    SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr);
 
     CordbCommonBase::Neuter();
 
@@ -966,7 +1066,7 @@ HRESULT Cordb::Terminate()
 
     FAIL_IF_NEUTERED(this);
 
-    // We can't terminate the debugging services from within a callback. 
+    // We can't terminate the debugging services from within a callback.
     // Caller is supposed to be out of all callbacks when they call this.
     // This also avoids a deadlock because we'll shutdown the RCET, which would block if we're
     // in the RCET.
@@ -1055,6 +1155,7 @@ HRESULT Cordb::Terminate()
     m_managedCallback.Clear();
     m_managedCallback2.Clear();
     m_managedCallback3.Clear();
+    m_managedCallback4.Clear();
     m_unmanagedCallback.Clear();
 
     // The Shell may still have outstanding references, so we don't want to shutdown logging yet.
@@ -1109,7 +1210,7 @@ HRESULT Cordb::Initialize(void)
     if (!m_initialized)
     {
         CordbCommonBase::InitializeCommon();
-        
+
         // Since logging wasn't active when we called CordbBase, do it now.
         LOG((LF_CORDB, LL_EVERYTHING, "Memory: CordbBase object allocated: this=%p, count=%d, RootObject\n", this, s_TotalObjectCount));
         LOG((LF_CORDB, LL_INFO10, "Initializing ICorDebug...\n"));
@@ -1209,7 +1310,7 @@ void Cordb::AddProcess(CordbProcess* process)
     // can have another debuggee.
     STRESS_LOG1(LF_CORDB, LL_INFO10, "Cordb::AddProcess %08x...\n", process);
 
-    if ((m_managedCallback == NULL) || (m_managedCallback2 == NULL) || (m_managedCallback3 == NULL))
+    if ((m_managedCallback == NULL) || (m_managedCallback2 == NULL) || (m_managedCallback3 == NULL) || (m_managedCallback4 == NULL))
     {
         ThrowHR(E_FAIL);
     }
@@ -1325,7 +1426,7 @@ HRESULT Cordb::SetTargetCLR(HMODULE hmodTargetCLR)
     CoreClrCallbacks cccallbacks;
     cccallbacks.m_hmodCoreCLR               = hmodTargetCLR;
     cccallbacks.m_pfnIEE                    = NULL;
-    cccallbacks.m_pfnGetCORSystemDirectory  = NULL;    
+    cccallbacks.m_pfnGetCORSystemDirectory  = NULL;
     cccallbacks.m_pfnGetCLRFunction         = NULL;
     InitUtilcode(cccallbacks);
 
@@ -1352,6 +1453,7 @@ HRESULT Cordb::SetManagedHandler(ICorDebugManagedCallback *pCallback)
     m_managedCallback.Clear();
     m_managedCallback2.Clear();
     m_managedCallback3.Clear();
+    m_managedCallback4.Clear();
 
     // For SxS, V2.0 debuggers must implement ManagedCallback2 to handle v2.0 debug events.
     // For Single-CLR, A v1.0 debugger may actually geta V2.0 debuggee.
@@ -1376,7 +1478,6 @@ HRESULT Cordb::SetManagedHandler(ICorDebugManagedCallback *pCallback)
         }
     }
 
-
     pCallback->QueryInterface(IID_ICorDebugManagedCallback3, (void **)&m_managedCallback3);
     if (m_managedCallback3 == NULL)
     {
@@ -1388,6 +1489,17 @@ HRESULT Cordb::SetManagedHandler(ICorDebugManagedCallback *pCallback)
         return E_OUTOFMEMORY;
     }
 
+    pCallback->QueryInterface(IID_ICorDebugManagedCallback4, (void **)&m_managedCallback4);
+    if (m_managedCallback4 == NULL)
+    {
+        m_managedCallback4.Assign(new (nothrow) DefaultManagedCallback4(this));
+    }
+
+    if (m_managedCallback4 == NULL)
+    {
+        return E_OUTOFMEMORY;
+    }
+
     m_managedCallback.Assign(pCallback);
     return S_OK;
 }
@@ -1411,7 +1523,7 @@ bool Cordb::IsCreateProcessSupported()
 {
 #if !defined(FEATURE_DBGIPC_TRANSPORT_DI)
     return false;
-#else 
+#else
     return true;
 #endif
 }
@@ -1445,7 +1557,7 @@ bool Cordb::IsInteropDebuggingSupported()
 // Creates a process.
 //
 // Arguments:
-//    The following arguments are passed thru unmodified to the OS CreateProcess API and 
+//    The following arguments are passed thru unmodified to the OS CreateProcess API and
 //       are defined by that API.
 //           lpApplicationName
 //           lpCommandLine
@@ -1567,7 +1679,7 @@ HRESULT Cordb::CreateProcessCommon(ICorDebugRemoteTarget * pRemoteTarget,
     #endif // FEATURE_INTEROP_DEBUGGING
 
         // Must have a managed-callback by now.
-        if ((m_managedCallback == NULL) || (m_managedCallback2 == NULL) || (m_managedCallback3 == NULL))
+        if ((m_managedCallback == NULL) || (m_managedCallback2 == NULL) || (m_managedCallback3 == NULL) || (m_managedCallback4 == NULL))
         {
             ThrowHR(E_FAIL);
         }
@@ -1702,7 +1814,7 @@ HRESULT Cordb::DebugActiveProcessCommon(ICorDebugRemoteTarget * pRemoteTarget,
         }
 
         // Must have a managed-callback by now.
-        if ((m_managedCallback == NULL) || (m_managedCallback2 == NULL) || (m_managedCallback3 == NULL))
+        if ((m_managedCallback == NULL) || (m_managedCallback2 == NULL) || (m_managedCallback3 == NULL) || (m_managedCallback4 == NULL))
         {
             ThrowHR(E_FAIL);
         }
@@ -1760,13 +1872,13 @@ HRESULT Cordb::DebugActiveProcessCommon(ICorDebugRemoteTarget * pRemoteTarget,
         }
 
 #if defined(FEATURE_DBGIPC_TRANSPORT_DI)
-        // This is where we queue the managed attach event in Whidbey.  In the new architecture, the Windows 
-        // pipeline gets a loader breakpoint when native attach is completed, and that's where we queue the 
+        // This is where we queue the managed attach event in Whidbey.  In the new architecture, the Windows
+        // pipeline gets a loader breakpoint when native attach is completed, and that's where we queue the
         // managed attach event.  See how we handle the loader breakpoint in code:ShimProcess::DefaultEventHandler.
         // However, the Mac debugging transport gets no such breakpoint, and so we need to do this here.
-        // 
-        // @dbgtodo  Mac - Ideally we should hide this in our pipeline implementation, or at least move 
-        // this to the shim.  
+        //
+        // @dbgtodo  Mac - Ideally we should hide this in our pipeline implementation, or at least move
+        // this to the shim.
         _ASSERTE(!fWin32Attach);
         {
             pProcess->Lock();
@@ -1774,7 +1886,7 @@ HRESULT Cordb::DebugActiveProcessCommon(ICorDebugRemoteTarget * pRemoteTarget,
             pProcess->Unlock();
         }
 #endif // FEATURE_DBGIPC_TRANSPORT_DI
-        
+
         *ppProcess = (ICorDebugProcess*) pProcess;
     }
 
@@ -1793,23 +1905,23 @@ void Cordb::CheckCompatibility()
         clrMajor = 2;
     else if (debuggerVersion <= CorDebugVersion_4_0)
         clrMajor = 4;
-    else 
+    else
         clrMajor = 5;   // some unrecognized future version
 
     if(!CordbProcess::IsCompatibleWith(clrMajor))
     {
         // Carefully choose our error-code to get an appropriate error-message from VS 2008
         // If GetDebuggerVersion is >= 4, we could consider using the more-appropriate (but not
-        // added until V4) HRESULT CORDBG_E_UNSUPPORTED_FORWARD_COMPAT that is used by 
+        // added until V4) HRESULT CORDBG_E_UNSUPPORTED_FORWARD_COMPAT that is used by
         // OpenVirtualProcess, but it's probably simpler to keep ICorDebug APIs returning
         // consistent error codes.
         ThrowHR(CORDBG_E_INCOMPATIBLE_PROTOCOL);
     }
 }
 
-HRESULT Cordb::DebugActiveProcessEx(ICorDebugRemoteTarget * pRemoteTarget, 
-                                    DWORD dwProcessId, 
-                                    BOOL fWin32Attach, 
+HRESULT Cordb::DebugActiveProcessEx(ICorDebugRemoteTarget * pRemoteTarget,
+                                    DWORD dwProcessId,
+                                    BOOL fWin32Attach,
                                     ICorDebugProcess ** ppProcess)
 {
     if (pRemoteTarget == NULL)
@@ -1866,12 +1978,12 @@ HRESULT Cordb::EnumerateProcesses(ICorDebugProcessEnum **ppProcesses)
 
         RSInitHolder<CordbHashTableEnum> pEnum;
         CordbHashTableEnum::BuildOrThrow(
-            this, 
-            &m_pProcessEnumList, 
+            this,
+            &m_pProcessEnumList,
             GetProcessList(),
             IID_ICorDebugProcessEnum,
             pEnum.GetAddr());
-        
+
 
         pEnum.TransferOwnershipExternal(ppProcesses);
     }
@@ -1905,7 +2017,7 @@ HRESULT Cordb::CanLaunchOrAttach(DWORD dwProcessId, BOOL fWin32DebuggingEnabled)
     EX_TRY
     {
         EnsureCanLaunchOrAttach(fWin32DebuggingEnabled);
-    } 
+    }
     EX_CATCH_HRESULT(hr);
 
     return hr;
@@ -2005,12 +2117,12 @@ CordbEnumFilter::CordbEnumFilter(CordbBase * pOwnerObj, NeuterList * pOwnerList)
     m_iCount (0)
 {
     _ASSERTE(m_pOwnerNeuterList != NULL);
-    
+
     HRESULT hr = S_OK;
     EX_TRY
     {
         m_pOwnerNeuterList->Add(pOwnerObj->GetProcess(), this);
-    } 
+    }
     EX_CATCH_HRESULT(hr);
     SetUnrecoverableIfFailed(GetProcess(), hr);
 
@@ -2024,15 +2136,15 @@ CordbEnumFilter::CordbEnumFilter(CordbEnumFilter *src)
     m_pCurrent (NULL)
 {
     _ASSERTE(m_pOwnerNeuterList != NULL);
-    
+
     HRESULT hr = S_OK;
     EX_TRY
     {
         m_pOwnerNeuterList->Add(src->GetProcess(), this);
-    } 
+    }
     EX_CATCH_HRESULT(hr);
     SetUnrecoverableIfFailed(GetProcess(), hr);
-    
+
 
 
     int iCountSanityCheck = 0;
@@ -2124,10 +2236,10 @@ void CordbEnumFilter::Neuter()
 HRESULT CordbEnumFilter::QueryInterface(REFIID id, void **ppInterface)
 {
     // if we QI with the IID of the base type, we can't just return a pointer ICorDebugEnum directly, because
-    // the cast is ambiguous. This happens because CordbEnumFilter implements both ICorDebugModuleEnum and 
+    // the cast is ambiguous. This happens because CordbEnumFilter implements both ICorDebugModuleEnum and
     // ICorDebugThreadEnum, both of which derive in turn from ICorDebugEnum. This produces a diamond inheritance
-    // graph. Thus we need a double cast. It doesn't really matter whether we pick ICorDebugThreadEnum or 
-    // ICorDebugModuleEnum, because it will be backed by the same object regardless. 
+    // graph. Thus we need a double cast. It doesn't really matter whether we pick ICorDebugThreadEnum or
+    // ICorDebugModuleEnum, because it will be backed by the same object regardless.
     if (id == IID_ICorDebugEnum)
         *ppInterface = static_cast<ICorDebugEnum *>(static_cast<ICorDebugThreadEnum *>(this));
     else if (id == IID_ICorDebugModuleEnum)
@@ -2467,7 +2579,7 @@ HRESULT CordbEnumFilter::Init (ICorDebugThreadEnum *pThreadEnum, CordbAppDomain
         {
             goto Error;
         }
-       
+
         if (pThreadDomain == pAppDomain)
         {
             pElement = new (nothrow) EnumElement;
index 40d06df..8b388ee 100644 (file)
@@ -2305,6 +2305,7 @@ public:
     RSExtSmartPtr<ICorDebugManagedCallback>    m_managedCallback;
     RSExtSmartPtr<ICorDebugManagedCallback2>   m_managedCallback2;
     RSExtSmartPtr<ICorDebugManagedCallback3>   m_managedCallback3;
+    RSExtSmartPtr<ICorDebugManagedCallback4>   m_managedCallback4;
     RSExtSmartPtr<ICorDebugUnmanagedCallback>  m_unmanagedCallback;
 
     CordbRCEventThread*         m_rcEventThread;
@@ -2922,6 +2923,7 @@ class CordbProcess :
     public ICorDebugProcess5,
     public ICorDebugProcess7,
     public ICorDebugProcess8,
+    public ICorDebugProcess10,
     public IDacDbiInterface::IAllocator,
     public IDacDbiInterface::IMetaDataLookup,
     public IProcessShimHooks
@@ -3133,6 +3135,11 @@ public:
     //-----------------------------------------------------------
     COM_METHOD EnableExceptionCallbacksOutsideOfMyCode(BOOL enableExceptionsOutsideOfJMC);
 
+    //-----------------------------------------------------------
+    // ICorDebugProcess10
+    //-----------------------------------------------------------
+    COM_METHOD EnableGCNotificationEvents(BOOL fEnable);
+
 #ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL
     // ---------------------------------------------------------------
     // ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly
@@ -3307,7 +3314,8 @@ public:
         RSLockHolder *              pLockHolder,
         ICorDebugManagedCallback *  pCallback1, 
         ICorDebugManagedCallback2 * pCallback2,
-        ICorDebugManagedCallback3 * pCallback3);
+        ICorDebugManagedCallback3 * pCallback3,
+        ICorDebugManagedCallback4 * pCallback4);
 
     void MarkAllThreadsDirty();
 
@@ -3643,7 +3651,7 @@ public:
     // the jit attach.
     HRESULT GetAttachStateFlags(CLR_DEBUGGING_PROCESS_FLAGS *pFlags);
 
-    HRESULT GetTypeForObject(CORDB_ADDRESS obj, CordbType **ppType, CordbAppDomain **pAppDomain = NULL);
+    HRESULT GetTypeForObject(CORDB_ADDRESS obj, CordbAppDomain* pAppDomainOverride, CordbType **ppType, CordbAppDomain **pAppDomain = NULL);
 
     WriteableMetadataUpdateMode GetWriteableMetadataUpdateMode() { return m_writableMetadataUpdateMode; }
 private:
@@ -3740,7 +3748,6 @@ public:
     // This is also used in fake-native debugging scenarios.
     bool                  m_loaderBPReceived;
 
-
 private:
 
     // MetaData dispenser. 
@@ -4105,6 +4112,8 @@ private:
 
     // controls how metadata updated in the target is handled
     WriteableMetadataUpdateMode m_writableMetadataUpdateMode;
+
+    COM_METHOD GetObjectInternal(CORDB_ADDRESS addr, CordbAppDomain* pAppDomainOverride, ICorDebugObjectValue **pObject);
 };
 
 // Some IMDArocess APIs are supported as interop-only.
@@ -8707,6 +8716,8 @@ public:
         return (S_OK);
     }
 
+    virtual HRESULT STDMETHODCALLTYPE GetAddress(CORDB_ADDRESS *pAddress) = 0;
+
     //-----------------------------------------------------------
     // Methods not exported through COM
     //-----------------------------------------------------------
@@ -8779,11 +8790,11 @@ public:
 };
 
 /* ------------------------------------------------------------------------- *
- * Value Breakpoint class
- * ------------------------------------------------------------------------- */
+* Value Breakpoint class
+* ------------------------------------------------------------------------- */
 
 class CordbValueBreakpoint : public CordbBreakpoint,
-                             public ICorDebugValueBreakpoint
+    public ICorDebugValueBreakpoint
 {
 public:
     CordbValueBreakpoint(CordbValue *pValue);
@@ -8827,12 +8838,12 @@ public:
     void Disconnect();
 
 public:
-    CordbValue       *m_value;
+    CordbValue m_value;
 };
 
 /* ------------------------------------------------------------------------- *
- * Generic Value class
- * ------------------------------------------------------------------------- */
+* Generic Value class
+* ------------------------------------------------------------------------- */
 
 class CordbGenericValue : public CordbValue, public ICorDebugGenericValue, public ICorDebugValue2, public ICorDebugValue3
 {
index e5c74bd..1af6e04 100644 (file)
@@ -3,7 +3,7 @@
 // See the LICENSE file in the project root for more information.
 //*****************************************************************************
 // File: ShimCallback.cpp
-// 
+//
 
 //
 // The V3 ICD debugging APIs have a lower abstraction level than V2.
@@ -13,7 +13,7 @@
 #include "stdafx.h"
 
 #include "safewrap.h"
-#include "check.h" 
+#include "check.h"
 
 #include <limits.h>
 #include "shimpriv.h"
@@ -58,6 +58,10 @@ HRESULT ShimProxyCallback::QueryInterface(REFIID riid, void **ppInterface)
     {
         *ppInterface = static_cast<ICorDebugManagedCallback3*>(this);
     }
+    else if (riid == IID_ICorDebugManagedCallback4)
+    {
+        *ppInterface = static_cast<ICorDebugManagedCallback4*>(this);
+    }
     else if (riid == IID_IUnknown)
     {
         *ppInterface = static_cast<IUnknown*>(static_cast<ICorDebugManagedCallback*>(this));
@@ -74,22 +78,22 @@ HRESULT ShimProxyCallback::QueryInterface(REFIID riid, void **ppInterface)
 
 //
 // Map from an old frame to a new one.
-// 
+//
 // Arguments:
 //   pThread - thread that frame is on
 //   pOldFrame - old frame before the continue, may have gotten neutered.
-//   
+//
 // Returns:
 //   a new, non-neutered frame that matches the old frame.
-//   
+//
 // Notes:
 //   Called by event handlers below (which are considered Outside the RS).
 //   No adjust of reference, Thread already has reference.
-//   @dbgtodo shim-stackwalks: this is used for exception callbacks, which may change for V3. 
+//   @dbgtodo shim-stackwalks: this is used for exception callbacks, which may change for V3.
 ICorDebugFrame * UpdateFrame(ICorDebugThread * pThread, ICorDebugFrame * pOldFrame)
 {
-    PUBLIC_API_ENTRY_FOR_SHIM(NULL); 
-    
+    PUBLIC_API_ENTRY_FOR_SHIM(NULL);
+
     RSExtSmartPtr<ICorDebugFrame> pNewFrame;
 
     EX_TRY
@@ -98,16 +102,16 @@ ICorDebugFrame * UpdateFrame(ICorDebugThread * pThread, ICorDebugFrame * pOldFra
         if (pFrame != NULL)
         {
             FramePointer fp = pFrame->GetFramePointer();
-            
+
             CordbThread * pThread2 = static_cast<CordbThread *> (pThread);
             pThread2->FindFrame(&pNewFrame, fp);
-            
-            // 
+
+            //
         }
     }
     EX_CATCH
     {
-        // Do not throw out of this function.  Doing so means that the debugger never gets a chance to 
+        // Do not throw out of this function.  Doing so means that the debugger never gets a chance to
         // continue the debuggee process.  This will lead to a hang.  Instead, try to make a best effort to
         // continue with a NULL ICDFrame.  VS is able to handle this gracefully.
         pNewFrame.Assign(NULL);
@@ -136,7 +140,7 @@ HRESULT ShimProxyCallback::Breakpoint(ICorDebugAppDomain * pAppDomain, ICorDebug
 
     public:
         // Ctor
-        BreakpointEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugBreakpoint * pBreakpoint) : 
+        BreakpointEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugBreakpoint * pBreakpoint) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -169,7 +173,7 @@ HRESULT ShimProxyCallback::StepComplete(ICorDebugAppDomain * pAppDomain, ICorDeb
 
     public:
         // Ctor
-        StepCompleteEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugStepper * pStepper, CorDebugStepReason reason) : 
+        StepCompleteEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugStepper * pStepper, CorDebugStepReason reason) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -201,7 +205,7 @@ HRESULT ShimProxyCallback::Break(ICorDebugAppDomain * pAppDomain, ICorDebugThrea
 
     public:
         // Ctor
-        BreakEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) : 
+        BreakEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -232,7 +236,7 @@ HRESULT ShimProxyCallback::Exception(ICorDebugAppDomain * pAppDomain, ICorDebugT
 
     public:
         // Ctor
-        ExceptionEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, BOOL fUnhandled) : 
+        ExceptionEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, BOOL fUnhandled) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -264,7 +268,7 @@ HRESULT ShimProxyCallback::EvalComplete(ICorDebugAppDomain * pAppDomain, ICorDeb
 
     public:
         // Ctor
-        EvalCompleteEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugEval * pEval) : 
+        EvalCompleteEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugEval * pEval) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -296,7 +300,7 @@ HRESULT ShimProxyCallback::EvalException(ICorDebugAppDomain * pAppDomain, ICorDe
 
     public:
         // Ctor
-        EvalExceptionEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugEval * pEval) : 
+        EvalExceptionEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugEval * pEval) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -316,10 +320,10 @@ HRESULT ShimProxyCallback::EvalException(ICorDebugAppDomain * pAppDomain, ICorDe
 
 
 // Implementation of ICorDebugManagedCallback::CreateProcess
-// This will only be called for a Real create-process event. 
+// This will only be called for a Real create-process event.
 HRESULT ShimProxyCallback::CreateProcess(ICorDebugProcess * pProcess)
 {
-    m_pShim->PreDispatchEvent(true); 
+    m_pShim->PreDispatchEvent(true);
     QueueCreateProcess(pProcess);
     return S_OK;
 }
@@ -333,7 +337,7 @@ void ShimProxyCallback::QueueCreateProcess(ICorDebugProcess * pProcess)
 
     public:
         // Ctor
-        CreateProcessEvent(ICorDebugProcess * pProcess, ShimProcess * pShim) : 
+        CreateProcessEvent(ICorDebugProcess * pProcess, ShimProcess * pShim) :
              ManagedEvent(),
              m_pShim(pShim)
         {
@@ -347,9 +351,9 @@ void ShimProxyCallback::QueueCreateProcess(ICorDebugProcess * pProcess)
             return args.GetCallback1()->CreateProcess(m_pProcess);
         }
 
-        // we need access to the shim in Dispatch so we can set the InCreateProcess flag to keep track of 
+        // we need access to the shim in Dispatch so we can set the InCreateProcess flag to keep track of
         // when we are actually in the callback. We need this information to be able to emulate
-        // the hresult logic in v2.0. 
+        // the hresult logic in v2.0.
         ShimProcess * m_pShim;
     }; // end class CreateProcessEvent
 
@@ -371,7 +375,7 @@ HRESULT ShimProxyCallback::ExitProcess(ICorDebugProcess * pProcess)
 
     public:
         // Ctor
-        ExitProcessEvent(ICorDebugProcess * pProcess) : 
+        ExitProcessEvent(ICorDebugProcess * pProcess) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -401,7 +405,7 @@ HRESULT ShimProxyCallback::CreateThread(ICorDebugAppDomain * pAppDomain, ICorDeb
 
     public:
         // Ctor
-        CreateThreadEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) : 
+        CreateThreadEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -434,7 +438,7 @@ HRESULT ShimProxyCallback::ExitThread(ICorDebugAppDomain * pAppDomain, ICorDebug
 
     public:
         // Ctor
-        ExitThreadEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) : 
+        ExitThreadEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -457,13 +461,13 @@ HRESULT ShimProxyCallback::ExitThread(ICorDebugAppDomain * pAppDomain, ICorDebug
 //
 // Arguments:
 //   pAppDomain - appdomain for the LoadModule debug event
-//   pModule - module being loaded. 
+//   pModule - module being loaded.
 //
 // Notes:
 //   See code:ShimProcess::QueueFakeAttachEvents
 //   This is the fake version of code:ShimProxyCallback::LoadModule.
-//   It sends an IPC event to go in process to collect information that we can't yet get via 
-//   DAC from out-of-proc. 
+//   It sends an IPC event to go in process to collect information that we can't yet get via
+//   DAC from out-of-proc.
 void ShimProxyCallback::FakeLoadModule(ICorDebugAppDomain *pAppDomain, ICorDebugModule *pModule)
 {
     class FakeLoadModuleEvent  : public ManagedEvent
@@ -474,7 +478,7 @@ void ShimProxyCallback::FakeLoadModule(ICorDebugAppDomain *pAppDomain, ICorDebug
 
     public:
         // Ctor
-        FakeLoadModuleEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule, ShimProcess * pShim) : 
+        FakeLoadModuleEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule, ShimProcess * pShim) :
              ManagedEvent(),
              m_pShim(pShim)
         {
@@ -483,15 +487,15 @@ void ShimProxyCallback::FakeLoadModule(ICorDebugAppDomain *pAppDomain, ICorDebug
         }
 
         HRESULT Dispatch(DispatchArgs args)
-        {            
+        {
             // signal that we are in the callback--this will be cleared in code:CordbProcess::ContinueInternal
-            m_pShim->SetInLoadModule(true);           
+            m_pShim->SetInLoadModule(true);
             return args.GetCallback1()->LoadModule(m_pAppDomain, m_pModule);
         }
 
-        // we need access to the shim in Dispatch so we can set the InLoadModule flag to keep track 
+        // we need access to the shim in Dispatch so we can set the InLoadModule flag to keep track
         // when we are actually in the callback. We need this information to be able to emulate
-        // the hresult logic in v2.0. 
+        // the hresult logic in v2.0.
         ShimProcess * m_pShim;
     }; // end class LoadModuleEvent
 
@@ -511,7 +515,7 @@ HRESULT ShimProxyCallback::LoadModule(ICorDebugAppDomain * pAppDomain, ICorDebug
 
     public:
         // Ctor
-        LoadModuleEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule) : 
+        LoadModuleEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule) :
              ManagedEvent()
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -519,7 +523,7 @@ HRESULT ShimProxyCallback::LoadModule(ICorDebugAppDomain * pAppDomain, ICorDebug
         }
 
         HRESULT Dispatch(DispatchArgs args)
-        {            
+        {
             return args.GetCallback1()->LoadModule(m_pAppDomain, m_pModule);
         }
     }; // end class LoadModuleEvent
@@ -544,7 +548,7 @@ HRESULT ShimProxyCallback::UnloadModule(ICorDebugAppDomain * pAppDomain, ICorDeb
 
     public:
         // Ctor
-        UnloadModuleEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule) : 
+        UnloadModuleEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule) :
              ManagedEvent()
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -575,7 +579,7 @@ HRESULT ShimProxyCallback::LoadClass(ICorDebugAppDomain * pAppDomain, ICorDebugC
 
     public:
         // Ctor
-        LoadClassEvent(ICorDebugAppDomain * pAppDomain, ICorDebugClass * pClass) : 
+        LoadClassEvent(ICorDebugAppDomain * pAppDomain, ICorDebugClass * pClass) :
              ManagedEvent()
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -605,7 +609,7 @@ HRESULT ShimProxyCallback::UnloadClass(ICorDebugAppDomain * pAppDomain, ICorDebu
 
     public:
         // Ctor
-        UnloadClassEvent(ICorDebugAppDomain * pAppDomain, ICorDebugClass * pClass) : 
+        UnloadClassEvent(ICorDebugAppDomain * pAppDomain, ICorDebugClass * pClass) :
              ManagedEvent()
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -636,7 +640,7 @@ HRESULT ShimProxyCallback::DebuggerError(ICorDebugProcess * pProcess, HRESULT er
 
     public:
         // Ctor
-        DebuggerErrorEvent(ICorDebugProcess * pProcess, HRESULT errorHR, DWORD errorCode) : 
+        DebuggerErrorEvent(ICorDebugProcess * pProcess, HRESULT errorHR, DWORD errorCode) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -670,7 +674,7 @@ HRESULT ShimProxyCallback::LogMessage(ICorDebugAppDomain * pAppDomain, ICorDebug
 
     public:
         // Ctor
-        LogMessageEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, LONG lLevel, LPCWSTR pLogSwitchName, LPCWSTR pMessage) : 
+        LogMessageEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, LONG lLevel, LPCWSTR pLogSwitchName, LPCWSTR pMessage) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -707,7 +711,7 @@ HRESULT ShimProxyCallback::LogSwitch(ICorDebugAppDomain * pAppDomain, ICorDebugT
 
     public:
         // Ctor
-        LogSwitchEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, LONG lLevel, ULONG ulReason, LPCWSTR pLogSwitchName, LPCWSTR pParentName) : 
+        LogSwitchEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, LONG lLevel, ULONG ulReason, LPCWSTR pLogSwitchName, LPCWSTR pParentName) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -741,7 +745,7 @@ HRESULT ShimProxyCallback::CreateAppDomain(ICorDebugProcess * pProcess, ICorDebu
 
     public:
         // Ctor
-        CreateAppDomainEvent(ICorDebugProcess * pProcess, ICorDebugAppDomain * pAppDomain) : 
+        CreateAppDomainEvent(ICorDebugProcess * pProcess, ICorDebugAppDomain * pAppDomain) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -774,7 +778,7 @@ HRESULT ShimProxyCallback::ExitAppDomain(ICorDebugProcess * pProcess, ICorDebugA
 
     public:
         // Ctor
-        ExitAppDomainEvent(ICorDebugProcess * pProcess, ICorDebugAppDomain * pAppDomain) : 
+        ExitAppDomainEvent(ICorDebugProcess * pProcess, ICorDebugAppDomain * pAppDomain) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -805,7 +809,7 @@ HRESULT ShimProxyCallback::LoadAssembly(ICorDebugAppDomain * pAppDomain, ICorDeb
 
     public:
         // Ctor
-        LoadAssemblyEvent(ICorDebugAppDomain * pAppDomain, ICorDebugAssembly * pAssembly) : 
+        LoadAssemblyEvent(ICorDebugAppDomain * pAppDomain, ICorDebugAssembly * pAssembly) :
              ManagedEvent()
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -838,7 +842,7 @@ HRESULT ShimProxyCallback::UnloadAssembly(ICorDebugAppDomain * pAppDomain, ICorD
 
     public:
         // Ctor
-        UnloadAssemblyEvent(ICorDebugAppDomain * pAppDomain, ICorDebugAssembly * pAssembly) : 
+        UnloadAssemblyEvent(ICorDebugAppDomain * pAppDomain, ICorDebugAssembly * pAssembly) :
              ManagedEvent()
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -868,7 +872,7 @@ HRESULT ShimProxyCallback::ControlCTrap(ICorDebugProcess * pProcess)
 
     public:
         // Ctor
-        ControlCTrapEvent(ICorDebugProcess * pProcess) : 
+        ControlCTrapEvent(ICorDebugProcess * pProcess) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -897,7 +901,7 @@ HRESULT ShimProxyCallback::NameChange(ICorDebugAppDomain * pAppDomain, ICorDebug
 
     public:
         // Ctor
-        NameChangeEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) : 
+        NameChangeEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -928,7 +932,7 @@ HRESULT ShimProxyCallback::UpdateModuleSymbols(ICorDebugAppDomain * pAppDomain,
 
     public:
         // Ctor
-        UpdateModuleSymbolsEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule, IStream * pSymbolStream) : 
+        UpdateModuleSymbolsEvent(ICorDebugAppDomain * pAppDomain, ICorDebugModule * pModule, IStream * pSymbolStream) :
              ManagedEvent()
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -961,7 +965,7 @@ HRESULT ShimProxyCallback::EditAndContinueRemap(ICorDebugAppDomain * pAppDomain,
 
     public:
         // Ctor
-        EditAndContinueRemapEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFunction * pFunction, BOOL fAccurate) : 
+        EditAndContinueRemapEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFunction * pFunction, BOOL fAccurate) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -995,7 +999,7 @@ HRESULT ShimProxyCallback::BreakpointSetError(ICorDebugAppDomain * pAppDomain, I
 
     public:
         // Ctor
-        BreakpointSetErrorEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugBreakpoint * pBreakpoint, DWORD dwError) : 
+        BreakpointSetErrorEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugBreakpoint * pBreakpoint, DWORD dwError) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -1030,7 +1034,7 @@ HRESULT ShimProxyCallback::FunctionRemapOpportunity(ICorDebugAppDomain * pAppDom
 
     public:
         // Ctor
-        FunctionRemapOpportunityEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFunction * pOldFunction, ICorDebugFunction * pNewFunction, ULONG32 oldILOffset) : 
+        FunctionRemapOpportunityEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFunction * pOldFunction, ICorDebugFunction * pNewFunction, ULONG32 oldILOffset) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -1064,7 +1068,7 @@ HRESULT ShimProxyCallback::CreateConnection(ICorDebugProcess * pProcess, CONNID
 
     public:
         // Ctor
-        CreateConnectionEvent(ICorDebugProcess * pProcess, CONNID dwConnectionId, LPCWSTR pConnectionName) : 
+        CreateConnectionEvent(ICorDebugProcess * pProcess, CONNID dwConnectionId, LPCWSTR pConnectionName) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -1095,7 +1099,7 @@ HRESULT ShimProxyCallback::ChangeConnection(ICorDebugProcess * pProcess, CONNID
 
     public:
         // Ctor
-        ChangeConnectionEvent(ICorDebugProcess * pProcess, CONNID dwConnectionId) : 
+        ChangeConnectionEvent(ICorDebugProcess * pProcess, CONNID dwConnectionId) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -1125,7 +1129,7 @@ HRESULT ShimProxyCallback::DestroyConnection(ICorDebugProcess * pProcess, CONNID
 
     public:
         // Ctor
-        DestroyConnectionEvent(ICorDebugProcess * pProcess, CONNID dwConnectionId) : 
+        DestroyConnectionEvent(ICorDebugProcess * pProcess, CONNID dwConnectionId) :
              ManagedEvent()
         {
             this->m_pProcess.Assign(pProcess);
@@ -1160,7 +1164,7 @@ HRESULT ShimProxyCallback::Exception(ICorDebugAppDomain * pAppDomain, ICorDebugT
 
     public:
         // Ctor
-        ExceptionEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFrame * pFrame, ULONG32 nOffset, CorDebugExceptionCallbackType dwEventType, DWORD dwFlags) : 
+        ExceptionEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFrame * pFrame, ULONG32 nOffset, CorDebugExceptionCallbackType dwEventType, DWORD dwFlags) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -1196,7 +1200,7 @@ HRESULT ShimProxyCallback::ExceptionUnwind(ICorDebugAppDomain * pAppDomain, ICor
 
     public:
         // Ctor
-        ExceptionUnwindEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, CorDebugExceptionUnwindCallbackType dwEventType, DWORD dwFlags) : 
+        ExceptionUnwindEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, CorDebugExceptionUnwindCallbackType dwEventType, DWORD dwFlags) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -1229,7 +1233,7 @@ HRESULT ShimProxyCallback::FunctionRemapComplete(ICorDebugAppDomain * pAppDomain
 
     public:
         // Ctor
-        FunctionRemapCompleteEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFunction * pFunction) : 
+        FunctionRemapCompleteEvent(ICorDebugAppDomain * pAppDomain, ICorDebugThread * pThread, ICorDebugFunction * pFunction) :
              ManagedEvent(pThread)
         {
             this->m_pAppDomain.Assign(pAppDomain);
@@ -1261,7 +1265,7 @@ HRESULT ShimProxyCallback::MDANotification(ICorDebugController * pController, IC
 
     public:
         // Ctor
-        MDANotificationEvent(ICorDebugController * pController, ICorDebugThread * pThread, ICorDebugMDA * pMDA) : 
+        MDANotificationEvent(ICorDebugController * pController, ICorDebugThread * pThread, ICorDebugMDA * pMDA) :
              ManagedEvent(pThread)
         {
             this->m_pController.Assign(pController);
@@ -1296,7 +1300,7 @@ HRESULT ShimProxyCallback::CustomNotification(ICorDebugThread * pThread, ICorDeb
 
     public:
         // Ctor
-        CustomNotificationEvent(ICorDebugThread * pThread, ICorDebugAppDomain * pAppDomain) : 
+        CustomNotificationEvent(ICorDebugThread * pThread, ICorDebugAppDomain * pAppDomain) :
           ManagedEvent(pThread)
           {
               this->m_pAppDomain.Assign(pAppDomain);
@@ -1313,4 +1317,100 @@ HRESULT ShimProxyCallback::CustomNotification(ICorDebugThread * pThread, ICorDeb
     return S_OK;
 }
 
+// Implementation of ICorDebugManagedCallback4::BeforeGarbageCollection
+// Arguments:
+//      input:
+//          pController - controller in which the notification occurred
+// Return value: S_OK
+HRESULT ShimProxyCallback::BeforeGarbageCollection(ICorDebugProcess* pProcess)
+{
+    m_pShim->PreDispatchEvent();
+    class BeforeGarbageCollectionEvent : public ManagedEvent
+    {
+        // callbacks parameters. These are strong references
+        RSExtSmartPtr<ICorDebugProcess> m_pProcess;
+
+    public:
+        // Ctor
+        BeforeGarbageCollectionEvent(ICorDebugProcess* pProcess) :
+            ManagedEvent()
+        {
+            this->m_pProcess.Assign(pProcess);
+        }
+
+        HRESULT Dispatch(DispatchArgs args)
+        {
+            return args.GetCallback4()->BeforeGarbageCollection(m_pProcess);
+        }
+    }; // end class BeforeGarbageCollectionEvent
+
+    m_pShim->GetManagedEventQueue()->QueueEvent(new BeforeGarbageCollectionEvent(pProcess));
+    return S_OK;
+}
+
+// Implementation of ICorDebugManagedCallback4::AfterGarbageCollection
+// Arguments:
+//      input:
+//          pController - controller in which the notification occurred
+// Return value: S_OK
+HRESULT ShimProxyCallback::AfterGarbageCollection(ICorDebugProcess* pProcess)
+{
+    m_pShim->PreDispatchEvent();
+    class AfterGarbageCollectionEvent : public ManagedEvent
+    {
+        // callbacks parameters. These are strong references
+        RSExtSmartPtr<ICorDebugProcess > m_pProcess;
+
+    public:
+        // Ctor
+        AfterGarbageCollectionEvent(ICorDebugProcess* pProcess) :
+            ManagedEvent()
+        {
+            this->m_pProcess.Assign(pProcess);
+        }
+
+        HRESULT Dispatch(DispatchArgs args)
+        {
+            return args.GetCallback4()->AfterGarbageCollection(m_pProcess);
+        }
+    }; // end class AfterGarbageCollectionEvent
+
+    m_pShim->GetManagedEventQueue()->QueueEvent(new AfterGarbageCollectionEvent(pProcess));
+    return S_OK;
+}
+
+// Implementation of ICorDebugManagedCallback4::DataBreakpoint
+// Arguments:
+//      input:
+//          pProcess - process in which the notification occurred
+// Return value: S_OK
+HRESULT ShimProxyCallback::DataBreakpoint(ICorDebugProcess* pProcess, ICorDebugThread* pThread)
+{
+    m_pShim->PreDispatchEvent();
+    class DataBreakpointEvent : public ManagedEvent
+    {
+        // callbacks parameters. These are strong references
+        RSExtSmartPtr<ICorDebugProcess> m_pProcess;
+        RSExtSmartPtr<ICorDebugThread> m_pThread;
+
+    public:
+        // Ctor
+        DataBreakpointEvent(ICorDebugProcess* pProcess, ICorDebugThread* pThread) :
+            ManagedEvent()
+        {
+            this->m_pProcess.Assign(pProcess);
+            this->m_pThread.Assign(pThread);
+        }
+
+        HRESULT Dispatch(DispatchArgs args)
+        {
+            return args.GetCallback4()->DataBreakpoint(m_pProcess, m_pThread);
+        }
+    }; // end class AfterGarbageCollectionEvent
+
+    m_pShim->GetManagedEventQueue()->QueueEvent(new DataBreakpointEvent(pProcess, pThread));
+    return S_OK;
+}
+
+
 
index e54b1bd..a2d0ea6 100644 (file)
@@ -51,11 +51,12 @@ void * ManagedEvent::GetDebugCookie()
 //    We'll have a lot of derived classes of ManagedEvent, and so encapsulating the arguments
 //    for the Dispatch() function lets us juggle them around easily without hitting every signature.
 //---------------------------------------------------------------------------------------
-ManagedEvent::DispatchArgs::DispatchArgs(ICorDebugManagedCallback * pCallback1, ICorDebugManagedCallback2 * pCallback2, ICorDebugManagedCallback3 * pCallback3)
+ManagedEvent::DispatchArgs::DispatchArgs(ICorDebugManagedCallback * pCallback1, ICorDebugManagedCallback2 * pCallback2, ICorDebugManagedCallback3 * pCallback3, ICorDebugManagedCallback4 * pCallback4)
 {
     m_pCallback1 = pCallback1;
     m_pCallback2 = pCallback2;
     m_pCallback3 = pCallback3;
+    m_pCallback4 = pCallback4;
 }
 
 
@@ -77,6 +78,12 @@ ICorDebugManagedCallback3 * ManagedEvent::DispatchArgs::GetCallback3()
     return m_pCallback3;
 }
 
+// trivial accessor to get callback 4
+ICorDebugManagedCallback4 * ManagedEvent::DispatchArgs::GetCallback4()
+{
+    return m_pCallback4;
+}
+
 // Returns OS Thread Id that this event occurred on, 0 if no thread affinity.
 DWORD ManagedEvent::GetOSTid()
 {
index 9c83301..97cbeb7 100644 (file)
@@ -3,9 +3,9 @@
 // See the LICENSE file in the project root for more information.
 //*****************************************************************************
 // shimprivate.h
-// 
+//
 
-// 
+//
 // private header for RS shim which bridges from V2 to V3.
 //*****************************************************************************
 
@@ -58,13 +58,14 @@ typedef SHash<DuplicateCreationEventsHashTableTraits> DuplicateCreationEventsHas
 //
 // Callback that shim provides, which then queues up the events.
 //
-class ShimProxyCallback : 
+class ShimProxyCallback :
     public ICorDebugManagedCallback,
-    public ICorDebugManagedCallback2, 
-    public ICorDebugManagedCallback3
+    public ICorDebugManagedCallback2,
+    public ICorDebugManagedCallback3,
+    public ICorDebugManagedCallback4
 {
     ShimProcess * m_pShim; // weak reference
-    LONG m_cRef; 
+    LONG m_cRef;
 
 public:
     ShimProxyCallback(ShimProcess * pShim);
@@ -82,7 +83,7 @@ public:
     COM_METHOD Breakpoint( ICorDebugAppDomain *pAppDomain,
         ICorDebugThread *pThread,
         ICorDebugBreakpoint *pBreakpoint);
-    
+
     COM_METHOD StepComplete( ICorDebugAppDomain *pAppDomain,
         ICorDebugThread *pThread,
         ICorDebugStepper *pStepper,
@@ -142,7 +143,7 @@ public:
         ICorDebugAppDomain *pAppDomain);
 
     COM_METHOD ExitAppDomain(ICorDebugProcess *pProcess,
-        ICorDebugAppDomain *pAppDomain); 
+        ICorDebugAppDomain *pAppDomain);
 
     COM_METHOD LoadAssembly(ICorDebugAppDomain *pAppDomain,
         ICorDebugAssembly *pAssembly);
@@ -210,6 +211,18 @@ public:
     // Implementation of ICorDebugManagedCallback3::CustomNotification
     COM_METHOD CustomNotification(ICorDebugThread * pThread, ICorDebugAppDomain * pAppDomain);
 
+    ///
+    /// Implementation of ICorDebugManagedCallback4
+    ///
+
+    // Implementation of ICorDebugManagedCallback4::BeforeGarbageCollection
+    COM_METHOD ShimProxyCallback::BeforeGarbageCollection(ICorDebugProcess* pProcess);
+
+    // Implementation of ICorDebugManagedCallback4::AfterGarbageCollection
+    COM_METHOD ShimProxyCallback::AfterGarbageCollection(ICorDebugProcess* pProcess);
+
+    // Implementation of ICorDebugManagedCallback4::DataBreakpoint
+    COM_METHOD ShimProxyCallback::DataBreakpoint(ICorDebugProcess* pProcess, ICorDebugThread* pThread);
 };
 
 
@@ -233,17 +246,19 @@ public:
     class DispatchArgs
     {
     public:
-        DispatchArgs(ICorDebugManagedCallback * pCallback1, ICorDebugManagedCallback2 * pCallback2, ICorDebugManagedCallback3 * pCallback3);
+        DispatchArgs(ICorDebugManagedCallback * pCallback1, ICorDebugManagedCallback2 * pCallback2, ICorDebugManagedCallback3 * pCallback3, ICorDebugManagedCallback4 * pCallback4);
 
         ICorDebugManagedCallback * GetCallback1();
         ICorDebugManagedCallback2 * GetCallback2();
         ICorDebugManagedCallback3 * GetCallback3();
+        ICorDebugManagedCallback4 * GetCallback4();
 
 
     protected:
         ICorDebugManagedCallback * m_pCallback1;
         ICorDebugManagedCallback2 * m_pCallback2;
         ICorDebugManagedCallback3 * m_pCallback3;
+        ICorDebugManagedCallback4 * m_pCallback4;
     };
 
     // Returns: value of callback from end-user
@@ -259,7 +274,7 @@ protected:
 
     // Ctor for events without thread affinity.
     ManagedEvent();
-    
+
     friend class ManagedEventQueue;
     ManagedEvent * m_pNext;
 
@@ -276,9 +291,9 @@ class ManagedEventQueue
 public:
     ManagedEventQueue();
 
-    
+
     void Init(RSLock * pLock);
-    
+
     // Remove event from the top. Caller then takes ownership of Event and will call Delete on it.
     // Caller checks IsEmpty() first.
     ManagedEvent * Dequeue();
@@ -302,7 +317,7 @@ public:
     void RestoreSuspendedQueue();
 
 protected:
-    // The lock to be used for synchronizing all access to the queue 
+    // The lock to be used for synchronizing all access to the queue
     RSLock * m_pLock;
 
     // If empty,  First + Last are both NULL.
@@ -323,10 +338,10 @@ protected:
 class ShimProcess
 {
     // Delete via Ref count semantics.
-    ~ShimProcess();  
+    ~ShimProcess();
 public:
     // Initialize ref count is 0.
-    ShimProcess();    
+    ShimProcess();
 
     // Lifetime semantics handled by reference counting.
     void AddRef();
@@ -337,7 +352,7 @@ public:
 
     // Initialization phases.
     // 1. allocate new ShimProcess(). This lets us spin up a Win32 EventThread, which can then
-    //    be used to 
+    //    be used to
     // 2. Call ShimProcess::CreateProcess/DebugActiveProcess. This will call CreateAndStartWin32ET to
     //     craete the w32et.
     // 3. Create OS-debugging pipeline. This establishes the physical OS process and gets us a pid/handle
@@ -379,7 +394,7 @@ public:
 
     //
     // Functions used by CordbProcess
-    // 
+    //
 
     // Determine if the calling thread is the win32 event thread.
     bool IsWin32EventThread();
@@ -391,7 +406,7 @@ public:
     // Accessor wrapper to mark whether we're interop-debugging.
     void SetIsInteropDebugging(bool fIsInteropDebugging);
 
-    // Handle a debug event. 
+    // Handle a debug event.
     HRESULT HandleWin32DebugEvent(const DEBUG_EVENT * pEvent);
 
     ManagedEventQueue * GetManagedEventQueue();
@@ -423,18 +438,18 @@ public:
     // Expose m_attached to CordbProcess.
     bool GetAttached();
 
-    // We need to know whether we are in the CreateProcess callback to be able to 
-    // return the v2.0 hresults from code:CordbProcess::SetDesiredNGENCompilerFlags 
+    // We need to know whether we are in the CreateProcess callback to be able to
+    // return the v2.0 hresults from code:CordbProcess::SetDesiredNGENCompilerFlags
     // when we are using the shim.
-    // 
+    //
     // Expose m_fInCreateProcess
     bool GetInCreateProcess();
     void SetInCreateProcess(bool value);
 
-    // We need to know whether we are in the FakeLoadModule callback to be able to 
+    // We need to know whether we are in the FakeLoadModule callback to be able to
     // return the v2.0 hresults from code:CordbModule::SetJITCompilerFlags when
     // we are using the shim.
-    // 
+    //
     // Expose m_fInLoadModule
     bool GetInLoadModule();
     void SetInLoadModule(bool value);
@@ -460,7 +475,7 @@ public:
     // Clear all ShimStackWalks and flush all the caches.
     void            ClearAllShimStackWalk();
 
-    // Get the corresponding ICDProcess object. 
+    // Get the corresponding ICDProcess object.
     ICorDebugProcess * GetProcess();
 
     // Get the data target to access the debuggee.
@@ -478,7 +493,7 @@ public:
     void PreDispatchEvent(bool fRealCreateProcessEvent = false);
 
     // Look for a CLR in the process and if found, return it's instance ID
-    HRESULT FindLoadedCLR(CORDB_ADDRESS * pClrInstanceId);    
+    HRESULT FindLoadedCLR(CORDB_ADDRESS * pClrInstanceId);
 
     // Retrieve the IP address and the port number of the debugger proxy.
     MachineInfo GetMachineInfo();
@@ -486,7 +501,7 @@ public:
     // Add an entry in the duplicate creation event hash table for the specified key.
     void AddDuplicateCreationEvent(void * pKey);
 
-    // Check if a duplicate creation event entry exists for the specified key.  If so, remove it.  
+    // Check if a duplicate creation event entry exists for the specified key.  If so, remove it.
     bool RemoveDuplicateCreationEventIfPresent(void * pKey);
 
     void SetMarkAttachPendingEvent();
@@ -506,13 +521,13 @@ protected:
     HRESULT CreateAndStartWin32ET(Cordb * pCordb);
 
     //
-    // Synchronization events to ensure that AttachPending bit is marked before DebugActiveProcess 
+    // Synchronization events to ensure that AttachPending bit is marked before DebugActiveProcess
     // returns or debugger is detaching
-    // 
+    //
     HANDLE  m_markAttachPendingEvent;
     HANDLE  m_terminatingEvent;
 
-    // Finds the base address of [core]clr.dll 
+    // Finds the base address of [core]clr.dll
     CORDB_ADDRESS GetCLRInstanceBaseAddress();
 
     //
@@ -520,12 +535,12 @@ protected:
     //
 
     // Shim maintains event queue to emulate V2 semantics.
-    // In V2, IcorDebug internally queued debug events and dispatched them 
-    // once the debuggee was synchronized. In V3, ICorDebug dispatches events immediately. 
+    // In V2, IcorDebug internally queued debug events and dispatched them
+    // once the debuggee was synchronized. In V3, ICorDebug dispatches events immediately.
     // The event queue is moved into the shim to build V2 semantics of V3 behavior.
     ManagedEventQueue m_eventQueue;
-    
-    // Lock to protect Shim data structures. This is currently a small lock that 
+
+    // Lock to protect Shim data structures. This is currently a small lock that
     // protects leaf-level structures, but it may grow to protect larger things.
     RSLock m_ShimLock;
 
@@ -550,21 +565,21 @@ protected:
 
     // True iff we are in the shim's CreateProcess callback. This is used to determine which hresult to
     // return from code:CordbProcess::SetDesiredNGENCompilerFlags so we correctly emulate the behavior of v2.0.
-    // This is set at the beginning of the callback and cleared in code:CordbProcess::ContinueInternal. 
+    // This is set at the beginning of the callback and cleared in code:CordbProcess::ContinueInternal.
     bool m_fInCreateProcess;
 
     // True iff we are in the shim's FakeLoadModule callback. This is used to determine which hresult to
     // return from code:CordbModule::SetJITCompilerFlags so we correctly emulate the behavior of v2.0.
-    // This is set at the beginning of the callback and cleared in code:CordbProcess::ContinueInternal. 
+    // This is set at the beginning of the callback and cleared in code:CordbProcess::ContinueInternal.
     bool m_fInLoadModule;
     //
     // Data
     //
 
-    // Pointer to CordbProcess. 
+    // Pointer to CordbProcess.
     // @dbgtodo shim: We'd like this to eventually go through public interfaces (ICorDebugProcess)
     IProcessShimHooks * m_pProcess; // Reference is kept by m_pIProcess;
-    RSExtSmartPtr<ICorDebugProcess> m_pIProcess; 
+    RSExtSmartPtr<ICorDebugProcess> m_pIProcess;
 
     // Win32EvenThread, which is the thread that uses the native debug API.
     CordbWin32EventThread * m_pWin32EventThread;
@@ -595,10 +610,10 @@ protected:
     void DefaultEventHandler(const DEBUG_EVENT * pEvent, DWORD * pdwContinueStatus);
 
     // Given a debug event, track the file handles.
-    void TrackFileHandleForDebugEvent(const DEBUG_EVENT * pEvent);   
+    void TrackFileHandleForDebugEvent(const DEBUG_EVENT * pEvent);
 
     // Have we gotten the loader breakpoint yet?
-    // A Debugger needs to do special work to skip the loader breakpoint, 
+    // A Debugger needs to do special work to skip the loader breakpoint,
     // and that's also when it should dispatch the faked managed attach events.
     bool m_loaderBPReceived;
 
@@ -607,7 +622,7 @@ protected:
 
     // Real worker to update ContinueStatusChangedData
     HRESULT ContinueStatusChangedWorker(DWORD dwThreadId, CORDB_CONTINUE_STATUS dwContinueStatus);
-    
+
     struct ContinueStatusChangedData
     {
         void Clear();
@@ -631,8 +646,8 @@ protected:
 
 //---------------------------------------------------------------------------------------
 //
-// This is the container class of ShimChains, ICorDebugFrames, ShimChainEnums, and ShimFrameEnums.   
-// It has a 1:1 relationship  with ICorDebugThreads.  Upon creation, this class walks the entire stack and 
+// This is the container class of ShimChains, ICorDebugFrames, ShimChainEnums, and ShimFrameEnums.
+// It has a 1:1 relationship  with ICorDebugThreads.  Upon creation, this class walks the entire stack and
 // caches all the stack frames and chains.  The enumerators are created on demand.
 //
 
@@ -684,7 +699,7 @@ private:
     //
     // This is a helper class used to store the information of a chain during a stackwalk.  A chain is marked
     // by the CONTEXT on the leaf boundary and a FramePointer on the root boundary.  Also, notice that we
-    // are keeping two CONTEXTs.  This is because some chain types may cancel a previous unmanaged chain.  
+    // are keeping two CONTEXTs.  This is because some chain types may cancel a previous unmanaged chain.
     // For example, a CHAIN_FUNC_EVAL chain cancels any CHAIN_ENTER_UNMANAGED chain immediately preceding
     // it.  In this case, the leaf boundary of the CHAIN_FUNC_EVAL chain is marked by the CONTEXT of the
     // previous CHAIN_ENTER_MANAGED, not the previous CHAIN_ENTER_UNMANAGED.
@@ -737,7 +752,7 @@ private:
         // Check whether we are skipping frames because of a child frame.
         BOOL IsSkippingFrame();
 
-        // Indicates whether we are dealing with a converted frame.  
+        // Indicates whether we are dealing with a converted frame.
         // See code:CordbThread::ConvertFrameForILMethodWithoutMetadata.
         BOOL HasConvertedFrame();
 
@@ -748,7 +763,7 @@ private:
         // Store the converted frame, if any.
         RSExtSmartPtr<ICorDebugInternalFrame2> m_pConvertedInternalFrame2;
 
-        // Store the array of internal frames.  This is an array of RSExtSmartPtrs, and so each element 
+        // Store the array of internal frames.  This is an array of RSExtSmartPtrs, and so each element
         // is protected, and we only need to call Clear() to release each element and free all the memory.
         RSExtPtrArray<ICorDebugInternalFrame2> m_ppInternalFrame2;
 
@@ -763,10 +778,10 @@ private:
         bool m_fExhaustedAllStackFrames;
 
         // Indicate whether we are processing an internal frame or a stack frame.
-        bool m_fProcessingInternalFrame;    
+        bool m_fProcessingInternalFrame;
 
-        // Indicate whether we should skip the current chain because it's a chain derived from a leaf frame 
-        // of type TYPE_INTERNAL.  This is the behaviour in V2.  
+        // Indicate whether we should skip the current chain because it's a chain derived from a leaf frame
+        // of type TYPE_INTERNAL.  This is the behaviour in V2.
         // See code:DebuggerWalkStackProc.
         bool m_fSkipChain;
 
@@ -829,7 +844,7 @@ private:
     BOOL IsILFrameWithoutMetadata(ICorDebugFrame * pFrame);
 
     CDynArray<ShimChain *>      m_stackChains;  // growable ordered array of chains and frames
-    CDynArray<ICorDebugFrame *> m_stackFrames; 
+    CDynArray<ICorDebugFrame *> m_stackFrames;
 
     ShimChainEnum * m_pChainEnumList;           // linked list of ShimChainEnum and ShimFrameEnum
     ShimFrameEnum * m_pFrameEnumList;
@@ -909,16 +924,16 @@ private:
     FramePointer        m_fpRoot;           // the root end of the chain
 
     ShimStackWalk *     m_pStackWalk;       // the owning ShimStackWalk
-    Volatile<ULONG>     m_refCount; 
+    Volatile<ULONG>     m_refCount;
 
     // The 0-based index of this chain in the ShimStackWalk's chain array (m_pStackWalk->m_stackChains).
     UINT32              m_chainIndex;
 
-    // The 0-based index of the first frame owned by this chain in the ShimStackWalk's frame array 
+    // The 0-based index of the first frame owned by this chain in the ShimStackWalk's frame array
     // (m_pStackWalk->m_stackFrames).  See code::ShimChain::GetFirstFrameIndex().
     UINT32              m_frameStartIndex;
 
-    // The 0-based index of the last frame owned by this chain in the ShimStackWalk's frame array 
+    // The 0-based index of the last frame owned by this chain in the ShimStackWalk's frame array
     // (m_pStackWalk->m_stackFrames).  This index is exlusive.  See code::ShimChain::GetLastFrameIndex().
     UINT32              m_frameEndIndex;
 
@@ -969,7 +984,7 @@ public:
 
     //
     // accessors
-    // 
+    //
 
     // used to link ShimChainEnums in a list
     ShimChainEnum * GetNext();
@@ -985,7 +1000,7 @@ private:
     UINT32          m_currentChainIndex;    // the index of the current ShimChain being enumerated
     Volatile<ULONG> m_refCount;
     BOOL            m_fIsNeutered;
-    
+
     RSLock *        m_pShimLock;            // shim lock from ShimProcess to protect neuteredness checks
 };
 
@@ -1029,7 +1044,7 @@ public:
 
     //
     // accessors
-    // 
+    //
 
     // used to link ShimChainEnums in a list
     ShimFrameEnum * GetNext();
index 9d45037..8cefc3b 100644 (file)
@@ -2585,7 +2585,6 @@ DPOSS_ACTION DebuggerController::ScanForTriggers(CORDB_ADDRESS_TYPE *address,
         PRECONDITION(CheckPointer(context));
         PRECONDITION(CheckPointer(pDcq));
         PRECONDITION(CheckPointer(pTpr));
-
     }
     CONTRACTL_END;
 
@@ -2726,6 +2725,16 @@ DPOSS_ACTION DebuggerController::ScanForTriggers(CORDB_ADDRESS_TYPE *address,
         }
     }
 
+#ifdef FEATURE_DATABREAKPOINT
+    if (stWhat & ST_SINGLE_STEP &&
+        tpr != TPR_TRIGGER_ONLY_THIS && 
+        DebuggerDataBreakpoint::TriggerDataBreakpoint(thread, context))
+    {
+        DebuggerDataBreakpoint *pDataBreakpoint = new (interopsafe) DebuggerDataBreakpoint(thread);
+        pDcq->dcqEnqueue(pDataBreakpoint, FALSE);
+    }
+#endif
+
     if (stWhat & ST_SINGLE_STEP &&
         tpr != TPR_TRIGGER_ONLY_THIS)
     {
@@ -7381,7 +7390,7 @@ void DebuggerStepper::TriggerMethodEnter(Thread * thread,
 // We never single-step into calls (we place a patch at the call destination).
 bool DebuggerStepper::TriggerSingleStep(Thread *thread, const BYTE *ip)
 {
-    LOG((LF_CORDB,LL_INFO10000,"DS:TSS this:0x%x, @ ip:0x%x\n", this, ip));
+    LOG((LF_CORDB,LL_INFO10000,"DS:TSS this:0x%p, @ ip:0x%p\n", this, ip));
 
     _ASSERTE(!IsFrozen());
 
@@ -7443,7 +7452,7 @@ bool DebuggerStepper::TriggerSingleStep(Thread *thread, const BYTE *ip)
 
     DisableAll();
 
-    LOG((LF_CORDB,LL_INFO10000, "DS::TSS m_fp:0x%x, activeFP:0x%x fpExc:0x%x\n",
+    LOG((LF_CORDB,LL_INFO10000, "DS::TSS m_fp:0x%p, activeFP:0x%p fpExc:0x%p\n",
         m_fp.GetSPValue(), info.m_activeFrame.fp.GetSPValue(), m_fpException.GetSPValue()));
 
     if (DetectHandleLCGMethods((PCODE)ip, fd, &info))
@@ -8566,6 +8575,22 @@ TP_RESULT DebuggerFuncEvalComplete::TriggerPatch(DebuggerControllerPatch *patch,
 
     // Restore the thread's context to what it was before we hijacked it for this func eval.
     CONTEXT *pCtx = GetManagedLiveCtx(thread);
+#ifdef FEATURE_DATABREAKPOINT
+#ifdef FEATURE_PAL    
+        #error Not supported
+#endif // FEATURE_PAL
+#if defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+    // If a data breakpoint is set while we hit a breakpoint inside a FuncEval, this will make sure the data breakpoint stays
+    m_pDE->m_context.Dr0 = pCtx->Dr0;
+    m_pDE->m_context.Dr1 = pCtx->Dr1;
+    m_pDE->m_context.Dr2 = pCtx->Dr2;
+    m_pDE->m_context.Dr3 = pCtx->Dr3;
+    m_pDE->m_context.Dr6 = pCtx->Dr6;
+    m_pDE->m_context.Dr7 = pCtx->Dr7;
+#else
+    #error Not supported
+#endif
+#endif
     CORDbgCopyThreadContext(reinterpret_cast<DT_CONTEXT *>(pCtx), 
                             reinterpret_cast<DT_CONTEXT *>(&(m_pDE->m_context)));
 
@@ -8957,4 +8982,55 @@ bool DebuggerContinuableExceptionBreakpoint::SendEvent(Thread *thread, bool fIpC
 
     return true;
 }
+
+#ifdef FEATURE_DATABREAKPOINT
+
+/* static */ bool DebuggerDataBreakpoint::TriggerDataBreakpoint(Thread *thread, CONTEXT * pContext)
+{
+    LOG((LF_CORDB, LL_INFO10000, "D::DDBP: Doing TriggerDataBreakpoint...\n"));
+
+    bool hitDataBp = false;
+    bool result = false;
+#ifdef FEATURE_PAL    
+    #error Not supported
+#endif // FEATURE_PAL    
+#if defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+    PDR6 pdr6 = (PDR6)&(pContext->Dr6);
+
+    if (pdr6->B0 || pdr6->B1 || pdr6->B2 || pdr6->B3)
+    {
+        hitDataBp = true;
+    }
+#else // defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+    #error Not supported
+#endif // defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+    if (hitDataBp)
+    {
+        CONTEXT contextToAdjust;
+        bool adjustedContext = false;
+        memcpy(&contextToAdjust, pContext, sizeof(CONTEXT));
+        adjustedContext = g_pEEInterface->AdjustContextForWriteBarrierForDebugger(&contextToAdjust);        
+        if (adjustedContext)
+        {
+            LOG((LF_CORDB, LL_INFO10000, "D::DDBP: HIT DATA BREAKPOINT INSIDE WRITE BARRIER...\n"));
+            DebuggerDataBreakpoint *pDataBreakpoint = new (interopsafe) DebuggerDataBreakpoint(thread);
+            pDataBreakpoint->AddAndActivateNativePatchForAddress((CORDB_ADDRESS_TYPE*)GetIP(&contextToAdjust), FramePointer::MakeFramePointer(GetFP(&contextToAdjust)), true, DPT_DEFAULT_TRACE_TYPE);
+            result = false;
+        }
+        else
+        {
+            LOG((LF_CORDB, LL_INFO10000, "D::DDBP: HIT DATA BREAKPOINT...\n"));
+            result = true;
+        }
+    }
+    else
+    {
+        LOG((LF_CORDB, LL_INFO10000, "D::DDBP: DIDN'T TRIGGER DATA BREAKPOINT...\n"));
+        result = false;
+    }
+    return result;
+}
+
+#endif // FEATURE_DATABREAKPOINT
+
 #endif // !DACCESS_COMPILE
index 16dd177..1e002bc 100644 (file)
@@ -31,6 +31,45 @@ struct DebuggerControllerPatch;
 class DebuggerUserBreakpoint;
 class ControllerStackInfo;
 
+typedef struct _DR6 *PDR6;
+typedef struct _DR6 {
+    DWORD       B0 : 1;
+    DWORD       B1 : 1;
+    DWORD       B2 : 1;
+    DWORD       B3 : 1;
+    DWORD       Pad1 : 9;
+    DWORD       BD : 1;
+    DWORD       BS : 1;
+    DWORD       BT : 1;
+} DR6;
+
+typedef struct _DR7 *PDR7;
+typedef struct _DR7 {
+    DWORD       L0 : 1;
+    DWORD       G0 : 1;
+    DWORD       L1 : 1;
+    DWORD       G1 : 1;
+    DWORD       L2 : 1;
+    DWORD       G2 : 1;
+    DWORD       L3 : 1;
+    DWORD       G3 : 1;
+    DWORD       LE : 1;
+    DWORD       GE : 1;
+    DWORD       Pad1 : 3;
+    DWORD       GD : 1;
+    DWORD       Pad2 : 1;
+    DWORD       Pad3 : 1;
+    DWORD       Rwe0 : 2;
+    DWORD       Len0 : 2;
+    DWORD       Rwe1 : 2;
+    DWORD       Len1 : 2;
+    DWORD       Rwe2 : 2;
+    DWORD       Len2 : 2;
+    DWORD       Rwe3 : 2;
+    DWORD       Len3 : 2;
+} DR7;
+
+
 // Ticket for ensuring that it's safe to get a stack trace.
 class StackTraceTicket
 {
@@ -864,6 +903,7 @@ enum DEBUGGER_CONTROLLER_TYPE
                                           // send that they've hit a user breakpoint to the Right Side.
     DEBUGGER_CONTROLLER_JMC_STEPPER,      // Stepper that only stops in JMC-functions.
     DEBUGGER_CONTROLLER_CONTINUABLE_EXCEPTION,
+    DEBUGGER_CONTROLLER_DATA_BREAKPOINT,
     DEBUGGER_CONTROLLER_STATIC,
 };
 
@@ -1346,7 +1386,7 @@ public:
     // the bp. So we pass in an extra flag, fInteruptedBySetIp,  to let the controller decide how to handle this.
     // Since SetIP only works within a single function, this can only be an issue if a thread's current stopping
     // location and the patch it set are in the same function. (So this could happen for step-over, but never
-    // setp-out). 
+    // step-out). 
     // This flag will almost always be false.
     // 
     // Once we actually send the event, we're under the debugger lock, and so the world is stable underneath us.
@@ -1731,6 +1771,72 @@ private:
     bool SendEvent(Thread *thread, bool fInteruptedBySetIp);
 };
 
+#ifdef FEATURE_DATABREAKPOINT
+
+class DebuggerDataBreakpoint : public DebuggerController
+{
+private:
+    CONTEXT m_context;
+public:
+    DebuggerDataBreakpoint(Thread* pThread) : DebuggerController(pThread, NULL)
+    {
+        LOG((LF_CORDB, LL_INFO10000, "D:DDBP: Data Breakpoint event created\n"));
+        memcpy(&m_context, g_pEEInterface->GetThreadFilterContext(pThread), sizeof(CONTEXT));
+    }
+    
+    virtual DEBUGGER_CONTROLLER_TYPE GetDCType(void)
+    {
+        return DEBUGGER_CONTROLLER_DATA_BREAKPOINT;
+    }
+
+    virtual TP_RESULT TriggerPatch(DebuggerControllerPatch *patch,
+                              Thread *thread, 
+                              TRIGGER_WHY tyWhy)
+    {
+#ifdef FEATURE_PAL    
+        #error Not supported
+#endif // FEATURE_PAL
+#if defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+        CONTEXT *context = g_pEEInterface->GetThreadFilterContext(thread);
+        context->Dr0 = this->m_context.Dr0;
+        context->Dr1 = this->m_context.Dr1;
+        context->Dr2 = this->m_context.Dr2;
+        context->Dr3 = this->m_context.Dr3;
+        context->Dr6 = this->m_context.Dr6;
+        context->Dr7 = this->m_context.Dr7;
+#else // defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+        #error Not supported
+#endif // defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+        return TPR_TRIGGER;
+    }
+
+    bool SendEvent(Thread *thread, bool fInteruptedBySetIp)
+    {
+        CONTRACTL
+        {
+            SO_NOT_MAINLINE;
+            NOTHROW;
+            SENDEVENT_CONTRACT_ITEMS;
+        }
+        CONTRACTL_END;
+
+        LOG((LF_CORDB, LL_INFO10000, "DDBP::SE: in DebuggerDataBreakpoint's SendEvent\n"));
+
+        CONTEXT *context = g_pEEInterface->GetThreadFilterContext(thread);
+
+        g_pDebugger->SendDataBreakpoint(thread, context, this);
+
+        Delete();
+
+        return true;
+    }
+
+    static bool TriggerDataBreakpoint(Thread *thread, CONTEXT * pContext);
+};
+
+#endif // FEATURE_DATABREAKPOINT
+
+
 /* ------------------------------------------------------------------------- *
  * DebuggerUserBreakpoint routines.  UserBreakpoints are used 
  * by Runtime threads to send that they've hit a user breakpoint to the 
@@ -1801,6 +1907,7 @@ private:
     bool SendEvent(Thread *thread, bool fInteruptedBySetIp);
 };
 
+
 #ifdef EnC_SUPPORTED
 //---------------------------------------------------------------------------------------
 //
index a2148b7..8f8b664 100644 (file)
@@ -63,7 +63,7 @@ GPTR_IMPL(Debugger,         g_pDebugger);
 GPTR_IMPL(EEDebugInterface, g_pEEInterface);
 SVAL_IMPL_INIT(BOOL, Debugger, s_fCanChangeNgenFlags, TRUE);
 
-// This is a public export so debuggers can read and determine if the coreclr 
+// This is a public export so debuggers can read and determine if the coreclr
 // process is waiting for JIT debugging attach.
 GVAL_IMPL_INIT(ULONG, CLRJitAttachState, 0);
 
@@ -195,7 +195,7 @@ void DoCompileTimeCheckOnDbgIpcEventTypes()
 //-----------------------------------------------------------------------------
 // Ctor for AtSafePlaceHolder
 AtSafePlaceHolder::AtSafePlaceHolder(Thread * pThread)
-{   
+{
     _ASSERTE(pThread != NULL);
     if (!g_pDebugger->IsThreadAtSafePlace(pThread))
     {
@@ -223,7 +223,7 @@ bool AtSafePlaceHolder::IsAtUnsafePlace()
 }
 
 //-----------------------------------------------------------------------------
-// Clear the holder. 
+// Clear the holder.
 // Notes:
 //    This can be called multiple times.
 //    Calling this makes the dtor a nop.
@@ -317,7 +317,7 @@ HelperCanary * Debugger::GetCanary()
 {
     return g_pRCThread->GetCanary();
 }
-    
+
 // IMPORTANT!!!!!
 // Do not call Lock and Unlock directly. Because you might not unlock
 // if exception takes place. Use DebuggerLockHolder instead!!!
@@ -472,15 +472,15 @@ void Debugger::DoNotCallDirectlyPrivateUnlock(void)
 // ---------------------------------------------------------------------------------
 
 // Send an event to the RS to signal that it should test to determine if a crst is held.
-// This is for testing purposes only. 
+// This is for testing purposes only.
 // Arguments:
 //     input:  pCrst     - the lock to test
 //             fOkToTake - true iff the LS does NOT currently hold the lock
-//     output: none 
+//     output: none
 // Notes: The RS will throw if the lock is held. The code that tests the lock will catch the
-//        exception and assert if throwing was not the correct thing to do (determined via the 
+//        exception and assert if throwing was not the correct thing to do (determined via the
 //        boolean). See the case for DB_IPCE_TEST_CRST in code:CordbProcess::RawDispatchEvent.
-// 
+//
 void DataTest::SendDbgCrstEvent(Crst * pCrst, bool fOkToTake)
 {
     DebuggerIPCEvent * pLockEvent = g_pDebugger->m_pRCThread->GetIPCEventSendBuffer();
@@ -495,15 +495,15 @@ void DataTest::SendDbgCrstEvent(Crst * pCrst, bool fOkToTake)
 } // DataTest::SendDbgCrstEvent
 
 // Send an event to the RS to signal that it should test to determine if a SimpleRWLock is held.
-// This is for testing purposes only. 
+// This is for testing purposes only.
 // Arguments:
 //     input:  pRWLock   - the lock to test
 //             fOkToTake - true iff the LS does NOT currently hold the lock
-//     output: none 
+//     output: none
 // Note:  The RS will throw if the lock is held. The code that tests the lock will catch the
-//        exception and assert if throwing was not the correct thing to do (determined via the 
+//        exception and assert if throwing was not the correct thing to do (determined via the
 //        boolean). See the case for DB_IPCE_TEST_RWLOCK in code:CordbProcess::RawDispatchEvent.
-// 
+//
 void DataTest::SendDbgRWLockEvent(SimpleRWLock * pRWLock, bool okToTake)
 {
     DebuggerIPCEvent * pLockEvent = g_pDebugger->m_pRCThread->GetIPCEventSendBuffer();
@@ -516,17 +516,17 @@ void DataTest::SendDbgRWLockEvent(SimpleRWLock * pRWLock, bool okToTake)
     g_pDebugger->SendRawEvent(pLockEvent);
 } // DataTest::SendDbgRWLockEvent
 
-// Takes a series of locks in various ways and signals the RS to test the locks at interesting 
-// points to ensure we reliably detect when the LS holds a lock. If in the course of inspection, the 
-// DAC needs to execute a code path where the LS holds a lock, we assume that the locked data is in 
+// Takes a series of locks in various ways and signals the RS to test the locks at interesting
+// points to ensure we reliably detect when the LS holds a lock. If in the course of inspection, the
+// DAC needs to execute a code path where the LS holds a lock, we assume that the locked data is in
 // an inconsistent state. In this situation, we don't want to report information about this data, so
-// we throw an exception. 
-// This is for testing purposes only. 
-// 
+// we throw an exception.
+// This is for testing purposes only.
+//
 // Arguments: none
 // Return Value: none
 // Notes: See code:CordbProcess::RawDispatchEvent for the RS part of this test and code:Debugger::Startup
-//        for the LS invocation of the test. 
+//        for the LS invocation of the test.
 //        The environment variable TestDataConsistency must be set to 1 to make this test run.
 void DataTest::TestDataSafety()
 {
@@ -951,7 +951,10 @@ Debugger::Debugger()
     m_pIDbgThreadControl(NULL),
     m_forceNonInterceptable(FALSE),
     m_pLazyData(NULL),
-    m_defines(_defines)
+    m_defines(_defines),
+    m_isBlockedOnGarbageCollectionEvent(FALSE),
+    m_isGarbageCollectionEventsEnabled(FALSE),
+    m_isGarbageCollectionEventsEnabledLatch(FALSE)
 {
     CONTRACTL
     {
@@ -981,7 +984,7 @@ Debugger::Debugger()
     // Metadata data structure version numbers
     //
     // 1 - initial state of the layouts ( .Net 4.5.2 )
-    // 
+    //
     // as data structure layouts change, add a new version number
     // and comment the changes
     m_mdDataStructureVersion = 1;
@@ -1003,7 +1006,7 @@ Debugger::~Debugger()
     CONTRACTL_END;
 
     // We explicitly leak the debugger object on shutdown. See Debugger::StopDebugger for details.
-    _ASSERTE(!"Debugger dtor should not be called.");   
+    _ASSERTE(!"Debugger dtor should not be called.");
 }
 
 #if defined(FEATURE_HIJACK) && !defined(PLATFORM_UNIX)
@@ -1018,7 +1021,7 @@ inline MemoryRange GetMemoryRangeForFunction(PFN_HIJACK_FUNCTION pfnStart, PFN_H
 }
 
 // static
-MemoryRange Debugger::s_hijackFunction[kMaxHijackFunctions] = 
+MemoryRange Debugger::s_hijackFunction[kMaxHijackFunctions] =
     {GetMemoryRangeForFunction(ExceptionHijack, ExceptionHijackEnd),
      GetMemoryRangeForFunction(RedirectedHandledJITCaseForGCThreadControl_Stub,
                                RedirectedHandledJITCaseForGCThreadControl_StubEnd),
@@ -1034,7 +1037,7 @@ MemoryRange Debugger::s_hijackFunction[kMaxHijackFunctions] =
     };
 #endif // FEATURE_HIJACK && !PLATFORM_UNIX
 
-// Save the necessary information for the debugger to recognize an IP in one of the thread redirection 
+// Save the necessary information for the debugger to recognize an IP in one of the thread redirection
 // functions.
 void Debugger::InitializeHijackFunctionAddress()
 {
@@ -1385,7 +1388,7 @@ ULONG DebuggerMethodInfoTable::CheckDmiTable(void)
 
 //---------------------------------------------------------------------------------------
 //
-// Class constructor for DebuggerEval.  This is the supporting data structure for 
+// Class constructor for DebuggerEval.  This is the supporting data structure for
 // func-eval tracking.
 //
 // Arguments:
@@ -1413,8 +1416,8 @@ DebuggerEval::DebuggerEval(CONTEXT * pContext, DebuggerIPCE_FuncEvalInfo * pEval
     m_classToken = pEvalInfo->funcClassMetadataToken;
 
     // Note: we can't rely on just the DebuggerModule* or AppDomain* because the AppDomain
-    // could get unloaded between now and when the funceval actually starts.  So we stash an 
-    // AppDomain ID which is safe to use after the AD is unloaded.  It's only safe to 
+    // could get unloaded between now and when the funceval actually starts.  So we stash an
+    // AppDomain ID which is safe to use after the AD is unloaded.  It's only safe to
     // use the DebuggerModule* after we've verified the ADID is still valid (i.e. by entering that domain).
     m_debuggerModule = g_pDebugger->LookupOrCreateModule(pEvalInfo->vmDomainFile);
 
@@ -1422,7 +1425,7 @@ DebuggerEval::DebuggerEval(CONTEXT * pContext, DebuggerIPCE_FuncEvalInfo * pEval
     {
         // We have no associated code.
         _ASSERTE((m_evalType == DB_IPCE_FET_NEW_STRING) || (m_evalType == DB_IPCE_FET_NEW_ARRAY));
-        
+
         // We'll just do the creation in whatever domain the thread is already in.
         // It's conceivable that we might want to allow the caller to specify a specific domain, but
         // ICorDebug provides the debugger with no was to specify the domain.
@@ -1508,7 +1511,7 @@ DebuggerEval::DebuggerEval(CONTEXT * pContext, Thread * pThread, Thread::ThreadA
     m_rethrowAbortException = false;
     m_retValueBoxing = Debugger::NoValueTypeBoxing;
     m_requester = requester;
-    
+
     if (pContext == NULL)
     {
         memset(&m_context, 0, sizeof(m_context));
@@ -1668,7 +1671,7 @@ DebuggerHeap * Debugger::GetInteropSafeHeap_NoThrow()
         _ASSERTE(!"InteropSafe Heap should have already been initialized in LazyInit");
 
         // Just in case we miss it in retail, convert to OOM here:
-        return NULL;        
+        return NULL;
     }
     return &m_heap;
 }
@@ -1711,7 +1714,7 @@ DebuggerHeap * Debugger::GetInteropSafeExecutableHeap_NoThrow()
         _ASSERTE(!"InteropSafe Executable Heap should have already been initialized in LazyInit");
 
         // Just in case we miss it in retail, convert to OOM here:
-        return NULL;        
+        return NULL;
     }
     return &m_executableHeap;
 }
@@ -1725,14 +1728,14 @@ DebuggerHeap * Debugger::GetInteropSafeExecutableHeap_NoThrow()
 //    Called during startup path
 //
 // Notes:
-//    If no debugger is attached, this does nothing. 
+//    If no debugger is attached, this does nothing.
 //
 //---------------------------------------------------------------------------------------
 void Debugger::RaiseStartupNotification()
 {
     // Right-side will read this field from OOP via DAC-primitive to determine attach or launch case.
     // We do an interlocked increment to gaurantee this is an atomic memory write, and to ensure
-    // that it's flushed from any CPU cache into memory. 
+    // that it's flushed from any CPU cache into memory.
     InterlockedIncrement(&m_fLeftSideInitialized);
 
 #ifndef FEATURE_DBGIPC_TRANSPORT_VM
@@ -1740,7 +1743,7 @@ void Debugger::RaiseStartupNotification()
     // listening, and we will fail.  However, we still want to initialize the variable above.
     DebuggerIPCEvent startupEvent;
     InitIPCEvent(&startupEvent, DB_IPCE_LEFTSIDE_STARTUP, NULL, VMPTR_AppDomain::NullPtr());
-         
+
     SendRawEvent(&startupEvent);
 
     // RS will set flags from OOP while we're stopped at the event if it wants to attach.
@@ -1786,13 +1789,13 @@ void Debugger::SendRawEvent(const DebuggerIPCEvent * pManagedEvent)
     // We get to send an array of ULONG_PTRs as data with the notification.
     // The debugger can then use ReadProcessMemory to read through this array.
     ULONG_PTR rgData [] = {
-        CLRDBG_EXCEPTION_DATA_CHECKSUM, 
-        (ULONG_PTR) g_pMSCorEE, 
+        CLRDBG_EXCEPTION_DATA_CHECKSUM,
+        (ULONG_PTR) g_pMSCorEE,
         (ULONG_PTR) pManagedEvent
     };
 
     // If no debugger attached, then don't bother raising a 1st-chance exception because nobody will sniff it.
-    // @dbgtodo iDNA: in iDNA case, the recorder may sniff it. 
+    // @dbgtodo iDNA: in iDNA case, the recorder may sniff it.
     if (!IsDebuggerPresent())
     {
         return;
@@ -1808,14 +1811,14 @@ void Debugger::SendRawEvent(const DebuggerIPCEvent * pManagedEvent)
         const DWORD dwFlags = 0; // continuable (eg, Debugger can continue GH)
         RaiseException(CLRDBG_NOTIFICATION_EXCEPTION_CODE, dwFlags, NumItems(rgData), rgData);
 
-        // If debugger continues "GH" (DBG_CONTINUE), then we land here. 
+        // If debugger continues "GH" (DBG_CONTINUE), then we land here.
         // This is the expected path for a well-behaved ICorDebug debugger.
     }
     EX_CATCH
     {
         // If no debugger is attached, or if the debugger continues "GN" (DBG_EXCEPTION_NOT_HANDLED), then we land here.
         // A naive (not-ICorDebug aware) native-debugger won't handle the exception and so land us here.
-        // We may also get here if a debugger detaches at the Exception notification 
+        // We may also get here if a debugger detaches at the Exception notification
         // (and thus implicitly continues GN).
     }
     EX_END_CATCH(SwallowAllExceptions);
@@ -1833,25 +1836,25 @@ void Debugger::SendRawEvent(const DebuggerIPCEvent * pManagedEvent)
 //    This will start a synchronization.
 //
 // Notes:
-//    In V2, this also gives the RS a chance to intialize the IPC protocol.    
+//    In V2, this also gives the RS a chance to intialize the IPC protocol.
 //    Spefically, this needs to be sent before the LS can send a sync-complete.
 //---------------------------------------------------------------------------------------
 void Debugger::SendCreateProcess(DebuggerLockHolder * pDbgLockHolder)
 {
     pDbgLockHolder->Release();
-    
+
     // Encourage helper thread to spin up so that we're in a consistent state.
     PollWaitingForHelper();
 
-    // we don't need to use SENDIPCEVENT_BEGIN/END macros that perform the debug-suspend aware checks, 
+    // we don't need to use SENDIPCEVENT_BEGIN/END macros that perform the debug-suspend aware checks,
     // as this code executes on the startup path...
     SENDIPCEVENT_RAW_BEGIN(pDbgLockHolder);
 
-    // Send a CreateProcess event. 
+    // Send a CreateProcess event.
     // @dbgtodo  pipeline - eliminate these reasons for needing a CreateProcess event (part of pipeline feature crew)
     // This will let the RS know that the IPC block is up + ready, and then the RS can read it.
     // The RS will then update the DCB with enough information so that we can send the sync-complete.
-    // (such as letting us know whether we're interop-debugging or not).        
+    // (such as letting us know whether we're interop-debugging or not).
     DebuggerIPCEvent event;
     InitIPCEvent(&event, DB_IPCE_CREATE_PROCESS, NULL, VMPTR_AppDomain::NullPtr());
     SendRawEvent(&event);
@@ -1863,8 +1866,8 @@ void Debugger::SendCreateProcess(DebuggerLockHolder * pDbgLockHolder)
     TrapAllRuntimeThreads();
 
     // Must have a thread object so that we ensure that we will actually block here.
-    // This ensures the debuggee is actually stopped at startup, and 
-    // this gives the debugger a chance to call SetDesiredNGENFlags before we 
+    // This ensures the debuggee is actually stopped at startup, and
+    // this gives the debugger a chance to call SetDesiredNGENFlags before we
     // set s_fCanChangeNgenFlags to FALSE.
     _ASSERTE(GetThread() != NULL);
     SENDIPCEVENT_RAW_END;
@@ -1877,8 +1880,8 @@ void Debugger::SendCreateProcess(DebuggerLockHolder * pDbgLockHolder)
 HANDLE g_hContinueStartupEvent = INVALID_HANDLE_VALUE;
 
 CLR_ENGINE_METRICS g_CLREngineMetrics = {
-    sizeof(CLR_ENGINE_METRICS), 
-    CorDebugVersion_4_0, 
+    sizeof(CLR_ENGINE_METRICS),
+    CorDebugVersion_4_0,
     &g_hContinueStartupEvent};
 
 #define StartupNotifyEventNamePrefix W("TelestoStartupEvent_")
@@ -2025,7 +2028,7 @@ HRESULT Debugger::Startup(void)
         // Must be done before the RC thread is initialized.
         // @dbgtodo  - In V2, LS was lazily initialized; but was eagerly pre-initialized if launched by debugger.
         // (This was for perf reasons). But we don't want Launch vs. Attach checks in the LS, so we now always
-        // init. As we move more to OOP, this init will become cheaper.    
+        // init. As we move more to OOP, this init will become cheaper.
         {
             LazyInit();
             DebuggerController::Initialize();
@@ -2034,7 +2037,11 @@ HRESULT Debugger::Startup(void)
         InitializeHijackFunctionAddress();
 
         // Also initialize the AppDomainEnumerationIPCBlock
+    #if !defined(FEATURE_IPCMAN) || defined(FEATURE_DBGIPC_TRANSPORT_VM)
         m_pAppDomainCB = new (nothrow) AppDomainEnumerationIPCBlock();
+    #else
+        m_pAppDomainCB = g_pIPCManagerInterface->GetAppDomainBlock();
+    #endif
 
         if (m_pAppDomainCB == NULL)
         {
@@ -2045,7 +2052,7 @@ HRESULT Debugger::Startup(void)
         hr = InitAppDomainIPC();
         _ASSERTE(SUCCEEDED(hr)); // throws on error.
 
-        // Allows the debugger (and profiler) diagnostics to be disabled so resources like 
+        // Allows the debugger (and profiler) diagnostics to be disabled so resources like
         // the named pipes and semaphores are not created.
         if (CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_EnableDiagnostics) == 0)
         {
@@ -2097,7 +2104,7 @@ HRESULT Debugger::Startup(void)
         }
 
     #ifdef TEST_DATA_CONSISTENCY
-        // if we have set the environment variable TestDataConsistency, run the data consistency test. 
+        // if we have set the environment variable TestDataConsistency, run the data consistency test.
         // See code:DataTest::TestDataSafety for more information
         if ((g_pConfig != NULL) && (g_pConfig->TestDataConsistency() == true))
         {
@@ -2108,14 +2115,14 @@ HRESULT Debugger::Startup(void)
     }
 
 #ifdef FEATURE_PAL
-    // Signal the debugger (via dbgshim) and wait until it is ready for us to 
+    // Signal the debugger (via dbgshim) and wait until it is ready for us to
     // continue. This needs to be outside the lock and after the transport is
     // initialized.
     if (PAL_NotifyRuntimeStarted())
     {
         // The runtime was successfully launched and attached so mark it now
-        // so no notifications are missed especially the initial module load 
-        // which would cause debuggers problems with reliable setting breakpoints 
+        // so no notifications are missed especially the initial module load
+        // which would cause debuggers problems with reliable setting breakpoints
         // in startup code or Main.
        MarkDebuggerAttachedInternal();
     }
@@ -2135,7 +2142,7 @@ HRESULT Debugger::Startup(void)
 //    pThread - the current thread. Must be non-null
 //
 // Notes:
-//    Most debugger initialization is done in code:Debugger.Startup, 
+//    Most debugger initialization is done in code:Debugger.Startup,
 //    However, debugger can't block on synchronization without a Thread object,
 //    so sending IPC events must wait until after we have a thread object.
 //---------------------------------------------------------------------------------------
@@ -2193,7 +2200,7 @@ HRESULT Debugger::StartupPhase2(Thread * pThread)
             // Remove the env var from our process so that the debugger we spin up won't inherit it.
             // Else, if the debugger is managed, we'll have an infinite recursion.
             BOOL fOk = WszSetEnvironmentVariable(DBG_ATTACH_ON_STARTUP_ENV_VAR, NULL);
-            
+
             if (fOk)
             {
                 // We've already created the helper thread (which can service the attach request)
@@ -2229,7 +2236,7 @@ HRESULT Debugger::StartupPhase2(Thread * pThread)
 // controlled point in time. This is useful for those callers into the debugger (e.g.,
 // ETW rundown) that know they will need the lazy data initialized but cannot afford to
 // have it initialized unpredictably or inside a lock.
-// 
+//
 // This may be called more than once, and will know to initialize the lazy data only
 // once.
 //
@@ -2370,6 +2377,7 @@ DebuggerLazyInit::DebuggerLazyInit() :
     m_CtrlCMutex(NULL),
     m_exAttachEvent(NULL),
     m_exUnmanagedAttachEvent(NULL),
+    m_garbageCollectionBlockerEvent(NULL),
     m_DebuggerHandlingCtrlC(NULL)
 {
 }
@@ -2408,6 +2416,8 @@ void DebuggerLazyInit::Init()
     m_CtrlCMutex             = CreateWin32EventOrThrow(NULL, kAutoResetEvent, FALSE);
     m_DebuggerHandlingCtrlC  = FALSE;
 
+    m_garbageCollectionBlockerEvent = CreateEventW(NULL, TRUE, FALSE, NULL);
+
     // Let the helper thread lazy init stuff too.
     m_RCThread.Init();
 }
@@ -2445,6 +2455,11 @@ DebuggerLazyInit::~DebuggerLazyInit()
     {
         CloseHandle(m_exUnmanagedAttachEvent);
     }
+
+    if (m_garbageCollectionBlockerEvent != NULL)
+    {
+        CloseHandle(m_garbageCollectionBlockerEvent);
+    }
 }
 
 
@@ -2455,7 +2470,7 @@ DebuggerLazyInit::~DebuggerLazyInit()
 //
 // RequestFavor can be called in stack-overflow scenarios and thus explicitly
 // avoids any lazy initialization.
-// It blocks until the favor callback completes. 
+// It blocks until the favor callback completes.
 //
 // Parameters:
 //   fp    - a non-null Favour callback function
@@ -2463,7 +2478,7 @@ DebuggerLazyInit::~DebuggerLazyInit()
 //
 // Return values:
 //   S_OK if the function succeeds, else a failure HRESULT
-//   
+//
 
 HRESULT Debugger::RequestFavor(FAVORCALLBACK fp, void * pData)
 {
@@ -2475,12 +2490,12 @@ HRESULT Debugger::RequestFavor(FAVORCALLBACK fp, void * pData)
         PRECONDITION(fp != NULL);
     }
     CONTRACTL_END;
-    
-    if (m_pRCThread == NULL || 
+
+    if (m_pRCThread == NULL ||
         m_pRCThread->GetRCThreadId() == GetCurrentThreadId())
     {
         // Since favors are only used internally, we know that the helper should alway be up and ready
-        // to handle them. Also, since favors can be used in low-stack scenarios, there's not any 
+        // to handle them. Also, since favors can be used in low-stack scenarios, there's not any
         // extra initialization needed for them.
         _ASSERTE(!"Helper not initialized for favors.");
         return E_UNEXPECTED;
@@ -2519,8 +2534,8 @@ void Debugger::StopDebugger(void)
         GC_NOTRIGGER;
     }
     CONTRACTL_END;
-   
-    // Leak almost everything on process exit. The OS will clean it up anyways and trying to 
+
+    // Leak almost everything on process exit. The OS will clean it up anyways and trying to
     // clean it up ourselves is just one more place we may AV / deadlock.
 
 #if defined(FEATURE_DBGIPC_TRANSPORT_VM)
@@ -2537,12 +2552,12 @@ void Debugger::StopDebugger(void)
     TerminateAppDomainIPC ();
 
     //
-    // Tell the VM to clear out all references to the debugger before we start cleaning up, 
+    // Tell the VM to clear out all references to the debugger before we start cleaning up,
     // so that nothing will reference (accidentally) through the partially cleaned up debugger.
     //
-    // NOTE: we cannot clear out g_pDebugger before the delete call because the 
+    // NOTE: we cannot clear out g_pDebugger before the delete call because the
     // stuff in delete (particularly deleteinteropsafe) needs to look at it.
-    // 
+    //
     g_pEEInterface->ClearAllDebugInterfaceReferences();
     g_pDebugger = NULL;
 }
@@ -2798,7 +2813,7 @@ DebuggerJitInfo *Debugger::GetJitInfo(MethodDesc *fd, const BYTE *pbAddr, Debugg
     CONTRACTL_END;
 
     // Address should be non-null and in range of MethodDesc. This lets us tell which EnC version.
-    _ASSERTE(pbAddr != NULL); 
+    _ASSERTE(pbAddr != NULL);
 
     return GetJitInfoWorker(fd, pbAddr, pMethInfo);
 
@@ -3059,7 +3074,7 @@ HRESULT Debugger::GetILToNativeMapping(PCODE pNativeCodeStartAddress, ULONG32 cM
     return (S_OK);
 #else
     return E_NOTIMPL;
-#endif 
+#endif
 }
 
 
@@ -3106,10 +3121,10 @@ HRESULT Debugger::GetILToNativeMapping(PCODE pNativeCodeStartAddress, ULONG32 cM
 
 HRESULT Debugger::GetILToNativeMappingIntoArrays(
     MethodDesc * pMethodDesc,
-    PCODE pCode, 
-    USHORT cMapMax, 
+    PCODE pCode,
+    USHORT cMapMax,
     USHORT * pcMap,
-    UINT ** prguiILOffset, 
+    UINT ** prguiILOffset,
     UINT ** prguiNativeOffset)
 {
     CONTRACTL
@@ -3119,7 +3134,7 @@ HRESULT Debugger::GetILToNativeMappingIntoArrays(
         GC_NOTRIGGER;
     }
     CONTRACTL_END;
-    
+
     _ASSERTE(pcMap != NULL);
     _ASSERTE(prguiILOffset != NULL);
     _ASSERTE(prguiNativeOffset != NULL);
@@ -3298,7 +3313,7 @@ void Debugger::getBoundariesHelper(MethodDesc * md,
                     // instrumented IL map if one exists.
                     if (dmi->HasInstrumentedILMap())
                     {
-                        InstrumentedILOffsetMapping mapping = 
+                        InstrumentedILOffsetMapping mapping =
                             dmi->GetRuntimeModule()->GetInstrumentedILOffsetMapping(dmi->m_token);
 
                         for (SIZE_T i = 0; i < n; i++)
@@ -3540,8 +3555,8 @@ Exit:
 
 #ifndef DACCESS_COMPILE
 
-// If we have a varargs function, we can't set the IP (we don't know how to pack/unpack the arguments), so if we 
-// call SetIP with fCanSetIPOnly = true, we need to check for that. 
+// If we have a varargs function, we can't set the IP (we don't know how to pack/unpack the arguments), so if we
+// call SetIP with fCanSetIPOnly = true, we need to check for that.
 // Arguments:
 //     input:  nEntries      - number of entries in varNativeInfo
 //             varNativeInfo - array of entries describing the args and locals for the function
@@ -3556,7 +3571,7 @@ BOOL Debugger::IsVarArgsFunction(unsigned int nEntries, PTR_NativeVarInfo varNat
         }
     }
     return FALSE;
-}            
+}
 
 // We want to keep the 'worst' HRESULT - if one has failed (..._E_...) & the
 // other hasn't, take the failing one.  If they've both/neither failed, then
@@ -3854,7 +3869,7 @@ HRESULT Debugger::SetIP( bool fCanSetIPOnly, Thread *thread,Module *module,
         // have garbage left over in them, and we don't want the GC to try and dereference them
         // as object references.  However, we can't easily tell here which of the callee-saved regs
         // are used in this method and therefore safe to clear.
-        // 
+        //
 
         hr = ShuffleVariablesSet(dji,
                             offsetNatTo,
@@ -4127,7 +4142,7 @@ GetSetFrameHelper::GetSetFrameHelper() : m_pMD(NULL), m_rgSize(NULL), m_rgElemTy
 //
 // return value: S_OK or E_OUTOFMEMORY
 //
-HRESULT 
+HRESULT
 GetSetFrameHelper::Init(MethodDesc *pMD)
 {
     CONTRACTL
@@ -4139,16 +4154,16 @@ GetSetFrameHelper::Init(MethodDesc *pMD)
         PRECONDITION(CheckPointer(pMD));
     }
     CONTRACTL_END;
-    
+
     HRESULT hr = S_OK;
     COR_ILMETHOD* pILHeader = NULL;
     m_pMD = pMD;
     MetaSig *pLocSig = NULL;
     MetaSig *pArgSig = NULL;
-    
+
     m_rgSize = NULL;
     m_rgElemType = NULL;
-    
+
     // Initialize decoderOldIL before checking the method argument signature.
     EX_TRY
     {
@@ -4157,39 +4172,39 @@ GetSetFrameHelper::Init(MethodDesc *pMD)
     EX_CATCH_HRESULT(hr);
     if (FAILED(hr))
         return hr;
-    
+
     COR_ILMETHOD_DECODER decoderOldIL(pILHeader);
     mdSignature mdLocalSig = (decoderOldIL.GetLocalVarSigTok()) ? (decoderOldIL.GetLocalVarSigTok()):
                                                                   (mdSignatureNil);
-    
+
     PCCOR_SIGNATURE pCallSig;
     DWORD cbCallSigSize;
-    
+
     pMD->GetSig(&pCallSig, &cbCallSigSize);
-    
+
     if (pCallSig != NULL)
     {
         // Yes, we do need to pass in the text because this might be generic function!
         SigTypeContext tmpContext(pMD);
-        
+
         pArgSig = new (interopsafe, nothrow) MetaSig(pCallSig,
                                                      cbCallSigSize,
                                                      pMD->GetModule(),
                                                      &tmpContext,
                                                      MetaSig::sigMember);
-        
+
         if (pArgSig == NULL)
         {
             IfFailGo(E_OUTOFMEMORY);
         }
-        
+
         m_numArgs = pArgSig->NumFixedArgs();
-        
+
         if (pArgSig->HasThis())
         {
             m_numArgs++;
         }
-        
+
         // <TODO>
         // What should we do in this case?
         // </TODO>
@@ -4198,7 +4213,7 @@ GetSetFrameHelper::Init(MethodDesc *pMD)
             m_numArgs++;
         */
     }
-    
+
     // allocation of pArgSig succeeded
     ULONG cbSig;
     PCCOR_SIGNATURE pLocalSig;
@@ -4215,21 +4230,21 @@ GetSetFrameHelper::Init(MethodDesc *pMD)
                                                      pMD->GetModule(),
                                                      &tmpContext,
                                                      MetaSig::sigLocalVars);
-        
+
         if (pLocSig == NULL)
         {
             IfFailGo(E_OUTOFMEMORY);
         }
     }
-    
+
     // allocation of pLocalSig succeeded
     m_numTotalVars = m_numArgs + (pLocSig != NULL ? pLocSig->NumFixedArgs() : 0);
-    
+
     if (m_numTotalVars > 0)
     {
         m_rgSize     = new (interopsafe, nothrow) SIZE_T[m_numTotalVars];
         m_rgElemType = new (interopsafe, nothrow) CorElementType[m_numTotalVars];
-        
+
         if ((m_rgSize == NULL) || (m_rgElemType == NULL))
         {
             IfFailGo(E_OUTOFMEMORY);
@@ -4249,20 +4264,20 @@ GetSetFrameHelper::Init(MethodDesc *pMD)
                 {
                     pCur = pLocSig;
                 }
-                
+
                 // The "this" argument isn't stored in the signature, so we have to
                 // check for it manually.
                 if (i == 0 && pCur->HasThis())
                 {
                     _ASSERTE(pCur == pArgSig);
-                    
+
                     m_rgElemType[i] = ELEMENT_TYPE_CLASS;
                     m_rgSize[i]     = sizeof(SIZE_T);
                 }
                 else
                 {
                     m_rgElemType[i] = pCur->NextArg();
-                    
+
                     if (m_rgElemType[i] == ELEMENT_TYPE_VALUETYPE)
                     {
                         m_rgSize[i] = GetValueClassSize(pCur);
@@ -4271,39 +4286,39 @@ GetSetFrameHelper::Init(MethodDesc *pMD)
                     {
                         m_rgSize[i] = GetSetFrameHelper::GetSizeOfElement(m_rgElemType[i]);
                     }
-                    
+
                     LOG((LF_CORDB, LL_INFO10000, "GSFH::I: var 0x%x is of type %x, size:0x%x\n",
                          i, m_rgElemType[i], m_rgSize[i]));
                 }
             }
         } // allocation of m_rgSize and m_rgElemType succeeded
     }   // if there are variables to take care of
-    
+
 ErrExit:
     // clean up
     if (pArgSig != NULL)
     {
         DeleteInteropSafe(pArgSig);
     }
-    
+
     if (pLocSig != NULL)
     {
         DeleteInteropSafe(pLocSig);
     }
-    
+
     if (FAILED(hr))
     {
         if (m_rgSize != NULL)
         {
             DeleteInteropSafe(m_rgSize);
         }
-        
+
         if (m_rgElemType != NULL)
         {
             DeleteInteropSafe((int*)m_rgElemType);
         }
     }
-    
+
     return hr;
 } // GetSetFrameHelper::Init
 
@@ -4489,7 +4504,7 @@ bool GetSetFrameHelper::GetValueClassSizeOfVar(int varNum, ICorDebugInfo::VarLoc
 
         *pSize = sizeof(LPVOID);
         return false;
-    } 
+    }
 
     // This check is only safe after we make sure that varNum is not negative.
     if ((UINT)varNum >= m_numTotalVars)
@@ -4604,21 +4619,21 @@ HRESULT Debugger::GetVariablesFromOffset(MethodDesc  *pMD,
     for (UINT i = 0; i< varNativeInfoCount;i++)
     {
         // Ignore variables not live at offsetFrom
-        // 
+        //
         // #VarLife
-        // 
+        //
         // The condition below is a little strange. If a var is alive when this is true:
-        // 
+        //
         // startOffset <= offsetFrom < endOffset
-        // 
+        //
         // Then you'd expect the negated expression below to be:
-        // 
+        //
         // startOffset > offsetFrom || endOffset <= offsetFrom
-        // 
+        //
         // instead of what we're doing ("<" instead of "<="):
-        // 
+        //
         // startOffset > offsetFrom || endOffset < offsetFrom
-        // 
+        //
         // I'm not sure if the condition below is a mistake, or if it's intentionally
         // mirroring a workaround from FindNativeInfoInILVariableArray() (Debug\DI\module.cpp)
         // to deal with optimized code. So I'm leaving it alone for now. See
@@ -4767,7 +4782,7 @@ HRESULT Debugger::SetVariablesAtOffset(MethodDesc  *pMD,
     for (UINT i = 0;i< varNativeInfoCount;i++)
     {
         // Ignore variables not live at offsetTo
-        // 
+        //
         // If this IF condition looks wrong to you, see
         // code:Debugger::GetVariablesFromOffset#VarLife for more info
         if ((varNativeInfo[i].startOffset > offsetTo) ||
@@ -4854,7 +4869,7 @@ HRESULT Debugger::SetVariablesAtOffset(MethodDesc  *pMD,
     return hr;
 }
 
-BOOL IsDuplicatePatch(SIZE_T *rgEntries, 
+BOOL IsDuplicatePatch(SIZE_T *rgEntries,
                       ULONG cEntries,
                       SIZE_T Entry )
 {
@@ -5075,12 +5090,12 @@ HRESULT Debugger::MapAndBindFunctionPatches(DebuggerJitInfo *djiNew,
     LOG((LF_CORDB,LL_INFO10000, "D::MABFP: Unlocked patch table\n"));
 
 
-    // Now send any Breakpoint bind error events. 
+    // Now send any Breakpoint bind error events.
     if (listUnbindablePatches.Count() > 0)
     {
         LockAndSendBreakpointSetError(&listUnbindablePatches);
     }
-    
+
     return hr;
 }
 
@@ -5193,7 +5208,7 @@ HRESULT Debugger::MapPatchToDJI( DebuggerControllerPatch *dcp,DebuggerJitInfo *d
 //
 // SendSyncCompleteIPCEvent sends a Sync Complete event to the Right Side.
 //
-void Debugger::SendSyncCompleteIPCEvent()
+void Debugger::SendSyncCompleteIPCEvent(bool isEESuspendedForGC)
 {
     CONTRACTL
     {
@@ -5206,11 +5221,21 @@ void Debugger::SendSyncCompleteIPCEvent()
         PRECONDITION(ThreadStore::HoldingThreadStore() || g_fProcessDetach);
 
         // The sync complete is now only sent on a helper thread.
-        PRECONDITION(ThisIsHelperThreadWorker());
+        if (!isEESuspendedForGC)
+        {
+            PRECONDITION(ThisIsHelperThreadWorker());
+        }
         MODE_COOPERATIVE;
 
         // We had better be trapping Runtime threads and not stopped yet.
-        PRECONDITION(m_stopped && m_trappingRuntimeThreads);
+        if (isEESuspendedForGC)
+        {
+            PRECONDITION(m_stopped);
+        }
+        else
+        {
+            PRECONDITION(m_stopped && m_trappingRuntimeThreads);
+        }
     }
     CONTRACTL_END;
 
@@ -5234,7 +5259,7 @@ void Debugger::SendSyncCompleteIPCEvent()
     }
 
     // If we're not marked as attached yet, then do that now.
-    // This can be safely called multiple times. 
+    // This can be safely called multiple times.
     // This can happen in the normal attach case. The Right-side sends an async-break,
     // but we don't want to be considered attach until we've actually gotten our first synchronization.
     // Else threads may slip forward during attach and send debug events while we're tyring to attach.
@@ -5277,16 +5302,16 @@ void Debugger::SendSyncCompleteIPCEvent()
 
 //
 // Lookup or create a DebuggerModule for the given pDomainFile.
-// 
+//
 // Arguments:
 //    pDomainFile - non-null domain file.
-//    
+//
 // Returns:
 //   DebuggerModule instance for the given domain file. May be lazily created.
 //
 // Notes:
 //  @dbgtodo JMC - this should go away when we get rid of DebuggerModule.
-//  
+//
 
 DebuggerModule * Debugger::LookupOrCreateModule(DomainFile * pDomainFile)
 {
@@ -5301,15 +5326,15 @@ DebuggerModule * Debugger::LookupOrCreateModule(DomainFile * pDomainFile)
 }
 
 // Overloaded Wrapper around for VMPTR_DomainFile-->DomainFile*
-// 
+//
 // Arguments:
 //    vmDomainFile - VMPTR cookie for a domain file. This can be NullPtr().
-//    
+//
 // Returns:
 //    Debugger Module instance for the given domain file. May be lazily created.
-//    
+//
 // Notes:
-//    VMPTR comes from IPC events 
+//    VMPTR comes from IPC events
 DebuggerModule * Debugger::LookupOrCreateModule(VMPTR_DomainFile vmDomainFile)
 {
     DomainFile * pDomainFile = vmDomainFile.GetRawPtr();
@@ -5321,14 +5346,14 @@ DebuggerModule * Debugger::LookupOrCreateModule(VMPTR_DomainFile vmDomainFile)
 }
 
 // Lookup or create a DebuggerModule for the given (Module, AppDomain) pair.
-// 
+//
 // Arguments:
 //    pModule - required runtime module. May be domain netural.
 //    pAppDomain - required appdomain that the module is in.
-//    
+//
 // Returns:
 //    Debugger Module isntance for the given domain file. May be lazily created.
-//    
+//
 DebuggerModule* Debugger::LookupOrCreateModule(Module* pModule, AppDomain *pAppDomain)
 {
     CONTRACTL
@@ -5341,11 +5366,11 @@ DebuggerModule* Debugger::LookupOrCreateModule(Module* pModule, AppDomain *pAppD
 
     LOG((LF_CORDB, LL_INFO1000, "D::LOCM m=0x%x ad=0x%x\n", pModule, pAppDomain));
 
-    // DebuggerModules are relative to a specific AppDomain so we should always be looking up a module / 
+    // DebuggerModules are relative to a specific AppDomain so we should always be looking up a module /
     // AppDomain pair.
     _ASSERTE( pModule != NULL );
     _ASSERTE( pAppDomain != NULL );
-    
+
     // This is called from all over. We just need to lock in order to lookup. We don't need
     // the lock when actually using the DebuggerModule (since it won't be unloaded as long as there is a thread
     // in that appdomain). Many of our callers already have this lock, many don't.
@@ -5370,7 +5395,7 @@ DebuggerModule* Debugger::LookupOrCreateModule(Module* pModule, AppDomain *pAppD
         }
         else
         {
-            dmod = m_pModules->GetModule(pModule);    
+            dmod = m_pModules->GetModule(pModule);
         }
     }
 
@@ -5385,24 +5410,24 @@ DebuggerModule* Debugger::LookupOrCreateModule(Module* pModule, AppDomain *pAppD
             dmod = AddDebuggerModule(pDomainFile); // throws
         }
         EX_CATCH_HRESULT(hr);
-        SIMPLIFYING_ASSUMPTION(dmod != NULL); // may not be true in OOM cases; but LS doesn't handle OOM.        
+        SIMPLIFYING_ASSUMPTION(dmod != NULL); // may not be true in OOM cases; but LS doesn't handle OOM.
     }
 
     // The module must be in the AppDomain that was requested
     _ASSERTE( (dmod == NULL) || (dmod->GetAppDomain() == pAppDomain) );
 
     LOG((LF_CORDB, LL_INFO1000, "D::LOCM m=0x%x ad=0x%x -> dm=0x%x\n", pModule, pAppDomain, dmod));
-    return dmod;    
+    return dmod;
 }
 
 // Create a new DebuggerModule object
-// 
+//
 // Arguments:
 //    pDomainFile-  runtime domain file to create debugger module object around
-//    
+//
 // Returns:
 //    New instnace of a DebuggerModule. Throws on failure.
-//    
+//
 DebuggerModule* Debugger::AddDebuggerModule(DomainFile * pDomainFile)
 {
     CONTRACTL
@@ -5411,7 +5436,7 @@ DebuggerModule* Debugger::AddDebuggerModule(DomainFile * pDomainFile)
         GC_NOTRIGGER;
     }
     CONTRACTL_END;
-   
+
     LOG((LF_CORDB, LL_INFO1000, "D::ADM df=0x%x\n", pDomainFile));
     DebuggerDataLockHolder chInfo(this);
 
@@ -5440,7 +5465,7 @@ DebuggerModule* Debugger::AddDebuggerModule(DomainFile * pDomainFile)
 // soon as possible. It also sets the EE up so that Runtime threads that
 // are outside of the EE will trap when they try to re-enter.
 //
-// @TODO:: 
+// @TODO::
 // Neither pDbgLockHolder nor pAppDomain are used.
 void Debugger::TrapAllRuntimeThreads()
 {
@@ -5459,9 +5484,9 @@ void Debugger::TrapAllRuntimeThreads()
                      !g_pEEInterface->IsPreemptiveGCDisabled());
     }
     CONTRACTL_END;
-
 #if !defined(FEATURE_DBGIPC_TRANSPORT_VM)
-    // Only sync if RS requested it. 
+    // Only sync if RS requested it.
     if (!m_RSRequestedSync)
     {
         return;
@@ -5493,9 +5518,7 @@ void Debugger::TrapAllRuntimeThreads()
         m_trappingRuntimeThreads = TRUE;
 
         // Take the thread store lock.
-        STRESS_LOG0(LF_CORDB,LL_INFO1000, "About to lock thread Store\n");
-        ThreadSuspend::LockThreadStore(ThreadSuspend::SUSPEND_FOR_DEBUGGER);
-        STRESS_LOG0(LF_CORDB,LL_INFO1000, "Locked thread store\n");
+        assert(ThreadStore::HoldingThreadStore());
 
         // We start the suspension here, and let the helper thread finish it.
         // If there's no helper thread, then we need to do helper duty.
@@ -5538,16 +5561,6 @@ void Debugger::TrapAllRuntimeThreads()
 
             // We will have released the TSL after the call to continue.
         }
-        else
-        {
-            // We have a live and active helper thread which will handle events
-            // from the RS now that we're stopped.
-            // We need to release the TSL which we acquired above. (The helper will
-            // likely take this lock while doing stuff).
-            STRESS_LOG0(LF_CORDB,LL_INFO1000, "About to unlock thread store!\n");
-            ThreadSuspend::UnlockThreadStore(FALSE, ThreadSuspend::SUSPEND_FOR_DEBUGGER);
-            STRESS_LOG0(LF_CORDB,LL_INFO1000, "TART: Unlocked thread store!\n");
-        }
         _ASSERTE(ThreadHoldsLock()); // still hold the lock. (though it may have been toggled)
     }
 }
@@ -5766,15 +5779,15 @@ void Debugger::TraceCall(const BYTE *code)
 
     if (!CORDBUnrecoverableError(this))
     {
-        // There are situations where our callers can't tolerate us throwing.  
+        // There are situations where our callers can't tolerate us throwing.
         EX_TRY
         {
-            // Since we have a try catch and the debugger code can deal properly with 
+            // Since we have a try catch and the debugger code can deal properly with
             // faults occuring inside DebuggerController::DispatchTraceCall, we can safely
             // establish a FAULT_NOT_FATAL region. This is required since some callers can't
             // tolerate faults.
             FAULT_NOT_FATAL();
-            
+
             DebuggerController::DispatchTraceCall(pCurThread, code);
         }
         EX_CATCH
@@ -5988,6 +6001,127 @@ bool Debugger::ThreadsAtUnsafePlaces(void)
     return (m_threadsAtUnsafePlaces != 0);
 }
 
+void Debugger::BeforeGarbageCollection()
+{
+    CONTRACTL
+    {
+        NOTHROW;
+        GC_NOTRIGGER;
+    }
+    CONTRACTL_END;
+
+    this->m_isGarbageCollectionEventsEnabledLatch = this->m_isGarbageCollectionEventsEnabled;
+
+    if (!CORDebuggerAttached() || !this->m_isGarbageCollectionEventsEnabledLatch)
+    {
+        return;
+    }
+
+    Thread* pThread = GetThread();
+
+    if (CORDBUnrecoverableError(this))
+        return;
+
+    {
+        Debugger::DebuggerLockHolder dbgLockHolder(this);
+
+        this->m_isBlockedOnGarbageCollectionEvent = true;
+
+        DebuggerIPCEvent* ipce1 = m_pRCThread->GetIPCEventSendBuffer();
+        InitIPCEvent(ipce1,
+            DB_IPCE_BEFORE_GARBAGE_COLLECTION,
+            pThread,
+            pThread->GetDomain());
+
+        m_pRCThread->SendIPCEvent();
+        this->SuspendComplete(true);
+    }
+
+    WaitForSingleObject(this->GetGarbageCollectionBlockerEvent(), INFINITE);
+    ResetEvent(this->GetGarbageCollectionBlockerEvent());
+}
+
+void Debugger::AfterGarbageCollection()
+{
+    CONTRACTL
+    {
+        NOTHROW;
+        GC_NOTRIGGER;
+    }
+    CONTRACTL_END;
+
+    if (!CORDebuggerAttached() || !this->m_isGarbageCollectionEventsEnabledLatch)
+    {
+        return;
+    }
+
+    Thread* pThread = GetThread();
+
+    if (CORDBUnrecoverableError(this))
+        return;
+
+    {
+        Debugger::DebuggerLockHolder dbgLockHolder(this);        
+
+        DebuggerIPCEvent* ipce1 = m_pRCThread->GetIPCEventSendBuffer();
+        InitIPCEvent(ipce1,
+            DB_IPCE_AFTER_GARBAGE_COLLECTION,
+            pThread,
+            pThread->GetDomain());
+
+        m_pRCThread->SendIPCEvent();
+        this->SuspendComplete(true);
+    }
+
+    WaitForSingleObject(this->GetGarbageCollectionBlockerEvent(), INFINITE);
+    ResetEvent(this->GetGarbageCollectionBlockerEvent());
+    this->m_isBlockedOnGarbageCollectionEvent = false;
+}
+
+#ifdef FEATURE_DATABREAKPOINT
+void Debugger::SendDataBreakpoint(Thread *thread, CONTEXT *context,
+    DebuggerDataBreakpoint *breakpoint)
+{
+    CONTRACTL
+    {
+        NOTHROW;
+    GC_NOTRIGGER;
+    }
+    CONTRACTL_END;
+
+    if (CORDBUnrecoverableError(this))
+        return;
+
+#ifdef _DEBUG
+    static BOOL shouldBreak = -1;
+    if (shouldBreak == -1)
+        shouldBreak = CLRConfig::GetConfigValue(CLRConfig::INTERNAL_DbgBreakOnSendBreakpoint);
+
+    if (shouldBreak > 0) {
+        _ASSERTE(!"DbgBreakOnSendBreakpoint");
+    }
+#endif
+
+    LOG((LF_CORDB, LL_INFO10000, "D::SDB: breakpoint BP:0x%x\n", breakpoint));
+
+    _ASSERTE((g_pEEInterface->GetThread() &&
+        !g_pEEInterface->GetThread()->m_fPreemptiveGCDisabled) ||
+        g_fInControlC);
+
+    _ASSERTE(ThreadHoldsLock());
+
+    // Send a breakpoint event to the Right Side
+    DebuggerIPCEvent* ipce = m_pRCThread->GetIPCEventSendBuffer();
+    InitIPCEvent(ipce,
+        DB_IPCE_DATA_BREAKPOINT,
+        thread,
+        thread->GetDomain());
+    //_ASSERTE(breakpoint->m_pAppDomain == ipce->vmAppDomain.GetRawPtr());
+
+    m_pRCThread->SendIPCEvent();
+}
+#endif
+
 //
 // SendBreakpoint is called by Runtime threads to send that they've
 // hit a breakpoint to the Right Side.
@@ -6045,15 +6179,15 @@ void Debugger::SendBreakpoint(Thread *thread, CONTEXT *context,
 // Notes:
 //     Can't assume that a debugger is attached (since it may detach before we get the lock).
 void Debugger::SendUserBreakpointAndSynchronize(Thread * pThread)
-{    
+{
     AtSafePlaceHolder unsafePlaceHolder(pThread);
 
     SENDIPCEVENT_BEGIN(this, pThread);
-    
+
     // Actually send the event
     if (CORDebuggerAttached())
     {
-        SendRawUserBreakpoint(pThread);    
+        SendRawUserBreakpoint(pThread);
         TrapAllRuntimeThreads();
     }
 
@@ -6094,7 +6228,7 @@ void Debugger::SendRawUserBreakpoint(Thread * pThread)
 
     LOG((LF_CORDB, LL_INFO10000, "D::SRUB: user breakpoint\n"));
 
-    
+
 
     // Send a breakpoint event to the Right Side
     DebuggerIPCEvent* pEvent = m_pRCThread->GetIPCEventSendBuffer();
@@ -6182,9 +6316,9 @@ void Debugger::SendStep(Thread *thread, CONTEXT *context,
 // Send an EnC remap opportunity and block until it is continued.
 //
 // dji - current method information
-// currentIP - IL offset within that method 
+// currentIP - IL offset within that method
 // resumeIP - address of a SIZE_T that the RS will write to cross-process if they take the
-//  remap opportunity. *resumeIP is untouched if the RS does not remap. 
+//  remap opportunity. *resumeIP is untouched if the RS does not remap.
 //-------------------------------------------------------------------------------------------------
 void Debugger::LockAndSendEnCRemapEvent(DebuggerJitInfo * dji, SIZE_T currentIP, SIZE_T *resumeIP)
 {
@@ -6320,10 +6454,10 @@ void Debugger::LockAndSendEnCRemapCompleteEvent(MethodDesc *pFD)
 // At this point, the EE is already stopped for handling an EnC ApplyChanges operation, so no need
 // to take locks etc.
 //
-void Debugger::SendEnCUpdateEvent(DebuggerIPCEventType eventType, 
-                                  Module * pModule, 
-                                  mdToken memberToken, 
-                                  mdTypeDef classToken, 
+void Debugger::SendEnCUpdateEvent(DebuggerIPCEventType eventType,
+                                  Module * pModule,
+                                  mdToken memberToken,
+                                  mdTypeDef classToken,
                                   SIZE_T enCVersion)
 {
     CONTRACTL
@@ -6375,7 +6509,7 @@ void Debugger::SendEnCUpdateEvent(DebuggerIPCEventType eventType,
 // Send a BreakpointSetError event to the Right Side if the given patch is for a breakpoint. Note: we don't care if this
 // fails, there is nothing we can do about it anyway, and the breakpoint just wont hit.
 //
-void Debugger::LockAndSendBreakpointSetError(PATCH_UNORDERED_ARRAY * listUnbindablePatches) 
+void Debugger::LockAndSendBreakpointSetError(PATCH_UNORDERED_ARRAY * listUnbindablePatches)
 {
     CONTRACTL
     {
@@ -6385,14 +6519,14 @@ void Debugger::LockAndSendBreakpointSetError(PATCH_UNORDERED_ARRAY * listUnbinda
     CONTRACTL_END;
 
     _ASSERTE(listUnbindablePatches != NULL);
-    
+
     if (CORDBUnrecoverableError(this))
         return;
 
 
     ULONG count = listUnbindablePatches->Count();
     _ASSERTE(count > 0); // must send at least 1 event.
-    
+
 
     Thread *thread = g_pEEInterface->GetThread();
     // Note that the debugger lock is reentrant, so we may or may not hold it already.
@@ -6401,7 +6535,7 @@ void Debugger::LockAndSendBreakpointSetError(PATCH_UNORDERED_ARRAY * listUnbinda
     DebuggerIPCEvent* ipce = m_pRCThread->GetIPCEventSendBuffer();
 
     for(ULONG i =  0; i < count; i++)
-    {        
+    {
         DebuggerControllerPatch *patch = listUnbindablePatches->Table()[i];
         _ASSERTE(patch != NULL);
 
@@ -6546,7 +6680,7 @@ void Debugger::SyncAllThreads(DebuggerLockHolder *dbgLockHolder)
 // Notes:
 //    This function doesn't try to stop the launched native debugger by calling DebugBreak().
 //    It sends a breakpoint event only for managed debuggers.
-//    
+//
 HRESULT Debugger::LaunchDebuggerForUser(Thread * pThread, EXCEPTION_POINTERS * pExceptionInfo,
                                         BOOL useManagedBPForManagedAttach, BOOL explicitUserRequest)
 {
@@ -6557,7 +6691,7 @@ HRESULT Debugger::LaunchDebuggerForUser(Thread * pThread, EXCEPTION_POINTERS * p
     //
     // Initiate a jit attach
     //
-    JitAttach(pThread, pExceptionInfo, useManagedBPForManagedAttach, explicitUserRequest); 
+    JitAttach(pThread, pExceptionInfo, useManagedBPForManagedAttach, explicitUserRequest);
 
     if (useManagedBPForManagedAttach)
     {
@@ -6583,7 +6717,7 @@ HRESULT Debugger::LaunchDebuggerForUser(Thread * pThread, EXCEPTION_POINTERS * p
         //
         DebugBreak();
     }
-    
+
     if (!IsDebuggerPresent())
     {
         LOG((LF_CORDB, LL_ERROR, "D::LDFU: Failed to launch the debugger.\n"));
@@ -6601,9 +6735,9 @@ EXCEPTION_RECORD Debugger::s_DebuggerLaunchJitInfoExceptionRecord = {0};
 CONTEXT          Debugger::s_DebuggerLaunchJitInfoContext = {0};
 
 //----------------------------------------------------------------------------
-// 
+//
 // InitDebuggerLaunchJitInfo - initialize JDI structure on Vista
-// 
+//
 // Arguments:
 //    pThread - the managed thread with the unhandled excpetion
 //    pExceptionInfo - unhandled exception info
@@ -6616,7 +6750,7 @@ void Debugger::InitDebuggerLaunchJitInfo(Thread * pThread, EXCEPTION_POINTERS *
 {
     LIMITED_METHOD_CONTRACT;
 
-    _ASSERTE((pExceptionInfo != NULL) && 
+    _ASSERTE((pExceptionInfo != NULL) &&
              (pExceptionInfo->ContextRecord != NULL) &&
              (pExceptionInfo->ExceptionRecord != NULL));
 
@@ -6629,7 +6763,7 @@ void Debugger::InitDebuggerLaunchJitInfo(Thread * pThread, EXCEPTION_POINTERS *
     s_DebuggerLaunchJitInfoContext = *pExceptionInfo->ContextRecord;
 
     s_DebuggerLaunchJitInfo.dwSize = sizeof(s_DebuggerLaunchJitInfo);
-    s_DebuggerLaunchJitInfo.dwThreadID = pThread == NULL ? GetCurrentThreadId() : pThread->GetOSThreadId();  
+    s_DebuggerLaunchJitInfo.dwThreadID = pThread == NULL ? GetCurrentThreadId() : pThread->GetOSThreadId();
     s_DebuggerLaunchJitInfo.lpExceptionRecord = reinterpret_cast<ULONG64>(&s_DebuggerLaunchJitInfoExceptionRecord);
     s_DebuggerLaunchJitInfo.lpContextRecord = reinterpret_cast<ULONG64>(&s_DebuggerLaunchJitInfoContext);
     s_DebuggerLaunchJitInfo.lpExceptionAddress = s_DebuggerLaunchJitInfoExceptionRecord.ExceptionAddress != NULL ?
@@ -6651,9 +6785,9 @@ void Debugger::InitDebuggerLaunchJitInfo(Thread * pThread, EXCEPTION_POINTERS *
 
 
 //----------------------------------------------------------------------------
-// 
+//
 // GetDebuggerLaunchJitInfo - retrieve the initialized JDI structure on Vista
-// 
+//
 // Arguments:
 //    None
 //
@@ -6739,7 +6873,7 @@ DebuggerLaunchSetting Debugger::GetDbgJITDebugLaunchSetting()
         setting = DLS_ATTACH_DEBUGGER;
     }
 #endif // FEATURE_PAL
-    
+
     return setting;
 }
 
@@ -6772,7 +6906,7 @@ bool Debugger::GetCompleteDebuggerLaunchString(SString * pStrArgsBuf)
     }
     CONTRACTL_END;
 
-#ifndef FEATURE_PAL    
+#ifndef FEATURE_PAL
     DWORD pid = GetCurrentProcessId();
 
     SString ssDebuggerString;
@@ -6784,16 +6918,16 @@ bool Debugger::GetCompleteDebuggerLaunchString(SString * pStrArgsBuf)
         return false;
     }
 
-    // There is no security concern to expect that the debug string we retrieve from HKLM follows a certain 
-    // format because changing HKLM keys requires admin priviledge.  Padding with zeros is not a security mitigation, 
-    // but rather a forward looking compability measure.  If future verions of Windows introduces more parameters for 
+    // There is no security concern to expect that the debug string we retrieve from HKLM follows a certain
+    // format because changing HKLM keys requires admin priviledge.  Padding with zeros is not a security mitigation,
+    // but rather a forward looking compability measure.  If future verions of Windows introduces more parameters for
     // JIT debugger launch, it is preferrable to pass zeros than other random values for those unsupported parameters.
     pStrArgsBuf->Printf(ssDebuggerString, pid, GetUnmanagedAttachEvent(), GetDebuggerLaunchJitInfo(), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
 
     return true;
 #else // !FEATURE_PAL
     return false;
-#endif // !FEATURE_PAL     
+#endif // !FEATURE_PAL
 }
 
 // Proxy code for EDA
@@ -6864,7 +6998,7 @@ HRESULT Debugger::EDAHelper(PROCESS_INFORMATION *pProcessInfo)
     }
     CONTRACTL_END;
 
-#ifndef FEATURE_PAL    
+#ifndef FEATURE_PAL
     LOG((LF_CORDB, LL_INFO10000, "D::EDA: thread 0x%x is launching the debugger.\n", GetCurrentThreadId()));
 
     _ASSERTE(HasLazyData());
@@ -6943,7 +7077,7 @@ HRESULT Debugger::EDAHelper(PROCESS_INFORMATION *pProcessInfo)
 //  willSendManagedEvent - indicates whether or not we plan to send a managed debug event after the jit attach
 //  explicitUserRequest - TRUE if this attach is caused by a call to the Debugger.Launch() API.
 //
-// Returns 
+// Returns
 //    TRUE - if some other thread already has jit attach in progress -> this thread should block until that is complete
 //    FALSE - this is the first thread to jit attach -> this thread should launch the debugger
 //
@@ -6970,7 +7104,7 @@ BOOL Debugger::PreJitAttach(BOOL willSendManagedEvent, BOOL willLaunchDebugger,
         //        the ThreadStore lock.  The DebuggerMutex has to be broken into two smaller locks
         //        so that you can take that lock here when holding the ThreadStore lock.
         DebuggerLockHolder dbgLockHolder(this);
-        
+
         if (!m_jitAttachInProgress)
         {
             m_jitAttachInProgress = TRUE;
@@ -7080,7 +7214,7 @@ HRESULT Debugger::LaunchJitDebuggerAndNativeAttach(Thread * pThread, EXCEPTION_P
     // Indicate to the caller that the attach was aborted
     if (res == WAIT_OBJECT_0 + 1)
     {
-        LOG((LF_CORDB, LL_INFO10000, "D::LJDANA: Debugger process is unexpectedly terminated!\n"));          
+        LOG((LF_CORDB, LL_INFO10000, "D::LJDANA: Debugger process is unexpectedly terminated!\n"));
         return E_FAIL;
     }
 
@@ -7167,19 +7301,19 @@ void Debugger::PostJitAttach()
 //    explicitUserRequest - TRUE if this attach is caused by a call to the Debugger.Launch() API.
 //
 // Returns:
-//     None. Callers can requery if a debugger is attached. 
+//     None. Callers can requery if a debugger is attached.
 //
 // Assumptions:
 //     This may be called by multiple threads, each firing their own debug events. This function will handle locking.
 //     Thus this could block for an arbitrary length of time:
-//     - may need to prompt the user to decide if an attach occurs. 
+//     - may need to prompt the user to decide if an attach occurs.
 //     - may block waiting for a debugger to attach.
-//      
+//
 // Notes:
 //     The launch string is retrieved from code:GetDebuggerSettingInfo.
 //     This will not do a sync-complete. Instead, the caller can send a debug event (the jit-attach
-//     event, such as a User-breakpoint or unhandled exception) and that can send a sync-complete, 
-//     just as if the debugger was always attached. This ensures that the jit-attach event is in the 
+//     event, such as a User-breakpoint or unhandled exception) and that can send a sync-complete,
+//     just as if the debugger was always attached. This ensures that the jit-attach event is in the
 //     same callback queue as any faked-up events that the Right-side Shim creates.
 //
 void Debugger::JitAttach(Thread * pThread, EXCEPTION_POINTERS * pExceptionInfo, BOOL willSendManagedEvent, BOOL explicitUserRequest)
@@ -7211,7 +7345,7 @@ void Debugger::JitAttach(Thread * pThread, EXCEPTION_POINTERS * pExceptionInfo,
 //    pExceptionInfo - the unhandled exception info
 //    willSendManagedEvent - true if after getting (or staying) attached we will send
 //                           a managed debug event
-//    explicitUserRequest - true if this attach is caused by a call to the 
+//    explicitUserRequest - true if this attach is caused by a call to the
 //                          Debugger.Launch() API.
 //
 // Returns:
@@ -7223,7 +7357,7 @@ void Debugger::JitAttach(Thread * pThread, EXCEPTION_POINTERS * pExceptionInfo,
 //   - JIT-atttach debugger spawned, and attached successfully.
 //   - JIT-attach debugger spawned, but declined to attach.
 //   - Failed to spawn jit-attach debugger.
-//  
+//
 //   Ultimately, the only thing that matters at the end is whether a debugger
 //   is now attached, which is retreived via CORDebuggerAttached().
 //-----------------------------------------------------------------------------
@@ -7332,7 +7466,7 @@ struct SendExceptionOnHelperThreadParams
 //   exceptionHandle : handle to the managed exception object (usually
 //       something derived from System.Exception)
 //   fContinuable : true iff continuable
-//   framePointer : frame pointer associated with callback. 
+//   framePointer : frame pointer associated with callback.
 //   nOffset : il offset associated with callback.
 //   eventType : type of callback
 //   dwFlags : additional flags (see CorDebugExceptionFlags).
@@ -7341,8 +7475,8 @@ struct SendExceptionOnHelperThreadParams
 //    S_OK on sucess. Else some error. May also throw.
 //
 // Notes:
-//    This is a helper for code:Debugger.SendExceptionEventsWorker. 
-//    See code:Debugger.SendException for more details about parameters. 
+//    This is a helper for code:Debugger.SendExceptionEventsWorker.
+//    See code:Debugger.SendException for more details about parameters.
 //    This is always called on a managed thread (never the helper thread)
 //    This will synchronize and block.
 //**************************************************************************
@@ -7412,7 +7546,7 @@ HRESULT Debugger::SendExceptionHelperAndBlock(
     }
 
     _ASSERTE(SUCCEEDED(hr) && "D::SE: Send ExceptionCallback2 event failed.");
-    
+
     if (SUCCEEDED(hr))
     {
         // Stop all Runtime threads
@@ -7429,7 +7563,7 @@ HRESULT Debugger::SendExceptionHelperAndBlock(
 // Send various first-chance / unhandled exception events.
 //
 // Assumptions:
-//    Caller has already determined that we want to send exception events. 
+//    Caller has already determined that we want to send exception events.
 //
 // Notes:
 //    This is a helper function for code:Debugger.SendException
@@ -7437,7 +7571,7 @@ void Debugger::SendExceptionEventsWorker(
     Thread * pThread,
     bool fFirstChance,
     bool fIsInterceptable,
-    bool fContinuable, 
+    bool fContinuable,
     SIZE_T currentIP,
     FramePointer framePointer,
     bool atSafePlace)
@@ -7449,7 +7583,7 @@ void Debugger::SendExceptionEventsWorker(
     // Figure out parameters to the IPC events.
     //
     const BYTE *ip;
-               
+
     SIZE_T nOffset = (SIZE_T)ICorDebugInfo::NO_MAPPING;
     DebuggerMethodInfo *pDebugMethodInfo = NULL;
 
@@ -7485,7 +7619,7 @@ void Debugger::SendExceptionEventsWorker(
             }
         }
     }
-    
+
     DebuggerIPCEvent* ipce = m_pRCThread->GetIPCEventSendBuffer();
 
     if (fFirstChance)
@@ -7498,7 +7632,7 @@ void Debugger::SendExceptionEventsWorker(
         //
         // Send the first chance exception if we have not already and if it is not suppressed
         //
-        if (m_sendExceptionsOutsideOfJMC && !pExState->GetFlags()->SentDebugFirstChance()) 
+        if (m_sendExceptionsOutsideOfJMC && !pExState->GetFlags()->SentDebugFirstChance())
         {
             // Blocking here is especially important so that the debugger can mark any code as JMC.
             hr = SendExceptionHelperAndBlock(
@@ -7538,8 +7672,8 @@ void Debugger::SendExceptionEventsWorker(
         //
         // If this is a JMC function, then we send a USER's first chance as well.
         //
-        if ((pDebugMethodInfo != NULL) && 
-            pDebugMethodInfo->IsJMCFunction() && 
+        if ((pDebugMethodInfo != NULL) &&
+            pDebugMethodInfo->IsJMCFunction() &&
             !pExState->GetFlags()->SentDebugUserFirstChance())
         {
             SENDIPCEVENT_BEGIN(this, pThread);
@@ -7609,7 +7743,7 @@ void Debugger::SendExceptionEventsWorker(
 
 //
 // SendException is called by Runtime threads to send that they've hit an Managed exception to the Right Side.
-// This may block this thread and suspend the debuggee, and let the debugger inspect us. 
+// This may block this thread and suspend the debuggee, and let the debugger inspect us.
 //
 // The thread's throwable should be set so that the debugger can inspect the current exception.
 // It does not report native exceptions in native code (which is consistent because those don't have a
@@ -7619,22 +7753,22 @@ void Debugger::SendExceptionEventsWorker(
 // is yet involved.
 //
 // Parameters:
-//    pThread - the thread throwing the exception. 
+//    pThread - the thread throwing the exception.
 //    fFirstChance - true if this is a first chance exception. False if this is an unhandled exception.
-//    currentIP - absolute native address of the exception if it is from managed code. If this is 0, we try to find it 
+//    currentIP - absolute native address of the exception if it is from managed code. If this is 0, we try to find it
 //                based off the thread's current exception state.
 //    currentSP - stack pointer of the exception. This will get converted into a FramePointer and then used by the debugger
 //                to identify which stack frame threw the exception.
 //    currentBSP - additional information for IA64 only to identify the stack frame.
 //    fContinuable - not used.
-//    fAttaching - true iff this exception may initiate a jit-attach. In the common case, if this is true, then 
+//    fAttaching - true iff this exception may initiate a jit-attach. In the common case, if this is true, then
 //                 CorDebuggerAttached() is false. However, since a debugger can attach at any time, it's possible
 //                 for another debugger to race against the jit-attach and win. Thus this may err on the side of being true.
-//    fForceNonInterceptable - This is used to determine if the exception is continuable (ie "Interceptible", 
+//    fForceNonInterceptable - This is used to determine if the exception is continuable (ie "Interceptible",
 //                  we can handle a DB_IPCE_INTERCEPT_EXCEPTION event for it). If true, then the exception can not be continued.
-//                  If false, we get continuation status from the exception properties of the current thread. 
+//                  If false, we get continuation status from the exception properties of the current thread.
 //
-// Returns: 
+// Returns:
 //    S_OK on success (common case by far).
 //    propogates other errors.
 //
@@ -7697,7 +7831,7 @@ HRESULT Debugger::SendException(Thread *pThread,
     if (fAttaching)
     {
         JitAttach(pThread, pExceptionInfo, managedEventNeeded, FALSE);
-        // If the jit-attach occurred, CORDebuggerAttached() may now be true and we can 
+        // If the jit-attach occurred, CORDebuggerAttached() may now be true and we can
         // just act as if a debugger was always attached.
     }
 
@@ -7706,10 +7840,10 @@ HRESULT Debugger::SendException(Thread *pThread,
         {
             // We have to send enabled, so enable now.
             GCX_PREEMP_EEINTERFACE();
-            
+
             // Send the exception events. Even in jit-attach case, we should now be fully attached.
             if (CORDebuggerAttached())
-            {                    
+            {
                 // Initialize frame-pointer associated with exception notification.
                 LPVOID stackPointer;
                 if ((currentSP == 0) && (pExState->GetContextRecord() != NULL))
@@ -7721,18 +7855,18 @@ HRESULT Debugger::SendException(Thread *pThread,
                     stackPointer = (LPVOID)currentSP;
                 }
                 FramePointer framePointer = FramePointer::MakeFramePointer(stackPointer);
-                    
+
 
                 // Do the real work of sending the events
                 SendExceptionEventsWorker(
                     pThread,
                     fFirstChance,
                     fIsInterceptable,
-                    fContinuable, 
+                    fContinuable,
                     currentIP,
                     framePointer,
                     !unsafePlaceHolder.IsAtUnsafePlace());
-            } 
+            }
             else
             {
                 LOG((LF_CORDB,LL_INFO100, "D:SE: Skipping SendIPCEvent because not supposed to send anything, or RS detached.\n"));
@@ -7801,7 +7935,7 @@ void Debugger::ProcessAnyPendingEvals(Thread *pThread)
     // FuncEvalComplete event, so if the user asks for another func eval then there will be a new pending eval when we
     // loop and check again.
     //
-    DebuggerPendingFuncEval *pfe;    
+    DebuggerPendingFuncEval *pfe;
 
     while (GetPendingEvals() != NULL && (pfe = GetPendingEvals()->GetPendingEval(pThread)) != NULL)
     {
@@ -7814,18 +7948,18 @@ void Debugger::ProcessAnyPendingEvals(Thread *pThread)
         // that we can do another nested eval properly.
         GetPendingEvals()->RemovePendingEval(pThread);
 
-        // Go ahead and do the pending func eval. pDE is invalid after this. 
+        // Go ahead and do the pending func eval. pDE is invalid after this.
         void *ret;
         ret = ::FuncEvalHijackWorker(pDE);
 
 
         // The return value should be NULL when FuncEvalHijackWorker is called as part of an exception.
-        _ASSERTE(ret == NULL);                
+        _ASSERTE(ret == NULL);
     }
 
     // If we need to re-throw a ThreadAbortException, go ahead and do it now.
-    if (GetThread()->m_StateNC & Thread::TSNC_DebuggerReAbort)    
-    {    
+    if (GetThread()->m_StateNC & Thread::TSNC_DebuggerReAbort)
+    {
         // Now clear the bit else we'll see it again when we process the Exception notification
         // from this upcoming UserAbort exception.
         pThread->ResetThreadStateNC(Thread::TSNC_DebuggerReAbort);
@@ -7926,14 +8060,14 @@ void Debugger::FirstChanceManagedExceptionCatcherFound(Thread *pThread,
     DWORD nOffset = (DWORD)(SIZE_T)ICorDebugInfo::NO_MAPPING;
     DebuggerMethodInfo *pDebugMethodInfo = NULL;
     DebuggerJitInfo *pDebugJitInfo = NULL;
-    bool isInJMCFunction = false; 
+    bool isInJMCFunction = false;
 
     if (pMD != NULL)
     {
         _ASSERTE(!pMD->IsILStub());
 
         pDebugJitInfo = GetJitInfo(pMD, (const BYTE *) pMethodAddr, &pDebugMethodInfo);
-        if (pDebugMethodInfo != NULL) 
+        if (pDebugMethodInfo != NULL)
         {
             isInJMCFunction = pDebugMethodInfo->IsJMCFunction();
         }
@@ -7941,9 +8075,9 @@ void Debugger::FirstChanceManagedExceptionCatcherFound(Thread *pThread,
 
     // Here we check if debugger opted-out of receiving exception related events from outside of JMC methods
     // or this exception ever crossed JMC frame (in this case we have already sent user first chance event)
-    if (m_sendExceptionsOutsideOfJMC || 
-        isInJMCFunction || 
-        pThread->GetExceptionState()->GetFlags()->SentDebugUserFirstChance()) 
+    if (m_sendExceptionsOutsideOfJMC ||
+        isInJMCFunction ||
+        pThread->GetExceptionState()->GetFlags()->SentDebugUserFirstChance())
     {
         if (pDebugJitInfo != NULL)
         {
@@ -8341,7 +8475,7 @@ FramePointer GetHandlerFramePointer(BYTE *pStack)
 {
     FramePointer handlerFP;
 
-#if !defined(_TARGET_ARM_) && !defined(_TARGET_ARM64_) 
+#if !defined(_TARGET_ARM_) && !defined(_TARGET_ARM64_)
     // Refer to the comment in DispatchUnwind() to see why we have to add
     // sizeof(LPVOID) to the handler ebp.
     handlerFP = FramePointer::MakeFramePointer(LPVOID(pStack + sizeof(void*)));
@@ -8529,7 +8663,7 @@ void LazyInitFavor(void *)
     hr = g_pDebugger->LazyInitWrapper();
     (void)hr; //prevent "unused variable" error from GCC
 
-    // On checked builds, warn that we're hitting a scenario that debugging doesn't support.    
+    // On checked builds, warn that we're hitting a scenario that debugging doesn't support.
     _ASSERTE(SUCCEEDED(hr) || !"Couldn't initialize lazy data for LastChanceManagedException");
 }
 
@@ -8615,21 +8749,21 @@ LONG Debugger::LastChanceManagedException(EXCEPTION_POINTERS * pExceptionInfo,
         // using this thread's stack space.
         if (jitAttachRequested)
         {
-            m_pRCThread->DoFavor((FAVORCALLBACK) LazyInitFavor, NULL);                
+            m_pRCThread->DoFavor((FAVORCALLBACK) LazyInitFavor, NULL);
         }
-        
-        // The only way we don't have lazy data at this point is in an OOM scenario, which 
+
+        // The only way we don't have lazy data at this point is in an OOM scenario, which
         // the debugger doesn't support.
         if (!HasLazyData())
         {
-            return ExceptionContinueSearch;            
+            return ExceptionContinueSearch;
         }
 
 
-        // In Whidbey, we used to set the filter CONTEXT when we hit an unhandled exception while doing 
-        // mixed-mode debugging.  This helps the debugger walk the stack since it can skip the leaf 
-        // portion of the stack (including stack frames in the runtime) and start the stackwalk at the 
-        // faulting stack frame.  The code to set the filter CONTEXT is in a hijack function which is only 
+        // In Whidbey, we used to set the filter CONTEXT when we hit an unhandled exception while doing
+        // mixed-mode debugging.  This helps the debugger walk the stack since it can skip the leaf
+        // portion of the stack (including stack frames in the runtime) and start the stackwalk at the
+        // faulting stack frame.  The code to set the filter CONTEXT is in a hijack function which is only
         // used during mixed-mode debugging.
         if (m_pRCThread->GetDCB()->m_rightSideIsWin32Debugger)
         {
@@ -8720,7 +8854,7 @@ int Debugger::NotifyUserOfFault(bool userBreakpoint, DebuggerLaunchSetting dls)
             // lock is very small.
             SUPPRESS_ALLOCATION_ASSERTS_IN_THIS_SCOPE;
 
-            result = MessageBox(resIDMessage, IDS_DEBUG_SERVICE_CAPTION, 
+            result = MessageBox(resIDMessage, IDS_DEBUG_SERVICE_CAPTION,
                 flags, TRUE, TRUE, pid, pid, tid, tid);
         }
     }
@@ -8783,7 +8917,7 @@ Debugger::ATTACH_ACTION Debugger::ShouldAttachDebuggerProxy(bool fIsUserBreakpoi
 
 //---------------------------------------------------------------------------------------
 // Do policy to determine if we should attach a debugger.
-// 
+//
 // Arguments:
 //    fIsUserBreakpoint - true iff this is in response to a user-breakpoint, else false.
 //
@@ -8828,7 +8962,7 @@ Debugger::ATTACH_ACTION Debugger::ShouldAttachDebugger(bool fIsUserBreakpoint)
 
         // This lock is also part of the above workaround.
         // Must go to preemptive to take this lock since we'll trigger down the road.
-        GCX_PREEMP();       
+        GCX_PREEMP();
         DebuggerLockHolder lockHolder(this);
 
         // We always want to ask about user breakpoints!
@@ -8840,7 +8974,7 @@ Debugger::ATTACH_ACTION Debugger::ShouldAttachDebugger(bool fIsUserBreakpoint)
             // While we could theoretically run into a deadlock if another thread
             // which acquires the debugger lock in cooperative GC mode is blocked
             // on this thread while it is running arbitrary user code out of the
-            // MessageBox message pump, given that this codepath will only be used 
+            // MessageBox message pump, given that this codepath will only be used
             // on Win9x and that the chances of this happenning are quite slim,
             // for Whidbey a GCViolation is acceptable.
             CONTRACT_VIOLATION(GCViolation);
@@ -8881,7 +9015,7 @@ Debugger::ATTACH_ACTION Debugger::ShouldAttachDebugger(bool fIsUserBreakpoint)
 //
 //    This may trigger a Jit attach.
 //    If the debugger is already attached, this will issue a step-out so that the UserBreakpoint
-//    appears to come from the callsite. 
+//    appears to come from the callsite.
 void Debugger::SendUserBreakpoint(Thread * thread)
 {
     CONTRACTL
@@ -8936,12 +9070,12 @@ void Debugger::SendUserBreakpoint(Thread * thread)
     ATTACH_ACTION dbgAction = ShouldAttachDebugger(true);
 
     // No debugger is attached. Consider a JIT attach.
-    // This will do ShouldAttachDebugger() and wait for the results. 
-    // - It may terminate if the user requested that. 
-    // - It may do a full jit-attach. 
+    // This will do ShouldAttachDebugger() and wait for the results.
+    // - It may terminate if the user requested that.
+    // - It may do a full jit-attach.
     if (dbgAction == ATTACH_YES)
     {
-        JitAttach(thread, NULL, TRUE, FALSE); 
+        JitAttach(thread, NULL, TRUE, FALSE);
     }
     else if (dbgAction == ATTACH_TERMINATE)
     {
@@ -8956,11 +9090,11 @@ void Debugger::SendUserBreakpoint(Thread * thread)
     {
         _ASSERTE(dbgAction == ATTACH_NO);
     }
-    
+
     if (CORDebuggerAttached())
     {
-        // On jit-attach, we just send the UserBreak event. Don't do an extra step-out. 
-        SendUserBreakpointAndSynchronize(thread);        
+        // On jit-attach, we just send the UserBreak event. Don't do an extra step-out.
+        SendUserBreakpointAndSynchronize(thread);
     }
     else if (IsDebuggerPresent())
     {
@@ -9001,7 +9135,7 @@ void Debugger::ThreadCreated(Thread* pRuntimeThread)
     // Sanity check the thread.
     _ASSERTE(pRuntimeThread != NULL);
     _ASSERTE(pRuntimeThread->GetThreadId() != 0);
-    
+
 
     // Create a thread starter and enable its WillEnterManaged code
     // callback. This will cause the starter to trigger once the
@@ -9126,7 +9260,7 @@ void Debugger::DetachThread(Thread *pRuntimeThread)
     {
         // Send a detach thread event to the Right Side.
         DebuggerIPCEvent * pEvent = m_pRCThread->GetIPCEventSendBuffer();
-        
+
         InitIPCEvent(pEvent,
                      DB_IPCE_THREAD_DETACH,
                      pRuntimeThread,
@@ -9155,14 +9289,16 @@ void Debugger::DetachThread(Thread *pRuntimeThread)
 //
 // SuspendComplete is called when the last Runtime thread reaches a safe point in response to having its trap flags set.
 // This may be called on either the real helper thread or someone doing helper thread duty.
+// 
+// It could also be called for sending garbage collection events (see DebuggerRCThread::SendIPCEvent for more about the 
+// thread mode associated with the events)
 //
-BOOL Debugger::SuspendComplete()
+BOOL Debugger::SuspendComplete(bool isEESuspendedForGC)
 {
     CONTRACTL
     {
         NOTHROW;
-        GC_TRIGGERS;
-
+        if (isEESuspendedForGC) { GC_NOTRIGGER; } else { GC_TRIGGERS; }
         // This will is conceptually mode-cooperative.
         // But we haven't marked the runtime as stopped yet (m_stopped), so the contract
         // subsystem doesn't realize it yet.
@@ -9184,15 +9320,22 @@ BOOL Debugger::SuspendComplete()
     // We can't throw here (we're in the middle of the runtime suspension logic).
     // But things below us throw. So we catch the exception, but then what state are we in?
 
-    _ASSERTE((!g_pEEInterface->GetThread() || !g_pEEInterface->GetThread()->m_fPreemptiveGCDisabled) || g_fInControlC);
-    _ASSERTE(ThisIsHelperThreadWorker());
+    if (!isEESuspendedForGC) {_ASSERTE((!g_pEEInterface->GetThread() || !g_pEEInterface->GetThread()->m_fPreemptiveGCDisabled) || g_fInControlC); }
+    if (!isEESuspendedForGC) { _ASSERTE(ThisIsHelperThreadWorker()); }
 
     STRESS_LOG0(LF_CORDB, LL_INFO10000, "D::SC: suspension complete\n");
 
     // We have suspended runtime.
 
     // We're stopped now. Marking m_stopped allows us to use MODE_COOPERATIVE contracts.
-    _ASSERTE(!m_stopped && m_trappingRuntimeThreads);
+    if (isEESuspendedForGC)
+    {
+        _ASSERTE(!m_stopped);
+    }
+    else
+    {
+        _ASSERTE(!m_stopped && m_trappingRuntimeThreads);
+    }
     m_stopped = true;
 
 
@@ -9201,7 +9344,7 @@ BOOL Debugger::SuspendComplete()
         // If we fail to send the SyncComplete, what do we do?
         CONTRACT_VIOLATION(ThrowsViolation);
 
-        SendSyncCompleteIPCEvent(); // sets m_stopped = true...
+        SendSyncCompleteIPCEvent(isEESuspendedForGC); // sets m_stopped = true...
     }
 
     // Everything in the next scope is meant to mimic what we do UnlockForEventSending minus EnableEventHandling.
@@ -9392,7 +9535,7 @@ void Debugger::LoadAssembly(DomainAssembly * pDomainAssembly)
     Thread *pThread = g_pEEInterface->GetThread();
     SENDIPCEVENT_BEGIN(this, pThread)
 
-    
+
     if (CORDebuggerAttached())
     {
         // Send a load assembly event to the Right Side.
@@ -9494,15 +9637,15 @@ void Debugger::LoadModule(Module* pRuntimeModule,
     if (CORDBUnrecoverableError(this))
         return;
 
-    // If this is a dynamic module, then it's part of a multi-module assembly. The manifest 
-    // module within the assembly contains metadata for all the module names in the assembly. 
+    // If this is a dynamic module, then it's part of a multi-module assembly. The manifest
+    // module within the assembly contains metadata for all the module names in the assembly.
     // When a new dynamic module is created, the manifest module's metadata is updated to
-    // include the new module (see code:Assembly.CreateDynamicModule). 
-    // So we need to update the RS's copy of the metadata. One place the manifest module's 
+    // include the new module (see code:Assembly.CreateDynamicModule).
+    // So we need to update the RS's copy of the metadata. One place the manifest module's
     // metadata gets used is in code:DacDbiInterfaceImpl.GetModuleSimpleName
-    // 
+    //
     // See code:ReflectionModule.CaptureModuleMetaDataToMemory for why we send the metadata-refresh here.
-    if (pRuntimeModule->IsReflection() && !pRuntimeModule->IsManifest() && !fAttaching) 
+    if (pRuntimeModule->IsReflection() && !pRuntimeModule->IsManifest() && !fAttaching)
     {
         HRESULT hr = S_OK;
         EX_TRY
@@ -9521,12 +9664,12 @@ void Debugger::LoadModule(Module* pRuntimeModule,
 
             // Raise the debug event.
             // This still tells the debugger that the manifest module metadata is invalid and needs to
-            // be refreshed. 
+            // be refreshed.
             DebuggerIPCEvent eventMetadataUpdate;
             InitIPCEvent(&eventMetadataUpdate, DB_IPCE_METADATA_UPDATE, NULL, pAppDomain);
 
             eventMetadataUpdate.MetadataUpdateData.vmDomainFile.SetRawPtr(pManifestDomainFile);
-                 
+
             SendRawEvent(&eventMetadataUpdate);
         }
         EX_CATCH_HRESULT(hr);
@@ -9579,7 +9722,7 @@ void Debugger::LoadModule(Module* pRuntimeModule,
         {
             TrapAllRuntimeThreads();
         }
-        EX_CATCH_HRESULT(hr); // @dbgtodo  synchronization - catch exception and go on to restore state. 
+        EX_CATCH_HRESULT(hr); // @dbgtodo  synchronization - catch exception and go on to restore state.
         // Synchronization feature crew needs to figure out what happens to TrapAllRuntimeThreads().
     }
 
@@ -9597,7 +9740,7 @@ void Debugger::LoadModule(Module* pRuntimeModule,
         {
             SendUpdateModuleSymsEventAndBlock(pRuntimeModule, pAppDomain);
         }
-        EX_CATCH_HRESULT(hr); 
+        EX_CATCH_HRESULT(hr);
     }
 
     // Now that we're done with the load module event, can no longer change Jit flags.
@@ -9734,7 +9877,7 @@ void Debugger::LoadModuleFinished(Module * pRuntimeModule, AppDomain * pAppDomai
 // Notes:
 //   This is just a ping event. Debugger must query for actual symbol contents.
 //   This keeps the launch + attach cases identical.
-//   This just sends the raw event and does not synchronize the runtime. 
+//   This just sends the raw event and does not synchronize the runtime.
 //   Use code:Debugger.SendUpdateModuleSymsEventAndBlock for that.
 void Debugger::SendRawUpdateModuleSymsEvent(Module *pRuntimeModule, AppDomain *pAppDomain)
 {
@@ -9756,7 +9899,7 @@ void Debugger::SendRawUpdateModuleSymsEvent(Module *pRuntimeModule, AppDomain *p
     if (CORDBUnrecoverableError(this))
         return;
 
-    // This event is used to trigger the ICorDebugManagedCallback::UpdateModuleSymbols 
+    // This event is used to trigger the ICorDebugManagedCallback::UpdateModuleSymbols
     // callback.  That callback is defined to pass a PDB stream, and so we still use this
     // only for legacy compatibility reasons when we've actually got PDB symbols.
     // New clients know they must request a new symbol reader after ClassLoad events.
@@ -9768,8 +9911,8 @@ void Debugger::SendRawUpdateModuleSymsEvent(Module *pRuntimeModule, AppDomain *p
 
     DebuggerIPCEvent* ipce = NULL;
     ipce = m_pRCThread->GetIPCEventSendBuffer();
-    InitIPCEvent(ipce, DB_IPCE_UPDATE_MODULE_SYMS, 
-                 g_pEEInterface->GetThread(), 
+    InitIPCEvent(ipce, DB_IPCE_UPDATE_MODULE_SYMS,
+                 g_pEEInterface->GetThread(),
                  pAppDomain);
 
     ipce->UpdateModuleSymsData.vmDomainFile.SetRawPtr((module ? module->GetDomainFile() : NULL));
@@ -9780,17 +9923,17 @@ void Debugger::SendRawUpdateModuleSymsEvent(Module *pRuntimeModule, AppDomain *p
 //
 // UpdateModuleSyms is called when the symbols for a module need to be
 // sent to the Right Side because they've changed.
-// 
+//
 // Arguments:
 //   pRuntimeModule - required, module to send symbols for. May be domain neutral.
 //   pAppDomain - required, appdomain that module is in.
-//     
-//     
-// Notes: 
+//
+//
+// Notes:
 //    This will send the event (via code:Debugger.SendRawUpdateModuleSymsEvent) and then synchronize
 //    the runtime waiting for a continue.
-//   
-//    This should only be called in cases where we reasonably expect to send symbols. 
+//
+//    This should only be called in cases where we reasonably expect to send symbols.
 //    However, this may not send symbols if the symbols aren't available.
 void Debugger::SendUpdateModuleSymsEventAndBlock(Module* pRuntimeModule, AppDomain *pAppDomain)
 {
@@ -9821,7 +9964,7 @@ void Debugger::SendUpdateModuleSymsEventAndBlock(Module* pRuntimeModule, AppDoma
     // Actually send the event
     if (CORDebuggerAttached())
     {
-        SendRawUpdateModuleSymsEvent(pRuntimeModule, pAppDomain);    
+        SendRawUpdateModuleSymsEvent(pRuntimeModule, pAppDomain);
         TrapAllRuntimeThreads();
     }
 
@@ -9833,7 +9976,7 @@ void Debugger::SendUpdateModuleSymsEventAndBlock(Module* pRuntimeModule, AppDoma
 // UnloadModule is called by the Runtime for each module (including shared ones)
 // in an AppDomain that is being unloaded, when a debugger is attached.
 // In the EE, a module may be domain-neutral and therefore shared across all AppDomains.
-// We abstract this detail away in the Debugger and consider each such EE module to correspond 
+// We abstract this detail away in the Debugger and consider each such EE module to correspond
 // to multiple "Debugger Module" instances (one per AppDomain).
 // Therefore, this doesn't necessarily mean the runtime is unloading the module, just
 // that the Debugger should consider it's (per-AppDomain) DebuggerModule to be unloaded.
@@ -9881,7 +10024,7 @@ void Debugger::UnloadModule(Module* pRuntimeModule,
             pRuntimeModule, pAppDomain, pRuntimeModule->IsIStream());
 
         // Note: the appdomain the module was loaded in must match the appdomain we're unloading it from. If it doesn't,
-        // then we've either found the wrong DebuggerModule in LookupModule or we were passed bad data.        
+        // then we've either found the wrong DebuggerModule in LookupModule or we were passed bad data.
         _ASSERTE(module->GetAppDomain() == pAppDomain);
 
         // Send the unload module event to the Right Side.
@@ -9930,7 +10073,7 @@ void Debugger::UnloadModule(Module* pRuntimeModule,
             }
             LOG((LF_CORDB, LL_EVERYTHING, "Done clearing JMC methods!\n"));
         }
-    
+
         // Delete the Left Side representation of the module.
         if (m_pModules != NULL)
         {
@@ -9950,12 +10093,12 @@ LExit:
     SENDIPCEVENT_END;
 }
 
-// Called when this module is completely gone from ALL AppDomains, regardless of 
-// whether a debugger is attached.  
-// Note that this doesn't get called until after the ADUnload is complete, which happens 
+// Called when this module is completely gone from ALL AppDomains, regardless of
+// whether a debugger is attached.
+// Note that this doesn't get called until after the ADUnload is complete, which happens
 // asyncronously in Whidbey (and won't happen at all if the process shuts down first).
 // This is normally not called only domain-neutral assemblies because they can't be unloaded.
-// However, it may be called if the loader fails to completely load a domain-neutral assembly. 
+// However, it may be called if the loader fails to completely load a domain-neutral assembly.
 void Debugger::DestructModule(Module *pModule)
 {
     CONTRACTL
@@ -9975,7 +10118,7 @@ void Debugger::DestructModule(Module *pModule)
     DebuggerLockHolder dbgLockHolder(this);
 
     // We should have removed all patches at AD unload time (or detach time if the
-    // debugger detached).   
+    // debugger detached).
     _ASSERTE( !DebuggerController::ModuleHasPatches(pModule) );
 
     // Do module clean-up that applies even when no debugger is attached.
@@ -10022,7 +10165,7 @@ void Debugger::RemoveModuleReferences( Module* pModule )
 
             // DebuggerDataLockHolder out of scope - release implied
         }
-    } 
+    }
 }
 
 //---------------------------------------------------------------------------------------
@@ -10030,7 +10173,7 @@ void Debugger::RemoveModuleReferences( Module* pModule )
 // SendClassLoadUnloadEvent - notify the RS of a class either loading or unloading.
 //
 // Arguments:
-//    
+//
 //    fAttaching - true if a debugger is in the process of attaching
 //
 // Return Value:
@@ -10055,9 +10198,9 @@ void Debugger::SendClassLoadUnloadEvent (mdTypeDef classMetadataToken,
         classMetadataToken, fIsLoadEvent, pClassDebuggerModule, pAppDomain));
 
     DebuggerIPCEvent * pEvent = m_pRCThread->GetIPCEventSendBuffer();
-    
+
     BOOL fIsReflection = pClassDebuggerModule->GetRuntimeModule()->IsReflection();
-    
+
     if (fIsLoadEvent == TRUE)
     {
         // We need to update Metadata before Symbols (since symbols depend on metadata)
@@ -10187,10 +10330,10 @@ BOOL  Debugger::LoadClass(TypeHandle th,
         return FALSE;
 
     // Note that pAppDomain may be null.  The AppDomain isn't used here, and doesn't make a lot of sense since
-    // we may be delivering the notification for a class in an assembly which is loaded into multiple AppDomains.  We 
-    // handle this in SendSystemClassLoadUnloadEvent below by looping through all AppDomains and dispatching 
+    // we may be delivering the notification for a class in an assembly which is loaded into multiple AppDomains.  We
+    // handle this in SendSystemClassLoadUnloadEvent below by looping through all AppDomains and dispatching
     // events for each that contain this assembly.
-    
+
     LOG((LF_CORDB, LL_INFO10000, "D::LC: load class Tok:%#08x Mod:%#08x AD:%#08x classMod:%#08x modName:%ls\n",
          classMetadataToken, (pAppDomain == NULL) ? NULL : LookupOrCreateModule(classModule, pAppDomain),
          pAppDomain, classModule, classModule->GetDebugName()));
@@ -10307,20 +10450,20 @@ void Debugger::FuncEvalComplete(Thread* pThread, DebuggerEval *pDE)
     if (pDE->m_rethrowAbortException)
     {
         pThread->SetThreadStateNC(Thread::TSNC_DebuggerReAbort);
-    }        
+    }
 
 
     //
     // Get the domain that the result is valid in. The RS will cache this in the ICorDebugValue
-    // Note: it's possible that the AppDomain has (or is about to be) unloaded, which could lead to a 
-    // crash when we use the DebuggerModule.  Ideally we'd only be using AppDomain IDs here. 
+    // Note: it's possible that the AppDomain has (or is about to be) unloaded, which could lead to a
+    // crash when we use the DebuggerModule.  Ideally we'd only be using AppDomain IDs here.
     // We can't easily convert our ADID to an AppDomain* (SystemDomain::GetAppDomainFromId)
-    // because we can't proove that that the AppDomain* would be valid (not unloaded). 
+    // because we can't proove that that the AppDomain* would be valid (not unloaded).
     //
     AppDomain *pDomain = pThread->GetDomain();
     AppDomain *pResultDomain = ((pDE->m_debuggerModule == NULL) ? pDomain : pDE->m_debuggerModule->GetAppDomain());
     _ASSERTE( pResultDomain->GetId() == pDE->m_appDomainId );
-    
+
     // Send a func eval complete event to the Right Side.
     DebuggerIPCEvent* ipce = m_pRCThread->GetIPCEventSendBuffer();
     InitIPCEvent(ipce, DB_IPCE_FUNC_EVAL_COMPLETE, pThread, pDomain);
@@ -10342,10 +10485,10 @@ void Debugger::FuncEvalComplete(Thread* pThread, DebuggerEval *pDE)
     _ASSERTE(ipce->FuncEvalComplete.resultType.elementType != ELEMENT_TYPE_VALUETYPE);
 
     // We must adjust the result address to point to the right place
-    ipce->FuncEvalComplete.resultAddr = ArgSlotEndianessFixup((ARG_SLOT*)ipce->FuncEvalComplete.resultAddr, 
+    ipce->FuncEvalComplete.resultAddr = ArgSlotEndianessFixup((ARG_SLOT*)ipce->FuncEvalComplete.resultAddr,
         GetSizeForCorElementType(ipce->FuncEvalComplete.resultType.elementType));
 
-    LOG((LF_CORDB, LL_INFO1000, "D::FEC: returned el %04x resultAddr %p\n", 
+    LOG((LF_CORDB, LL_INFO1000, "D::FEC: returned el %04x resultAddr %p\n",
         ipce->FuncEvalComplete.resultType.elementType, ipce->FuncEvalComplete.resultAddr));
 
     m_pRCThread->SendIPCEvent();
@@ -10475,7 +10618,7 @@ BYTE* Debugger::SerializeModuleMetaData(Module * pModule, DWORD * countBytes)
         ThrowHR(hr);
     }
     _ASSERTE(pInternalEmitter != NULL);
-        
+
     hr = pInternalEmitter->SetMDUpdateMode(MDUpdateExtension, &originalUpdateMode);
     if(FAILED(hr))
     {
@@ -10483,7 +10626,7 @@ BYTE* Debugger::SerializeModuleMetaData(Module * pModule, DWORD * countBytes)
         ThrowHR(hr);
     }
     _ASSERTE(originalUpdateMode == MDUpdateFull);
-       
+
     hr = pEmitter->GetSaveSize(cssQuick, countBytes);
     if(FAILED(hr))
     {
@@ -10504,7 +10647,7 @@ BYTE* Debugger::SerializeModuleMetaData(Module * pModule, DWORD * countBytes)
     }
     EX_END_CATCH(SwallowAllExceptions);
     _ASSERTE(metadataBuffer != NULL); // allocation would throw first
-    
+
     // Caller ensures serialization that guarantees that the metadata doesn't grow underneath us.
     hr = pEmitter->SaveToMemory(metadataBuffer, *countBytes);
     if(FAILED(hr))
@@ -10514,7 +10657,7 @@ BYTE* Debugger::SerializeModuleMetaData(Module * pModule, DWORD * countBytes)
         pInternalEmitter->SetMDUpdateMode(originalUpdateMode, NULL);
         ThrowHR(hr);
     }
-    
+
     pInternalEmitter->SetMDUpdateMode(originalUpdateMode, NULL);
     LOG((LF_CORDB, LL_INFO10000, "Debugger::SMMD exiting\n"));
     return metadataBuffer;
@@ -10559,7 +10702,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
     {
         THROWS;
         if (g_pEEInterface->GetThread() != NULL) { GC_TRIGGERS; } else { GC_NOTRIGGER; }
-        
+
         PRECONDITION(ThisIsHelperThreadWorker());
 
         if (m_stopped)
@@ -10609,10 +10752,17 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
     // be sent as part of attach if debugger was launched by managed app.
     //
     DebuggerLockHolder dbgLockHolder(this, FALSE);
+    bool lockedThreadStore = false;
 
     if ((pEvent->type & DB_IPCE_TYPE_MASK) == DB_IPCE_ASYNC_BREAK ||
-        (pEvent->type & DB_IPCE_TYPE_MASK) == DB_IPCE_ATTACHING)
+        (pEvent->type & DB_IPCE_TYPE_MASK) == DB_IPCE_ATTACHING ||
+        this->m_isBlockedOnGarbageCollectionEvent)
     {
+        if (!this->m_isBlockedOnGarbageCollectionEvent)
+        {
+            lockedThreadStore = true;
+            ThreadSuspend::LockThreadStore(ThreadSuspend::SUSPEND_FOR_DEBUGGER);
+        }
         dbgLockHolder.Acquire();
     }
     else
@@ -10625,14 +10775,14 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
     switch (pEvent->type & DB_IPCE_TYPE_MASK)
     {
 
-    case DB_IPCE_ATTACHING:       
+    case DB_IPCE_ATTACHING:
         // In V3, Attach is atomic, meaning that there isn't a complex handshake back and forth between LS + RS.
         // the RS sends a single-attaching event and attaches at the first response from the Left-side.
         StartCanaryThread();
-        
+
         // In V3 after attaching event was handled we iterate throughout all ADs and made shadow copies of PDBs in the BIN directories.
         // After all AppDomain, DomainAssembly and modules iteration was available in out-of-proccess model in V4 the code that enables
-        // PDBs to be copied was not called at attach time. 
+        // PDBs to be copied was not called at attach time.
         // Eliminating PDBs copying side effect is an issue: Dev10 #927143
         EX_TRY
         {
@@ -10641,12 +10791,12 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
         EX_CATCH_HRESULT(hr); // ignore failures
 
         if (m_jitAttachInProgress)
-        { 
-            // For jit-attach, mark that we're attached now. 
-            // This lets callers to code:Debugger.JitAttach check the flag and 
+        {
+            // For jit-attach, mark that we're attached now.
+            // This lets callers to code:Debugger.JitAttach check the flag and
             // send the jit-attach event just like a normal event.
             MarkDebuggerAttachedInternal();
-            
+
             // set the managed attach event so that waiting threads can continue
             VERIFY(SetEvent(GetAttachEvent()));
             break;
@@ -10675,7 +10825,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
                 _ASSERTE(ThreadHoldsLock());
 
                 // Simply trap all Runtime threads if we're not already trying to.
-                if (!m_trappingRuntimeThreads)
+                if (!m_isBlockedOnGarbageCollectionEvent && !m_trappingRuntimeThreads)
                 {
                     // If the RS sent an Async-break, then that's an explicit request.
                     m_RSRequestedSync = TRUE;
@@ -10687,18 +10837,24 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
 
     case DB_IPCE_CONTINUE:
         {
-            GetCanary()->ClearCache();
-        
-            fContinue = ResumeThreads(pEvent->vmAppDomain.GetRawPtr());
+            if (this->m_isBlockedOnGarbageCollectionEvent)
+            {
+                this->m_stopped = false;
+                SetEvent(this->GetGarbageCollectionBlockerEvent());
+            }
+            else
+            {
+                fContinue = ResumeThreads(pEvent->vmAppDomain.GetRawPtr());
 
                 //
                 // Go ahead and release the TSL now that we're continuing. This ensures that we've held
                 // the thread store lock the entire time the Runtime was just stopped.
                 //
                 ThreadSuspend::UnlockThreadStore(FALSE, ThreadSuspend::SUSPEND_FOR_DEBUGGER);
-
-            break;
             }
+            GetCanary()->ClearCache();
+            break;
+        }
 
     case DB_IPCE_BREAKPOINT_ADD:
         {
@@ -10717,7 +10873,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
             Module * pModule = pDebuggerModule->GetRuntimeModule();
             DebuggerMethodInfo * pDMI = GetOrCreateMethodInfo(pModule, pEvent->BreakpointData.funcMetadataToken);
             MethodDesc * pMethodDesc = pEvent->BreakpointData.nativeCodeMethodDescToken.UnWrap();
-        
+
             DebuggerJitInfo * pDJI =  NULL;
             if ((pMethodDesc != NULL) && (pDMI != NULL))
             {
@@ -10756,14 +10912,14 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
             }
 
             LOG((LF_CORDB,LL_INFO10000,"\tBP Add: BPTOK:"
-                "0x%x, tok=0x%08x, offset=0x%x, isIL=%d dm=0x%x m=0x%x\n", 
+                "0x%x, tok=0x%08x, offset=0x%x, isIL=%d dm=0x%x m=0x%x\n",
                  pDebuggerBP,
                  pEvent->BreakpointData.funcMetadataToken,
                  pEvent->BreakpointData.offset,
                  pEvent->BreakpointData.isIL,
                  pDebuggerModule,
                  pModule));
-        
+
             //
             // We're using a two-way event here, so we place the
             // result event into the _receive_ buffer, not the send
@@ -10892,7 +11048,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
             else
             {
                 DebuggerStepper * pStepper;
-                 
+
                 if (pEvent->StepData.IsJMCStop)
                 {
                     pStepper = new (interopsafe, nothrow) DebuggerJMCStepper(pThread,
@@ -10959,8 +11115,8 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
             CorDebugThreadState debugState = pEvent->SetAllDebugState.debugState;
 
             LOG((LF_CORDB,LL_INFO10000,"HandleIPCE: SetAllDebugState: except thread 0x%08x (ID:0x%x) to state 0x%x\n",
-                 pThread, 
-                 (pThread != NULL) ? GetThreadIdHelper(pThread) : 0, 
+                 pThread,
+                 (pThread != NULL) ? GetThreadIdHelper(pThread) : 0,
                  debugState));
 
             if (!g_fProcessDetach)
@@ -11054,13 +11210,13 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
             DebuggerModule *pDebuggerModule = LookupOrCreateModule(pEvent->SetClassLoad.vmDomainFile);
 
             _ASSERTE(pDebuggerModule != NULL);
-            
+
             LOG((LF_CORDB, LL_INFO10000,
                  "D::HIPCE: class load flag is %d for module 0x%p\n",
-                 pEvent->SetClassLoad.flag, 
+                 pEvent->SetClassLoad.flag,
                  pDebuggerModule));
 
-            pDebuggerModule->EnableClassLoadCallbacks((BOOL)pEvent->SetClassLoad.flag);            
+            pDebuggerModule->EnableClassLoadCallbacks((BOOL)pEvent->SetClassLoad.flag);
         }
         break;
 
@@ -11108,8 +11264,8 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
                 DebuggerJitInfo * pDJI = NULL;
                 if (pDMI != NULL)
                 {
-                    // In the EnC case, if we look for an older version, we need to find the DJI by starting 
-                    // address, rather than just by MethodDesc. In the case of generics, we may need to create a DJI, so we 
+                    // In the EnC case, if we look for an older version, we need to find the DJI by starting
+                    // address, rather than just by MethodDesc. In the case of generics, we may need to create a DJI, so we
                     pDJI = pDMI->FindOrCreateInitAndAddJitInfo(pEvent->SetIP.vmMethodDesc.GetRawPtr(),
                                                                PINSTRToPCODE((TADDR)pEvent->SetIP.startAddress));
                 }
@@ -11118,7 +11274,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
                 {
                     CHECK_IF_CAN_TAKE_HELPER_LOCKS_IN_THIS_SCOPE(&(pIPCResult->hr), GetCanary());
 
-                    if (SUCCEEDED(pIPCResult->hr))                    
+                    if (SUCCEEDED(pIPCResult->hr))
                     {
                         pIPCResult->hr = SetIP(pEvent->SetIP.fCanSetIPOnly,
                                           pThread,
@@ -11153,7 +11309,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
         // Note that we'd like to be able to do this assert here
         //      _ASSERTE(DebuggerController::GetNumberOfPatches() == 0);
         // However controllers may get queued for deletion if there is outstanding
-        // work and so we can't gaurentee the deletion will complete now.  
+        // work and so we can't gaurentee the deletion will complete now.
         // @dbgtodo  inspection: This shouldn't be an issue in the complete V3 architecture
 
         MarkDebuggerUnattachedInternal();
@@ -11332,7 +11488,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
                      pEvent->CreateHandleResult.vmObjectHandle.SetRawPtr(objectHandle);
                  }
              }
-             
+
              m_pRCThread->SendIPCReply();
              break;
         }
@@ -11406,7 +11562,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
 
     case DB_IPCE_CONTROL_C_EVENT_RESULT:
         {
-            // store the result of whether the event has been handled by the debugger and 
+            // store the result of whether the event has been handled by the debugger and
             // wake up the thread waiting for the result
             SetDebuggerHandlingCtrlC(pEvent->hr == S_OK);
             VERIFY(SetEvent(GetCtrlCMutex()));
@@ -11546,7 +11702,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
 
             Module * pModule = pEvent->MetadataUpdateRequest.vmModule.GetRawPtr();
             LOG((LF_CORDB, LL_INFO100000, "D::HIPCE Got module 0x%x\n", pModule));
-            
+
             DWORD countBytes = 0;
 
             // This will allocate memory. Debugger will then copy from here and send a
@@ -11556,7 +11712,7 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
             {
                 LOG((LF_CORDB, LL_INFO100000, "D::HIPCE Calling SerializeModuleMetaData\n"));
                 pData = SerializeModuleMetaData(pModule, &countBytes);
-                
+
             }
             EX_CATCH_HRESULT(hr);
 
@@ -11564,12 +11720,12 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
 
             DebuggerIPCEvent * pResult = m_pRCThread->GetIPCEventReceiveBuffer();
             InitIPCEvent(pResult, DB_IPCE_RESOLVE_UPDATE_METADATA_1_RESULT, NULL, NULL);
-            
+
             pResult->MetadataUpdateRequest.pMetadataStart = pData;
             pResult->MetadataUpdateRequest.nMetadataSize = countBytes;
             pResult->hr = hr;
             LOG((LF_CORDB, LL_INFO1000000, "D::HIPCE metadataStart=0x%x, nMetadataSize=0x%x\n", pData, countBytes));
-            
+
             m_pRCThread->SendIPCReply();
             LOG((LF_CORDB, LL_INFO1000000, "D::HIPCE reply sent\n"));
         }
@@ -11598,6 +11754,10 @@ bool Debugger::HandleIPCEvent(DebuggerIPCEvent * pEvent)
 
     STRESS_LOG0(LF_CORDB, LL_INFO10000, "D::HIPCE: finished handling event\n");
 
+    if (lockedThreadStore)
+    {
+        ThreadSuspend::UnlockThreadStore(FALSE, ThreadSuspend::SUSPEND_FOR_DEBUGGER);
+    }
     // dbgLockHolder goes out of scope - implicit Release
     return fContinue;
 }
@@ -11659,18 +11819,18 @@ HRESULT Debugger::GetAndSendInterceptCommand(DebuggerIPCEvent *event)
             {
                 //
                 // If the target frame is below the point where the current exception was
-                // thrown from, then we should reject this interception command.  This 
+                // thrown from, then we should reject this interception command.  This
                 // can happen in a func-eval during an exception callback, or during a
                 // breakpoint in a filter function.  Or it can just be a user error.
                 //
                 CONTEXT* pContext = pExState->GetContextRecord();
 
-                // This is an approximation on IA64, where we should use the caller SP instead of 
-                // the current SP.  However, if the targetFramePointer is valid, the comparison should 
-                // still work.  targetFramePointer should be valid because it ultimately comes from a 
+                // This is an approximation on IA64, where we should use the caller SP instead of
+                // the current SP.  However, if the targetFramePointer is valid, the comparison should
+                // still work.  targetFramePointer should be valid because it ultimately comes from a
                 // full stackwalk.
                 FramePointer excepFramePointer = FramePointer::MakeFramePointer(GetSP(pContext));
-                
+
                 if (IsCloserToRoot(excepFramePointer, targetFramePointer))
                 {
                     hr = CORDBG_E_CURRENT_EXCEPTION_IS_OUTSIDE_CURRENT_EXECUTION_SCOPE;
@@ -11687,7 +11847,7 @@ HRESULT Debugger::GetAndSendInterceptCommand(DebuggerIPCEvent *event)
                 //
                 if (pExState->GetContextRecord() != NULL)
                 {
-                    // If the faulting instruction is not in managed code, then the interception frame 
+                    // If the faulting instruction is not in managed code, then the interception frame
                     // must be non-leaf.
                     if (!g_pEEInterface->IsManagedNativeCode((BYTE *)(GetIP(pExState->GetContextRecord()))))
                     {
@@ -11722,7 +11882,7 @@ HRESULT Debugger::GetAndSendInterceptCommand(DebuggerIPCEvent *event)
 #if defined(WIN64EXCEPTIONS)
                     int funcletIndex = PARENT_METHOD_INDEX;
 
-                    // For funclets, we need to make sure that the stack empty sequence point we use is 
+                    // For funclets, we need to make sure that the stack empty sequence point we use is
                     // in the same funclet as the current offset.
                     if (csi.m_activeFrame.IsFuncletFrame())
                     {
@@ -11993,10 +12153,10 @@ void Debugger::TypeHandleToBasicTypeInfo(AppDomain *pAppDomain, TypeHandle th, D
     case ELEMENT_TYPE_CLASS:
     case ELEMENT_TYPE_VALUETYPE:
         {
-            res->vmTypeHandle = th.HasInstantiation() ? WrapTypeHandle(th) : VMPTR_TypeHandle::NullPtr(); 
+            res->vmTypeHandle = th.HasInstantiation() ? WrapTypeHandle(th) : VMPTR_TypeHandle::NullPtr();
                                                                              // only set if instantiated
             res->metadataToken = th.GetCl();
-            DebuggerModule * pDModule = LookupOrCreateModule(th.GetModule(), pAppDomain);            
+            DebuggerModule * pDModule = LookupOrCreateModule(th.GetModule(), pAppDomain);
             res->vmDomainFile.SetRawPtr((pDModule ? pDModule->GetDomainFile() : NULL));
             break;
         }
@@ -12047,8 +12207,8 @@ void Debugger::TypeHandleToExpandedTypeInfo(AreValueTypesBoxed boxed,
     case ELEMENT_TYPE_SZARRAY:
         _ASSERTE(th.IsArray());
         res->ArrayTypeData.arrayRank = th.AsArray()->GetRank();
-        TypeHandleToBasicTypeInfo(pAppDomain, 
-                                  th.AsArray()->GetArrayElementTypeHandle(), 
+        TypeHandleToBasicTypeInfo(pAppDomain,
+                                  th.AsArray()->GetArrayElementTypeHandle(),
                                   &(res->ArrayTypeData.arrayTypeArg));
         break;
 
@@ -12060,8 +12220,8 @@ void Debugger::TypeHandleToExpandedTypeInfo(AreValueTypesBoxed boxed,
             goto treatAllValuesAsBoxed;
         }
         _ASSERTE(th.IsTypeDesc());
-        TypeHandleToBasicTypeInfo(pAppDomain, 
-                                  th.AsTypeDesc()->GetTypeParam(), 
+        TypeHandleToBasicTypeInfo(pAppDomain,
+                                  th.AsTypeDesc()->GetTypeParam(),
                                   &(res->UnaryTypeData.unaryTypeArg));
         break;
 
@@ -12150,7 +12310,7 @@ HRESULT Debugger::BasicTypeInfoToTypeHandle(DebuggerIPCE_BasicTypeData *data, Ty
             }
             break;
         }
-    
+
     case ELEMENT_TYPE_FNPTR:
         {
             _ASSERTE(!data->vmTypeHandle.IsNull());
@@ -12243,7 +12403,7 @@ TypeHandle Debugger::TypeDataWalk::ReadTypeHandle()
             th = ReadInstantiation(pDebuggerModule->GetRuntimeModule(), data->data.ClassTypeData.metadataToken, data->numTypeArgs);
             break;
         }
-    
+
     case ELEMENT_TYPE_FNPTR:
         {
             SIZE_T cbAllocSize;
@@ -12359,7 +12519,7 @@ HRESULT Debugger::AllocateRemoteBuffer( ULONG bufSize, void **ppBuffer )
     if (pBuffer == NULL)
             {
         return E_OUTOFMEMORY;
-        }            
+        }
 
     // Track the allocation so we can free it later
     void **ppNextBlob = GetMemBlobs()->Append();
@@ -12442,7 +12602,7 @@ HRESULT Debugger::ReleaseRemoteBuffer(void *pBuffer, bool removeFromBlobList)
         }
 
         // We should have found a match.  All buffers passed to ReleaseRemoteBuffer
-        // should have been allocated with AllocateRemoteBuffer and not yet freed. 
+        // should have been allocated with AllocateRemoteBuffer and not yet freed.
         _ASSERTE( i < cBlobs );
     }
 
@@ -12719,7 +12879,7 @@ void Debugger::GetVarInfo(MethodDesc *       fd,   // [IN] method of interest
 
 //---------------------------------------------------------------------------------------
 //
-// Apply an EnC edit to the CLR datastructures and send the result event to the 
+// Apply an EnC edit to the CLR datastructures and send the result event to the
 // debugger right-side.
 //
 // Arguments:
@@ -12736,7 +12896,7 @@ void Debugger::GetVarInfo(MethodDesc *       fd,   // [IN] method of interest
 // Notes:
 //
 // This is just the first half of processing an EnC request (hot swapping).  This updates
-// the metadata and other CLR data structures to reflect the edit, but does not directly 
+// the metadata and other CLR data structures to reflect the edit, but does not directly
 // affect code which is currently running.  In order to achieve on-stack replacement
 // (remap of running code), we mine all old methods with "EnC remap breakpoints"
 // (instances of DebuggerEnCBreakpoint) at many sequence points.  When one of those
@@ -12825,7 +12985,7 @@ private:
 // is a valid Remap Breakpoint location (not in a special offset, must be empty stack, and not in a handler.
 //
 EnCSequencePointHelper::EnCSequencePointHelper(DebuggerJitInfo *pJitInfo)
-    : m_pOffsetToHandlerInfo(NULL), 
+    : m_pOffsetToHandlerInfo(NULL),
       m_pJitInfo(pJitInfo)
 {
     CONTRACTL
@@ -12845,9 +13005,9 @@ EnCSequencePointHelper::EnCSequencePointHelper(DebuggerJitInfo *pJitInfo)
     for (unsigned int i = 0; i < m_pJitInfo->GetSequenceMapCount(); i++)
     {
         // By default this slot is unused.  We want the indexes in m_pOffsetToHandlerInfo
-        // to correspond to the indexes of m_pJitInfo->GetSequenceMapCount, so we rely 
+        // to correspond to the indexes of m_pJitInfo->GetSequenceMapCount, so we rely
         // on a -1 offset to indicate that a DebuggerOffsetToHandlerInfo is unused.
-        // However, it would be cleaner and permit a simpler API to the EE if we just 
+        // However, it would be cleaner and permit a simpler API to the EE if we just
         // had an array mapping the offsets instead.
         m_pOffsetToHandlerInfo[i].offset = (SIZE_T) -1;
         m_pOffsetToHandlerInfo[i].isInFilterOrHandler = FALSE;
@@ -12864,7 +13024,7 @@ EnCSequencePointHelper::EnCSequencePointHelper(DebuggerJitInfo *pJitInfo)
             continue;
         }
 
-        // Skip duplicate sequence points 
+        // Skip duplicate sequence points
         if (i >=1 && offset == pJitInfo->GetSequenceMap()[i-1].nativeStartOffset)
         {
             LOG((LF_ENC, LL_INFO10000,
@@ -12886,7 +13046,7 @@ EnCSequencePointHelper::EnCSequencePointHelper(DebuggerJitInfo *pJitInfo)
             continue;
         }
 
-        // So far this sequence point looks good, so store it's native offset so we can get 
+        // So far this sequence point looks good, so store it's native offset so we can get
         // EH information about it from the EE.
         LOG((LF_ENC, LL_INFO10000,
              "D::UF: possibly placing E&C breakpoint at offset "
@@ -12981,10 +13141,10 @@ HRESULT Debugger::UpdateFunction(MethodDesc* pMD, SIZE_T encVersion)
     Module *pModule = g_pEEInterface->MethodDescGetModule(pMD);
     _ASSERTE(pModule != NULL);
     mdToken methodDef = pMD->GetMemberDef();
-    SendEnCUpdateEvent(DB_IPCE_ENC_UPDATE_FUNCTION, 
-                       pModule, 
-                       methodDef, 
-                       pMD->GetMethodTable()->GetCl(), 
+    SendEnCUpdateEvent(DB_IPCE_ENC_UPDATE_FUNCTION,
+                       pModule,
+                       methodDef,
+                       pMD->GetMethodTable()->GetCl(),
                        encVersion);
 
     DebuggerMethodInfo *dmi = GetOrCreateMethodInfo(pModule, methodDef);
@@ -13049,8 +13209,8 @@ HRESULT Debugger::UpdateFunction(MethodDesc* pMD, SIZE_T encVersion)
         DebuggerEnCBreakpoint *bp;
 
         // Create and activate a new EnC remap breakpoint here in the old version of the method
-        bp = new (interopsafe) DebuggerEnCBreakpoint( offset, 
-                                                      pJitInfo, 
+        bp = new (interopsafe) DebuggerEnCBreakpoint( offset,
+                                                      pJitInfo,
                                                       DebuggerEnCBreakpoint::REMAP_PENDING,
                                                      (AppDomain *)pModule->GetDomain());
 
@@ -13105,8 +13265,8 @@ HRESULT Debugger::UpdateNotYetLoadedFunction(mdMethodDef token, Module * pModule
 }
 
 // Called to add a new function when the type has been loaded already.
-// This is effectively the same as above, except that we're given a 
-// MethodDesc instead of a module and token.  
+// This is effectively the same as above, except that we're given a
+// MethodDesc instead of a module and token.
 // This should probably be merged into a single method since the caller
 // should always have a module and token available in both cases.
 HRESULT Debugger::AddFunction(MethodDesc* pMD, SIZE_T encVersion)
@@ -13121,7 +13281,7 @@ HRESULT Debugger::AddFunction(MethodDesc* pMD, SIZE_T encVersion)
     }
     CONTRACTL_END;
 
-    DebuggerDataLockHolder debuggerDataLockHolder(this);    
+    DebuggerDataLockHolder debuggerDataLockHolder(this);
 
     LOG((LF_CORDB, LL_INFO10000, "D::AF: adding "
          "%s::%s to version %d\n", pMD->m_pszDebugClassName, pMD->m_pszDebugMethodName, encVersion));
@@ -13132,10 +13292,10 @@ HRESULT Debugger::AddFunction(MethodDesc* pMD, SIZE_T encVersion)
     mdToken methodDef = pMD->GetMemberDef();
 
     // tell the RS that this function has been added so that it can create new CorDBFunction
-    SendEnCUpdateEvent( DB_IPCE_ENC_ADD_FUNCTION, 
-                        pModule, 
-                        methodDef, 
-                        pMD->GetMethodTable()->GetCl(), 
+    SendEnCUpdateEvent( DB_IPCE_ENC_ADD_FUNCTION,
+                        pModule,
+                        methodDef,
+                        pMD->GetMethodTable()->GetCl(),
                         encVersion);
 
     DebuggerMethodInfo *dmi = CreateMethodInfo(pModule, methodDef);
@@ -13162,10 +13322,10 @@ HRESULT Debugger::AddField(FieldDesc* pFD, SIZE_T encVersion)
          "%8.8d::%8.8d to version %d\n", pFD->GetApproxEnclosingMethodTable()->GetCl(), pFD->GetMemberDef(), encVersion));
 
     // tell the RS that this field has been added so that it can update it's structures
-    SendEnCUpdateEvent( DB_IPCE_ENC_ADD_FIELD, 
-                        pFD->GetModule(), 
-                        pFD->GetMemberDef(), 
-                        pFD->GetApproxEnclosingMethodTable()->GetCl(), 
+    SendEnCUpdateEvent( DB_IPCE_ENC_ADD_FIELD,
+                        pFD->GetModule(),
+                        pFD->GetMemberDef(),
+                        pFD->GetApproxEnclosingMethodTable()->GetCl(),
                         encVersion);
 
     return S_OK;
@@ -13212,14 +13372,14 @@ HRESULT Debugger::RemapComplete(MethodDesc* pMD, TADDR addr, SIZE_T nativeOffset
         return E_OUTOFMEMORY;
     }
     _ASSERTE(pJitInfo->m_addrOfCode + nativeOffset == addr);
-    
+
     DebuggerEnCBreakpoint *bp;
 
     // Create and activate a new REMAP_COMPLETE EnC breakpoint to let us know when
     // the EE has completed the remap process.
     // This will be deleted when the patch is hit.
-    bp = new (interopsafe, nothrow) DebuggerEnCBreakpoint( nativeOffset, 
-                                                           pJitInfo, 
+    bp = new (interopsafe, nothrow) DebuggerEnCBreakpoint( nativeOffset,
+                                                           pJitInfo,
                                                            DebuggerEnCBreakpoint::REMAP_COMPLETE,
                                        (AppDomain *)pMD->GetModule()->GetDomain());
     if (bp == NULL)
@@ -13233,7 +13393,7 @@ HRESULT Debugger::RemapComplete(MethodDesc* pMD, TADDR addr, SIZE_T nativeOffset
 //-----------------------------------------------------------------------------
 // Called by EnC stuff to map an IL offset to a native offset for the given
 // method described by (pMD, nativeFnxStart).
-// 
+//
 // pMD - methoddesc for method being remapped
 // ilOffset - incoming offset in old method to remap.
 // nativeFnxStart - address of new function. This can be used to find the DJI
@@ -13266,7 +13426,7 @@ HRESULT Debugger::MapILInfoToCurrentNative(MethodDesc *pMD,
     *nativeOffset = 0;
     DebuggerJitInfo *djiTo = GetJitInfo( pMD, (const BYTE *)nativeFnxStart);
     if (djiTo == NULL)
-    {        
+    {
         _ASSERTE(!"No DJI in EnC case: should only happen on oom. Debugger doesn't support OOM.");
         return E_FAIL;
     }
@@ -13284,7 +13444,7 @@ HRESULT Debugger::MapILInfoToCurrentNative(MethodDesc *pMD,
 //
 // Arguments:
 //     pContext - context from which we were hijacked. Always non-null.
-//     pRecord - exception record if hijacked from an exception event. 
+//     pRecord - exception record if hijacked from an exception event.
 //              Else null (if hijacked from a managed IP).
 //     reason - hijack reason. Use this to delegate to the proper hijack stub.
 //     pData   - arbitrary data for the hijack to use. (eg, such as a DebuggerEval object)
@@ -13294,14 +13454,14 @@ HRESULT Debugger::MapILInfoToCurrentNative(MethodDesc *pMD,
 //
 // Assumptions:
 //     If hijacked at an exception event, the debugger must have cleared the exception.
-//     
+//
 // Notes:
 //     The debugger hijacked the thread to get us here via the DacDbi Hijack primitive.
 //     This is called from a hand coded asm stub.
 //
 void STDCALL ExceptionHijackWorker(
-    CONTEXT * pContext, 
-    EXCEPTION_RECORD * pRecord, 
+    CONTEXT * pContext,
+    EXCEPTION_RECORD * pRecord,
     EHijackReason::EHijackReason reason,
     void * pData)
 {
@@ -13312,12 +13472,12 @@ void STDCALL ExceptionHijackWorker(
     {
         case EHijackReason::kUnhandledException:
             STRESS_LOG0(LF_CORDB,LL_INFO10, "D::EHW: Calling g_pDebugger->UnhandledHijackWorker()\n");
-            _ASSERTE(pData == NULL); 
+            _ASSERTE(pData == NULL);
             g_pDebugger->UnhandledHijackWorker(pContext, pRecord);
             break;
 #ifdef FEATURE_INTEROP_DEBUGGING
     case EHijackReason::kM2UHandoff:
-            _ASSERTE(pData == NULL); 
+            _ASSERTE(pData == NULL);
             g_pDebugger->M2UHandoffHijackWorker(pContext, pRecord);
             break;
     case EHijackReason::kFirstChanceSuspend:
@@ -13336,8 +13496,8 @@ void STDCALL ExceptionHijackWorker(
     // Currently, no Hijack actually returns yet.
     UNREACHABLE();
 
-    // If we return to this point, then we'll restore ourselves.    
-    // We've got the context that we were hijacked from, so we should be able to just 
+    // If we return to this point, then we'll restore ourselves.
+    // We've got the context that we were hijacked from, so we should be able to just
     // call SetThreadContext on ourself to fix us.
 }
 
@@ -13347,8 +13507,8 @@ void STDCALL ExceptionHijackWorker(
 // ----------------------------------------------------------------------------
 // EmptyPersonalityRoutine
 //
-// Description: 
-//    This personality routine is used to work around a limitation of the OS unwinder when we return 
+// Description:
+//    This personality routine is used to work around a limitation of the OS unwinder when we return
 //    ExceptionCollidedUnwind.
 //    See code:ExceptionHijackPersonalityRoutine for more information.
 //
@@ -13385,24 +13545,24 @@ EXCEPTION_DISPOSITION EmptyPersonalityRoutine(IN     PEXCEPTION_RECORD   pExcept
 //
 // Notes:
 //    We just need 1 personality routine for the tiny assembly hijack stub.
-//    All the C++ code invoked by the stub is ok. 
+//    All the C++ code invoked by the stub is ok.
 //
-//    This needs to fetch the original context that this thread was hijacked from 
+//    This needs to fetch the original context that this thread was hijacked from
 //    (which the hijack pushed onto the stack) and pass that back to the OS. This lets
 //    ths OS unwind out of the hijack.
-//    
+//
 //    This function should only be executed if an unhandled exception is intercepted by a managed debugger.
 //    Otherwise there should never be a 2nd pass exception dispatch crossing the hijack stub.
-//    
+//
 //    The basic idea here is straightforward.  The OS does an exception dispatch and hit our hijack stub.
 //    Since the hijack stub is not unwindable, we need a personality routine to restore the CONTEXT and
 //    tell the OS to continue the dispatch with that CONTEXT by returning ExceptionCollidedUnwind.
-//    
-//    However, empricially, the OS expects that when we return ExceptionCollidedUnwind, the function 
-//    represented by the CONTEXT has a personality routine.  The OS will actually AV if we return a NULL 
-//    personality routine.  
-//    
-//    On AMD64, we work around this by using an empty personality routine. 
+//
+//    However, empricially, the OS expects that when we return ExceptionCollidedUnwind, the function
+//    represented by the CONTEXT has a personality routine.  The OS will actually AV if we return a NULL
+//    personality routine.
+//
+//    On AMD64, we work around this by using an empty personality routine.
 
 EXTERN_C EXCEPTION_DISPOSITION
 ExceptionHijackPersonalityRoutine(IN     PEXCEPTION_RECORD   pExceptionRecord
@@ -13427,7 +13587,7 @@ ExceptionHijackPersonalityRoutine(IN     PEXCEPTION_RECORD   pExceptionRecord
     // DacDbiInterfaceImpl::Hijack. This works because ExceptionHijack
     // allocates exactly 4 stack slots.
     pHijackContext = *reinterpret_cast<CONTEXT **>(pDispatcherContext->EstablisherFrame + 0x20);
-    
+
     // This copies pHijackContext into pDispatcherContext, which the OS can then
     // use to walk the stack.
     FixupDispatcherContext(pDispatcherContext, pHijackContext, pContextRecord, (PEXCEPTION_ROUTINE)EmptyPersonalityRoutine);
@@ -13454,21 +13614,21 @@ LONG InternalUnhandledExceptionFilter_Worker(EXCEPTION_POINTERS *pExceptionInfo)
 //     pRecord - exception record of the exception that this was hijacked at.
 //     pData - random data.
 // Notes:
-// When under a native-debugger, the OS does not invoking the Unhandled Exception Filter (UEF). 
+// When under a native-debugger, the OS does not invoking the Unhandled Exception Filter (UEF).
 // It dispatches a 2nd-chance Exception event instead.
 // However, the CLR's UEF does lots of useful work (like dispatching the 2nd-chance managed exception,
-// allowing func-eval on 2nd-chance, and allowing intercepting unhandled exceptions). 
+// allowing func-eval on 2nd-chance, and allowing intercepting unhandled exceptions).
 // So we'll emulate the OS behavior here by invoking the CLR's UEF directly.
 //
 void Debugger::UnhandledHijackWorker(CONTEXT * pContext, EXCEPTION_RECORD * pRecord)
-{   
+{
     CONTRACTL
     {
         // The ultimate protection shield is that this hijack can be executed under the same circumstances
         // as a top-level UEF that pinvokes into managed code
         // - That means we're GC-triggers safe
         // - that means that we can crawl the stack. (1st-pass EH logic ensures this).
-        // We need to be GC-triggers because this may invoke a func-eval. 
+        // We need to be GC-triggers because this may invoke a func-eval.
         GC_TRIGGERS;
 
         // Don't throw out of a hijack! There's nobody left to catch this.
@@ -13477,7 +13637,7 @@ void Debugger::UnhandledHijackWorker(CONTEXT * pContext, EXCEPTION_RECORD * pRec
         // We expect to always be in preemptive here by the time we get this unhandled notification.
         // We know this is true because a native UEF is preemptive.
         // More detail:
-        //   1) If we got here from a software exception (eg, Throw from C#), then the jit helper 
+        //   1) If we got here from a software exception (eg, Throw from C#), then the jit helper
         //       toggled us to preemptive before calling RaiseException().
         //   2) If we got here from a hardware exception in managed code, then the 1st-pass already did
         //       some magic to get us into preemptive. On x86, this is magic. On 64-bit, it did some magic
@@ -13501,7 +13661,7 @@ void Debugger::UnhandledHijackWorker(CONTEXT * pContext, EXCEPTION_RECORD * pRec
 
     BOOL fSOException = FALSE;
 
-    if ((pRecord != NULL) && 
+    if ((pRecord != NULL) &&
         (pRecord->ExceptionCode == STATUS_STACK_OVERFLOW))
     {
         fSOException = TRUE;
@@ -13514,10 +13674,10 @@ void Debugger::UnhandledHijackWorker(CONTEXT * pContext, EXCEPTION_RECORD * pRec
     PostJitAttach();
 
     // On Win7 WatsonLastChance returns CONTINUE_SEARCH for unhandled exceptions execpt stack overflow, and
-    // lets OS launch debuggers for us.  Before the unhandled exception reaches the OS, CLR UEF has already 
+    // lets OS launch debuggers for us.  Before the unhandled exception reaches the OS, CLR UEF has already
     // processed this unhandled exception.  Thus, we should not call into CLR UEF again if it is the case.
-    if (pThread && 
-        (pThread->HasThreadStateNC(Thread::TSNC_ProcessedUnhandledException) || 
+    if (pThread &&
+        (pThread->HasThreadStateNC(Thread::TSNC_ProcessedUnhandledException) ||
          pThread->HasThreadStateNC(Thread::TSNC_AppDomainContainUnhandled) ||
          fSOException))
     {
@@ -13534,15 +13694,15 @@ void Debugger::UnhandledHijackWorker(CONTEXT * pContext, EXCEPTION_RECORD * pRec
             // exception.  Our hijack code runs in the exception context, and overwrites the stack space
             // after SO excpetion, so this frame was popped out before invoking RaiseFailFast.  We need to
             // put it back here for running func-eval code.
-            // This cumbersome code should be removed once SO synchronization is moved to be completely 
-            // out-of-process. 
+            // This cumbersome code should be removed once SO synchronization is moved to be completely
+            // out-of-process.
             fef.InitAndLink(pContext);
         }
 
         STRESS_LOG0(LF_CORDB, LL_INFO10, "D::EHW: Calling NotifyDebuggerLastChance\n");
         NotifyDebuggerLastChance(pThread, &exceptionInfo, TRUE);
 
-        // Continuing from a second chance managed exception causes the process to exit.    
+        // Continuing from a second chance managed exception causes the process to exit.
         TerminateProcess(GetCurrentProcess(), 0);
     }
 
@@ -13560,8 +13720,8 @@ void Debugger::UnhandledHijackWorker(CONTEXT * pContext, EXCEPTION_RECORD * pRec
 
     // If intercepted, then this never returns. It will manually invoke the unwinders and fix the context.
 
-    // InternalUnhandledExceptionFilter_Worker has a throws contract, but should not be throwing in any 
-    // conditions we care about. This hijack should never throw, so catch everything.  
+    // InternalUnhandledExceptionFilter_Worker has a throws contract, but should not be throwing in any
+    // conditions we care about. This hijack should never throw, so catch everything.
     HRESULT hrIgnore;
     EX_TRY
     {
@@ -13569,7 +13729,7 @@ void Debugger::UnhandledHijackWorker(CONTEXT * pContext, EXCEPTION_RECORD * pRec
     }
     EX_CATCH_HRESULT(hrIgnore);
 
-    // Continuing from a second chance managed exception causes the process to exit.    
+    // Continuing from a second chance managed exception causes the process to exit.
     TerminateProcess(GetCurrentProcess(), 0);
 }
 
@@ -13612,7 +13772,7 @@ VOID Debugger::M2UHandoffHijackWorker(CONTEXT *pContext,
     SO_NOT_MAINLINE_FUNCTION;
 
 
-    LOG((LF_CORDB, LL_INFO1000, "D::M2UHHW: Context=0x%p exception record=0x%p\n", 
+    LOG((LF_CORDB, LL_INFO1000, "D::M2UHHW: Context=0x%p exception record=0x%p\n",
         pContext, pExceptionRecord));
 
     // We should only be here for a BP
@@ -13667,7 +13827,7 @@ VOID Debugger::M2UHandoffHijackWorker(CONTEXT *pContext,
 }
 
 //-----------------------------------------------------------------------------
-// This hijack is run after receiving an IB event that we don't know how the 
+// This hijack is run after receiving an IB event that we don't know how the
 // debugger will want to continue. Under the covers we clear the event and divert
 // execution here where we block until the debugger decides whether or not to clear
 // the event. At that point we exit this hijack and the LS diverts execution back
@@ -13718,7 +13878,7 @@ LONG Debugger::FirstChanceSuspendHijackWorker(CONTEXT *pContext,
 #endif
 
     // This memory is used as IPC during the hijack. We will place a pointer to this in
-    // the EE debugger word (a TLS slot that works even on the debugger break-in thread) 
+    // the EE debugger word (a TLS slot that works even on the debugger break-in thread)
     // and then the RS can write info into the memory.
     DebuggerIPCFirstChanceData fcd;
 
@@ -13750,7 +13910,7 @@ LONG Debugger::FirstChanceSuspendHijackWorker(CONTEXT *pContext,
         SPEW(fprintf(stderr, "0x%x D::FCHF: Signaling hijack started.\n", tid));
         SignalHijackStarted();
         SPEW(fprintf(stderr, "0x%x D::FCHF: Signaling hijack started complete. DebugCounter=0x%x\n", tid, pFcd->debugCounter));
-        
+
         if (pFcd->action == HIJACK_ACTION_WAIT)
         {
             // This exception does NOT belong to the CLR.
@@ -13822,7 +13982,7 @@ LONG Debugger::FirstChanceSuspendHijackWorker(CONTEXT *pContext,
         _ASSERTE(pFcd->action == HIJACK_ACTION_EXIT_UNHANDLED);
         return EXCEPTION_CONTINUE_SEARCH;
     }
-} 
+}
 
 #if defined(_TARGET_X86_) || defined(_TARGET_AMD64_) || defined(_TARGET_ARM64_)
 void GenericHijackFuncHelper()
@@ -14389,8 +14549,8 @@ void Debugger::SendMDANotification(
             // - S_OK if we do a jit-attach,
             // - S_FALSE if a debugger is already attached.
             // - Error in other cases..
-            
-            JitAttach(pThread, NULL, TRUE, FALSE); 
+
+            JitAttach(pThread, NULL, TRUE, FALSE);
         }
 
         // Debugger may be attached now...
@@ -14451,9 +14611,9 @@ void Debugger::SendLogMessage(int iLevel,
 
     // Send Log message event to the Right Side
     SendRawLogMessage(
-        pThread, 
-        pAppDomain, 
-        iLevel, 
+        pThread,
+        pAppDomain,
+        iLevel,
         pSwitchName,
         pMessage);
 
@@ -14476,7 +14636,7 @@ void Debugger::SendRawLogMessage(
     AppDomain                                 *pAppDomain,
     int                                        iLevel,
     SString *   pCategory,
-    SString *   pMessage 
+    SString *   pMessage
 )
 {
     DebuggerIPCEvent* ipce;
@@ -14574,7 +14734,7 @@ void Debugger::SendLogSwitchSetting(int iLevel,
 //     input: pThread    - thread on which the notification occurred
 //            pDomain    - domain file for the domain in which the notification occurred
 //            classToken - metadata token for the type of the notification object
-void Debugger::SendCustomDebuggerNotification(Thread * pThread, 
+void Debugger::SendCustomDebuggerNotification(Thread * pThread,
                                               DomainFile * pDomain,
                                               mdTypeDef classToken)
 {
@@ -14611,7 +14771,7 @@ void Debugger::SendCustomDebuggerNotification(Thread * pThread,
         ipce->CustomNotification.classToken = classToken;
         ipce->CustomNotification.vmDomainFile = vmDomainFile;
 
+
         m_pRCThread->SendIPCEvent();
 
         // Stop all Runtime threads
@@ -14724,7 +14884,7 @@ LErrExit:
         // UnLock the list
         m_pAppDomainCB->Unlock();
 
-        // Send event to debugger if one is attached.  
+        // Send event to debugger if one is attached.
         if (CORDebuggerAttached())
         {
             SendCreateAppDomainEvent(pAppDomain);
@@ -14736,7 +14896,7 @@ LErrExit:
 
 
 /******************************************************************************
- * Remove the AppDomain from the list stored in the IPC block and send an ExitAppDomain 
+ * Remove the AppDomain from the list stored in the IPC block and send an ExitAppDomain
  * event to the debugger if attached.
  ******************************************************************************/
 HRESULT Debugger::RemoveAppDomainFromIPC (AppDomain *pAppDomain)
@@ -14923,7 +15083,7 @@ HRESULT Debugger::IterateAppDomainsForPdbs()
                 CopyModulePdb(pDomainAssembly->GetModule());
             }
         }
-        
+
         // Get the next appdomain in the list
         pADInfo = m_pAppDomainCB->FindNext(pADInfo);
     }
@@ -15021,7 +15181,7 @@ HRESULT Debugger::InitAppDomainIPC(void)
     dwStrLen = WszGetModuleFileName(NULL,
                                     szExeName);
 
-    
+
     // If we couldn't get the name, then use a nice default.
     if (dwStrLen == 0)
     {
@@ -15114,7 +15274,7 @@ HRESULT Debugger::TerminateAppDomainIPC(void)
 
     // We're done. release and close the mutex.  Note that this must be done
     // after we clear it out above to ensure there is no race condition.
-    if( m != NULL ) 
+    if( m != NULL )
     {
         VERIFY(ReleaseMutex(m));
         m.Close();
@@ -15256,7 +15416,7 @@ HRESULT Debugger::FuncEvalSetup(DebuggerIPCE_FuncEvalInfo *pEvalInfo,
         //
         // To prevent GCs until the func-eval gets a chance to run, we increment the counter here.
         // We only need to do this if we have changed the filter CONTEXT, since the stack will be unwalkable
-        // in this case. 
+        // in this case.
         //
         g_pDebugger->IncThreadsAtUnsafePlaces();
     }
@@ -15385,7 +15545,7 @@ Debugger::FuncEvalAbort(
 
     DebuggerEval *pDE = (DebuggerEval*) debuggerEvalKey;
     HRESULT hr = S_OK;
-    CHECK_IF_CAN_TAKE_HELPER_LOCKS_IN_THIS_SCOPE(&hr, GetCanary());    
+    CHECK_IF_CAN_TAKE_HELPER_LOCKS_IN_THIS_SCOPE(&hr, GetCanary());
     if (FAILED(hr))
     {
         return hr;
@@ -15447,7 +15607,7 @@ Debugger::FuncEvalRudeAbort(
     CONTRACTL_END;
 
     HRESULT hr = S_OK;
-    CHECK_IF_CAN_TAKE_HELPER_LOCKS_IN_THIS_SCOPE(&hr, GetCanary());    
+    CHECK_IF_CAN_TAKE_HELPER_LOCKS_IN_THIS_SCOPE(&hr, GetCanary());
     if (FAILED(hr))
     {
         return hr;
@@ -15455,7 +15615,7 @@ Debugger::FuncEvalRudeAbort(
 
 
     DebuggerEval *pDE = debuggerEvalKey;
-    
+
 
     if (!(pDE->m_aborting & DebuggerEval::FE_ABORT_RUDE))
     {
@@ -15837,15 +15997,15 @@ void Debugger::DoHelperThreadDuty()
 
 // This function is called from the EE to notify the right side
 // whenever the name of a thread or AppDomain changes
-//   
+//
 // Notes:
 //   This just sends a ping event to notify that the name has been changed.
 //   It does not send the actual updated name. Instead, the debugger can query for the name.
-//   
+//
 //   For an AppDomain name change:
 //   - pAppDoamin != NULL
 //   - name retrieved via ICorDebugAppDomain::GetName
-//   
+//
 //   For a Thread name change:
 //   - pAppDomain == NULL, pThread != NULL
 //   - name retrieved via a func-eval of Thread::get_Name
@@ -15867,8 +16027,8 @@ HRESULT Debugger::NameChangeEvent(AppDomain *pAppDomain, Thread *pThread)
     if (g_pEEInterface->GetThread() == NULL)
         return S_OK;
 
-    // Skip if thread doesn't yet have native ID. 
-    // This can easily happen if an app sets Thread.Name before it calls Thread.Start. 
+    // Skip if thread doesn't yet have native ID.
+    // This can easily happen if an app sets Thread.Name before it calls Thread.Start.
     // Since this is just a ping-event, it's ignorable. The debugger can query the thread name at Thread.Start in this case.
     // This emulates whidbey semantics.
     if (pThread != NULL)
@@ -15902,7 +16062,7 @@ HRESULT Debugger::NameChangeEvent(AppDomain *pAppDomain, Thread *pThread)
         }
         else
         {
-            // Thread Name 
+            // Thread Name
             ipce->NameChange.eventType = THREAD_NAME_CHANGE;
             _ASSERTE (pThread);
             ipce->NameChange.vmThread.SetRawPtr(pThread);
@@ -16097,8 +16257,8 @@ BOOL Debugger::IsThreadContextInvalid(Thread *pThread)
         }
         EX_END_CATCH(SwallowAllExceptions);
 #else // _TARGET_X86_
-        // Non-x86 can detect whether the thread is suspended after an exception is hit but before 
-        // the kernel has dispatched the exception to user mode by trap frame reporting.  
+        // Non-x86 can detect whether the thread is suspended after an exception is hit but before
+        // the kernel has dispatched the exception to user mode by trap frame reporting.
         // See Thread::IsContextSafeToRedirect().
 #endif // _TARGET_X86_
     }
@@ -16374,15 +16534,15 @@ void Debugger::ReleaseDebuggerDataLock(Debugger *pDebugger)
 #else // DACCESS_COMPILE
 
 // determine whether the LS holds the data lock. If it does, we will assume the locked data is in an
-// inconsistent state and will throw an exception. The DAC will execute this if we are executing code 
-// that takes the lock. 
+// inconsistent state and will throw an exception. The DAC will execute this if we are executing code
+// that takes the lock.
 // Arguments: input: pDebugger - the LS debugger data structure
 /* static */
 void Debugger::AcquireDebuggerDataLock(Debugger *pDebugger)
 {
     SUPPORTS_DAC;
 
-    if (pDebugger->GetDebuggerDataLock()->GetEnterCount() != 0) 
+    if (pDebugger->GetDebuggerDataLock()->GetEnterCount() != 0)
     {
         ThrowHR(CORDBG_E_PROCESS_NOT_SYNCHRONIZED);
     }
@@ -16609,7 +16769,7 @@ HRESULT DebuggerHeap::Init(BOOL fExecutable)
     m_fExecutable = fExecutable;
 
 #ifdef USE_INTEROPSAFE_HEAP
-    // If already inited, then we're done. 
+    // If already inited, then we're done.
     // We normally don't double-init. However, we may oom between when we allocate the heap and when we do other initialization.
     // We don't worry about backout code to free the heap. Rather, we'll just leave it alive and nop if we try to allocate it again.
     if (IsInit())
@@ -16866,7 +17026,7 @@ int Debugger::MessageBox(
                   UINT uText,       // Resource Identifier for Text message
                   UINT uCaption,    // Resource Identifier for Caption
                   UINT uType,       // Style of MessageBox
-                  BOOL displayForNonInteractive,    // Display even if the process is running non interactive 
+                  BOOL displayForNonInteractive,    // Display even if the process is running non interactive
                   BOOL showFileNameInTitle,         // Flag to show FileName in Caption
                   ...)              // Additional Arguments
 {
@@ -16952,7 +17112,7 @@ void Debugger::StartCanaryThread()
 {
      // we need to already have the rcthread running and the pointer stored
     _ASSERTE(m_pRCThread != NULL && g_pRCThread == m_pRCThread);
-    _ASSERTE(m_pRCThread->GetDCB() != NULL); 
+    _ASSERTE(m_pRCThread->GetDCB() != NULL);
     _ASSERTE(GetCanary() != NULL);
 
     GetCanary()->Init();
index 23cb568..746f914 100644 (file)
@@ -32,6 +32,7 @@
 #include "common.h"
 #include "winwrap.h"
 #include "threads.h"
+#include "threadsuspend.h"
 #include "frames.h"
 
 #include "appdomain.hpp"
@@ -126,7 +127,7 @@ public:
     // Clear the holder.
     ~AtSafePlaceHolder();
 
-    // True if the holder is acquired. 
+    // True if the holder is acquired.
     bool IsAtUnsafePlace();
 
     // Clear the holder (call DecThreadsAtUnsafePlaces if needed)
@@ -148,12 +149,12 @@ public:
 };
 
 #ifndef DACCESS_COMPILE
-template<BOOL TOGGLE, BOOL IFTHREAD> 
+template<BOOL TOGGLE, BOOL IFTHREAD>
 class GCHolderEEInterface<TRUE, TOGGLE, IFTHREAD>
 {
 private:
     bool startInCoop;
-    
+
 public:
     DEBUG_NOINLINE GCHolderEEInterface()
     {
@@ -173,8 +174,8 @@ public:
             startInCoop = true;
         }
         else
-        {            
-            // we're starting in PREEMP, need to switch to COOP    
+        {
+            // we're starting in PREEMP, need to switch to COOP
             startInCoop = false;
             g_pEEInterface->DisablePreemptiveGC();
         }
@@ -193,7 +194,7 @@ public:
 
         if (TOGGLE)
         {
-            // We're in COOP, toggle to PREEMPTIVE and back to COOP 
+            // We're in COOP, toggle to PREEMPTIVE and back to COOP
             // for synch purposes.
             g_pEEInterface->EnablePreemptiveGC();
             g_pEEInterface->DisablePreemptiveGC();
@@ -206,7 +207,7 @@ public:
         }
         else
         {
-            // If we started in PREEMPTIVE switch back    
+            // If we started in PREEMPTIVE switch back
             if (!startInCoop)
             {
                 g_pEEInterface->EnablePreemptiveGC();
@@ -215,13 +216,13 @@ public:
     };
 };
 
-template<BOOL TOGGLE, BOOL IFTHREAD> 
+template<BOOL TOGGLE, BOOL IFTHREAD>
 class GCHolderEEInterface<FALSE, TOGGLE, IFTHREAD>
 {
 private:
     bool startInCoop;
     bool conditional;
-    
+
     void EnterInternal(bool bStartInCoop, bool bConditional)
     {
         startInCoop = bStartInCoop;
@@ -262,8 +263,8 @@ private:
             // If we started in PREEMPTIVE switch back to PREEMPTIVE
             if (!startInCoop)
             {
-                g_pEEInterface->EnablePreemptiveGC();            
-            }    
+                g_pEEInterface->EnablePreemptiveGC();
+            }
         }
         else
         {
@@ -307,7 +308,7 @@ public:
 
 #define GCX_COOP_EEINTERFACE()                                          \
     GCHolderEEInterface<TRUE, FALSE, FALSE> __gcCoop_onlyOneAllowedPerScope
-    
+
 #define GCX_PREEMP_EEINTERFACE()                                        \
     GCHolderEEInterface<FALSE, FALSE, FALSE> __gcCoop_onlyOneAllowedPerScope
 
@@ -474,8 +475,8 @@ CONTEXT * GetManagedLiveCtx(Thread * pThread);
 
 // Once a module / appdomain is unloaded, all Right-side objects (such as breakpoints)
 // in that appdomain will get neutered and will thus be prevented from accessing
-// the unloaded appdomain. 
-// 
+// the unloaded appdomain.
+//
 // @dbgtodo jmc - This is now purely relegated to the LS. Eventually completely get rid of this
 // by moving fields off to Module or getting rid of the fields completely.
 typedef DPTR(class DebuggerModule) PTR_DebuggerModule;
@@ -520,9 +521,9 @@ class DebuggerModule
     // workaround to facilitate the removal of DebuggerModule.
     // </TODO>
     DebuggerModule * GetPrimaryModule();
-    DomainFile * GetDomainFile() 
+    DomainFile * GetDomainFile()
     {
-        LIMITED_METHOD_DAC_CONTRACT; 
+        LIMITED_METHOD_DAC_CONTRACT;
         return m_pRuntimeDomainFile;
     }
 
@@ -609,7 +610,7 @@ class HelperThreadFavor
     HelperThreadFavor();
     // No dtor because we intentionally leak all shutdown.
     void Init();
-    
+
 protected:
     // Stuff for having the helper thread do function calls for a thread
     // that blew its stack
@@ -657,21 +658,22 @@ protected:
 
     DebuggerPendingFuncEvalTable *m_pPendingEvals;
 
-    // The "debugger data lock" is a very small leaf lock used to protect debugger internal data structures (such 
+    // The "debugger data lock" is a very small leaf lock used to protect debugger internal data structures (such
     // as DJIs, DMIs, module table). It is a GC-unsafe-anymode lock and so it can't trigger a GC while being held.
-    // It also can't issue any callbacks into the EE or anycode that it does not directly control. 
+    // It also can't issue any callbacks into the EE or anycode that it does not directly control.
     // This is a separate lock from the the larger Debugger-lock / Controller lock, which allows regions under those
-    // locks to access debugger datastructures w/o blocking each other. 
-    Crst                  m_DebuggerDataLock;    
+    // locks to access debugger datastructures w/o blocking each other.
+    Crst                  m_DebuggerDataLock;
     HANDLE                m_CtrlCMutex;
     HANDLE                m_exAttachEvent;
     HANDLE                m_exUnmanagedAttachEvent;
+    HANDLE                m_garbageCollectionBlockerEvent;
 
     BOOL                  m_DebuggerHandlingCtrlC;
 
     // Used by MapAndBindFunctionBreakpoints.  Note that this is thread-safe
     // only b/c we access it from within the DebuggerController::Lock
-    SIZE_T_UNORDERED_ARRAY m_BPMappingDuplicates; 
+    SIZE_T_UNORDERED_ARRAY m_BPMappingDuplicates;
 
     UnorderedPtrArray     m_pMemBlobs;
 
@@ -813,7 +815,7 @@ public:
     void RightSideDetach(void);
 
     //
-    // 
+    //
     //
     void ThreadProc(void);
     static DWORD WINAPI ThreadProcStatic(LPVOID parameter);
@@ -857,9 +859,9 @@ private:
     FAVORCALLBACK GetFavorFnPtr()           { return m_favorData.m_fpFavor; }
     void * GetFavorData()                   { return m_favorData.m_pFavorData; }
 
-    void SetFavorFnPtr(FAVORCALLBACK fp, void * pData)    
-    { 
-        m_favorData.m_fpFavor = fp; 
+    void SetFavorFnPtr(FAVORCALLBACK fp, void * pData)
+    {
+        m_favorData.m_fpFavor = fp;
         m_favorData.m_pFavorData = pData;
     }
     Crst * GetFavorLock()                   { return &m_favorData.m_FavorLock; }
@@ -867,8 +869,8 @@ private:
     HANDLE GetFavorReadEvent()              { return m_favorData.m_FavorReadEvent; }
     HANDLE GetFavorAvailableEvent()         { return m_favorData.m_FavorAvailableEvent; }
 
-    HelperThreadFavor m_favorData;  
-    
+    HelperThreadFavor m_favorData;
+
 
     HelperCanary * GetCanary()              { return &GetLazyData()->m_Canary; }
 
@@ -1038,7 +1040,7 @@ public:
     bool HasInstrumentedILMap() {return m_fHasInstrumentedILMap; }
 
     // TranslateToInstIL will take offOrig, and translate it to the
-    // correct IL offset if this code happens to be instrumented 
+    // correct IL offset if this code happens to be instrumented
     ULONG32 TranslateToInstIL(const InstrumentedILOffsetMapping * pMapping, ULONG32 offOrig, bool fOrigToInst);
 
 
@@ -1135,7 +1137,7 @@ static_assert(sizeof(DebuggerHeapExecutableMemoryChunk) == 64, "DebuggerHeapExec
 // We allocate the size of DebuggerHeapExecutableMemoryPage each time we need
 // more memory and divide each page into DebuggerHeapExecutableMemoryChunks for
 // use. The pages are self describing; the first chunk contains information
-// about which of the other chunks are used/free as well as a pointer to 
+// about which of the other chunks are used/free as well as a pointer to
 // the next page.
 // ------------------------------------------------------------------------ */
 struct DECLSPEC_ALIGN(4096) DebuggerHeapExecutableMemoryPage
@@ -1185,7 +1187,7 @@ private:
 
 // ------------------------------------------------------------------------ */
 // DebuggerHeapExecutableMemoryAllocator class
-// Handles allocation and freeing (and all necessary bookkeeping) for 
+// Handles allocation and freeing (and all necessary bookkeeping) for
 // executable memory that the DebuggerHeap class needs. This is especially
 // useful on systems (like SELinux) where having executable code on the
 // heap is explicity disallowed for security reasons.
@@ -1272,8 +1274,8 @@ public:
         SUPPORTS_DAC;
     }
 
-    static CodeRegionInfo GetCodeRegionInfo(DebuggerJitInfo      * dji, 
-                                            MethodDesc           * md = NULL, 
+    static CodeRegionInfo GetCodeRegionInfo(DebuggerJitInfo      * dji,
+                                            MethodDesc           * md = NULL,
                                             PTR_CORDB_ADDRESS_TYPE addr = PTR_NULL);
 
     // Fills in the CodeRegoinInfo fields from the start address.
@@ -1418,7 +1420,7 @@ class DebuggerJitInfo
 public:
     PTR_MethodDesc           m_fd;
 
-    // Loader module is used to control life-time of DebufferJitInfo. Ideally, we would refactor the code to use LoaderAllocator here 
+    // Loader module is used to control life-time of DebufferJitInfo. Ideally, we would refactor the code to use LoaderAllocator here
     // instead because of it is what the VM actually uses to track the life time. It would make the debugger interface less chatty.
     PTR_Module               m_pLoaderModule;
 
@@ -1454,7 +1456,7 @@ protected:
     unsigned int             m_varNativeInfoCount;
 
     bool                     m_fAttemptInit;
-    
+
 #ifndef DACCESS_COMPILE
     void LazyInitBounds();
 #else
@@ -1478,15 +1480,15 @@ public:
         LazyInitBounds();
         return m_sequenceMap;
     }
-    
+
     unsigned int GetCallsiteMapCount()
     {
         SUPPORTS_DAC;
-        
+
         LazyInitBounds();
         return m_callsiteMapCount;
     }
-    
+
     PTR_DebuggerILToNativeMap GetCallSiteMap()
     {
         SUPPORTS_DAC;
@@ -1643,7 +1645,7 @@ public:
 };
 
 #if !defined(DACCESS_COMPILE)
-// @dbgtodo Microsoft inspection: get rid of this class when IPC events are eliminated. It's been copied to 
+// @dbgtodo Microsoft inspection: get rid of this class when IPC events are eliminated. It's been copied to
 // dacdbistructures
 /*
  * class MapSortIL:  A template class that will sort an array of DebuggerILToNativeMap.
@@ -1675,7 +1677,7 @@ class MapSortIL : public CQuickSort<DebuggerILToNativeMap>
                 DebuggerILToNativeMap *second)
     {
         LIMITED_METHOD_CONTRACT;
-        
+
         const DWORD call_inst = (DWORD)ICorDebugInfo::CALL_INSTRUCTION;
 
         //PROLOGs go first
@@ -1804,7 +1806,7 @@ public:
 #ifndef DACCESS_COMPILE
     Debugger();
     virtual ~Debugger();
-#else    
+#else
     virtual ~Debugger() {}
 #endif
 
@@ -1870,7 +1872,7 @@ public:
                 UINT uText,       // Resource Identifier for Text message
                 UINT uCaption,    // Resource Identifier for Caption
                 UINT uType,       // Style of MessageBox
-                BOOL displayForNonInteractive,      // Display even if the process is running non interactive 
+                BOOL displayForNonInteractive,      // Display even if the process is running non interactive
                 BOOL showFileNameInTitle,           // Flag to show FileName in Caption
                 ...);             // Additional Arguments
 
@@ -1889,14 +1891,14 @@ public:
     void ThreadStarted(Thread* pRuntimeThread);
     void DetachThread(Thread *pRuntimeThread);
 
-    BOOL SuspendComplete();
+    BOOL SuspendComplete(bool isEESuspendedForGC = false);
 
     void LoadModule(Module* pRuntimeModule,
                     LPCWSTR pszModuleName,
                     DWORD dwModuleName,
                     Assembly *pAssembly,
                     AppDomain *pAppDomain,
-                    DomainFile * pDomainFile, 
+                    DomainFile * pDomainFile,
                     BOOL fAttaching);
     void LoadModuleFinished(Module* pRuntimeModule, AppDomain * pAppDomain);
     DebuggerModule * AddDebuggerModule(DomainFile * pDomainFile);
@@ -2031,10 +2033,10 @@ public:
 
     HRESULT GetILToNativeMappingIntoArrays(
         MethodDesc * pMethodDesc,
-        PCODE pCode, 
-        USHORT cMapMax, 
+        PCODE pCode,
+        USHORT cMapMax,
         USHORT * pcMap,
-        UINT ** prguiILOffset, 
+        UINT ** prguiILOffset,
         UINT ** prguiNativeOffset);
 
     PRD_TYPE GetPatchedOpcode(CORDB_ADDRESS_TYPE *ip);
@@ -2155,17 +2157,19 @@ public:
 
     void SendBreakpoint(Thread *thread, T_CONTEXT *context,
                         DebuggerBreakpoint *breakpoint);
-
+#ifdef FEATURE_DATABREAKPOINT
+    void SendDataBreakpoint(Thread* thread, T_CONTEXT *context, DebuggerDataBreakpoint *breakpoint);
+#endif // FEATURE_DATABREAKPOINT
     void SendStep(Thread *thread, T_CONTEXT *context,
                   DebuggerStepper *stepper,
                   CorDebugStepReason reason);
 
     void LockAndSendEnCRemapEvent(DebuggerJitInfo * dji, SIZE_T currentIP, SIZE_T *resumeIP);
     void LockAndSendEnCRemapCompleteEvent(MethodDesc *pFD);
-    void SendEnCUpdateEvent(DebuggerIPCEventType eventType, 
-                            Module * pModule, 
-                            mdToken memberToken, 
-                            mdTypeDef classToken, 
+    void SendEnCUpdateEvent(DebuggerIPCEventType eventType,
+                            Module * pModule,
+                            mdToken memberToken,
+                            mdTypeDef classToken,
                             SIZE_T enCVersion);
     void LockAndSendBreakpointSetError(PATCH_UNORDERED_ARRAY * listUnbindablePatches);
 
@@ -2174,7 +2178,7 @@ public:
         Thread * pThread,
         bool firstChance,
         bool fIsInterceptable,
-        bool continuable, 
+        bool continuable,
         SIZE_T currentIP,
         FramePointer framePointer,
         bool atSafePlace);
@@ -2198,7 +2202,7 @@ public:
     // Just send the actual event.
     void SendRawUserBreakpoint(Thread *thread);
 
-    
+
 
     void SendInterceptExceptionComplete(Thread *thread);
 
@@ -2214,7 +2218,7 @@ public:
                             unsigned int errorLine,
                             bool exitThread);
 
-    BOOL IsSynchronizing(void)
+    virtual BOOL IsSynchronizing(void)
     {
         LIMITED_METHOD_CONTRACT;
 
@@ -2331,7 +2335,7 @@ public:
     void LockForEventSending(DebuggerLockHolder *dbgLockHolder);
     void UnlockFromEventSending(DebuggerLockHolder *dbgLockHolder);
     void SyncAllThreads(DebuggerLockHolder *dbgLockHolder);
-    void SendSyncCompleteIPCEvent();
+    void SendSyncCompleteIPCEvent(bool isEESuspendedForGC = false);
 
     // Helper for sending a single pre-baked IPC event and blocking on the continue.
     // See definition of SENDIPCEVENT_BEGIN for usage pattern.
@@ -2381,11 +2385,11 @@ public:
 
 #ifdef FEATURE_INTEROP_DEBUGGING
     static VOID M2UHandoffHijackWorker(
-                             T_CONTEXT *pContext,                   
+                             T_CONTEXT *pContext,
                              EXCEPTION_RECORD *pExceptionRecord);
 
     LONG FirstChanceSuspendHijackWorker(
-                             T_CONTEXT *pContext,                   
+                             T_CONTEXT *pContext,
                              EXCEPTION_RECORD *pExceptionRecord);
     static void GenericHijackFunc(void);
     static void SecondChanceHijackFunc(void);
@@ -2470,9 +2474,9 @@ public:
                    BOOL fIsIL);
 
     // Helper routines used by Debugger::SetIP
-    
-    // If we have a varargs function, we can't set the IP (we don't know how to pack/unpack the arguments), so if we 
-    // call SetIP with fCanSetIPOnly = true, we need to check for that. 
+
+    // If we have a varargs function, we can't set the IP (we don't know how to pack/unpack the arguments), so if we
+    // call SetIP with fCanSetIPOnly = true, we need to check for that.
     BOOL IsVarArgsFunction(unsigned int nEntries, PTR_NativeVarInfo varNativeInfo);
 
     HRESULT ShuffleVariablesGet(DebuggerJitInfo  *dji,
@@ -2587,8 +2591,8 @@ public:
 
 #else // DACCESS_COMPILE
     // determine whether the LS holds the data lock. If it does, we will assume the locked data is in an
-    // inconsistent state and will throw an exception. The DAC will execute this if we are executing code 
-    // that takes the lock. 
+    // inconsistent state and will throw an exception. The DAC will execute this if we are executing code
+    // that takes the lock.
     static void AcquireDebuggerDataLock(Debugger *pDebugger);
 
     // unimplemented--nothing to do here
@@ -2641,8 +2645,8 @@ public:
 
 private:
     DebuggerJitInfo *GetJitInfoWorker(MethodDesc *fd, const BYTE *pbAddr, DebuggerMethodInfo **pMethInfo);
-    
-    // Save the necessary information for the debugger to recognize an IP in one of the thread redirection 
+
+    // Save the necessary information for the debugger to recognize an IP in one of the thread redirection
     // functions.
     void InitializeHijackFunctionAddress();
 
@@ -2825,10 +2829,10 @@ private:
 
 
     // This is the main debugger lock. It is a large lock and used to synchronize complex operations
-    // such as sending IPC events, debugger sycnhronization, and attach / detach. 
+    // such as sending IPC events, debugger sycnhronization, and attach / detach.
     // The debugger effectively can't make any radical state changes without holding this lock.
-    // 
-    //     
+    //
+    //
     Crst                  m_mutex; // The main debugger lock.
 
     // Flag to track if the debugger Crst needs to go into "Shutdown for Finalizer" mode.
@@ -2859,13 +2863,13 @@ private:
     LONG                  m_dClassLoadCallbackCount;
 
     // Lazily initialized array of debugger modules
-    // @dbgtodo module - eventually, DebuggerModule should go away, 
+    // @dbgtodo module - eventually, DebuggerModule should go away,
     // and all such information should be stored in either the VM's module class or in the RS.
     DebuggerModuleTable          *m_pModules;
-    
+
     // DacDbiInterfaceImpl needs to be able to write to private fields in the debugger class.
     friend class DacDbiInterfaceImpl;
-    
+
     // Set OOP by RS to request a sync after a debug event.
     // Clear by LS when we sync.
     Volatile<BOOL>  m_RSRequestedSync;
@@ -2903,20 +2907,20 @@ public:
     // There are currently three cases where we set this field to true:
     //
     // 1) NotifyOfCHFFilter()
-    //      - If the CHF filter is the first handler we encounter in the first pass, then there is no 
+    //      - If the CHF filter is the first handler we encounter in the first pass, then there is no
     //        managed stack frame at which we can intercept the exception anyway.
     //
     // 2) LastChanceManagedException()
     //      - If Watson is launched for an unhandled exception, then the exception cannot be intercepted.
     //
     // 3) SecondChanceHijackFuncWorker()
-    //      - The RS hijack the thread to this function to prevent the OS from killing the process at 
+    //      - The RS hijack the thread to this function to prevent the OS from killing the process at
     //        the end of the first pass.  (When a debugger is attached, the OS does not run a second pass.)
     //        This function ensures that the debugger gets a second chance notification.
     BOOL                          m_forceNonInterceptable;
 
-    // When we are doing an early attach, the RS shim should not queue all the fake attach events for 
-    // the process, the appdomain, and the thread.  Otherwise we'll get duplicate events when these 
+    // When we are doing an early attach, the RS shim should not queue all the fake attach events for
+    // the process, the appdomain, and the thread.  Otherwise we'll get duplicate events when these
     // entities are actually created.  This flag is used to mark whether we are doing an early attach.
     // There are still time windows where we can get duplicate events, but this flag closes down the
     // most common scenario.
@@ -2949,6 +2953,18 @@ private:
 public:
     DWORD m_defines;
     DWORD m_mdDataStructureVersion;
+#ifndef DACCESS_COMPILE
+    virtual void BeforeGarbageCollection();
+    virtual void AfterGarbageCollection();
+#endif
+    BOOL m_isBlockedOnGarbageCollectionEvent;
+    BOOL m_isGarbageCollectionEventsEnabled;
+    // this latches m_isGarbageCollectionEventsEnabled in BeforeGarbageCollection so we can 
+    // guarantee the corresponding AfterGC event is sent even if the events are disabled during GC.
+    BOOL m_isGarbageCollectionEventsEnabledLatch;
+private:
+    HANDLE GetGarbageCollectionBlockerEvent() { return  GetLazyData()->m_garbageCollectionBlockerEvent; }
+
 };
 
 
@@ -3037,7 +3053,7 @@ public:
         void *p;
 
         DebuggerHeap* pHeap = g_pDebugger->GetInteropSafeHeap_NoThrow();
-        _ASSERTE(pHeap != NULL); // should already exist 
+        _ASSERTE(pHeap != NULL); // should already exist
 
         PREFIX_ASSUME( iCurSize >= 0 );
         S_UINT32 iNewSize = S_UINT32( iCurSize ) + S_UINT32( GrowSize(iCurSize) );
@@ -3101,7 +3117,7 @@ class DebuggerPendingFuncEvalTable : private CHashTableAndData<CNewZeroData>
     }
 
     ULONG HASH(Thread* pThread)
-    { 
+    {
         LIMITED_METHOD_CONTRACT;
         return (ULONG)((SIZE_T)pThread);   // only use low 32-bits if 64-bit
     }
@@ -3183,7 +3199,7 @@ class DebuggerModuleTable : private CHashTableAndData<CNewZeroData>
 #endif // DACCESS_COMPILE
 
         Module * pModule1 = reinterpret_cast<Module *>(k1);
-        Module * pModule2 = 
+        Module * pModule2 =
             dac_cast<PTR_DebuggerModuleEntry>(const_cast<HASHENTRY *>(pc2))->module->GetRuntimeModule();
 
         return (pModule1 != pModule2);
@@ -3239,8 +3255,8 @@ public:
 // struct DebuggerMethodInfoKey:   Key for each of the method info hash table entries.
 // Module * m_pModule:  This and m_token make up the key
 // mdMethodDef m_token:  This and m_pModule make up the key
-// 
-// Note: This is used for hashing, so the structure must be totally blittable. 
+//
+// Note: This is used for hashing, so the structure must be totally blittable.
 typedef DPTR(struct DebuggerMethodInfoKey) PTR_DebuggerMethodInfoKey;
 struct DebuggerMethodInfoKey
 {
@@ -3334,7 +3350,7 @@ public:
     HRESULT AddMethodInfo(Module *pModule,
                        mdMethodDef token,
                        DebuggerMethodInfo *mi);
-                       
+
     HRESULT OverwriteMethodInfo(Module *pModule,
                              mdMethodDef token,
                              DebuggerMethodInfo *mi,
@@ -3347,7 +3363,7 @@ public:
     // (b) Perf: don't waste the memory!
     void ClearMethodsOfModule(Module *pModule);
     void DeleteEntryDMI(DebuggerMethodInfoEntry *entry);
-    
+
 #endif // #ifndef DACCESS_COMPILE
 
     DebuggerMethodInfo *GetMethodInfo(Module *pModule, mdMethodDef token);
@@ -3362,11 +3378,11 @@ public:
 class DebuggerEvalBreakpointInfoSegment
 {
 public:
-    // DebuggerEvalBreakpointInfoSegment contains just the breakpoint 
+    // DebuggerEvalBreakpointInfoSegment contains just the breakpoint
     // instruction and a pointer to the associated DebuggerEval. It makes
     // it easy to go from the instruction to the corresponding DebuggerEval
-    // object. It has been separated from the rest of the DebuggerEval 
-    // because it needs to be in a section of memory that's executable, 
+    // object. It has been separated from the rest of the DebuggerEval
+    // because it needs to be in a section of memory that's executable,
     // while the rest of DebuggerEval does not. By having it separate, we
     // don't need to have the DebuggerEval contents in executable memory.
     BYTE          m_breakpointInstruction[CORDbg_BREAK_INSTRUCTION_SIZE];
@@ -3504,7 +3520,7 @@ public:
         // Set flags to strategic values in case we access deleted memory.
         m_completed = false;
         m_rethrowAbortException = true;
-#endif        
+#endif
     }
 };
 
@@ -3783,14 +3799,15 @@ HANDLE OpenWin32EventOrThrow(
     LPCWSTR lpName
 );
 
-#define SENDIPCEVENT_RAW_BEGIN_EX(pDbgLockHolder, gcxStmt)      \
-  {                                                             \
-    Debugger::DebuggerLockHolder *__pDbgLockHolder = pDbgLockHolder; \
-    gcxStmt;                                                    \
+#define SENDIPCEVENT_RAW_BEGIN_EX(pDbgLockHolder, gcxStmt)                            \
+  {                                                                                   \
+    ThreadStoreLockHolderWithSuspendReason tsld(ThreadSuspend::SUSPEND_FOR_DEBUGGER); \
+    Debugger::DebuggerLockHolder *__pDbgLockHolder = pDbgLockHolder;                  \
+    gcxStmt;                                                                          \
     g_pDebugger->LockForEventSending(__pDbgLockHolder);
 
-#define SENDIPCEVENT_RAW_END_EX                                 \
-    g_pDebugger->UnlockFromEventSending(__pDbgLockHolder);      \
+#define SENDIPCEVENT_RAW_END_EX                                                       \
+    g_pDebugger->UnlockFromEventSending(__pDbgLockHolder);                            \
   }
 
 #define SENDIPCEVENT_RAW_BEGIN(pDbgLockHolder)                  \
@@ -3815,6 +3832,7 @@ HANDLE OpenWin32EventOrThrow(
         Debugger::DebuggerLockHolder __dbgLockHolder(pDebugger, FALSE);                   \
         Debugger::DebuggerLockHolder *__pDbgLockHolder = &__dbgLockHolder;                \
         gcxStmt;                                                                          \
+        ThreadStoreLockHolderWithSuspendReason tsld(ThreadSuspend::SUSPEND_FOR_DEBUGGER); \
         g_pDebugger->LockForEventSending(__pDbgLockHolder);                               \
         /* Check if the thread has been suspended by the debugger via SetDebugState(). */ \
         if (thread != NULL && thread->HasThreadStateNC(Thread::TSNC_DebuggerUserSuspend)) \
@@ -3829,7 +3847,7 @@ HANDLE OpenWin32EventOrThrow(
             ;                                                   \
         }                                                       \
         g_pDebugger->UnlockFromEventSending(__pDbgLockHolder);  \
-      } /* ~gcxStmt & ~DebuggerLockHolder */                    \
+      } /* ~gcxStmt & ~DebuggerLockHolder & ~tsld */            \
     } while (__fRetry);                                         \
     FireEtwDebugIPCEventEnd();                                  \
   }
index 2d1b06d..987c290 100644 (file)
@@ -11,8 +11,9 @@
 //*****************************************************************************
 
 #include "stdafx.h"
-
+#include "threadsuspend.h"
 #ifndef FEATURE_PAL
+
 #include "securitywrapper.h"
 #endif
 #include <aclapi.h>
@@ -1247,7 +1248,8 @@ void DebuggerRCThread::MainLoop()
         else if (dwWaitResult == WAIT_OBJECT_0 + DRCT_CONTROL_EVENT)
         {
             LOG((LF_CORDB, LL_INFO1000, "DRCT::ML:: straggler event set.\n"));
-
+            
+            ThreadStoreLockHolder tsl;
             Debugger::DebuggerLockHolder debugLockHolder(m_debugger);
             // Make sure that we're still synchronizing...
             if (m_debugger->IsSynchronizing())
@@ -1258,7 +1260,7 @@ void DebuggerRCThread::MainLoop()
 
                 //
                 // Skip waiting the first time and just give it a go.  Note: Implicit
-                // release of the lock, because we are leaving its scope.
+                // release of the debugger and thread store lock, because we are leaving its scope.
                 //
                 goto LWaitTimedOut;
             }
@@ -1267,6 +1269,7 @@ void DebuggerRCThread::MainLoop()
                 LOG((LF_CORDB, LL_INFO1000, "DRCT::ML:: told to wait, but not syncing anymore.\n"));
 #endif
             // dbgLockHolder goes out of scope - implicit Release
+            // tsl goes out of scope - implicit Release
          }
         else if (dwWaitResult == WAIT_TIMEOUT)
         {
@@ -1275,6 +1278,7 @@ LWaitTimedOut:
 
             LOG((LF_CORDB, LL_INFO1000, "DRCT::ML:: wait timed out.\n"));
 
+            ThreadStore::LockThreadStore();
             // Debugger::DebuggerLockHolder debugLockHolder(m_debugger);
             // Explicitly get the lock here since we try to check to see if
             // have suspended.  We will release the lock if we are not suspended yet.
@@ -1329,6 +1333,7 @@ LWaitTimedOut:
                 // And so the sweep should always succeed.
                 STRESS_LOG0(LF_CORDB, LL_INFO1000, "DRCT::ML:: threads still syncing after sweep.\n");
                 debugLockHolderSuspended.Release();
+                ThreadStore::UnlockThreadStore();
             }
             // debugLockHolderSuspended does not go out of scope. It has to be either released explicitly on the line above or
             // we intend to hold the lock till we hit continue event.
@@ -1772,22 +1777,39 @@ HRESULT DebuggerRCThread::SendIPCEvent()
         NOTHROW;
         GC_NOTRIGGER; // duh, we're in preemptive..
 
-        if (ThisIsHelperThreadWorker())
+        if (m_debugger->m_isBlockedOnGarbageCollectionEvent)
         {
-            // When we're stopped, the helper could actually be contracted as either mode-cooperative
-            // or mode-preemptive!
-            // If we're the helper thread, we're only sending events while we're stopped.
-            // Our callers will be mode-cooperative, so call this mode_cooperative to avoid a bunch
-            // of unncessary contract violations.
+            //
+            // If m_debugger->m_isBlockedOnGarbageCollectionEvent is true, then it must be reporting
+            // either the BeforeGarbageCollection event or the AfterGarbageCollection event
+            // The thread is in preemptive mode during BeforeGarbageCollection
+            // The thread is in cooperative mode during AfterGarbageCollection
+            // In either case, the thread mode doesn't really matter because GC has already taken control
+            // of execution.
+            //
+            // Despite the fact that we are actually in preemptive mode during BeforeGarbageCollection,
+            // because IsGCThread() is true, the EEContract::DoCheck() will happily accept the fact we are
+            // testing for MODE_COOPERATIVE.
+            //
             MODE_COOPERATIVE;
         }
         else
         {
-            // Managed threads sending debug events should always be in preemptive mode.
-            MODE_PREEMPTIVE;
+            if (ThisIsHelperThreadWorker())
+            {
+                // When we're stopped, the helper could actually be contracted as either mode-cooperative
+                // or mode-preemptive!
+                // If we're the helper thread, we're only sending events while we're stopped.
+                // Our callers will be mode-cooperative, so call this mode_cooperative to avoid a bunch
+                // of unncessary contract violations.
+                MODE_COOPERATIVE;
+            }
+            else
+            {
+                // Managed threads sending debug events should always be in preemptive mode.
+                MODE_PREEMPTIVE;
+            }
         }
-
-
         PRECONDITION(ThisMaybeHelperThread());
     }
     CONTRACTL_END;
index 7295884..bd532a7 100644 (file)
@@ -2696,6 +2696,20 @@ public:
     virtual
         HRESULT GetILCodeVersionNodeData(VMPTR_ILCodeVersionNode ilCodeVersionNode, DacSharedReJitInfo* pData) = 0;
 
+    // Enable or disable the GC notification events. The GC notification events are turned off by default
+    // They will be delivered through ICorDebugManagedCallback4
+    // 
+    // 
+    // Arguments:
+    //    fEnable - true to enable the events, false to disable
+    //
+    // Returns:
+    //    S_OK if no error
+    //    error HRESULTs such as CORDBG_READ_VIRTUAL_FAILURE are possible
+    // 
+    virtual
+        HRESULT EnableGCNotificationEvents(BOOL fEnable) = 0;
+
     // The following tag tells the DD-marshalling tool to stop scanning.
     // END_MARSHAL
     
index a6d943f..279cd8f 100644 (file)
@@ -639,6 +639,7 @@ DEFINE_LSPTR_TYPE(class DebuggerJitInfo, LSPTR_DJI);
 DEFINE_LSPTR_TYPE(class DebuggerMethodInfo, LSPTR_DMI);
 DEFINE_LSPTR_TYPE(class MethodDesc,         LSPTR_METHODDESC);
 DEFINE_LSPTR_TYPE(class DebuggerBreakpoint, LSPTR_BREAKPOINT);
+DEFINE_LSPTR_TYPE(class DebuggerDataBreakpoint, LSPTR_DATA_BREAKPOINT);
 DEFINE_LSPTR_TYPE(class DebuggerEval,       LSPTR_DEBUGGEREVAL);
 DEFINE_LSPTR_TYPE(class DebuggerStepper,    LSPTR_STEPPER);
 
@@ -1002,7 +1003,7 @@ const size_t nameCount = sizeof(DbgIPCEventTypeNames) / sizeof(DbgIPCEventTypeNa
 
 struct MSLAYOUT IPCENames // We use a class/struct so that the function can remain in a shared header file
 {
-    static const DebuggerIPCEventType GetEventType(__in_z char * strEventType)
+    static DebuggerIPCEventType GetEventType(__in_z char * strEventType)
     {
         // pass in the string of event name and find the matching enum value
         // This is a linear search which is pretty slow. However, this is only used
@@ -2343,7 +2344,6 @@ struct MSLAYOUT DebuggerIPCEvent
             void * pMetadataStart;
             ULONG nMetadataSize;
         } MetadataUpdateRequest;
-
     };
 };
 
index b538360..42f42be 100644 (file)
@@ -2,13 +2,13 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-// 
+//
 // Events that go both ways
 IPC_EVENT_TYPE0(DB_IPCE_INVALID_EVENT                ,0x0000)
 IPC_EVENT_TYPE0(DB_IPCE_TYPE_MASK                    ,0x0FFF)
 
 // Some rules:
-// 1. Type0 is for marking sections in the id range. 
+// 1. Type0 is for marking sections in the id range.
 //    Type1 is for events that go L->R, Type2 is for events that go R<-L.
 // 2. All non-type 0 events should have a unique identifier & value
 // 3. All type 1 events values should be in range [DB_IPCE_RUNTIME_FIRST, DB_IPCE_RUNTIME_LAST)
@@ -16,7 +16,7 @@ IPC_EVENT_TYPE0(DB_IPCE_TYPE_MASK                    ,0x0FFF)
 // 4. All event values should be monotonically increasing, though we can skip values.
 // 5. All values should be a subset of the bits specified by DB_IPCE_TYPE_MASK.
 //
-// These rules are enforced by a bunch of compile time checks (C_ASSERT) in 
+// These rules are enforced by a bunch of compile time checks (C_ASSERT) in
 // the function DoCompileTimeCheckOnDbgIpcEventTypes.
 // If you get compiler errors in this file, you are probably violating the rules above.
 
@@ -43,7 +43,7 @@ IPC_EVENT_TYPE1(DB_IPCE_APPLY_CHANGES_RESULT         ,0x0118)
 IPC_EVENT_TYPE1(DB_IPCE_CUSTOM_NOTIFICATION          ,0x011B)
 IPC_EVENT_TYPE1(DB_IPCE_USER_BREAKPOINT              ,0x011C)
 IPC_EVENT_TYPE1(DB_IPCE_FIRST_LOG_MESSAGE            ,0x011D)
-// DB_IPCE_CONTINUED_LOG_MESSAGE = 0x11E, used to be here in v1.1, 
+// DB_IPCE_CONTINUED_LOG_MESSAGE = 0x11E, used to be here in v1.1,
 // But we've removed that remove the v2.0 protocol
 IPC_EVENT_TYPE1(DB_IPCE_LOGSWITCH_SET_MESSAGE        ,0x011F)
 IPC_EVENT_TYPE1(DB_IPCE_CREATE_APP_DOMAIN            ,0x0120)
@@ -90,7 +90,10 @@ IPC_EVENT_TYPE1(DB_IPCE_LEFTSIDE_STARTUP             ,0x015C)
 IPC_EVENT_TYPE1(DB_IPCE_METADATA_UPDATE              ,0x015D)
 IPC_EVENT_TYPE1(DB_IPCE_RESOLVE_UPDATE_METADATA_1_RESULT,0x015E)
 IPC_EVENT_TYPE1(DB_IPCE_RESOLVE_UPDATE_METADATA_2_RESULT,0x015F)
-IPC_EVENT_TYPE0(DB_IPCE_RUNTIME_LAST                 ,0x0160)   // The last event from runtime
+IPC_EVENT_TYPE1(DB_IPCE_DATA_BREAKPOINT              ,0x0160)
+IPC_EVENT_TYPE1(DB_IPCE_BEFORE_GARBAGE_COLLECTION    ,0x0161)
+IPC_EVENT_TYPE1(DB_IPCE_AFTER_GARBAGE_COLLECTION     ,0x0162)
+IPC_EVENT_TYPE0(DB_IPCE_RUNTIME_LAST                 ,0x0163)   // The last event from runtime
 
 
 
index 95fdf25..e9d77cb 100644 (file)
@@ -2202,6 +2202,7 @@ DWORD DbgTransportSession::GetEventSize(DebuggerIPCEvent *pEvent)
     case DB_IPCE_GET_NGEN_COMPILER_FLAGS:
     case DB_IPCE_DETACH_FROM_PROCESS:
     case DB_IPCE_CONTROL_C_EVENT_RESULT:
+    case DB_IPCE_DATA_BREAKPOINT:
         cbAdditionalSize = 0;
         break;
 
index 050b260..0e35c29 100644 (file)
@@ -697,7 +697,9 @@ BEGIN
     IDS_EE_CANNOTCAST_NOMARSHAL                 "The Windows Runtime Object can only be used in the threading context where it was created, because it implements INoMarshal or has MarshalingBehaviorAttribute(MarshalingType.None) set."
     IDS_EE_WINRT_WEAKREF_BAD_TYPE               "The object resolved by a native IWeakReference has an incompatible type for its managed WeakReference instance.\r\nExpected WeakReference target type: '%1'\r\nNative IWeakReference returned type: '%2'"
 #endif // FEATURE_COMINTEROP
-    
+
+    IDS_EE_INTEROP_CODE_SIZE_COMMENT        "Code size"
+
     IDS_EE_ADUNLOAD_IN_FINALIZER            "AppDomain cannot be unloaded during object finalization."
     IDS_EE_ADUNLOAD_DEFAULT                 "The default domain cannot be unloaded."
     IDS_EE_ADUNLOAD_CANT_UNWIND_THREAD      "AppDomain cannot be unloaded because the thread '%1' cannot be unwound out of it."
@@ -710,7 +712,6 @@ BEGIN
     IDS_CLASSLOAD_VARIANCE_IN_CONSTRAINT    "Could not load type '%1' from assembly '%2' because a covariant or contravariant type parameter was used illegally in a type parameter constraint in method '%3'."
     IDS_CLASSLOAD_VARIANCE_CLASS            "Could not load type '%1' from assembly '%2' because it declares a covariant or contravariant type parameter and is not an interface or delegate."
     IDS_CLASSLOAD_BADVARIANCE               "Could not load type '%1' from assembly '%2' because it uses an illegal variance annotation on a type parameter."
-    IDS_CLASSLOAD_CONTEXT_BOUND_GENERIC_METHOD "Context-bound objects with generic methods are not supported."
     IDS_CLASSLOAD_ENUM_EXTRA_GENERIC_TYPE_PARAM "Enumerated types cannot have any generic type parameters, beyond any inherited from their enclosing type (for nested enums)."
        IDS_CLASSLOAD_GENERICTYPE_RECURSIVE     "Could not load type '%1' from assembly '%2' because it has recursive generic definition."
     IDS_CLASSLOAD_TOOMANYGENERICARGS        "Could not load type '%1' from assembly '%2'. Internal limitation: Too many generic arguments."
@@ -719,7 +720,8 @@ BEGIN
     IDS_CLASSLOAD_TYPESPEC                  "Could not load TypeSpec from assembly '%2'."
     IDS_CLASSLOAD_SEALEDPARENT              "Could not load type '%1' from assembly '%2' because the parent type is sealed."
     IDS_CLASSLOAD_BADFORMAT                 "Could not load type '%1' from assembly '%2' because the format is invalid."
-    IDS_CLASSLOAD_CANTCREATEARRAYCLASS      "Could not create array type '%1' from assembly '%2'."
+    IDS_CLASSLOAD_BYREFARRAY                "Could not create array type '%1' from assembly '%2' because the element type is ByRef."
+    IDS_CLASSLOAD_BYREFLIKEARRAY            "Could not create array type '%1' from assembly '%2' because the element type is ByRef-like."
     IDS_CLASSLOAD_MISSINGMETHOD             "Could not load type '%1' from assembly '%2' because the method '%3' could not be loaded."
     IDS_CLASSLOAD_FIELDTOOLARGE             "Size of field of type '%1' from assembly '%2' is too large."
     IDS_CLASSLOAD_CANTEXTEND                "Type '%1' from assembly '%2' cannot extend from any other type."
@@ -738,8 +740,8 @@ BEGIN
     IDS_CLASSLOAD_NOTINTERFACE              "Could not load type '%1' from assembly '%2' because it attempts to implement a class as an interface."
     IDS_CLASSLOAD_VALUEINSTANCEFIELD        "Could not load the value type '%1' from assembly '%2' because it has an instance field of itself."
 
-    IDS_CLASSLOAD_BYREFLIKE_STATICFIELD     "A value type containing a by-ref instance field, such as Span<T>, cannot be used as the type for a static field."
-    IDS_CLASSLOAD_BYREFLIKE_NOTVALUECLASSFIELD "A value type containing a by-ref instance field, such as Span<T>, cannot be used as the type for a class instance field."
+    IDS_CLASSLOAD_BYREFLIKE_STATICFIELD     "A ByRef-like type cannot be used as the type for a static field."
+    IDS_CLASSLOAD_BYREFLIKE_INSTANCEFIELD   "A ByRef-like type cannot be used as the type for an instance field in a non-ByRef-like type."
 
     IDS_CLASSLOAD_RANK_TOOLARGE             "'%1' from assembly '%2' has too many dimensions."
     IDS_CLASSLOAD_BAD_UNMANAGED_RVA         "Native method '%3' on type '%1' from assembly '%2' is not supported."
index 189948a..512b22e 100644 (file)
 
 #define IDS_CLASSLOAD_GENERAL                   0x80131522
 #define IDS_CLASSLOAD_BADFORMAT                 0x1774
-#define IDS_CLASSLOAD_CANTCREATEARRAYCLASS      0x1775
+#define IDS_CLASSLOAD_BYREFARRAY                0x1775
+#define IDS_CLASSLOAD_BYREFLIKEARRAY            0x1776
 #define IDS_CLASSLOAD_MISSINGMETHOD             0x1777
 #define IDS_CLASSLOAD_STATICVIRTUAL             0x1778
 #define IDS_CLASSLOAD_REDUCEACCESS              0x1779
 #define IDS_EE_TOOMANYFIELDS                    0x2072
 
 #define IDS_EE_NDIRECT_GETPROCADDRESS_NONAME    0x2073
-#define IDS_CLASSLOAD_CONTEXT_BOUND_GENERIC_METHOD 0x2075
 #define IDS_EE_CLASS_CONSTRAINTS_VIOLATION      0x2076
 #define IDS_EE_METHOD_CONSTRAINTS_VIOLATION     0x2077
 #define IDS_CLASSLOAD_TOO_MANY_METHODS          0x2078
 #define IDS_EE_INTEROP_STUB_CA_NO_ACCESS_TO_STUB_METHOD             0x2111
 #endif
 
+#define IDS_EE_INTEROP_CODE_SIZE_COMMENT        0x2112
+
 #define BFA_REFERENCE_ASSEMBLY                  0x2113
 
 #define IDS_E_FIELDACCESS                       0x2114
 #define IDS_NATIVE_IMAGE_CANNOT_BE_LOADED_MULTIPLE_TIMES                               0x263a
 
 #define IDS_CLASSLOAD_BYREFLIKE_STATICFIELD        0x263b
-#define IDS_CLASSLOAD_BYREFLIKE_NOTVALUECLASSFIELD 0x263c
-#define IDS_CLASSLOAD_NOTBYREFLIKE                                0x263d
+#define IDS_CLASSLOAD_BYREFLIKE_INSTANCEFIELD      0x263c
 #define IDS_EE_NDIRECT_LOADLIB_LINUX               0x263e
 #define IDS_EE_NDIRECT_LOADLIB_MAC                 0x263f
 #define IDS_EE_NDIRECT_GETPROCADDRESS_UNIX         0x2640
index 15a81d7..187d9ca 100644 (file)
@@ -220,34 +220,42 @@ typedef DWORD (WINAPI *PTHREAD_START_ROUTINE)(void* lpThreadParameter);
 
 #ifdef _MSC_VER
 #pragma intrinsic(_BitScanForward)
-#if WIN64
+#pragma intrinsic(_BitScanReverse)
+#if _WIN64
  #pragma intrinsic(_BitScanForward64)
+ #pragma intrinsic(_BitScanReverse64)
 #endif
 #endif // _MSC_VER
 
 // Cross-platform wrapper for the _BitScanForward compiler intrinsic.
+// A value is unconditionally stored through the bitIndex argument,
+// but callers should only rely on it when the function returns TRUE;
+// otherwise, the stored value is undefined and varies by implementation
+// and hardware platform.
 inline uint8_t BitScanForward(uint32_t *bitIndex, uint32_t mask)
 {
 #ifdef _MSC_VER
     return _BitScanForward((unsigned long*)bitIndex, mask);
 #else // _MSC_VER
-    unsigned char ret = FALSE;
-    int iIndex = __builtin_ffsl(mask);
-    if (iIndex != 0)
-    {
-        *bitIndex = (uint32_t)(iIndex - 1);
-        ret = TRUE;
-    }
-
-    return ret;
+    int iIndex = __builtin_ffs(mask);
+    *bitIndex = static_cast<uint32_t>(iIndex - 1);
+    // Both GCC and Clang generate better, smaller code if we check whether the
+    // mask was/is zero rather than the equivalent check that iIndex is zero.
+    return mask != 0 ? TRUE : FALSE;
 #endif // _MSC_VER
 }
 
 // Cross-platform wrapper for the _BitScanForward64 compiler intrinsic.
+// A value is unconditionally stored through the bitIndex argument,
+// but callers should only rely on it when the function returns TRUE;
+// otherwise, the stored value is undefined and varies by implementation
+// and hardware platform.
 inline uint8_t BitScanForward64(uint32_t *bitIndex, uint64_t mask)
 {
 #ifdef _MSC_VER
- #if _WIN32
+ #if _WIN64
+    return _BitScanForward64((unsigned long*)bitIndex, mask);
+ #else
     // MSVC targeting a 32-bit target does not support this intrinsic.
     // We can fake it using two successive invocations of _BitScanForward.
     uint32_t hi = (mask >> 32) & 0xFFFFFFFF;
@@ -265,19 +273,63 @@ inline uint8_t BitScanForward64(uint32_t *bitIndex, uint64_t mask)
     }
 
     return result;
- #else
-    return _BitScanForward64((unsigned long*)bitIndex, mask);
- #endif // _WIN32
+ #endif // _WIN64
 #else
-    unsigned char ret = FALSE;
     int iIndex = __builtin_ffsll(mask);
-    if (iIndex != 0)
+    *bitIndex = static_cast<uint32_t>(iIndex - 1);
+    // Both GCC and Clang generate better, smaller code if we check whether the
+    // mask was/is zero rather than the equivalent check that iIndex is zero.
+    return mask != 0 ? TRUE : FALSE;
+#endif // _MSC_VER
+}
+
+// Cross-platform wrapper for the _BitScanReverse compiler intrinsic.
+inline uint8_t BitScanReverse(uint32_t *bitIndex, uint32_t mask)
+{
+#ifdef _MSC_VER
+    return _BitScanReverse((unsigned long*)bitIndex, mask);
+#else // _MSC_VER
+    // The result of __builtin_clzl is undefined when mask is zero,
+    // but it's still OK to call the intrinsic in that case (just don't use the output).
+    // Unconditionally calling the intrinsic in this way allows the compiler to
+    // emit branchless code for this function when possible (depending on how the
+    // intrinsic is implemented for the target platform).
+    int lzcount = __builtin_clzl(mask);
+    *bitIndex = static_cast<uint32_t>(31 - lzcount);
+    return mask != 0 ? TRUE : FALSE;
+#endif // _MSC_VER
+}
+
+// Cross-platform wrapper for the _BitScanReverse64 compiler intrinsic.
+inline uint8_t BitScanReverse64(uint32_t *bitIndex, uint64_t mask)
+{
+#ifdef _MSC_VER
+ #if _WIN64
+    return _BitScanReverse64((unsigned long*)bitIndex, mask);
+ #else
+    // MSVC targeting a 32-bit target does not support this intrinsic.
+    // We can fake it checking whether the upper 32 bits are zeros (or not)
+    // then calling _BitScanReverse() on either the upper or lower 32 bits.
+    uint32_t upper = static_cast<uint32_t>(mask >> 32);
+
+    if (upper != 0)
     {
-        *bitIndex = (uint32_t)(iIndex - 1);
-        ret = TRUE;
+        uint8_t result = _BitScanReverse((unsigned long*)bitIndex, upper);
+        *bitIndex += 32;
+        return result;
     }
 
-    return ret;
+    return _BitScanReverse((unsigned long*)bitIndex, static_cast<uint32_t>(mask));
+ #endif // _WIN64
+#else
+    // The result of __builtin_clzll is undefined when mask is zero,
+    // but it's still OK to call the intrinsic in that case (just don't use the output).
+    // Unconditionally calling the intrinsic in this way allows the compiler to
+    // emit branchless code for this function when possible (depending on how the
+    // intrinsic is implemented for the target platform).
+    int lzcount = __builtin_clzll(mask);
+    *bitIndex = static_cast<uint32_t>(63 - lzcount);
+    return mask != 0 ? TRUE : FALSE;
 #endif // _MSC_VER
 }
 
index c5c178b..a8a47c7 100644 (file)
@@ -308,78 +308,69 @@ void GCStatistics::DisplayAndUpdate()
 
 #endif // GC_STATS
 
-#ifdef BIT64
-#define TOTAL_TIMES_TO_SHIFT 6
-#else
-#define TOTAL_TIMES_TO_SHIFT 5
-#endif // BIT64
-
+inline
 size_t round_up_power2 (size_t size)
 {
-    unsigned short shift = 1;
-    size_t shifted = 0;
-
-    size--;
-    for (unsigned short i = 0; i < TOTAL_TIMES_TO_SHIFT; i++)
-    {
-        shifted = size | (size >> shift);
-        if (shifted == size)
-        {
-            break;
-        }
-
-        size = shifted;
-        shift <<= 1;
-    }
-    shifted++;
+    // Get the 0-based index of the most-significant bit in size-1.
+    // If the call failed (because size-1 is zero), size must be 1,
+    // so return 1 (because 1 rounds up to itself).
+    DWORD highest_set_bit_index;
+    if (0 ==
+#ifdef BIT64
+        BitScanReverse64(
+#else
+        BitScanReverse(
+#endif
+            &highest_set_bit_index, size - 1)) { return 1; }
 
-    return shifted;
+    // The size == 0 case (which would have overflowed to SIZE_MAX when decremented)
+    // is handled below by relying on the fact that highest_set_bit_index is the maximum value
+    // (31 or 63, depending on sizeof(size_t)) and left-shifting a value >= 2 by that
+    // number of bits shifts in zeros from the right, resulting in an output of zero.
+    return static_cast<size_t>(2) << highest_set_bit_index;
 }
 
 inline
 size_t round_down_power2 (size_t size)
 {
-    size_t power2 = round_up_power2 (size);
-
-    if (power2 != size)
-    {
-        power2 >>= 1;
-    }
+    // Get the 0-based index of the most-significant bit in size.
+    // If the call failed, size must be zero so return zero.
+    DWORD highest_set_bit_index;
+    if (0 ==
+#ifdef BIT64
+        BitScanReverse64(
+#else
+        BitScanReverse(
+#endif
+            &highest_set_bit_index, size)) { return 0; }
 
-    return power2;
+    // Left-shift 1 by highest_set_bit_index to get back a value containing only
+    // the most-significant set bit of size, i.e. size rounded down
+    // to the next power-of-two value.
+    return static_cast<size_t>(1) << highest_set_bit_index;
 }
 
-// the index starts from 0.
-int index_of_set_bit (size_t power2)
+// Get the 0-based index of the most-significant bit in the value.
+// Returns -1 if the input value is zero (i.e. has no set bits).
+inline
+int index_of_highest_set_bit (size_t value)
 {
-    int low = 0;
-    int high = sizeof (size_t) * 8 - 1;
-    int mid; 
-    while (low <= high)
-    {
-        mid = ((low + high)/2);
-        size_t temp = (size_t)1 << mid;
-        if (power2 & temp)
-        {
-            return mid;
-        }
-        else if (power2 < temp)
-        {
-            high = mid - 1;
-        }
-        else
-        {
-            low = mid + 1;
-        }
-    }
-
-    return -1;
+    // Get the 0-based index of the most-significant bit in the value.
+    // If the call failed (because value is zero), return -1.
+    DWORD highest_set_bit_index;
+    return (0 ==
+#ifdef BIT64
+        BitScanReverse64(
+#else
+        BitScanReverse(
+#endif
+            &highest_set_bit_index, value)) ? -1 : static_cast<int>(highest_set_bit_index);
 }
 
 inline
 int relative_index_power2_plug (size_t power2)
 {
-    int index = index_of_set_bit (power2);
+    int index = index_of_highest_set_bit (power2);
     assert (index <= MAX_INDEX_POWER2);
 
     return ((index < MIN_INDEX_POWER2) ? 0 : (index - MIN_INDEX_POWER2));
@@ -388,7 +379,7 @@ int relative_index_power2_plug (size_t power2)
 inline
 int relative_index_power2_free_space (size_t power2)
 {
-    int index = index_of_set_bit (power2);
+    int index = index_of_highest_set_bit (power2);
     assert (index <= MAX_INDEX_POWER2);
 
     return ((index < MIN_INDEX_POWER2) ? -1 : (index - MIN_INDEX_POWER2));
@@ -8688,7 +8679,7 @@ public:
             }
         }
 
-        int bucket_power2 = index_of_set_bit (round_down_power2 (size));
+        int bucket_power2 = index_of_highest_set_bit (size);
         if (bucket_power2 < base_power2)
         {
             return;
@@ -8791,7 +8782,7 @@ public:
         plug_size_to_fit += (pad_in_front ? Align(min_obj_size) : 0);
 #endif //SHORT_PLUGS
 
-        int plug_power2 = index_of_set_bit (round_up_power2 (plug_size_to_fit + Align(min_obj_size)));
+        int plug_power2 = index_of_highest_set_bit (round_up_power2 (plug_size_to_fit + Align(min_obj_size)));
         ptrdiff_t i;
         uint8_t* new_address = 0;
 
@@ -8873,9 +8864,9 @@ retry:
                                 (plug_size - pad),
                                 pad,
                                 pinned_plug (m), 
-                                index_of_set_bit (round_down_power2 (free_space_size)),
+                                index_of_highest_set_bit (free_space_size),
                                 (pinned_plug (m) - pinned_len (m)), 
-                                index_of_set_bit (round_down_power2 (new_free_space_size))));
+                                index_of_highest_set_bit (new_free_space_size)));
 #endif //SIMPLE_DPRINTF
 
 #ifdef SHORT_PLUGS
@@ -8919,9 +8910,9 @@ retry:
                                 old_loc,
                                 new_address, 
                                 (plug_size - pad),
-                                index_of_set_bit (round_down_power2 (free_space_size)),
+                                index_of_highest_set_bit (free_space_size),
                                 heap_segment_plan_allocated (seg), 
-                                index_of_set_bit (round_down_power2 (new_free_space_size))));
+                                index_of_highest_set_bit (new_free_space_size)));
 #endif //SIMPLE_DPRINTF
 
                     if (realign_padding_p)
@@ -8953,7 +8944,7 @@ retry:
                     (!chosen_power2) && (i < free_space_count));
         }
 
-        int new_bucket_power2 = index_of_set_bit (round_down_power2 (new_free_space_size));
+        int new_bucket_power2 = index_of_highest_set_bit (new_free_space_size);
 
         if (new_bucket_power2 < base_power2)
         {
@@ -33465,7 +33456,7 @@ HRESULT GCHeap::Initialize ()
     gc_heap::min_loh_segment_size = large_seg_size;
     gc_heap::min_segment_size = min (seg_size, large_seg_size);
 #ifdef SEG_MAPPING_TABLE
-    gc_heap::min_segment_size_shr = index_of_set_bit (gc_heap::min_segment_size);
+    gc_heap::min_segment_size_shr = index_of_highest_set_bit (gc_heap::min_segment_size);
 #endif //SEG_MAPPING_TABLE
 
 #ifdef MULTIPLE_HEAPS
index 9c3282b..3096695 100644 (file)
@@ -311,7 +311,9 @@ static gc_mechanism_descr gc_mechanisms_descr[max_mechanism_per_heap] =
 };
 #endif //DT_LOG
 
-int index_of_set_bit (size_t power2);
+// Get the 0-based index of the most-significant bit in the value.
+// Returns -1 if the input value is zero (i.e. has no set bits).
+int index_of_highest_set_bit (size_t value);
 
 #define mechanism_mask (1 << (sizeof (uint32_t) * 8 - 1))
 // interesting per heap data we want to record for each GC.
@@ -372,7 +374,7 @@ public:
 
         if (mechanism & mechanism_mask)
         {
-            int index = index_of_set_bit ((size_t)(mechanism & (~mechanism_mask)));
+            int index = index_of_highest_set_bit ((size_t)(mechanism & (~mechanism_mask)));
             assert (index != -1);
             return index;
         }
index 74190b7..93198a5 100644 (file)
@@ -193,7 +193,7 @@ public:
         return memcmp(ptr_, t->ptr_, len_);
     }
     // The only public data we need
-    const mdToken Token() const { return token_; }
+    mdToken Token() const { return token_; }
 };
 
 static RBTREE<TypeSpecContainer> typeSpecCache;
index de2d253..447d021 100644 (file)
@@ -171,7 +171,6 @@ extern "C" int _cdecl wmain(int argc, __in WCHAR **argv)
       printf("\n/CLOCK          Measure and report compilation times");
 //      printf("\n/ERROR          Try to create .exe or .dll file despite errors reported");
 //      printf("\n       Warning! Results are unpredictable, use this option at your own risk!");
-      printf("\n/RESOURCE=<res_file>    Link the specified resource file (*.res) \n\t\t\tinto resulting .exe or .dll");
       printf("\n/OUTPUT=<targetfile>    Compile to file with specified name \n\t\t\t(user must provide extension, if any)");
       printf("\n/KEY=<keyfile>      Compile with strong signature \n\t\t\t(<keyfile> contains private key)");
       printf("\n/KEY=@<keysource>   Compile with strong signature \n\t\t\t(<keysource> is the private key source name)");
index a0ee344..c08ee70 100644 (file)
@@ -207,7 +207,7 @@ End
 // It's the largest of the debugger locks.
 Crst DebuggerMutex
     AcquiredBefore AvailableParamTypes ConnectionNameTable 
-                   DynamicIL LoaderHeap ModuleLookupTable ThreadStore                   
+                   DynamicIL LoaderHeap ModuleLookupTable
 
     // Disabled per bug 581892
     // AcquiredBefore DebuggerController 
@@ -719,7 +719,7 @@ Crst ThreadStore
                    DebuggerHeapLock DebuggerJitInfo DynamicIL ExecuteManRangeLock HandleTable IbcProfile
                    JitGenericHandleCache JumpStubCache LoaderHeap ModuleLookupTable ProfilingAPIStatus
                    ProfilerGCRefDataFreeList RWLock SingleUseLock SyncBlockCache SystemDomainDelayedUnloadList
-                   ThreadIdDispenser ThreadStaticDataHashTable
+                   ThreadIdDispenser ThreadStaticDataHashTable DebuggerMutex
 End
 
 Crst TPMethodTable
index dd66d2a..e24b2e9 100644 (file)
@@ -1137,7 +1137,7 @@ class BaseContract
         }
     }
 
-    void DoChecks(UINT testmask, __in_z const char *szFunction, __in_z char *szFile, int lineNum);
+    void DoChecks(UINT testmask, __in_z const char *szFunction, __in_z const char *szFile, int lineNum);
     void Disable()
     {
     }
@@ -1380,8 +1380,9 @@ typedef __SafeToUsePostCondition __PostConditionOK;
     Contract::Returner<_returntype> ___returner(RETVAL);                \
     Contract::RanPostconditions ___ran(__FUNCTION__);                   \
     Contract::Operation ___op = Contract::Setup;                        \
+    BOOL ___contract_enabled = FALSE;                                   \
     DEBUG_ASSURE_NO_RETURN_BEGIN(CONTRACT)                              \
-    BOOL ___contract_enabled = Contract::EnforceContract();             \
+    ___contract_enabled = Contract::EnforceContract();                  \
     enum {___disabled = 0};                                             \
     if (!___contract_enabled)                                           \
         ___contract.Disable();                                          \
@@ -1897,7 +1898,7 @@ public:
     DEBUG_NOINLINE ~AutoCleanupContractViolationHolder()
     {
         SCAN_SCOPE_END;
-        LeaveInternal();
+        this->LeaveInternal();
     };
 };
 
index ff165cf..6a96c18 100644 (file)
@@ -40,7 +40,7 @@ void SoTolerantViolationHelper(const char *szFunction,
 #endif
 
 
-inline void BaseContract::DoChecks(UINT testmask, __in_z const char *szFunction, __in_z char *szFile, int lineNum)
+inline void BaseContract::DoChecks(UINT testmask, __in_z const char *szFunction, __in_z const char *szFile, int lineNum)
 {
     STATIC_CONTRACT_DEBUG_ONLY;
     STATIC_CONTRACT_NOTHROW;
index fea48d7..254a7db 100644 (file)
@@ -225,19 +225,19 @@ typedef struct CorDebugGuidToTypeMapping
 
 /*
  * Callback interface for providing access to a particular target process. The
- * debugging services will call functions on this interface to access memory 
- * and other data in the target process.  The debugger client must implement 
+ * debugging services will call functions on this interface to access memory
+ * and other data in the target process.  The debugger client must implement
  * this interface as appropriate for the particular target (for example, a live
  * process or a memory dump).  The DataTarget will only be invoked from within
- * the implementation of other ICorDebug APIs (i.e. the debugger client has 
- * control over which thread it is invoked on, and when) 
+ * the implementation of other ICorDebug APIs (i.e. the debugger client has
+ * control over which thread it is invoked on, and when)
  *
  * Error HRESULTS returned by DataTarget APIs will propagate up and be returned
  * by the active ICorDebug API call.
  *
  * The DataTarget implementation must always return up-to-date information
- * about the target.  The target process should be stopped (not changing 
- * in any way) while ICorDebug APIs (and hence DataTarget APIs) are being 
+ * about the target.  The target process should be stopped (not changing
+ * in any way) while ICorDebug APIs (and hence DataTarget APIs) are being
  * called.  If the target is a live process and it's state changes,
  * OpenVirtualProcess needs to be called again to provide a replacement
  * ICorDebugProcess instance.
@@ -251,18 +251,18 @@ typedef struct CorDebugGuidToTypeMapping
 interface ICorDebugDataTarget : IUnknown
 {
     /*
-     * GetPlatform returns the processor architecture and operating system on 
-     * which the target process is (or was) running.  
+     * GetPlatform returns the processor architecture and operating system on
+     * which the target process is (or was) running.
      *
-     * This is used by ICorDebug to determine details of the target process 
-     * such as its pointer size, address space layout, register set, 
+     * This is used by ICorDebug to determine details of the target process
+     * such as its pointer size, address space layout, register set,
      * instruction format, context layout, and calling conventions, etc.
      * This platforms in this list are the only ones supported by this version
      * of ICorDebug, but more may be added in future versions.
      *
-     * Note that this may actually indicate the platform which is being 
+     * Note that this may actually indicate the platform which is being
      * emulated for the target, not the actual hardware in use.  For example,
-     * a process running in the WOW on Windows x64 should use 
+     * a process running in the WOW on Windows x64 should use
      * CORDB_PLATFORM_WINDOWS_X86.
      *
      * Implementations should be sure to describe what the platform of the
@@ -282,7 +282,7 @@ interface ICorDebugDataTarget : IUnknown
         CORDB_PLATFORM_WINDOWS_ARM64,     // Windows on ARM64
 
         CORDB_PLATFORM_POSIX_AMD64,       // Posix supporting OS on Intel x64
-        CORDB_PLATFORM_POSIX_X86,         // Posix supporting OS on Intel x86        
+        CORDB_PLATFORM_POSIX_X86,         // Posix supporting OS on Intel x86
         CORDB_PLATFORM_POSIX_ARM,         // Posix supporting OS on ARM32
         CORDB_PLATFORM_POSIX_ARM64        // Posix supporting OS on ARM64
     } CorDebugPlatform;
@@ -292,13 +292,13 @@ interface ICorDebugDataTarget : IUnknown
     /*
      * ReadVirtual - Read virtual memory from the target process.
      *
-     * Requests contiguous memory starting at the specified target address to 
-     * be read from the target process into the supplied buffer.  If at least 
-     * the first byte (at the specified start address) can be read, the call 
+     * Requests contiguous memory starting at the specified target address to
+     * be read from the target process into the supplied buffer.  If at least
+     * the first byte (at the specified start address) can be read, the call
      * should return success (to support efficient reading of data structures
      * with self-describing length, like null-terminated strings).
      *
-     * On success, the actual number of bytes read must be stored into 
+     * On success, the actual number of bytes read must be stored into
      * pBytesRead.
      */
     HRESULT ReadVirtual([in] CORDB_ADDRESS address,
@@ -309,12 +309,12 @@ interface ICorDebugDataTarget : IUnknown
     /*
      * GetThreadContext - Get the thread context (register values) for a thread.
      *
-     * Requests the current thread context for the specified (operating-system 
-     * defined) thread identifier.  The size and format of the context record 
-     * is platform dependant, and is determined by the result of the call to 
-     * GetPlatform.  
-     * 
-     * The context flags specify, in a platform-dependent manor, which portions 
+     * Requests the current thread context for the specified (operating-system
+     * defined) thread identifier.  The size and format of the context record
+     * is platform dependant, and is determined by the result of the call to
+     * GetPlatform.
+     *
+     * The context flags specify, in a platform-dependent manor, which portions
      * of the context should be read.  contextSize specifies the size of the
      * supplied buffer, but the function is free to not fill the whole buffer
      * if it is possible to determine the actual size from the context.
@@ -488,7 +488,7 @@ interface ICorDebugMergedAssemblyRecord : IUnknown
      *                 These names do not include qualifiers such as file extensions, culture, version, or public key token
      */
     HRESULT GetSimpleName([in] ULONG32 cchName, [out] ULONG32 *pcchName, [out, size_is(cchName), length_is(*pcchName)] WCHAR szName[]);
-    
+
     /*
      * GetVersion - Gives the assembly version information
      */
@@ -507,7 +507,7 @@ interface ICorDebugMergedAssemblyRecord : IUnknown
     /*
      * GetPublicKeyToken - Gives the assembly public key token (the last 8 bytes of a SHA1 hash of the public key)
      */
-    HRESULT GetPublicKeyToken([in] ULONG32 cbPublicKeyToken, [out] ULONG32 *pcbPublicKeyToken, 
+    HRESULT GetPublicKeyToken([in] ULONG32 cbPublicKeyToken, [out] ULONG32 *pcbPublicKeyToken,
         [out, size_is(cbPublicKeyToken), length_is(*pcbPublicKeyToken)] BYTE pbPublicKeyToken[]);
 
     /*
@@ -696,7 +696,7 @@ interface ICorDebugVirtualUnwinder : IUnknown
                        [out] ULONG32* contextSize,
                        [out, size_is(cbContextBuf)] BYTE contextBuf[]);
 
-    /* 
+    /*
      * Advances to the callers context.
      *
      * If a failing HRESULT is returned ICorDebug APIs will return CORDBG_E_DATA_TARGET_ERROR.
@@ -812,7 +812,7 @@ interface ICorDebugDataTarget3 : IUnknown
 };
 
 /*
- * Data target that knows how to obtain debugee's process id. 
+ * Data target that knows how to obtain debugee's process id.
  * Debugee is not necessarily a living process at that time or on the same machine.
  */
 [
@@ -832,20 +832,20 @@ interface ICorDebugDataTarget4 : IUnknown
 };
 
 /*
- * Mutable extension to the data target.  This version of ICorDebugDataTarget 
- * can be implemented by targets that wish to support modification of the target 
+ * Mutable extension to the data target.  This version of ICorDebugDataTarget
+ * can be implemented by targets that wish to support modification of the target
  * process (such as for live invasive debugging).
  *
- * All of these APIs are optional in the sense that no core inspection-based 
+ * All of these APIs are optional in the sense that no core inspection-based
  * debugging functionality will be lost by not implementing this interface or
  * by the failure of these methods.  Any failure HRESULT from these APIs will
  * propagate out as the HRESULT from the ICorDebug API call.
  *
  * Note that a single ICorDebug API call may result in multiple mutations,
- * and there is no mechanism for ensuring related mutations are applied 
+ * and there is no mechanism for ensuring related mutations are applied
  * transactionally (all-or-none).  This means that if a mutation fails after
  * others (for the same ICorDebug call) have succeeded, the target process may
- * be left in an inconsistent state and debugging may become unreliable.  
+ * be left in an inconsistent state and debugging may become unreliable.
   */
 [
     object,
@@ -879,7 +879,7 @@ interface ICorDebugMutableDataTarget : ICorDebugDataTarget
                              [in] ULONG32 contextSize,
                              [in, size_is(contextSize)] const BYTE * pContext);
 
-    /* 
+    /*
      * Invoke to change the continue-status for the outstanding debug-event on
      * the specified thread.
      *
@@ -887,7 +887,7 @@ interface ICorDebugMutableDataTarget : ICorDebugDataTarget
      *        dwThreadId - OS Thread Id of the debug event
      *    continueStatus - New continue status being requested.  See the
      *                     definition of CORDB_CONTINUE_STATUS for details.
-     * 
+     *
      * This API is used when the Debugger makes an ICorDebug API request
      * which requires the current debug event to be handled in a way that is
      * potentially different from which it would be otherwise.  For example,
@@ -902,8 +902,8 @@ interface ICorDebugMutableDataTarget : ICorDebugDataTarget
 
 
 /*
- * Interface used by the data access services layer to locate metadata 
- * of assemblies in a target. 
+ * Interface used by the data access services layer to locate metadata
+ * of assemblies in a target.
  *
  * The API client must implement this interface as appropriate for the
  * particular target (for example, a live process or a memory dump).
@@ -1131,7 +1131,7 @@ interface ICorDebugManagedCallback : IUnknown
                          [in] ICorDebugThread *thread);
 
     /*
-     * ExitThread is called when a thread which has run managed code exits. 
+     * ExitThread is called when a thread which has run managed code exits.
      * Once this callback is fired, the thread no longer will appear in thread enumerations.
      */
 
@@ -1289,14 +1289,14 @@ interface ICorDebugManagedCallback : IUnknown
                        [in] ICorDebugThread *pThread);
 
     /*
-     * UpdateModuleSymbols is called when PDB debug symbols are available for an 
-     * in-memory module. This is a debugger's chance to load the symbols 
+     * UpdateModuleSymbols is called when PDB debug symbols are available for an
+     * in-memory module. This is a debugger's chance to load the symbols
      * (using ISymUnmanagedBinder::GetReaderForStream), and bind source-level
      * breakpoints for the module.
-     * 
+     *
      * This callback is no longer dispatched for dynamic modules.  Instead,
      * debuggers should call ICorDebugModule3::CreateReaderForInMemorySymbols
-     * to obtain a symbol reader for a dynamic module.  
+     * to obtain a symbol reader for a dynamic module.
      */
     HRESULT UpdateModuleSymbols([in] ICorDebugAppDomain *pAppDomain,
                                 [in] ICorDebugModule *pModule,
@@ -1335,21 +1335,64 @@ interface ICorDebugManagedCallback : IUnknown
 interface ICorDebugManagedCallback3 : IUnknown
 {
     /* Callback indicating an enabled custom debugger notification has been
-     * raised. pThread points to the thread that issued the notification. 
-     * A subsequent call to GetCurrentCustomDebuggerNotification will retrieve the object that was passed to 
+     * raised. pThread points to the thread that issued the notification.
+     * A subsequent call to GetCurrentCustomDebuggerNotification will retrieve the object that was passed to
      * System.Diagnostics.Debugger.CustomNotification, whose type will be one
      * that has been enabled via SetEnableCustomNotification.
-     * Note that this will return non-null if and only if we are currently inside a CustomNotification 
-     * callback. 
+     * Note that this will return non-null if and only if we are currently inside a CustomNotification
+     * callback.
      * The debugger can read type-specific parameters from fields of the data
-     * object, and store responses into fields. 
+     * object, and store responses into fields.
      * ICorDebug imposes no policy on the types of notifications or their
      * contents, and their semantics are strictly a contract between
-     * debuggers and applications/frameworks.   
+     * debuggers and applications/frameworks.
      */
     HRESULT CustomNotification([in] ICorDebugThread * pThread, [in] ICorDebugAppDomain * pAppDomain);
 }
 
+[
+    object,
+    local,
+    uuid(322911AE-16A5-49BA-84A3-ED69678138A3),
+    pointer_default(unique)
+]
+
+interface ICorDebugManagedCallback4 : IUnknown
+{
+    //
+    // Callback indicating a garbage collection is about to start.
+    // 
+    // Parameters
+    //   pProcess - the process that is going to perform garbage collection.
+    // 
+    // Returns
+    //   S_OK - on success
+    //
+    HRESULT BeforeGarbageCollection([in] ICorDebugProcess* pProcess);
+
+    //
+    // Callback indicating a garbage collection is about to complete.
+    // 
+    // Parameters
+    //   pProcess - the process that is going to complete garbage collection.
+    // 
+    // Returns
+    //   S_OK - on success
+    //
+    HRESULT AfterGarbageCollection([in] ICorDebugProcess* pProcess);
+
+    //
+    // Callback indicating a data breakpoint is hit
+    // 
+    // Parameters
+    //   pProcess - the process that hits the data breakpoint
+    //   pThread  - the thread that hits the data breakpoint
+    // 
+    // Returns
+    //   S_OK - on success
+    //
+    HRESULT DataBreakpoint([in] ICorDebugProcess* pProcess, [in] ICorDebugThread* pThread);
+}
 
 #pragma warning(disable:28718) /* disable warning 28718 for interface ICorDebugManagedCallback2 */
 
@@ -1442,7 +1485,7 @@ interface ICorDebugManagedCallback2 : IUnknown
 
 
     /*
-     * For non-intercepted exceptions, ExceptionUnwind is called at the beginning of the second pass 
+     * For non-intercepted exceptions, ExceptionUnwind is called at the beginning of the second pass
      * when we start to unwind the stack.  For intercepted exceptions, ExceptionUnwind is called when
      * the interception is complete, conceptually at the end of the second pass.
      *
@@ -1635,15 +1678,15 @@ interface ICorDebug : IUnknown
      *
      * This should be set after Initialize and before any calls to CreateProcess or DebugActiveProcess.
      *
-     * However, for legacy purposes, it is not absolutely required to set this until 
-     * before the first native debug event is fired. Specifically, if CreateProcess has the 
+     * However, for legacy purposes, it is not absolutely required to set this until
+     * before the first native debug event is fired. Specifically, if CreateProcess has the
      * CREATE_SUSPENDED flag, native debug events will not be dispatched until the main thread
      * is resumed.
-     * DebugActiveProcess will dispatch native debug events immediately, and so the unmanaged callback 
+     * DebugActiveProcess will dispatch native debug events immediately, and so the unmanaged callback
      * must be set before DebugActiveProcess is called.
      *
-     * Returns: 
-     *    S_OK if callback pointer is successfully updated. 
+     * Returns:
+     *    S_OK if callback pointer is successfully updated.
      *    failure on any failure.
      *
      */
@@ -1730,7 +1773,7 @@ interface ICorDebug : IUnknown
 #pragma warning(pop)
 
 /*
- * A debugger can implement this interface and pass it to ICorDebugRemote to specify the host name of the 
+ * A debugger can implement this interface and pass it to ICorDebugRemote to specify the host name of the
  * target machine in Mac remote debugging scenarios.  This is only supported on Silverlight.
  */
 [
@@ -1743,26 +1786,26 @@ interface ICorDebugRemoteTarget : IUnknown
 {
     /*
      * Return the host name of the target machine.  The host name can either be a fully qualified domain name or
-     * an IPv4 address.  If cchHostName is 0 and szHostName is NULL, this function just returns the number of 
+     * an IPv4 address.  If cchHostName is 0 and szHostName is NULL, this function just returns the number of
      * characters including the NULL character in the host name.
      *
-     * cchHostName is the number of characters in the buffer szHostName.  If this is 0, then szHostName must 
+     * cchHostName is the number of characters in the buffer szHostName.  If this is 0, then szHostName must
      * be NULL.  If it is not 0, then szHostName must be non-NULL.
-     * 
-     * pcchHostName returns the number of characters including the NULL character in the host name.  This can 
+     *
+     * pcchHostName returns the number of characters including the NULL character in the host name.  This can
      * be NULL.
-     * 
+     *
      * szHostName is the buffer for returning the host name.
      */
 
     HRESULT GetHostName([in]  ULONG32 cchHostName,
                         [out, annotation("_Out_")] ULONG32 * pcchHostName,
-                        [out, size_is(cchHostName), length_is(*pcchHostName), annotation("_Out_writes_to_opt_(cchHostName, *pcchHostName)")] 
+                        [out, size_is(cchHostName), length_is(*pcchHostName), annotation("_Out_writes_to_opt_(cchHostName, *pcchHostName)")]
                                                      WCHAR szHostName[]);
 }
 
 /*
- * A debugger can QI for this interface from an ICorDebug interface in order to specify a target machine in 
+ * A debugger can QI for this interface from an ICorDebug interface in order to specify a target machine in
  * Mac remote debugging scenarios.  This is only supported on Silverlight.
  */
 [
@@ -1911,7 +1954,7 @@ interface ICorDebug2 : IUnknown
         ver_ICorDebugAppDomain3 = CorDebugVersion_4_5,
         ver_ICorDebugCode3 = CorDebugVersion_4_5,
         ver_ICorDebugILFrame3 = CorDebugVersion_4_5,
-        
+
         CorDebugLatestVersion = CorDebugVersion_4_5
 
     } CorDebugInterfaceVersion;
@@ -2064,7 +2107,7 @@ interface ICorDebugController : IUnknown
      *
      * Note that currently if unmanaged debugging is enabled this call will
      * fail due to OS limitations.
-     * 
+     *
      * Returns S_OK on success.
      *
      */
@@ -2172,13 +2215,13 @@ interface ICorDebugAppDomain : ICorDebugController
      *   callers know the full size of buffer they'd need to allocate to get the full string.
      *
      * if (cchName == 0) then we're in "query" mode:
-     *     This fails if szName is non-null or pcchName is null 
+     *     This fails if szName is non-null or pcchName is null
      *     Else this function will set pcchName to let the caller know how large of a buffer to allocate
      *     and return S_OK.
      *
-     * if (cchName != 0) then 
+     * if (cchName != 0) then
      *     This fails if szName is null.
-     *     Else this copies as much as can fit into szName (it will always null terminate szName) and returns S_OK. 
+     *     Else this copies as much as can fit into szName (it will always null terminate szName) and returns S_OK.
      *     pcchName can be null. If it's non-null, we set it.
      *
      * The expected usage pattern is that a client will call once to get the size of a buffer needed for the name,
@@ -2203,7 +2246,7 @@ interface ICorDebugAppDomain : ICorDebugController
 
     HRESULT GetObject([out] ICorDebugValue **ppObject);
 
-    /* 
+    /*
      * DEPRECATED.  This does nothing in V3.  Attaching is process-wide.
      */
 
@@ -2360,7 +2403,7 @@ interface ICorDebugAssembly : IUnknown
     /*
      * GetName returns the full path and filename of the assembly.
      * If the assembly has no filename (i.e. it is in-memory only),
-     * S_FALSE is returned, and a fabricated string is stored into szName. 
+     * S_FALSE is returned, and a fabricated string is stored into szName.
      */
 
     HRESULT GetName([in] ULONG32 cchName,
@@ -2405,7 +2448,7 @@ interface ICorDebugAssembly3 : IUnknown
     /*
      * Gets an enumeration for all the assemblies contained within this assembly
      * If the assembly isn't a container, the result is S_FALSE and the enumeration
-     * will be empty. Symbols are needed to compute this result; if they aren't 
+     * will be empty. Symbols are needed to compute this result; if they aren't
      * present an error will be returned and no enumeration provided.
      */
     HRESULT EnumerateContainedAssemblies(ICorDebugAssemblyEnum **ppAssemblies);
@@ -2541,7 +2584,7 @@ typedef struct COR_GC_REFERENCE
     ICorDebugAppDomain *Domain;         // The AppDomain of the handle/object, may be null.
     ICorDebugValue *Location;           // A reference to the object
     CorGCReferenceType Type;            // Where the root came from.
-    
+
     /*
         DependentSource - for HandleDependent
         RefCount - for HandleStrongRefCount
@@ -2570,13 +2613,13 @@ cpp_quote("#define _DEF_COR_ARRAY_LAYOUT_")
 typedef struct COR_ARRAY_LAYOUT
 {
     COR_TYPEID componentID; // The type of objects the array contains
-    
+
     CorElementType componentType;  // Whether the component itself is a GC reference, value class, or primitive
-    
+
     ULONG32 firstElementOffset; // The offset to the first element
     ULONG32 elementSize;     // The size of each element
     ULONG32 countOffset;     // The offset to the number of elements in the array.
-    
+
     // For multidimensional arrays (works with normal arrays too).
     ULONG32 rankSize;       // The size of the rank
     ULONG32 numRanks;       // The number of ranks in the array (1 for array, N for multidimensional array)
@@ -2605,7 +2648,7 @@ typedef struct COR_FIELD
     mdFieldDef token;   // FieldDef token to get the field info
     ULONG32 offset;     // Offset in object of data.
     COR_TYPEID id;      // TYPEID of the field
-    
+
     CorElementType fieldType;
 } COR_FIELD;
 cpp_quote("#endif // _DEF_COR_FIELD_")
@@ -2939,15 +2982,15 @@ interface ICorDebugProcess2 : IUnknown
 interface ICorDebugProcess3 : IUnknown
 {
     /*  Enables (or disables) custom debugger notifications of a specified
-     *  type (which implements ICustomDebuggerNotification).  
+     *  type (which implements ICustomDebuggerNotification).
      *  When this has been enabled, calls to
      *  System.Diagnostics.Debugger.CustomNotification with a data argument
      *  of the specified class will trigger a CustomNotification callback.
      *  Notifications are disabled by default and the debugger must opt-into
      *  any notification types it knows of and wishes to handle.
-     *  Since ICorDebugClass is scoped by appdomains, the debugger needs to 
-     *  call this API for every appdomain in the process if it's interested in 
-     *  receiving the notification across the entire process. 
+     *  Since ICorDebugClass is scoped by appdomains, the debugger needs to
+     *  call this API for every appdomain in the process if it's interested in
+     *  receiving the notification across the entire process.
      */
 
     HRESULT SetEnableCustomNotification(ICorDebugClass * pClass, BOOL fEnable);
@@ -2967,14 +3010,14 @@ interface ICorDebugProcess5 : IUnknown
     HRESULT GetObject([in] CORDB_ADDRESS addr, [out] ICorDebugObjectValue **pObject);
     HRESULT EnumerateGCReferences([in] BOOL enumerateWeakReferences, [out] ICorDebugGCReferenceEnum **ppEnum);
     HRESULT EnumerateHandles([in] CorGCReferenceType types, [out] ICorDebugGCReferenceEnum **ppEnum);
-    
+
     HRESULT GetTypeID([in] CORDB_ADDRESS obj, [out] COR_TYPEID *pId);
     HRESULT GetTypeForTypeID([in] COR_TYPEID id, [out] ICorDebugType **ppType);
-    
+
     HRESULT GetArrayLayout([in] COR_TYPEID id, [out] COR_ARRAY_LAYOUT *pLayout);
     HRESULT GetTypeLayout([in] COR_TYPEID id, [out] COR_TYPE_LAYOUT *pLayout);
     HRESULT GetTypeFields([in] COR_TYPEID id, ULONG32 celt, COR_FIELD fields[], ULONG32 *pceltNeeded);
-    
+
     /*
      *  Enables the specified policy.
      */
@@ -2985,12 +3028,12 @@ interface ICorDebugProcess5 : IUnknown
 // Describes formats of pRecord byte blob in DecodeEvent.
 // This is dependent on the target architecture.
 typedef enum CorDebugRecordFormat
-{        
+{
     FORMAT_WINDOWS_EXCEPTIONRECORD32 = 1,
     FORMAT_WINDOWS_EXCEPTIONRECORD64 = 2,
 } CorDebugRecordFormat;
 
-// dwFlags in DecodeEvent is dependent on the target architecture. 
+// dwFlags in DecodeEvent is dependent on the target architecture.
 // Definition of DecodeEvent flags on Windows.
 typedef enum CorDebugDecodeEventFlagsWindows
 {
@@ -3008,13 +3051,13 @@ typedef enum CorDebugDebugEventKind
     DEBUG_EVENT_KIND_MANAGED_EXCEPTION_UNHANDLED = 6
 } CorDebugDebugEventKind;
 
-// Describes what amount of cached data must be discarded based on changes to the   
+// Describes what amount of cached data must be discarded based on changes to the
 // process
 typedef enum CorDebugStateChange
 {
-    PROCESS_RUNNING = 0x0000001, // The process reached a new memory state via 
-                                 // forward execution.    
-    FLUSH_ALL       = 0x0000002, // The process' memory might be arbitrarily 
+    PROCESS_RUNNING = 0x0000001, // The process reached a new memory state via
+                                 // forward execution.
+    FLUSH_ALL       = 0x0000002, // The process' memory might be arbitrarily
                                  // different than it was before.
 } CorDebugStateChange;
 
@@ -3058,7 +3101,7 @@ typedef enum CorDebugCodeInvokePurpose
     CODE_INVOKE_PURPOSE_NONE,
     CODE_INVOKE_PURPOSE_NATIVE_TO_MANAGED_TRANSITION,  // The managed code will run any managed entrypoint
                                                        // such as a reverse p-invoke. Any more detailed purpose
-                                                       // is unknown by the runtime. 
+                                                       // is unknown by the runtime.
     CODE_INVOKE_PURPOSE_CLASS_INIT,                    // The managed code will run a static constructor
     CODE_INVOKE_PURPOSE_INTERFACE_DISPATCH,            // The managed code will run the implementation for
                                                        // some interface method that was called
@@ -3072,20 +3115,20 @@ typedef enum CorDebugCodeInvokePurpose
 ]
 interface ICorDebugProcess6 : IUnknown
 {
-    //Decodes managed debug events which have been encapsulated in the payload of    
+    //Decodes managed debug events which have been encapsulated in the payload of
     //specially crafted native exception debug events
     HRESULT DecodeEvent(
         [in, length_is(countBytes), size_is(countBytes)]  const BYTE pRecord[],
         [in] DWORD countBytes,
         [in] CorDebugRecordFormat format,
-        [in] DWORD dwFlags, 
-        [in] DWORD dwThreadId, 
+        [in] DWORD dwFlags,
+        [in] DWORD dwThreadId,
         [out] ICorDebugDebugEvent **ppEvent);
 
     // Debugger calls this to notify ICorDebug that the process is running.
     //
     // Notes:
-    //  ProcessStateChanged(PROCESS_RUNNING) has similar semantics to  
+    //  ProcessStateChanged(PROCESS_RUNNING) has similar semantics to
     //  ICorDebugProcess::Continue();
     HRESULT ProcessStateChanged([in] CorDebugStateChange change);
 
@@ -3098,13 +3141,13 @@ interface ICorDebugProcess6 : IUnknown
     // various ICorDebug APIs described below.
     //
     // Terminology
-    // The aggregate modules are called containers, the modules inside are called 
-    // sub-modules or virtual modules. Both container modules and sub-modules are 
-    // represented with the ICorDebugModule interface, however the behavior of the 
+    // The aggregate modules are called containers, the modules inside are called
+    // sub-modules or virtual modules. Both container modules and sub-modules are
+    // represented with the ICorDebugModule interface, however the behavior of the
     // interface is slightly different in each case, as described below.
-    // In addition there may still be modules loaded that weren't merged during build. 
+    // In addition there may still be modules loaded that weren't merged during build.
     // These modules, called regular modules, are neither container modules nor
-    // sub-modules. 
+    // sub-modules.
     //
     // Modules and assemblies
     // Multi-module assemblies are not supported for assembly merging scenarios
@@ -3127,7 +3170,7 @@ interface ICorDebugProcess6 : IUnknown
     //     -have a reduced set of metadata that corresponds only to the original
     //      assembly that was merged in.
     //     -The metadata names have no mangling.
-    //     -Metadata tokens are unlikely to match with the tokens in the original 
+    //     -Metadata tokens are unlikely to match with the tokens in the original
     //      assembly before it was merged in the build process
     //     -ICorDebugModule.GetName() returns the assembly name (not a file path)
     //     -ICorDebug.GetSize() returns the original unmerged image size.
@@ -3157,7 +3200,7 @@ interface ICorDebugProcess6 : IUnknown
     //     Disabled - Returns a list of container assemblies + regular assemblies
     //                (no sub-assemblies are shown)
     //     Enabled - Returns the list of sub-assemblies + regular assemblies
-    //                (no container assemblies are shown). 
+    //                (no container assemblies are shown).
     //                Note: If any container assembly is missing symbols, none of its
     //                sub-assemblies will be enumerated. If any regular assembly is
     //                missing symbols it may or may not be enumerated.
@@ -3178,10 +3221,10 @@ interface ICorDebugProcess6 : IUnknown
     HRESULT EnableVirtualModuleSplitting(BOOL enableSplitting);
 
     // Changes internal state of the debuggee so that the System.Debugger.IsAttached API in the BCL
-    // returns true. 
+    // returns true.
     //
     // Returns
-    //   S_OK - debuggee is succesfully updated 
+    //   S_OK - debuggee is succesfully updated
     //   CORDBG_E_MODULE_NOT_LOADED - assembly containing System.Debugger.IsAttached API is not loaded
     //   or some other error is preventing it from being recognized such as missing metadata. This error
     //   is common and benign - it is recommended to try the call again when future assemblies load.
@@ -3205,7 +3248,7 @@ interface ICorDebugProcess6 : IUnknown
     HRESULT GetExportStepInfo([in]LPCWSTR pszExportName, [out]CorDebugCodeInvokeKind* pInvokeKind, [out]CorDebugCodeInvokePurpose* pInvokePurpose);
 }
 
-typedef enum WriteableMetadataUpdateMode 
+typedef enum WriteableMetadataUpdateMode
 {
    LegacyCompatPolicy,
    AlwaysShowUpdates
@@ -3238,7 +3281,7 @@ interface ICorDebugProcess8 : IUnknown
     * EnableExceptionCallbacksOutsideOfMyCode enables/disables certain types of exception callback to ICorDebugManagedCallback2.
     * If the flag is FALSE:
     * 1) DEBUG_EXCEPTION_FIRST_CHANCE callbacks won't called in the debugger.
-    * 2) DEBUG_EXCEPTION_CATCH_HANDLER_FOUND callbacks won't be called if an exception never escapes into user code. 
+    * 2) DEBUG_EXCEPTION_CATCH_HANDLER_FOUND callbacks won't be called if an exception never escapes into user code.
     * (i.e. a path from an exception origin to an exception handler has no methods marked as JMC)
     *
     * Default value of this flag is TRUE.
@@ -3246,6 +3289,27 @@ interface ICorDebugProcess8 : IUnknown
     HRESULT EnableExceptionCallbacksOutsideOfMyCode([in] BOOL enableExceptionsOutsideOfJMC);
 }
 
+[
+    object,
+    local,
+    uuid(8F378F6F-1017-4461-9890-ECF64C54079F),
+    pointer_default(unique)
+]
+interface ICorDebugProcess10 : IUnknown
+{
+    //
+    // Enable or disable the GC notification events. The GC notification events are turned off by default
+    // They will be delivered through ICorDebugManagedCallback4
+    // 
+    // Parameters
+    //   fEnable - true to enable the events, false to disable
+    // 
+    // Returns
+    //   S_OK - on success   
+    // 
+    HRESULT EnableGCNotificationEvents(BOOL fEnable);
+}
+
 // Event types MODULE_LOADED and MODULE_UNLOADED implement this interface
 [
     object,
@@ -3275,23 +3339,23 @@ interface ICorDebugModuleDebugEvent : ICorDebugDebugEvent
 ]
 interface ICorDebugExceptionDebugEvent : ICorDebugDebugEvent
 {
-    // The meaning of this stack pointer varies based on event type (available from  
+    // The meaning of this stack pointer varies based on event type (available from
     // ICorDebugDebugEvent.GetEventType())
     //
     // MANAGED_EXCEPTION_FIRST_CHANCE -> The stack pointer for the frame that threw the exception
-    // MANAGED_EXCEPTION_USER_FIRST_CHANCE -> The stack pointer for the user-code frame closest to the point of 
+    // MANAGED_EXCEPTION_USER_FIRST_CHANCE -> The stack pointer for the user-code frame closest to the point of
     // the thrown exception
     // MANAGED_EXCEPTION_CATCH_HANDLER_FOUND -> The stack pointer for the frame that contains the catch handler
     // MANAGED_EXCEPTION_UNHANDLED -> *pStackPointer will be NULL
     HRESULT GetStackPointer([out]CORDB_ADDRESS *pStackPointer);
 
-    // The meaning of the IP varies based on event type (available from  
+    // The meaning of the IP varies based on event type (available from
     // ICorDebugDebugEvent.GetEventType())
     //
     // MANAGED_EXCEPTION_FIRST_CHANCE -> The address of the faulting instruction
-    // MANAGED_EXCEPTION_USER_FIRST_CHANCE -> Within the frame indicated by GetStackPointer(), 
-    // this is the code address where execution would resume if no exception had been 
-    // raised. The exception may or may not cause different code to be executed in this 
+    // MANAGED_EXCEPTION_USER_FIRST_CHANCE -> Within the frame indicated by GetStackPointer(),
+    // this is the code address where execution would resume if no exception had been
+    // raised. The exception may or may not cause different code to be executed in this
     // frame such as a catch of finally clause.
     // MANAGED_EXCEPTION_CATCH_HANDLER_FOUND -> Within the frame indicated by GetStackPointer(),
     // this is the code address where catch handler execution will start
@@ -3734,8 +3798,9 @@ interface ICorDebugRegisterSet : IUnknown
         REGISTER_ARM_D30,
         REGISTER_ARM_D31,
 
+
         // ARM64 registers
-            
+
         REGISTER_ARM64_PC = 0,
         REGISTER_ARM64_SP,
         REGISTER_ARM64_FP,
@@ -3992,7 +4057,7 @@ interface ICorDebugThread : IUnknown
      * If the thread's user state includes USER_UNSAFE_POINT, then the thread may block a GC.
      * This means the suspended thread has a mcuh higher chance of causing a deadlock.
      *
-     * This may not affect debug events already queued. Thus a debugger should drain the entire 
+     * This may not affect debug events already queued. Thus a debugger should drain the entire
      * event queue (via calling HasQueuedCallbacks) before suspending or resuming threads. Else it
      * may get events on a thread that it believes it has already suspended.
      *
@@ -4243,7 +4308,7 @@ interface ICorDebugThread4 : IUnknown
 {
     /*
      * Returns S_OK if ICorDebugThread::GetCurrentException() is non-NULL and the exception
-     * it refers to has completed the first pass of exception handling without locating 
+     * it refers to has completed the first pass of exception handling without locating
      * a catch clause.
      * Returns S_FALSE if there is no exception, it hasn't completed first pass handling,
      * or a catch handler was located
@@ -4252,13 +4317,13 @@ interface ICorDebugThread4 : IUnknown
     HRESULT HasUnhandledException();
 
     HRESULT GetBlockingObjects([out] ICorDebugBlockingObjectEnum **ppBlockingObjectEnum);
-    /* 
+    /*
      * Gets the current CustomNotification object on the current thread. This could be NULL if no
      * current notification object exists. If we aren't currently inside a CustomNotification callback,
      * this will always return NULL.
-     * A debugger can examine this object to determine how to handle the notification. 
-     * See ICorDebugManagedCallback3::CustomNotification for more information about 
-     * custom notifications. 
+     * A debugger can examine this object to determine how to handle the notification.
+     * See ICorDebugManagedCallback3::CustomNotification for more information about
+     * custom notifications.
      */
     HRESULT GetCurrentCustomDebuggerNotification([out] ICorDebugValue ** ppNotificationObject);
 };
@@ -4280,11 +4345,11 @@ interface ICorDebugStackWalk : IUnknown
         SET_CONTEXT_FLAG_UNWIND_FRAME = 0x2,
     } CorDebugSetContextFlag;
 
-    /* 
+    /*
      * Get the current context of this stack frame.
-     * 
-     * The CONTEXT is retrieved from the ICorDebugStackWalk.  As unwinding may only restore a subset of the 
-     * registers, such as only non-volatile registers, the context may not exactly match the register state at 
+     *
+     * The CONTEXT is retrieved from the ICorDebugStackWalk.  As unwinding may only restore a subset of the
+     * registers, such as only non-volatile registers, the context may not exactly match the register state at
      * the time of the actual call.
      */
     HRESULT GetContext([in] ULONG32 contextFlags,
@@ -4292,14 +4357,14 @@ interface ICorDebugStackWalk : IUnknown
                        [out] ULONG32* contextSize,
                        [out, size_is(contextBufSize)] BYTE contextBuf[]);
 
-    /* 
+    /*
      * Change the current context of this stack walk, allowing the
      * debugger to move it to an arbitrary context. Does not actually
      * alter the current context of the thread whose stack is being walked.
      *
      * The CONTEXT has to be a valid CONTEXT of a stack frame on the thread.
      * If the CONTEXT is outside of the current thread's stack range, we'll
-     * return a failure HRESULT.  Otherwise, in the case of an invalid CONTEXT, 
+     * return a failure HRESULT.  Otherwise, in the case of an invalid CONTEXT,
      * the result is undefined.
      */
     HRESULT SetContext([in] CorDebugSetContextFlag flag,
@@ -4307,11 +4372,11 @@ interface ICorDebugStackWalk : IUnknown
                        [in, size_is(contextSize)] BYTE context[]);
 
     /*
-     * Attempt to advance the stackwalk to the next frame.  
+     * Attempt to advance the stackwalk to the next frame.
      * If the current frame type is a native stack frame, Next() will not advance to the caller frame.
      * Instead, Next() will advance to the next managed stack frame or the next internal frame marker.
      *
-     * If a debugger wants to unwind unmanaged stack frames, it needs to start from the 
+     * If a debugger wants to unwind unmanaged stack frames, it needs to start from the
      * native stack frame itself.  It can seed the unwind by calling GetContext().
      *
      * This function will return CORDBG_S_AT_END_OF_STACK when there are no more frames.
@@ -4354,7 +4419,7 @@ interface ICorDebugChain : IUnknown
      * call chain.  Note that you cannot make any assumptions about
      * what is actually stored on the stack - the numeric range is to compare
      * stack frame locations only.
-     * The start of a stack range is the leafmost boundary of the chain, and 
+     * The start of a stack range is the leafmost boundary of the chain, and
      * the end of a stack range is the rootmost boundary of the chain.
      */
 
@@ -4486,9 +4551,9 @@ interface ICorDebugFrame : IUnknown
     HRESULT GetCode([out] ICorDebugCode **ppCode);
 
     /*
-     * GetFunction returns the function for the code which this stack 
-     * frame is running.  
-     * For ICorDebugInternalFrames, this may point to a method the 
+     * GetFunction returns the function for the code which this stack
+     * frame is running.
+     * For ICorDebugInternalFrames, this may point to a method the
      * frame is associated with (which may be in a different AppDomain
      * from the frame itself), or may fail if the frame doesn't relate to any
      * particular function.
@@ -4499,7 +4564,7 @@ interface ICorDebugFrame : IUnknown
     /*
      * GetFunctionToken is a convenience routine to return the token for the
      * function for the code which this stack frame is running.
-     * The scope to resolve the token can be gotten from the ICorDebugFunction 
+     * The scope to resolve the token can be gotten from the ICorDebugFunction
      * associated with this frame.
      */
 
@@ -4512,7 +4577,7 @@ interface ICorDebugFrame : IUnknown
      * cannot make any assumptions about what is actually stored on
      * the stack - the numeric range is to compare stack frame
      * locations only.
-     * The start of a stack range is the leafmost boundary of the frame, and 
+     * The start of a stack range is the leafmost boundary of the frame, and
      * the end of a stack range is the rootmost boundary of the frame.
      */
 
@@ -4616,7 +4681,7 @@ interface ICorDebugInternalFrame2 : IUnknown
 /*
      * Check if an internal frame is closer to the leaf than pFrameToCompare.
      */
-    HRESULT IsCloserToLeaf([in] ICorDebugFrame * pFrameToCompare, 
+    HRESULT IsCloserToLeaf([in] ICorDebugFrame * pFrameToCompare,
                            [out] BOOL * pIsCloser);
 };
 
@@ -4715,7 +4780,7 @@ interface ICorDebugILFrame : ICorDebugFrame
     /*
      * EnumerateArguments returns a list of the arguments available in the
      * frame.  Note that this will include varargs arguments as well as
-     * arguments declared by the function signature (inlucding the implicit 
+     * arguments declared by the function signature (inlucding the implicit
      * "this" argument if any).
      */
 
@@ -4771,8 +4836,8 @@ interface ICorDebugILFrame2 : IUnknown
 {
     /*
      * Performs an on-stack replacement for an outstanding function remap opportunity.
-     * This is used to update execution of an edited function to the latest version, 
-     * preserving the current frame state (such as the values of all locals). 
+     * This is used to update execution of an edited function to the latest version,
+     * preserving the current frame state (such as the values of all locals).
      * This can only be called when a FunctionRemapOpportunity callback has been delivered
      * for this leaf frame, and the callback has not yet been continued.  newILOffset
      * is the offset into the new function at which execution should continue.
@@ -4845,7 +4910,7 @@ interface ICorDebugILFrame4 : IUnknown
     *    instrumented IL. If the IL is not instrumented the enumeration will
     *    be empty and S_OK is returned.
     */
-    
+
     HRESULT EnumerateLocalVariablesEx([in] ILCodeKind flags, [out] ICorDebugValueEnum **ppValueEnum);
 
     /*
@@ -4882,7 +4947,7 @@ interface ICorDebugILFrame4 : IUnknown
 };
 
 /*
- * ICorDebugNativeFrame is a specialized interface of ICorDebugFrame for jitted frames, i.e. 
+ * ICorDebugNativeFrame is a specialized interface of ICorDebugFrame for jitted frames, i.e.
  * native frames for managed methods.
  * (Note that jitted frames implement both ICorDebugILFrame and ICorDebugNativeFrame.)
  */
@@ -5034,7 +5099,7 @@ interface ICorDebugNativeFrame2 : IUnknown
 interface ICorDebugModule3 : IUnknown
 {
     /*
-     * CreateReaderForInMemorySymbols creates a debug symbol reader object (eg. 
+     * CreateReaderForInMemorySymbols creates a debug symbol reader object (eg.
      * ISymUnmanagedReader) for a dynamic module.  This symbol reader becomes stale
      * and is usually discarded whenever a LoadClass callback is delivered for the
      * module.
@@ -5051,7 +5116,7 @@ interface ICorDebugModule3 : IUnknown
      *      yet available.
      *
      * Notes:
-     *   This API can also be used to create a symbol reader object for in-memory 
+     *   This API can also be used to create a symbol reader object for in-memory
      *   (non-dynamic) modules, but only after the symbols are first available
      *   (indicated by the UpdateModuleSymbols callback).
      *
@@ -5060,7 +5125,7 @@ interface ICorDebugModule3 : IUnknown
      *   the underlying data may have changed (i.e. a LoadClass event).
      *
      *   Dynamic modules do not have any symbols available until the first type has been
-     *   loaded into them (as indicated by the LoadClass callback).  
+     *   loaded into them (as indicated by the LoadClass callback).
      */
     HRESULT CreateReaderForInMemorySymbols([in] REFIID riid,
                                            [out][iid_is(riid)] void **ppObj);
@@ -5070,7 +5135,7 @@ interface ICorDebugModule3 : IUnknown
  * ICorDebugRuntimeUnwindableFrame is a specialized interface of ICorDebugFrame for unmanaged methods
  * which requires special knowledge to unwind.  They are not jitted code.  When the debugger sees this type
  * of frames, it should use ICorDebugStackWalk::Next() to unwind, but it should do inspection itself.
- * The debugger can call ICorDebugStackWalk::GetContext() to retrieve the CONTEXT of the frame when it gets 
+ * The debugger can call ICorDebugStackWalk::GetContext() to retrieve the CONTEXT of the frame when it gets
  * an ICorDebugRuntimeUnwindableFrame.
  */
 
@@ -5123,8 +5188,8 @@ interface ICorDebugModule : IUnknown
     /*
      * GetName returns a name identifying the module.
      *
-     * For on-disk modules this is a full path.  For dynamic modules this 
-     * is just the filename if one was provided.  Otherwise, and for other 
+     * For on-disk modules this is a full path.  For dynamic modules this
+     * is just the filename if one was provided.  Otherwise, and for other
      * in-memory modules, this is just the simple name stored in the module's
      * metadata.
      */
@@ -5443,7 +5508,7 @@ ICorDebugFunction3 is a logical extension to ICorDebugFunction.
 interface ICorDebugFunction3 : IUnknown
 {
     /*
-     * If this function has an active rejit request it will be returned in 
+     * If this function has an active rejit request it will be returned in
      * pRejitedILCode.
      * If there is no active request (a common case) then *ppRejitedILCode = NULL
      *
@@ -5451,7 +5516,7 @@ interface ICorDebugFunction3 : IUnknown
      * ICorProfilerCallback4::GetReJITParameters(). It may not yet be jitted
      * and threads may still be executing in the original version of the code.
      *
-     * A rejit request becomes inactive during the profiler's call to 
+     * A rejit request becomes inactive during the profiler's call to
      * ICorProfInfo::RequestRevert. Even after being reverted a thread can still
      * be executing in the rejited code.
      */
@@ -5470,20 +5535,20 @@ ICorDebugFunction4 is a logical extension to ICorDebugFunction.
 interface ICorDebugFunction4 : IUnknown
 {
     /*
-     * Sets a breakpoint at offset 0 of any current or future jitted methods. 
+     * Sets a breakpoint at offset 0 of any current or future jitted methods.
      */
     HRESULT CreateNativeBreakpoint(ICorDebugFunctionBreakpoint **ppBreakpoint);
 };
 
 /*
     ICorDebugCode represents an IL or native code blob.
+
     For methods that take offsets, the units are the same as the units on the CordbCode object.
     (eg, IL offsets for an IL code object, and native offsets for a native code object)
+
     V2 allows multiple code-regions. CordbCode presents an abstraction where these
     are merged together in a single linear, continuous space. So if the code is split
-    with 0x5 bytes at address 0x1000, and 0x10 bytes at address 0x2000, 
+    with 0x5 bytes at address 0x1000, and 0x10 bytes at address 0x2000,
     then:
     - GetAddress() yields a start address of 0x1000.
     - GetSize() is the size of the merged regions = 0x5+ 0x10 = 0x15 bytes.
@@ -5531,7 +5596,7 @@ interface ICorDebugCode : IUnknown
 
     /*
      * CreateBreakpoint creates a breakpoint in the function at the
-     * given offset. 
+     * given offset.
      *
      * If this code is IL code, and there is a jitted native version
      * of the code, the breakpoint will be applied in the jitted code
@@ -5729,25 +5794,25 @@ interface ICorDebugILCode2 : IUnknown
 
 /*
  ICorDebugClass represents a Class (mdTypeDef) in the IL image.
- For generic types, it represents the generic type definition (eg. List<T>) not any of 
- the specific instantiations (eg. List<int>). 
+ For generic types, it represents the generic type definition (eg. List<T>) not any of
+ the specific instantiations (eg. List<int>).
+
  Use ICorDebugClass2::GetParameterizedType to build an ICorDebugType from an
  ICorDebugClass and type parameters.
 
- Classes live in a module and are uniquely identified by a mdTypeDef. 
+ Classes live in a module and are uniquely identified by a mdTypeDef.
  In other words, you can round-trip a class like so:
     ICorDebugClass * pClass1 = ...; // some initial class
-    
-    ICorDebugModule * pModule = NULL;    
+
+    ICorDebugModule * pModule = NULL;
     pClass1->GetModule(&pModule);
 
     mdTypeDef token;
     pClass1->GetToken(&token);
-    
+
     ICorDebugClass * pClass2;
-    pModule->GetClassFromToken(token, &pClass2); 
-    // Now: pClass1 == pClass2 
+    pModule->GetClassFromToken(token, &pClass2);
+    // Now: pClass1 == pClass2
 
 */
 [
@@ -5779,12 +5844,12 @@ interface ICorDebugClass : IUnknown
      * Note that if the class accepts type parameters, then you should
      * use GetStaticField on an appropriate ICorDebugType rather than on the
      * ICorDebugClass.
-     * 
+     *
      * Returns:
      *  S_OK on success.
      *  CORDBG_E_FIELD_NOT_STATIC if the field is not static.
      *  CORDBG_E_STATIC_VAR_NOT_AVAILABLE if field is not yet available (storage for statics
-     *    may be lazily allocated). 
+     *    may be lazily allocated).
      *  CORDBG_E_VARIABLE_IS_ACTUALLY_LITERAL if the field is actually a metadata literal. In this
      *    case, the debugger should get the value from the metadata.
      *  error on other errors.
@@ -5882,7 +5947,7 @@ interface ICorDebugEval : IUnknown
      * CallFunction sets up a function call.  Note that if the function
      * is virtual, this will perform virtual dispatch.  If the function is
      * not static, then the first argument must be the "this" object.
-     * If the function is in an a different AppDomain, a transition will 
+     * If the function is in an a different AppDomain, a transition will
      * occur (but all arguments must also be in the target AppDomain)
      */
 
@@ -6164,7 +6229,7 @@ interface ICorDebugValue3 : IUnknown
 {
     /*
      * GetSize returns the size of the value in bytes. It has the same
-     * semantics as ICorDebugValue::GetSize except that it works 
+     * semantics as ICorDebugValue::GetSize except that it works
      * for arrays >4GB.
      */
 
@@ -6330,7 +6395,7 @@ interface ICorDebugHeapValue2 : IUnknown
 interface ICorDebugHeapValue3 : IUnknown
 {
 
-    /* 
+    /*
      * Gets the owning thread for a monitor lock
      */
     HRESULT GetThreadOwningMonitorLock([out] ICorDebugThread **ppThread, [out] DWORD *pAcquisitionCount);
@@ -6573,7 +6638,7 @@ interface ICorDebugVariableHome : IUnknown
      * Returns E_FAIL if the variable is a function argument.
      */
     HRESULT GetSlotIndex([out] ULONG32 *pSlotIndex);
-    
+
     /*
      * GetArgumentIndex - gives the argument index of a function argument.
      * The argument index can be used to retrieve the metadata for this
@@ -6598,7 +6663,7 @@ interface ICorDebugVariableHome : IUnknown
                                   // location
         VLT_INVALID
     } VariableLocationType;
-    
+
     /*
      * GetLocationType - gives the type of native location. See
      * VariableLocationType.
@@ -6615,7 +6680,7 @@ interface ICorDebugVariableHome : IUnknown
      * register-relative location.
      */
     HRESULT GetRegister([out] CorDebugRegister *pRegister);
-    
+
     /*
      * GetOffset - gives the offset from the base register for a variable.
      * Returns E_FAIL if the variable is not in a register-relative memory
@@ -6626,7 +6691,7 @@ interface ICorDebugVariableHome : IUnknown
 
 
 
-/* 
+/*
  * ICorDebugHandleValue represents a reference value that the debugger has
  * explicitly created a GC handle to. It does not represent GC Handles in the debuggee process,
 
@@ -6697,18 +6762,18 @@ interface ICorDebugComObjectValue : IUnknown
      * that are cached by the COM object.
      */
     HRESULT GetCachedInterfaceTypes(
-                        [in] BOOL bIInspectableOnly, 
+                        [in] BOOL bIInspectableOnly,
                         [out] ICorDebugTypeEnum **ppInterfacesEnum);
 
     /*
      * GetCachedInterfacePointers returns at most celt values of the
      * interface pointer values cached by the COM object. It fills
-     * pcEltFetched with the actual number of fetched elements. 
+     * pcEltFetched with the actual number of fetched elements.
      * When called with NULL for ptrs, and 0 for celt, it simply returns
      * the number of elements it needs.
      */
     HRESULT GetCachedInterfacePointers(
-                        [in] BOOL bIInspectableOnly, 
+                        [in] BOOL bIInspectableOnly,
                         [in] ULONG32 celt,
                         [out] ULONG32 *pcEltFetched,
                         [out, size_is(celt), length_is(*pcEltFetched)] CORDB_ADDRESS * ptrs);
@@ -6957,7 +7022,7 @@ interface ICorDebugVariableHomeEnum : ICorDebugEnum
                      ICorDebugVariableHome *homes[],
                  [out] ULONG *pceltFetched);
 };
-    
+
 [
     object,
     local,
@@ -7006,7 +7071,7 @@ interface ICorDebugTypeEnum : ICorDebugEnum
  * represent instantiated generic types (Eg, List<int>)
  * Use the metadata interfaces to get static (Compile-time) information about the type.
  *
- * A type (and all of its type parameters) lives in an single AppDomain and becomes 
+ * A type (and all of its type parameters) lives in an single AppDomain and becomes
  * invalid once the containing ICorDebugAppDomain is unloaded.
  *
  * Types may be lazily loaded, so if the debugger queries for a type that hasn't been
@@ -7265,7 +7330,7 @@ interface ICorDebugMDA : IUnknown
     // Get the flags associated w/ the MDA. New flags may be added in future versions.
     typedef enum CorDebugMDAFlags
     {
-       // If this flag is high, then the thread may have slipped since the MDA was fired. 
+       // If this flag is high, then the thread may have slipped since the MDA was fired.
        MDA_FLAG_SLIP = 0x2
     } CorDebugMDAFlags;
     HRESULT GetFlags([in] CorDebugMDAFlags * pFlags);
index b7728bf..f456bed 100644 (file)
@@ -213,11 +213,11 @@ TODO: Talk about initializing strutures before use
     #define SELECTANY extern __declspec(selectany)
 #endif
 
-SELECTANY const GUID JITEEVersionIdentifier = { /* 12768bf8-549c-455b-a3df-57a751a81813 */
-    0x12768bf8,
-    0x549c,
-    0x455b,
-    {0xa3, 0xdf, 0x57, 0xa7, 0x51, 0xa8, 0x18, 0x13}
+SELECTANY const GUID JITEEVersionIdentifier = { /* 3be99428-36f8-4a6c-acde-b42778b0f8bf */
+    0x3be99428,
+    0x36f8,
+    0x4a6c,
+    {0xac, 0xde, 0xb4, 0x27, 0x78, 0xb0, 0xf8, 0xbf}
 };
 
 //////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -642,6 +642,7 @@ enum CorInfoHelpFunc
 
     CORINFO_HELP_THROW_ARGUMENTEXCEPTION,           // throw ArgumentException
     CORINFO_HELP_THROW_ARGUMENTOUTOFRANGEEXCEPTION, // throw ArgumentOutOfRangeException
+    CORINFO_HELP_THROW_NOT_IMPLEMENTED,             // throw NotImplementedException
     CORINFO_HELP_THROW_PLATFORM_NOT_SUPPORTED,      // throw PlatformNotSupportedException
     CORINFO_HELP_THROW_TYPE_NOT_SUPPORTED,          // throw TypeNotSupportedException
 
index 0985b9f..7a622f1 100644 (file)
@@ -200,179 +200,179 @@ enum CrstType
 // An array mapping CrstType to level.
 int g_rgCrstLevelMap[] =
 {
-    9,          // CrstAllowedFiles
-    9,          // CrstAppDomainCache
-    13,         // CrstAppDomainHandleTable
-    0,          // CrstArgBasedStubCache
-    0,          // CrstAssemblyDependencyGraph
-    0,          // CrstAssemblyIdentityCache
-    0,          // CrstAssemblyList
-    7,          // CrstAssemblyLoader
-    3,          // CrstAvailableClass
-    6,          // CrstAvailableParamTypes
-    7,          // CrstBaseDomain
-    -1,         // CrstCCompRC
-    9,          // CrstCer
-    11,         // CrstClassFactInfoHash
-    8,          // CrstClassInit
-    -1,         // CrstClrNotification
-    0,          // CrstCLRPrivBinderMaps
-    3,          // CrstCLRPrivBinderMapsAdd
-    6,          // CrstCodeFragmentHeap
-    4,          // CrstCOMWrapperCache
-    0,          // CrstConnectionNameTable
-    17,         // CrstContexts
-    -1,         // CrstCoreCLRBinderLog
-    0,          // CrstCrstCLRPrivBinderLocalWinMDPath
-    7,          // CrstCSPCache
-    3,          // CrstDataTest1
-    0,          // CrstDataTest2
-    0,          // CrstDbgTransport
-    0,          // CrstDeadlockDetection
-    -1,         // CrstDebuggerController
-    3,          // CrstDebuggerFavorLock
-    0,          // CrstDebuggerHeapExecMemLock
-    0,          // CrstDebuggerHeapLock
-    4,          // CrstDebuggerJitInfo
-    11,         // CrstDebuggerMutex
-    0,          // CrstDelegateToFPtrHash
-    15,         // CrstDomainLocalBlock
-    0,          // CrstDynamicIL
-    3,          // CrstDynamicMT
-    3,          // CrstDynLinkZapItems
-    7,          // CrstEtwTypeLogHash
-    17,         // CrstEventPipe
-    0,          // CrstEventStore
-    0,          // CrstException
-    7,          // CrstExecuteManLock
-    0,          // CrstExecuteManRangeLock
-    3,          // CrstFCall
-    7,          // CrstFriendAccessCache
-    7,          // CrstFuncPtrStubs
-    9,          // CrstFusionAppCtx
-    7,          // CrstFusionAssemblyDownload
-    5,          // CrstFusionBindContext
-    0,          // CrstFusionBindResult
-    0,          // CrstFusionClb
-    16,         // CrstFusionClosure
-    10,         // CrstFusionClosureGraph
-    0,          // CrstFusionConfigSettings
-    0,          // CrstFusionDownload
-    0,          // CrstFusionIsoLibInit
-    5,          // CrstFusionLoadContext
-    4,          // CrstFusionLog
-    7,          // CrstFusionNgenIndex
-    7,          // CrstFusionNgenIndexPool
-    0,          // CrstFusionPcyCache
-    4,          // CrstFusionPolicyConfigPool
-    5,          // CrstFusionSingleUse
-    6,          // CrstFusionWarningLog
-    10,         // CrstGCCover
-    0,          // CrstGCMemoryPressure
-    11,         // CrstGlobalStrLiteralMap
-    1,          // CrstHandleTable
-    0,          // CrstHostAssemblyMap
-    3,          // CrstHostAssemblyMapAdd
-    0,          // CrstIbcProfile
-    9,          // CrstIJWFixupData
-    0,          // CrstIJWHash
-    5,          // CrstILFingerprintCache
-    7,          // CrstILStubGen
-    3,          // CrstInlineTrackingMap
-    16,         // CrstInstMethodHashTable
-    0,          // CrstInterfaceVTableMap
-    17,         // CrstInterop
-    4,          // CrstInteropData
-    11,         // CrstIOThreadpoolWorker
-    0,          // CrstIsJMCMethod
-    7,          // CrstISymUnmanagedReader
-    8,          // CrstJit
-    0,          // CrstJitGenericHandleCache
-    -1,         // CrstJitPerf
-    6,          // CrstJumpStubCache
-    0,          // CrstLeafLock
-    -1,         // CrstListLock
-    14,         // CrstLoaderAllocator
-    15,         // CrstLoaderAllocatorReferences
-    0,          // CrstLoaderHeap
-    0,          // CrstMda
-    -1,         // CrstMetadataTracker
-    0,          // CrstModIntPairList
-    4,          // CrstModule
-    14,         // CrstModuleFixup
-    3,          // CrstModuleLookupTable
-    0,          // CrstMulticoreJitHash
-    11,         // CrstMulticoreJitManager
-    0,          // CrstMUThunkHash
-    -1,         // CrstNativeBinderInit
-    -1,         // CrstNativeImageCache
-    0,          // CrstNls
-    0,          // CrstNotifyGdb
-    2,          // CrstObjectList
-    0,          // CrstOnEventManager
-    0,          // CrstPatchEntryPoint
-    0,          // CrstPEFileSecurityManager
-    4,          // CrstPEImage
-    0,          // CrstPEImagePDBStream
-    18,         // CrstPendingTypeLoadEntry
-    0,          // CrstPinHandle
-    0,          // CrstPinnedByrefValidation
-    0,          // CrstProfilerGCRefDataFreeList
-    0,          // CrstProfilingAPIStatus
-    0,          // CrstPublisherCertificate
-    3,          // CrstRCWCache
-    0,          // CrstRCWCleanupList
-    3,          // CrstRCWRefCache
-    4,          // CrstReadyToRunEntryPointToMethodDescMap
-    0,          // CrstReDacl
-    9,          // CrstReflection
-    7,          // CrstReJITDomainTable
-    13,         // CrstReJITGlobalRequest
-    9,          // CrstReJITSharedDomainTable
-    19,         // CrstRemoting
-    3,          // CrstRetThunkCache
-    0,          // CrstRWLock
-    3,          // CrstSavedExceptionInfo
-    0,          // CrstSaveModuleProfileData
-    0,          // CrstSecurityPolicyCache
-    3,          // CrstSecurityPolicyInit
-    0,          // CrstSecurityStackwalkCache
-    4,          // CrstSharedAssemblyCreate
-    7,          // CrstSharedBaseDomain
-    3,          // CrstSigConvert
-    5,          // CrstSingleUseLock
-    0,          // CrstSpecialStatics
-    0,          // CrstSqmManager
-    0,          // CrstStackSampler
-    -1,         // CrstStressLog
-    0,          // CrstStrongName
-    5,          // CrstStubCache
-    0,          // CrstStubDispatchCache
-    4,          // CrstStubUnwindInfoHeapSegments
-    3,          // CrstSyncBlockCache
-    0,          // CrstSyncHashLock
-    0,          // CrstSystemBaseDomain
-    12,         // CrstSystemDomain
-    0,          // CrstSystemDomainDelayedUnloadList
-    0,          // CrstThreadIdDispenser
-    0,          // CrstThreadpoolEventCache
-    7,          // CrstThreadpoolTimerQueue
-    7,          // CrstThreadpoolWaitThreads
-    11,         // CrstThreadpoolWorker
-    4,          // CrstThreadStaticDataHashTable
-    10,         // CrstThreadStore
-    9,          // CrstTieredCompilation
-    9,          // CrstTPMethodTable
-    3,          // CrstTypeEquivalenceMap
-    7,          // CrstTypeIDMap
-    3,          // CrstUMEntryThunkCache
-    0,          // CrstUMThunkHash
-    3,          // CrstUniqueStack
-    7,          // CrstUnresolvedClassLock
-    3,          // CrstUnwindInfoTableLock
-    3,          // CrstVSDIndirectionCellLock
-    3,          // CrstWinRTFactoryCache
-    3,          // CrstWrapperTemplate
+    9,                 // CrstAllowedFiles
+    9,                 // CrstAppDomainCache
+    13,                        // CrstAppDomainHandleTable
+    0,                 // CrstArgBasedStubCache
+    0,                 // CrstAssemblyDependencyGraph
+    0,                 // CrstAssemblyIdentityCache
+    0,                 // CrstAssemblyList
+    7,                 // CrstAssemblyLoader
+    3,                 // CrstAvailableClass
+    6,                 // CrstAvailableParamTypes
+    7,                 // CrstBaseDomain
+    -1,                        // CrstCCompRC
+    9,                 // CrstCer
+    12,                        // CrstClassFactInfoHash
+    8,                 // CrstClassInit
+    -1,                        // CrstClrNotification
+    0,                 // CrstCLRPrivBinderMaps
+    3,                 // CrstCLRPrivBinderMapsAdd
+    6,                 // CrstCodeFragmentHeap
+    4,                 // CrstCOMWrapperCache
+    0,                 // CrstConnectionNameTable
+    17,                        // CrstContexts
+    -1,                        // CrstCoreCLRBinderLog
+    0,                 // CrstCrstCLRPrivBinderLocalWinMDPath
+    7,                 // CrstCSPCache
+    3,                 // CrstDataTest1
+    0,                 // CrstDataTest2
+    0,                 // CrstDbgTransport
+    0,                 // CrstDeadlockDetection
+    -1,                        // CrstDebuggerController
+    3,                 // CrstDebuggerFavorLock
+    0,                 // CrstDebuggerHeapExecMemLock
+    0,                 // CrstDebuggerHeapLock
+    4,                 // CrstDebuggerJitInfo
+    10,                        // CrstDebuggerMutex
+    0,                 // CrstDelegateToFPtrHash
+    15,                        // CrstDomainLocalBlock
+    0,                 // CrstDynamicIL
+    3,                 // CrstDynamicMT
+    3,                 // CrstDynLinkZapItems
+    7,                 // CrstEtwTypeLogHash
+    17,                        // CrstEventPipe
+    0,                 // CrstEventStore
+    0,                 // CrstException
+    7,                 // CrstExecuteManLock
+    0,                 // CrstExecuteManRangeLock
+    3,                 // CrstFCall
+    7,                 // CrstFriendAccessCache
+    7,                 // CrstFuncPtrStubs
+    9,                 // CrstFusionAppCtx
+    7,                 // CrstFusionAssemblyDownload
+    5,                 // CrstFusionBindContext
+    0,                 // CrstFusionBindResult
+    0,                 // CrstFusionClb
+    16,                        // CrstFusionClosure
+    10,                        // CrstFusionClosureGraph
+    0,                 // CrstFusionConfigSettings
+    0,                 // CrstFusionDownload
+    0,                 // CrstFusionIsoLibInit
+    5,                 // CrstFusionLoadContext
+    4,                 // CrstFusionLog
+    7,                 // CrstFusionNgenIndex
+    7,                 // CrstFusionNgenIndexPool
+    0,                 // CrstFusionPcyCache
+    4,                 // CrstFusionPolicyConfigPool
+    5,                 // CrstFusionSingleUse
+    6,                 // CrstFusionWarningLog
+    10,                        // CrstGCCover
+    0,                 // CrstGCMemoryPressure
+    12,                        // CrstGlobalStrLiteralMap
+    1,                 // CrstHandleTable
+    0,                 // CrstHostAssemblyMap
+    3,                 // CrstHostAssemblyMapAdd
+    0,                 // CrstIbcProfile
+    9,                 // CrstIJWFixupData
+    0,                 // CrstIJWHash
+    5,                 // CrstILFingerprintCache
+    7,                 // CrstILStubGen
+    3,                 // CrstInlineTrackingMap
+    16,                        // CrstInstMethodHashTable
+    0,                 // CrstInterfaceVTableMap
+    17,                        // CrstInterop
+    4,                 // CrstInteropData
+    12,                        // CrstIOThreadpoolWorker
+    0,                 // CrstIsJMCMethod
+    7,                 // CrstISymUnmanagedReader
+    8,                 // CrstJit
+    0,                 // CrstJitGenericHandleCache
+    -1,                        // CrstJitPerf
+    6,                 // CrstJumpStubCache
+    0,                 // CrstLeafLock
+    -1,                        // CrstListLock
+    14,                        // CrstLoaderAllocator
+    15,                        // CrstLoaderAllocatorReferences
+    0,                 // CrstLoaderHeap
+    0,                 // CrstMda
+    -1,                        // CrstMetadataTracker
+    0,                 // CrstModIntPairList
+    4,                 // CrstModule
+    14,                        // CrstModuleFixup
+    3,                 // CrstModuleLookupTable
+    0,                 // CrstMulticoreJitHash
+    12,                        // CrstMulticoreJitManager
+    0,                 // CrstMUThunkHash
+    -1,                        // CrstNativeBinderInit
+    -1,                        // CrstNativeImageCache
+    0,                 // CrstNls
+    0,                 // CrstNotifyGdb
+    2,                 // CrstObjectList
+    0,                 // CrstOnEventManager
+    0,                 // CrstPatchEntryPoint
+    0,                 // CrstPEFileSecurityManager
+    4,                 // CrstPEImage
+    0,                 // CrstPEImagePDBStream
+    18,                        // CrstPendingTypeLoadEntry
+    0,                 // CrstPinHandle
+    0,                 // CrstPinnedByrefValidation
+    0,                 // CrstProfilerGCRefDataFreeList
+    0,                 // CrstProfilingAPIStatus
+    0,                 // CrstPublisherCertificate
+    3,                 // CrstRCWCache
+    0,                 // CrstRCWCleanupList
+    3,                 // CrstRCWRefCache
+    4,                 // CrstReadyToRunEntryPointToMethodDescMap
+    0,                 // CrstReDacl
+    9,                 // CrstReflection
+    7,                 // CrstReJITDomainTable
+    13,                        // CrstReJITGlobalRequest
+    9,                 // CrstReJITSharedDomainTable
+    19,                        // CrstRemoting
+    3,                 // CrstRetThunkCache
+    0,                 // CrstRWLock
+    3,                 // CrstSavedExceptionInfo
+    0,                 // CrstSaveModuleProfileData
+    0,                 // CrstSecurityPolicyCache
+    3,                 // CrstSecurityPolicyInit
+    0,                 // CrstSecurityStackwalkCache
+    4,                 // CrstSharedAssemblyCreate
+    7,                 // CrstSharedBaseDomain
+    3,                 // CrstSigConvert
+    5,                 // CrstSingleUseLock
+    0,                 // CrstSpecialStatics
+    0,                 // CrstSqmManager
+    0,                 // CrstStackSampler
+    -1,                        // CrstStressLog
+    0,                 // CrstStrongName
+    5,                 // CrstStubCache
+    0,                 // CrstStubDispatchCache
+    4,                 // CrstStubUnwindInfoHeapSegments
+    3,                 // CrstSyncBlockCache
+    0,                 // CrstSyncHashLock
+    0,                 // CrstSystemBaseDomain
+    12,                        // CrstSystemDomain
+    0,                 // CrstSystemDomainDelayedUnloadList
+    0,                 // CrstThreadIdDispenser
+    0,                 // CrstThreadpoolEventCache
+    7,                 // CrstThreadpoolTimerQueue
+    7,                 // CrstThreadpoolWaitThreads
+    12,                        // CrstThreadpoolWorker
+    4,                 // CrstThreadStaticDataHashTable
+    11,                        // CrstThreadStore
+    9,                 // CrstTieredCompilation
+    9,                 // CrstTPMethodTable
+    3,                 // CrstTypeEquivalenceMap
+    7,                 // CrstTypeIDMap
+    3,                 // CrstUMEntryThunkCache
+    0,                 // CrstUMThunkHash
+    3,                 // CrstUniqueStack
+    7,                 // CrstUnresolvedClassLock
+    3,                 // CrstUnwindInfoTableLock
+    3,                 // CrstVSDIndirectionCellLock
+    3,                 // CrstWinRTFactoryCache
+    3,                 // CrstWrapperTemplate
 };
 
 // An array mapping CrstType to a stringized name.
index 140badf..7531e69 100644 (file)
 
     JITHELPER(CORINFO_HELP_THROW_ARGUMENTEXCEPTION,           JIT_ThrowArgumentException,             CORINFO_HELP_SIG_REG_ONLY)
     JITHELPER(CORINFO_HELP_THROW_ARGUMENTOUTOFRANGEEXCEPTION, JIT_ThrowArgumentOutOfRangeException,   CORINFO_HELP_SIG_REG_ONLY)
+    JITHELPER(CORINFO_HELP_THROW_NOT_IMPLEMENTED,             JIT_ThrowNotImplementedException,       CORINFO_HELP_SIG_REG_ONLY)
     JITHELPER(CORINFO_HELP_THROW_PLATFORM_NOT_SUPPORTED,      JIT_ThrowPlatformNotSupportedException, CORINFO_HELP_SIG_REG_ONLY)
     JITHELPER(CORINFO_HELP_THROW_TYPE_NOT_SUPPORTED,          JIT_ThrowTypeNotSupportedException,     CORINFO_HELP_SIG_REG_ONLY)
 
index 1650ca1..05a8a9d 100644 (file)
@@ -117,8 +117,8 @@ class DefaultSHashTraits
 
     static const bool s_supports_remove = true;
 
-    static const ELEMENT Null() { return (const ELEMENT) 0; }
-    static const ELEMENT Deleted() { return (const ELEMENT) -1; }
+    static ELEMENT Null() { return (const ELEMENT) 0; }
+    static ELEMENT Deleted() { return (const ELEMENT) -1; }
     static bool IsNull(const ELEMENT &e) { return e == (const ELEMENT) 0; }
     static bool IsDeleted(const ELEMENT &e) { return e == (const ELEMENT) -1; }
 
@@ -612,7 +612,7 @@ public:
     typedef typename PARENT::count_t count_t;
 
     static const bool s_supports_remove = false;
-    static const element_t Deleted() { UNREACHABLE(); }
+    static element_t Deleted() { UNREACHABLE(); }
     static bool IsDeleted(const element_t &e) { LIMITED_METHOD_DAC_CONTRACT; return false; }
 };
 
index f48899a..76a5b8c 100644 (file)
@@ -403,7 +403,7 @@ SHash<TRAITS>::AllocateNewTable(count_t requestedSize, count_t * pcNewTableSize)
         GC_NOTRIGGER;
         INSTANCE_CHECK;
         PRECONDITION(requestedSize >= 
-                     (count_t) (GetCount() * s_density_factor_denominator / s_density_factor_numerator));
+                     (count_t) (GetCount() * TRAITS::s_density_factor_denominator / TRAITS::s_density_factor_numerator));
     }
     CONTRACT_END;
 
@@ -434,7 +434,7 @@ SHash<TRAITS>::ReplaceTable(element_t * newTable, count_t newTableSize)
         GC_NOTRIGGER;
         INSTANCE_CHECK;
         PRECONDITION(newTableSize >= 
-                     (count_t) (GetCount() * s_density_factor_denominator / s_density_factor_numerator));
+                     (count_t) (GetCount() * TRAITS::s_density_factor_denominator / TRAITS::s_density_factor_numerator));
     }
     CONTRACT_END;
     
index fa12670..06670aa 100644 (file)
@@ -1035,6 +1035,7 @@ protected:
     void genCodeForIndexAddr(GenTreeIndexAddr* tree);
     void genCodeForIndir(GenTreeIndir* tree);
     void genCodeForNegNot(GenTree* tree);
+    void genCodeForBswap(GenTree* tree);
     void genCodeForLclVar(GenTreeLclVar* tree);
     void genCodeForLclFld(GenTreeLclFld* tree);
     void genCodeForStoreLclFld(GenTreeLclFld* tree);
@@ -1185,6 +1186,10 @@ protected:
 #endif // !_TARGET_X86_
 #endif // !FEATURE_PUT_STRUCT_ARG_STK
 
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
+    void genStackPointerCheck(bool doStackPointerCheck, unsigned lvaStackPointerVar);
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
+
 #ifdef DEBUG
     GenTree* lastConsumedNode;
     void genNumberOperandUse(GenTree* const operand, int& useNum) const;
index 1e6044f..21267a6 100644 (file)
@@ -277,23 +277,6 @@ void CodeGen::genLclHeap(GenTree* tree)
     BasicBlock* endLabel        = nullptr;
     unsigned    stackAdjustment = 0;
 
-#ifdef DEBUG
-    // Verify ESP
-    if (compiler->opts.compStackCheckOnRet)
-    {
-        noway_assert(compiler->lvaReturnEspCheck != 0xCCCCCCCC &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvDoNotEnregister &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvOnFrame);
-        getEmitter()->emitIns_S_R(INS_cmp, EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnEspCheck, 0);
-
-        BasicBlock*  esp_check = genCreateTempLabel();
-        emitJumpKind jmpEqual  = genJumpKindForOper(GT_EQ, CK_SIGNED);
-        inst_JMP(jmpEqual, esp_check);
-        getEmitter()->emitIns(INS_BREAKPOINT);
-        genDefineTempLabel(esp_check);
-    }
-#endif
-
     noway_assert(isFramePointerUsed()); // localloc requires Frame Pointer to be established since SP changes
     noway_assert(genStackLevel == 0);   // Can't have anything on the stack
 
@@ -504,17 +487,6 @@ BAILOUT:
     }
 #endif
 
-#ifdef DEBUG
-    // Update new ESP
-    if (compiler->opts.compStackCheckOnRet)
-    {
-        noway_assert(compiler->lvaReturnEspCheck != 0xCCCCCCCC &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvDoNotEnregister &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvOnFrame);
-        getEmitter()->emitIns_S_R(ins_Store(TYP_I_IMPL), EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnEspCheck, 0);
-    }
-#endif
-
     genProduceReg(tree);
 }
 
index b2a793b..affef95 100644 (file)
@@ -1845,23 +1845,6 @@ void CodeGen::genLclHeap(GenTree* tree)
     BasicBlock* loop            = nullptr;
     unsigned    stackAdjustment = 0;
 
-#ifdef DEBUG
-    // Verify ESP
-    if (compiler->opts.compStackCheckOnRet)
-    {
-        noway_assert(compiler->lvaReturnEspCheck != 0xCCCCCCCC &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvDoNotEnregister &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvOnFrame);
-        getEmitter()->emitIns_S_R(INS_cmp, EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnEspCheck, 0);
-
-        BasicBlock*  esp_check = genCreateTempLabel();
-        emitJumpKind jmpEqual  = genJumpKindForOper(GT_EQ, CK_SIGNED);
-        inst_JMP(jmpEqual, esp_check);
-        getEmitter()->emitIns(INS_bkpt);
-        genDefineTempLabel(esp_check);
-    }
-#endif
-
     noway_assert(isFramePointerUsed()); // localloc requires Frame Pointer to be established since SP changes
     noway_assert(genStackLevel == 0);   // Can't have anything on the stack
 
@@ -2115,17 +2098,6 @@ BAILOUT:
     }
 #endif
 
-#ifdef DEBUG
-    // Update new ESP
-    if (compiler->opts.compStackCheckOnRet)
-    {
-        noway_assert(compiler->lvaReturnEspCheck != 0xCCCCCCCC &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvDoNotEnregister &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvOnFrame);
-        getEmitter()->emitIns_S_R(ins_Store(TYP_I_IMPL), EA_PTRSIZE, targetReg, compiler->lvaReturnEspCheck, 0);
-    }
-#endif
-
     genProduceReg(tree);
 }
 
index 0d4cd7d..79ca6c0 100644 (file)
@@ -3691,6 +3691,7 @@ void CodeGen::genFnPrologCalleeRegArgs(regNumber xtraReg, bool* pXtraRegClobbere
 #if !defined(UNIX_AMD64_ABI)
             assert((i > 0) || (regNum == varDsc->lvArgReg));
 #endif // defined(UNIX_AMD64_ABI)
+
             // Is the arg dead on entry to the method ?
 
             if ((regArgMaskLive & genRegMask(regNum)) == 0)
@@ -3916,6 +3917,7 @@ void CodeGen::genFnPrologCalleeRegArgs(regNumber xtraReg, bool* pXtraRegClobbere
             continue;
         }
 #endif // defined(UNIX_AMD64_ABI)
+
         // If the arg is dead on entry to the method, skip it
 
         if (regArgTab[argNum].processed)
@@ -4543,6 +4545,7 @@ void CodeGen::genFnPrologCalleeRegArgs(regNumber xtraReg, bool* pXtraRegClobbere
                 getEmitter()->emitIns_R_R_I(INS_mov, EA_8BYTE, destRegNum, nextRegNum, 1);
             }
 #endif // defined(_TARGET_ARM64_) && defined(FEATURE_SIMD)
+
             // Mark the rest of the argument registers corresponding to this multi-reg type as
             // being processed and no longer live.
             for (int regSlot = 1; regSlot < argRegCount; regSlot++)
@@ -8035,6 +8038,7 @@ void CodeGen::genFnProlog()
 
             noway_assert(!isFramePointerUsed() || loOffs != 0);
 #endif // !defined(_TARGET_AMD64_)
+
             // printf("    Untracked tmp at [EBP-%04X]\n", -stkOffs);
 
             hasUntrLcl = true;
@@ -8581,15 +8585,15 @@ void CodeGen::genFnProlog()
 
 #endif // _TARGET_X86_
 
-#ifdef DEBUG
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
     if (compiler->opts.compStackCheckOnRet)
     {
-        noway_assert(compiler->lvaReturnEspCheck != 0xCCCCCCCC &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvDoNotEnregister &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvOnFrame);
-        getEmitter()->emitIns_S_R(ins_Store(TYP_I_IMPL), EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnEspCheck, 0);
+        noway_assert(compiler->lvaReturnSpCheck != 0xCCCCCCCC &&
+                     compiler->lvaTable[compiler->lvaReturnSpCheck].lvDoNotEnregister &&
+                     compiler->lvaTable[compiler->lvaReturnSpCheck].lvOnFrame);
+        getEmitter()->emitIns_S_R(ins_Store(TYP_I_IMPL), EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnSpCheck, 0);
     }
-#endif
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
 
     getEmitter()->emitEndProlog();
     compiler->unwindEndProlog();
@@ -11927,4 +11931,56 @@ void CodeGen::genReturn(GenTree* treeNode)
         }
     }
 #endif // PROFILING_SUPPORTED
+
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
+    bool doStackPointerCheck = compiler->opts.compStackCheckOnRet;
+
+#if FEATURE_EH_FUNCLETS
+    // Don't do stack pointer check at the return from a funclet; only for the main function.
+    if (compiler->funCurrentFunc()->funKind != FUNC_ROOT)
+    {
+        doStackPointerCheck = false;
+    }
+#else  // !FEATURE_EH_FUNCLETS
+    // Don't generate stack checks for x86 finally/filter EH returns: these are not invoked
+    // with the same SP as the main function. See also CodeGen::genEHFinallyOrFilterRet().
+    if ((compiler->compCurBB->bbJumpKind == BBJ_EHFINALLYRET) || (compiler->compCurBB->bbJumpKind == BBJ_EHFILTERRET))
+    {
+        doStackPointerCheck = false;
+    }
+#endif // !FEATURE_EH_FUNCLETS
+
+    genStackPointerCheck(doStackPointerCheck, compiler->lvaReturnSpCheck);
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
 }
+
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
+
+//------------------------------------------------------------------------
+// genStackPointerCheck: Generate code to check the stack pointer against a saved value.
+// This is a debug check.
+//
+// Arguments:
+//    doStackPointerCheck - If true, do the stack pointer check, otherwise do nothing.
+//    lvaStackPointerVar  - The local variable number that holds the value of the stack pointer
+//                          we are comparing against.
+//
+// Return Value:
+//    None
+//
+void CodeGen::genStackPointerCheck(bool doStackPointerCheck, unsigned lvaStackPointerVar)
+{
+    if (doStackPointerCheck)
+    {
+        noway_assert(lvaStackPointerVar != 0xCCCCCCCC && compiler->lvaTable[lvaStackPointerVar].lvDoNotEnregister &&
+                     compiler->lvaTable[lvaStackPointerVar].lvOnFrame);
+        getEmitter()->emitIns_S_R(INS_cmp, EA_PTRSIZE, REG_SPBASE, lvaStackPointerVar, 0);
+
+        BasicBlock* sp_check = genCreateTempLabel();
+        getEmitter()->emitIns_J(INS_je, sp_check);
+        instGen(INS_BREAKPOINT);
+        genDefineTempLabel(sp_check);
+    }
+}
+
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
index 9647600..f474b88 100644 (file)
@@ -41,19 +41,31 @@ void CodeGen::genCodeForBBlist()
 
     // You have to be careful if you create basic blocks from now on
     compiler->fgSafeBasicBlockCreation = false;
+#endif // DEBUG
+
+#if defined(DEBUG) && defined(_TARGET_X86_)
 
-    // This stress mode is not compatible with fully interruptible GC
+    // Check stack pointer on call stress mode is not compatible with fully interruptible GC. REVIEW: why?
+    //
     if (genInterruptible && compiler->opts.compStackCheckOnCall)
     {
         compiler->opts.compStackCheckOnCall = false;
     }
 
-    // This stress mode is not compatible with fully interruptible GC
-    if (genInterruptible && compiler->opts.compStackCheckOnRet)
+#endif // defined(DEBUG) && defined(_TARGET_X86_)
+
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
+
+    // Check stack pointer on return stress mode is not compatible with fully interruptible GC. REVIEW: why?
+    // It is also not compatible with any function that makes a tailcall: we aren't smart enough to only
+    // insert the SP check in the non-tailcall returns.
+    //
+    if ((genInterruptible || compiler->compTailCallUsed) && compiler->opts.compStackCheckOnRet)
     {
         compiler->opts.compStackCheckOnRet = false;
     }
-#endif // DEBUG
+
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
 
     // Prepare the blocks for exception handling codegen: mark the blocks that needs labels.
     genPrepForEHCodegen();
index 54ff6dc..e81f5ba 100644 (file)
@@ -520,6 +520,46 @@ void CodeGen::genCodeForNegNot(GenTree* tree)
     genProduceReg(tree);
 }
 
+//------------------------------------------------------------------------
+// genCodeForBswap: Produce code for a GT_BSWAP / GT_BSWAP16 node.
+//
+// Arguments:
+//    tree - the node
+//
+void CodeGen::genCodeForBswap(GenTree* tree)
+{
+    // TODO: If we're swapping immediately after a read from memory or immediately before
+    // a write to memory, use the MOVBE instruction instead of the BSWAP instruction if
+    // the platform supports it.
+
+    assert(tree->OperIs(GT_BSWAP, GT_BSWAP16));
+
+    regNumber targetReg  = tree->gtRegNum;
+    var_types targetType = tree->TypeGet();
+
+    GenTree* operand = tree->gtGetOp1();
+    assert(operand->isUsedFromReg());
+    regNumber operandReg = genConsumeReg(operand);
+
+    if (operandReg != targetReg)
+    {
+        inst_RV_RV(INS_mov, targetReg, operandReg, targetType);
+    }
+
+    if (tree->OperIs(GT_BSWAP))
+    {
+        // 32-bit and 64-bit byte swaps use "bswap reg"
+        inst_RV(INS_bswap, targetReg, targetType);
+    }
+    else
+    {
+        // 16-bit byte swaps use "ror reg.16, 8"
+        inst_RV_IV(INS_ror_N, targetReg, 8 /* val */, emitAttr::EA_2BYTE);
+    }
+
+    genProduceReg(tree);
+}
+
 // Generate code to get the high N bits of a N*N=2N bit multiplication result
 void CodeGen::genCodeForMulHi(GenTreeOp* treeNode)
 {
@@ -1562,6 +1602,11 @@ void CodeGen::genCodeForTreeNode(GenTree* treeNode)
             genCodeForNegNot(treeNode);
             break;
 
+        case GT_BSWAP:
+        case GT_BSWAP16:
+            genCodeForBswap(treeNode);
+            break;
+
         case GT_DIV:
             if (varTypeIsFloating(treeNode->TypeGet()))
             {
@@ -2152,20 +2197,7 @@ void CodeGen::genLclHeap(GenTree* tree)
     BasicBlock* endLabel  = nullptr;
 
 #ifdef DEBUG
-    // Verify ESP
-    if (compiler->opts.compStackCheckOnRet)
-    {
-        noway_assert(compiler->lvaReturnEspCheck != 0xCCCCCCCC &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvDoNotEnregister &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvOnFrame);
-        getEmitter()->emitIns_S_R(INS_cmp, EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnEspCheck, 0);
-
-        BasicBlock*  esp_check = genCreateTempLabel();
-        emitJumpKind jmpEqual  = genJumpKindForOper(GT_EQ, CK_SIGNED);
-        inst_JMP(jmpEqual, esp_check);
-        getEmitter()->emitIns(INS_BREAKPOINT);
-        genDefineTempLabel(esp_check);
-    }
+    genStackPointerCheck(compiler->opts.compStackCheckOnRet, compiler->lvaReturnSpCheck);
 #endif
 
     noway_assert(isFramePointerUsed()); // localloc requires Frame Pointer to be established since SP changes
@@ -2473,13 +2505,13 @@ BAILOUT:
 #endif
 
 #ifdef DEBUG
-    // Update new ESP
+    // Update local variable to reflect the new stack pointer.
     if (compiler->opts.compStackCheckOnRet)
     {
-        noway_assert(compiler->lvaReturnEspCheck != 0xCCCCCCCC &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvDoNotEnregister &&
-                     compiler->lvaTable[compiler->lvaReturnEspCheck].lvOnFrame);
-        getEmitter()->emitIns_S_R(ins_Store(TYP_I_IMPL), EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnEspCheck, 0);
+        noway_assert(compiler->lvaReturnSpCheck != 0xCCCCCCCC &&
+                     compiler->lvaTable[compiler->lvaReturnSpCheck].lvDoNotEnregister &&
+                     compiler->lvaTable[compiler->lvaReturnSpCheck].lvOnFrame);
+        getEmitter()->emitIns_S_R(ins_Store(TYP_I_IMPL), EA_PTRSIZE, REG_SPBASE, compiler->lvaReturnSpCheck, 0);
     }
 #endif
 
@@ -5167,6 +5199,17 @@ void CodeGen::genCallInstruction(GenTreeCall* call)
         }
     }
 
+#if defined(DEBUG) && defined(_TARGET_X86_)
+    // Store the stack pointer so we can check it after the call.
+    if (compiler->opts.compStackCheckOnCall && call->gtCallType == CT_USER_FUNC)
+    {
+        noway_assert(compiler->lvaCallSpCheck != 0xCCCCCCCC &&
+                     compiler->lvaTable[compiler->lvaCallSpCheck].lvDoNotEnregister &&
+                     compiler->lvaTable[compiler->lvaCallSpCheck].lvOnFrame);
+        getEmitter()->emitIns_S_R(ins_Store(TYP_I_IMPL), EA_PTRSIZE, REG_SPBASE, compiler->lvaCallSpCheck, 0);
+    }
+#endif // defined(DEBUG) && defined(_TARGET_X86_)
+
     bool            fPossibleSyncHelperCall = false;
     CorInfoHelpFunc helperNum               = CORINFO_HELP_UNDEF;
 
@@ -5481,6 +5524,33 @@ void CodeGen::genCallInstruction(GenTreeCall* call)
         gcInfo.gcMarkRegSetNpt(RBM_INTRET);
     }
 
+#if defined(DEBUG) && defined(_TARGET_X86_)
+    if (compiler->opts.compStackCheckOnCall && call->gtCallType == CT_USER_FUNC)
+    {
+        noway_assert(compiler->lvaCallSpCheck != 0xCCCCCCCC &&
+                     compiler->lvaTable[compiler->lvaCallSpCheck].lvDoNotEnregister &&
+                     compiler->lvaTable[compiler->lvaCallSpCheck].lvOnFrame);
+        if (!fCallerPop && (stackArgBytes != 0))
+        {
+            // ECX is trashed, so can be used to compute the expected SP. We saved the value of SP
+            // after pushing all the stack arguments, but the caller popped the arguments, so we need
+            // to do some math to figure a good comparison.
+            getEmitter()->emitIns_R_R(INS_mov, EA_4BYTE, REG_ARG_0, REG_SPBASE);
+            getEmitter()->emitIns_R_I(INS_sub, EA_4BYTE, REG_ARG_0, stackArgBytes);
+            getEmitter()->emitIns_S_R(INS_cmp, EA_4BYTE, REG_ARG_0, compiler->lvaCallSpCheck, 0);
+        }
+        else
+        {
+            getEmitter()->emitIns_S_R(INS_cmp, EA_4BYTE, REG_SPBASE, compiler->lvaCallSpCheck, 0);
+        }
+
+        BasicBlock* sp_check = genCreateTempLabel();
+        getEmitter()->emitIns_J(INS_je, sp_check);
+        instGen(INS_BREAKPOINT);
+        genDefineTempLabel(sp_check);
+    }
+#endif // defined(DEBUG) && defined(_TARGET_X86_)
+
 #if !FEATURE_EH_FUNCLETS
     //-------------------------------------------------------------------------
     // Create a label for tracking of region protected by the monitor in synchronized methods.
index b3e5605..67465f7 100644 (file)
@@ -3486,12 +3486,14 @@ void Compiler::compInitOptions(JitFlags* jitFlags)
 #ifdef DEBUG
     assert(!codeGen->isGCTypeFixed());
     opts.compGcChecks = (JitConfig.JitGCChecks() != 0) || compStressCompile(STRESS_GENERIC_VARN, 5);
+#endif
 
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
     enum
     {
         STACK_CHECK_ON_RETURN = 0x1,
         STACK_CHECK_ON_CALL   = 0x2,
-        STACK_CHECK_ALL       = 0x3,
+        STACK_CHECK_ALL       = 0x3
     };
 
     DWORD dwJitStackChecks = JitConfig.JitStackChecks();
@@ -3499,9 +3501,11 @@ void Compiler::compInitOptions(JitFlags* jitFlags)
     {
         dwJitStackChecks = STACK_CHECK_ALL;
     }
-    opts.compStackCheckOnRet  = (dwJitStackChecks & DWORD(STACK_CHECK_ON_RETURN)) != 0;
+    opts.compStackCheckOnRet = (dwJitStackChecks & DWORD(STACK_CHECK_ON_RETURN)) != 0;
+#if defined(_TARGET_X86_)
     opts.compStackCheckOnCall = (dwJitStackChecks & DWORD(STACK_CHECK_ON_CALL)) != 0;
-#endif
+#endif // defined(_TARGET_X86_)
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
 
 #if MEASURE_MEM_ALLOC
     s_dspMemStats = (JitConfig.DisplayMemStats() != 0);
@@ -5306,6 +5310,54 @@ int Compiler::compCompile(CORINFO_METHOD_HANDLE methodHnd,
     info.compMatchedVM = false;
 #endif
 
+    // If we are not compiling for a matched VM, then we are getting JIT flags that don't match our target
+    // architecture. The two main examples here are an ARM targeting altjit hosted on x86 and an ARM64
+    // targeting altjit hosted on x64. (Though with cross-bitness work, the host doesn't necessarily need
+    // to be of the same bitness.) In these cases, we need to fix up the JIT flags to be appropriate for
+    // the target, as the VM's expected target may overlap bit flags with different meaning to our target.
+    // Note that it might be better to do this immediately when setting the JIT flags in CILJit::compileMethod()
+    // (when JitFlags::SetFromFlags() is called), but this is close enough. (To move this logic to
+    // CILJit::compileMethod() would require moving the info.compMatchedVM computation there as well.)
+
+    if (!info.compMatchedVM)
+    {
+#if defined(_TARGET_ARM_)
+
+// Currently nothing needs to be done. There are no ARM flags that conflict with other flags.
+
+#endif // defined(_TARGET_ARM_)
+
+#if defined(_TARGET_ARM64_)
+
+        // The x86/x64 architecture capabilities flags overlap with the ARM64 ones. Set a reasonable architecture
+        // target default. Currently this is disabling all ARM64 architecture features except FP and SIMD, but this
+        // should be altered to possibly enable all of them, when they are known to all work.
+
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_AES);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_ATOMICS);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_CRC32);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_DCPOP);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_DP);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_FCMA);
+        compileFlags->Set(JitFlags::JIT_FLAG_HAS_ARM64_FP);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_FP16);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_JSCVT);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_LRCPC);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_PMULL);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SHA1);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SHA256);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SHA512);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SHA3);
+        compileFlags->Set(JitFlags::JIT_FLAG_HAS_ARM64_SIMD);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SIMD_V81);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SIMD_FP16);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SM3);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SM4);
+        compileFlags->Clear(JitFlags::JIT_FLAG_HAS_ARM64_SVE);
+
+#endif // defined(_TARGET_ARM64_)
+    }
+
     compMaxUncheckedOffsetForNullObject = eeGetEEInfo()->maxUncheckedOffsetForNullObject;
 
     // Set the context for token lookup.
index e1a76ab..9be0fdd 100644 (file)
@@ -778,7 +778,7 @@ public:
         return roundUp(lvExactSize, TARGET_POINTER_SIZE);
     }
 
-    const size_t lvArgStackSize() const;
+    size_t lvArgStackSize() const;
 
     unsigned lvSlotNum; // original slot # (if remapped)
 
@@ -2856,10 +2856,17 @@ public:
     unsigned lvaPromotedStructAssemblyScratchVar;
 #endif // _TARGET_ARM_
 
-#ifdef DEBUG
-    unsigned lvaReturnEspCheck; // confirms ESP not corrupted on return
-    unsigned lvaCallEspCheck;   // confirms ESP not corrupted after a call
-#endif
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
+
+    unsigned lvaReturnSpCheck; // Stores SP to confirm it is not corrupted on return.
+
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
+
+#if defined(DEBUG) && defined(_TARGET_X86_)
+
+    unsigned lvaCallSpCheck; // Stores SP to confirm it is not corrupted after every call.
+
+#endif // defined(DEBUG) && defined(_TARGET_X86_)
 
     unsigned lvaGenericsContextUseCount;
 
@@ -7137,7 +7144,7 @@ public:
         return codeGen->getEmitter();
     }
 
-    const bool isFramePointerUsed()
+    bool isFramePointerUsed()
     {
         return codeGen->isFramePointerUsed();
     }
@@ -8265,12 +8272,21 @@ public:
 #endif
 
 #ifdef DEBUG
-        bool compGcChecks;         // Check arguments and return values to ensure they are sane
-        bool compStackCheckOnRet;  // Check ESP on return to ensure it is correct
-        bool compStackCheckOnCall; // Check ESP after every call to ensure it is correct
-
+        bool compGcChecks; // Check arguments and return values to ensure they are sane
 #endif
 
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
+
+        bool compStackCheckOnRet; // Check stack pointer on return to ensure it is correct.
+
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
+
+#if defined(DEBUG) && defined(_TARGET_X86_)
+
+        bool compStackCheckOnCall; // Check stack pointer after call to ensure it is correct. Only for x86.
+
+#endif // defined(DEBUG) && defined(_TARGET_X86_)
+
         bool compNeedSecurityCheck; // This flag really means where or not a security object needs
                                     // to be allocated on the stack.
                                     // It will be set to true in the following cases:
@@ -9742,6 +9758,8 @@ public:
             // Standard unary operators
             case GT_NOT:
             case GT_NEG:
+            case GT_BSWAP:
+            case GT_BSWAP16:
             case GT_COPY:
             case GT_RELOAD:
             case GT_ARR_LENGTH:
index b4de24a..e798741 100644 (file)
@@ -1208,19 +1208,10 @@ inline GenTree* Compiler::gtNewFieldRef(var_types typ, CORINFO_FIELD_HANDLE fldH
 {
 #if SMALL_TREE_NODES
     /* 'GT_FIELD' nodes may later get transformed into 'GT_IND' */
-
     assert(GenTree::s_gtNodeSizes[GT_IND] <= GenTree::s_gtNodeSizes[GT_FIELD]);
-    GenTree* tree = new (this, GT_FIELD) GenTreeField(typ);
-#else
-    GenTree* tree = new (this, GT_FIELD) GenTreeField(typ);
-#endif
-    tree->gtField.gtFldObj    = obj;
-    tree->gtField.gtFldHnd    = fldHnd;
-    tree->gtField.gtFldOffset = offset;
+#endif // SMALL_TREE_NODES
 
-#ifdef FEATURE_READYTORUN_COMPILER
-    tree->gtField.gtFieldLookup.addr = nullptr;
-#endif
+    GenTree* tree = new (this, GT_FIELD) GenTreeField(typ, obj, fldHnd, offset);
 
     // If "obj" is the address of a local, note that a field of that struct local has been accessed.
     if (obj != nullptr && obj->OperGet() == GT_ADDR && varTypeIsStruct(obj->gtOp.gtOp1) &&
@@ -4210,13 +4201,14 @@ inline void Compiler::CLR_API_Leave(API_ICorJitInfo_Names ename)
 //             false otherwise
 //
 // Notes:
-//     Structs with GC pointer fields are fully zero-initialized in the prolog if compInitMem is true.
-//     Therefore, we don't need to insert zero-initialization if this block is not in a loop.
+//     If compInitMem is true, structs with GC pointer fields and long-lifetime structs
+//     are fully zero-initialized in the prologue. Therefore, we don't need to insert
+//     zero-initialization in this block if it is not in a loop.
 
 bool Compiler::fgStructTempNeedsExplicitZeroInit(LclVarDsc* varDsc, BasicBlock* block)
 {
     bool containsGCPtr = (varDsc->lvStructGcCount > 0);
-    return (!containsGCPtr || !info.compInitMem || ((block->bbFlags & BBF_BACKWARD_JUMP) != 0));
+    return (!info.compInitMem || ((block->bbFlags & BBF_BACKWARD_JUMP) != 0) || (!containsGCPtr && varDsc->lvIsTemp));
 }
 
 /*****************************************************************************/
@@ -4320,6 +4312,8 @@ void GenTree::VisitOperands(TVisitor visitor)
         case GT_STORE_LCL_FLD:
         case GT_NOT:
         case GT_NEG:
+        case GT_BSWAP:
+        case GT_BSWAP16:
         case GT_COPY:
         case GT_RELOAD:
         case GT_ARR_LENGTH:
index 5add863..f572ce1 100644 (file)
@@ -11018,6 +11018,32 @@ BYTE* emitter::emitOutputR(BYTE* dst, instrDesc* id)
             dst += emitOutputByte(dst, code);
             break;
 
+        case INS_bswap:
+        {
+            assert(size >= EA_4BYTE && size <= EA_PTRSIZE); // 16-bit BSWAP is undefined
+
+            // The Intel instruction set reference for BSWAP states that extended registers
+            // should be enabled via REX.R, but per Vol. 2A, Sec. 2.2.1.2 (see also Figure 2-7),
+            // REX.B should instead be used if the register is encoded in the opcode byte itself.
+            // Therefore the default logic of insEncodeReg012 is correct for this case.
+
+            code = insCodeRR(ins);
+
+            if (TakesRexWPrefix(ins, size))
+            {
+                code = AddRexWPrefix(ins, code);
+            }
+
+            // Register...
+            unsigned regcode = insEncodeReg012(ins, reg, size, &code);
+
+            // Output the REX prefix
+            dst += emitOutputRexOrVexPrefixIfNeeded(ins, dst, code);
+
+            dst += emitOutputWord(dst, code | (regcode << 8));
+            break;
+        }
+
         case INS_seto:
         case INS_setno:
         case INS_setb:
index 80d1871..37db694 100644 (file)
@@ -232,14 +232,18 @@ DWORD getBreakOnBadCode()
 void debugError(const char* msg, const char* file, unsigned line)
 {
     const char* tail = strrchr(file, '\\');
-    if (tail)
+    if (tail != nullptr)
     {
-        file = tail + 1;
+        tail = tail + 1;
+    }
+    else
+    {
+        tail = file;
     }
 
     LogEnv* env = JitTls::GetLogEnv();
 
-    logf(LL_ERROR, "COMPILATION FAILED: file: %s:%d compiling method %s reason %s\n", file, line,
+    logf(LL_ERROR, "COMPILATION FAILED: file: %s:%d compiling method %s reason %s\n", tail, line,
          env->compiler->info.compFullName, msg);
 
     // We now only assert when user explicitly set ComPlus_JitRequired=1
@@ -249,7 +253,7 @@ void debugError(const char* msg, const char* file, unsigned line)
         // Don't assert if verification is done.
         if (!env->compiler->tiVerificationNeeded || getBreakOnBadCode())
         {
-            assertAbort(msg, "NO-FILE", 0);
+            assertAbort(msg, file, line);
         }
     }
 
index 2fed901..70a5bf6 100644 (file)
@@ -4748,6 +4748,8 @@ bool GenTree::TryGetUse(GenTree* def, GenTree*** use)
         case GT_NOP:
         case GT_RETURN:
         case GT_RETFILT:
+        case GT_BSWAP:
+        case GT_BSWAP16:
             if (def == this->AsUnOp()->gtOp1)
             {
                 *use = &this->AsUnOp()->gtOp1;
@@ -6768,6 +6770,9 @@ GenTree* Compiler::gtClone(GenTree* tree, bool complexOK)
 
                 copy = gtNewFieldRef(tree->TypeGet(), tree->gtField.gtFldHnd, objp, tree->gtField.gtFldOffset);
                 copy->gtField.gtFldMayOverlap = tree->gtField.gtFldMayOverlap;
+#ifdef FEATURE_READYTORUN_COMPILER
+                copy->gtField.gtFieldLookup = tree->gtField.gtFieldLookup;
+#endif
             }
             else if (tree->OperIs(GT_ADD, GT_SUB))
             {
@@ -8345,6 +8350,8 @@ GenTreeUseEdgeIterator::GenTreeUseEdgeIterator(GenTree* node)
         case GT_NULLCHECK:
         case GT_PUTARG_REG:
         case GT_PUTARG_STK:
+        case GT_BSWAP:
+        case GT_BSWAP16:
 #if FEATURE_ARG_SPLIT
         case GT_PUTARG_SPLIT:
 #endif // FEATURE_ARG_SPLIT
@@ -12903,6 +12910,15 @@ GenTree* Compiler::gtFoldExprConst(GenTree* tree)
                         i1 = -i1;
                         break;
 
+                    case GT_BSWAP:
+                        i1 = ((i1 >> 24) & 0xFF) | ((i1 >> 8) & 0xFF00) | ((i1 << 8) & 0xFF0000) |
+                             ((i1 << 24) & 0xFF000000);
+                        break;
+
+                    case GT_BSWAP16:
+                        i1 = ((i1 >> 8) & 0xFF) | ((i1 << 8) & 0xFF00);
+                        break;
+
                     case GT_CAST:
                         // assert (genActualType(tree->CastToType()) == tree->gtType);
                         switch (tree->CastToType())
@@ -13038,6 +13054,13 @@ GenTree* Compiler::gtFoldExprConst(GenTree* tree)
                         lval1 = -lval1;
                         break;
 
+                    case GT_BSWAP:
+                        lval1 = ((lval1 >> 56) & 0xFF) | ((lval1 >> 40) & 0xFF00) | ((lval1 >> 24) & 0xFF0000) |
+                                ((lval1 >> 8) & 0xFF000000) | ((lval1 << 8) & 0xFF00000000) |
+                                ((lval1 << 24) & 0xFF0000000000) | ((lval1 << 40) & 0xFF000000000000) |
+                                ((lval1 << 56) & 0xFF00000000000000);
+                        break;
+
                     case GT_CAST:
                         assert(genActualType(tree->CastToType()) == tree->gtType);
                         switch (tree->CastToType())
index 3aa7521..c6c5841 100644 (file)
@@ -2937,9 +2937,17 @@ struct GenTreeField : public GenTree
     CORINFO_CONST_LOOKUP gtFieldLookup;
 #endif
 
-    GenTreeField(var_types type) : GenTree(GT_FIELD, type)
+    GenTreeField(var_types type, GenTree* obj, CORINFO_FIELD_HANDLE fldHnd, DWORD offs)
+        : GenTree(GT_FIELD, type), gtFldObj(obj), gtFldHnd(fldHnd), gtFldOffset(offs), gtFldMayOverlap(false)
     {
-        gtFldMayOverlap = false;
+        if (obj != nullptr)
+        {
+            gtFlags |= (obj->gtFlags & GTF_ALL_EFFECT);
+        }
+
+#ifdef FEATURE_READYTORUN_COMPILER
+        gtFieldLookup.addr = nullptr;
+#endif
     }
 #if DEBUGGABLE_GENTREE
     GenTreeField() : GenTree()
@@ -4323,6 +4331,7 @@ struct GenTreeBoundsChk : public GenTree
         : GenTree(oper, type), gtIndex(index), gtArrLen(arrLen), gtIndRngFailBB(nullptr), gtThrowKind(kind)
     {
         // Effects flags propagate upwards.
+        gtFlags |= (index->gtFlags & GTF_ALL_EFFECT);
         gtFlags |= (arrLen->gtFlags & GTF_ALL_EFFECT);
         gtFlags |= GTF_EXCEPT;
     }
@@ -4369,6 +4378,7 @@ struct GenTreeArrElem : public GenTree
         var_types type, GenTree* arr, unsigned char rank, unsigned char elemSize, var_types elemType, GenTree** inds)
         : GenTree(GT_ARR_ELEM, type), gtArrObj(arr), gtArrRank(rank), gtArrElemSize(elemSize), gtArrElemType(elemType)
     {
+        gtFlags |= (arr->gtFlags & GTF_ALL_EFFECT);
         for (unsigned char i = 0; i < rank; i++)
         {
             gtArrInds[i] = inds[i];
index 9fd1275..7fe5b2f 100644 (file)
@@ -101,6 +101,9 @@ GTNODE(INIT_VAL         , GenTreeOp          ,0,GTK_UNOP)               // Initi
 
 GTNODE(RUNTIMELOOKUP    , GenTreeRuntimeLookup, 0,GTK_UNOP|GTK_EXOP)    // Runtime handle lookup
 
+GTNODE(BSWAP            , GenTreeOp          ,0,GTK_UNOP)               // Byte swap (32-bit or 64-bit)
+GTNODE(BSWAP16          , GenTreeOp          ,0,GTK_UNOP)               // Byte swap (16-bit)
+
 //-----------------------------------------------------------------------------
 //  Binary operators (2 operands):
 //-----------------------------------------------------------------------------
index 3b4634b..039543f 100644 (file)
@@ -207,127 +207,127 @@ struct HWIntrinsicInfo
 
     // Flags lookup
 
-    static const bool IsCommutative(NamedIntrinsic id)
+    static bool IsCommutative(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_Commutative) != 0;
     }
 
-    static const bool HasFullRangeImm(NamedIntrinsic id)
+    static bool HasFullRangeImm(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_FullRangeIMM) != 0;
     }
 
-    static const bool IsOneTypeGeneric(NamedIntrinsic id)
+    static bool IsOneTypeGeneric(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_OneTypeGeneric) != 0;
     }
 
-    static const bool IsTwoTypeGeneric(NamedIntrinsic id)
+    static bool IsTwoTypeGeneric(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_TwoTypeGeneric) != 0;
     }
 
-    static const bool RequiresCodegen(NamedIntrinsic id)
+    static bool RequiresCodegen(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_NoCodeGen) == 0;
     }
 
-    static const bool HasFixedSimdSize(NamedIntrinsic id)
+    static bool HasFixedSimdSize(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_UnfixedSIMDSize) == 0;
     }
 
-    static const bool GeneratesMultipleIns(NamedIntrinsic id)
+    static bool GeneratesMultipleIns(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_MultiIns) != 0;
     }
 
-    static const bool SupportsContainment(NamedIntrinsic id)
+    static bool SupportsContainment(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_NoContainment) == 0;
     }
 
-    static const bool CopiesUpperBits(NamedIntrinsic id)
+    static bool CopiesUpperBits(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_CopyUpperBits) != 0;
     }
 
-    static const bool BaseTypeFromFirstArg(NamedIntrinsic id)
+    static bool BaseTypeFromFirstArg(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_BaseTypeFromFirstArg) != 0;
     }
 
-    static const bool IsFloatingPointUsed(NamedIntrinsic id)
+    static bool IsFloatingPointUsed(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_NoFloatingPointUsed) == 0;
     }
 
-    static const bool MaybeImm(NamedIntrinsic id)
+    static bool MaybeImm(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_MaybeIMM) != 0;
     }
 
-    static const bool MaybeMemoryLoad(NamedIntrinsic id)
+    static bool MaybeMemoryLoad(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_MaybeMemoryLoad) != 0;
     }
 
-    static const bool MaybeMemoryStore(NamedIntrinsic id)
+    static bool MaybeMemoryStore(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_MaybeMemoryStore) != 0;
     }
 
-    static const bool NoJmpTableImm(NamedIntrinsic id)
+    static bool NoJmpTableImm(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_NoJmpTableIMM) != 0;
     }
 
-    static const bool Is64BitOnly(NamedIntrinsic id)
+    static bool Is64BitOnly(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_64BitOnly) != 0;
     }
 
-    static const bool SecondArgMaybe64Bit(NamedIntrinsic id)
+    static bool SecondArgMaybe64Bit(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_SecondArgMaybe64Bit) != 0;
     }
 
-    static const bool BaseTypeFromSecondArg(NamedIntrinsic id)
+    static bool BaseTypeFromSecondArg(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_BaseTypeFromSecondArg) != 0;
     }
 
-    static const bool HasSpecialCodegen(NamedIntrinsic id)
+    static bool HasSpecialCodegen(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_SpecialCodeGen) != 0;
     }
 
-    static const bool HasRMWSemantics(NamedIntrinsic id)
+    static bool HasRMWSemantics(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_NoRMWSemantics) == 0;
     }
 
-    static const bool HasSpecialImport(NamedIntrinsic id)
+    static bool HasSpecialImport(NamedIntrinsic id)
     {
         HWIntrinsicFlag flags = lookupFlags(id);
         return (flags & HW_Flag_SpecialImport) != 0;
index 1037c9d..68071e4 100644 (file)
@@ -3386,7 +3386,14 @@ GenTree* Compiler::impIntrinsic(GenTree*                newobjThis,
 #ifdef FEATURE_HW_INTRINSICS
             if (ni > NI_HW_INTRINSIC_START && ni < NI_HW_INTRINSIC_END)
             {
-                return impHWIntrinsic(ni, method, sig, mustExpand);
+                GenTree* hwintrinsic = impHWIntrinsic(ni, method, sig, mustExpand);
+
+                if (mustExpand && (hwintrinsic == nullptr))
+                {
+                    return impUnsupportedHWIntrinsic(CORINFO_HELP_THROW_NOT_IMPLEMENTED, method, sig, mustExpand);
+                }
+
+                return hwintrinsic;
             }
 #endif // FEATURE_HW_INTRINSICS
         }
@@ -3927,17 +3934,53 @@ GenTree* Compiler::impIntrinsic(GenTree*                newobjThis,
                 break;
             }
 
+            case NI_System_Buffers_Binary_BinaryPrimitives_ReverseEndianness:
+            {
+                assert(sig->numArgs == 1);
+
+                // We expect the return type of the ReverseEndianness routine to match the type of the
+                // one and only argument to the method. We use a special instruction for 16-bit
+                // BSWAPs since on x86 processors this is implemented as ROR <16-bit reg>, 8. Additionally,
+                // we only emit 64-bit BSWAP instructions on 64-bit archs; if we're asked to perform a
+                // 64-bit byte swap on a 32-bit arch, we'll fall to the default case in the switch block below.
+
+                switch (sig->retType)
+                {
+                    case CorInfoType::CORINFO_TYPE_SHORT:
+                    case CorInfoType::CORINFO_TYPE_USHORT:
+                        retNode = gtNewOperNode(GT_BSWAP16, callType, impPopStack().val);
+                        break;
+
+                    case CorInfoType::CORINFO_TYPE_INT:
+                    case CorInfoType::CORINFO_TYPE_UINT:
+#ifdef _TARGET_64BIT_
+                    case CorInfoType::CORINFO_TYPE_LONG:
+                    case CorInfoType::CORINFO_TYPE_ULONG:
+#endif // _TARGET_64BIT_
+                        retNode = gtNewOperNode(GT_BSWAP, callType, impPopStack().val);
+                        break;
+
+                    default:
+                        // This default case gets hit on 32-bit archs when a call to a 64-bit overload
+                        // of ReverseEndianness is encountered. In that case we'll let JIT treat this as a standard
+                        // method call, where the implementation decomposes the operation into two 32-bit
+                        // bswap routines. If the input to the 64-bit function is a constant, then we rely
+                        // on inlining + constant folding of 32-bit bswaps to effectively constant fold
+                        // the 64-bit call site.
+                        break;
+                }
+
+                break;
+            }
+
             default:
                 break;
         }
     }
 
-    if (mustExpand)
+    if (mustExpand && (retNode == nullptr))
     {
-        if (retNode == nullptr)
-        {
-            NO_WAY("JIT must expand the intrinsic!");
-        }
+        NO_WAY("JIT must expand the intrinsic!");
     }
 
     // Optionally report if this intrinsic is special
@@ -3960,17 +4003,7 @@ GenTree* Compiler::impMathIntrinsic(CORINFO_METHOD_HANDLE method,
     GenTree* op2;
 
     assert(callType != TYP_STRUCT);
-    assert((intrinsicID == CORINFO_INTRINSIC_Sin) || intrinsicID == CORINFO_INTRINSIC_Cbrt ||
-           (intrinsicID == CORINFO_INTRINSIC_Sqrt) || (intrinsicID == CORINFO_INTRINSIC_Abs) ||
-           (intrinsicID == CORINFO_INTRINSIC_Cos) || (intrinsicID == CORINFO_INTRINSIC_Round) ||
-           (intrinsicID == CORINFO_INTRINSIC_Cosh) || (intrinsicID == CORINFO_INTRINSIC_Sinh) ||
-           (intrinsicID == CORINFO_INTRINSIC_Tan) || (intrinsicID == CORINFO_INTRINSIC_Tanh) ||
-           (intrinsicID == CORINFO_INTRINSIC_Asin) || (intrinsicID == CORINFO_INTRINSIC_Asinh) ||
-           (intrinsicID == CORINFO_INTRINSIC_Acos) || (intrinsicID == CORINFO_INTRINSIC_Acosh) ||
-           (intrinsicID == CORINFO_INTRINSIC_Atan) || (intrinsicID == CORINFO_INTRINSIC_Atan2) ||
-           (intrinsicID == CORINFO_INTRINSIC_Atanh) || (intrinsicID == CORINFO_INTRINSIC_Log10) ||
-           (intrinsicID == CORINFO_INTRINSIC_Pow) || (intrinsicID == CORINFO_INTRINSIC_Exp) ||
-           (intrinsicID == CORINFO_INTRINSIC_Ceiling) || (intrinsicID == CORINFO_INTRINSIC_Floor));
+    assert(IsMathIntrinsic(intrinsicID));
 
     op1 = nullptr;
 
@@ -4078,6 +4111,15 @@ NamedIntrinsic Compiler::lookupNamedIntrinsic(CORINFO_METHOD_HANDLE method)
             result = NI_Math_Round;
         }
     }
+#if defined(_TARGET_XARCH_) // We currently only support BSWAP on x86
+    else if (strcmp(namespaceName, "System.Buffers.Binary") == 0)
+    {
+        if ((strcmp(className, "BinaryPrimitives") == 0) && (strcmp(methodName, "ReverseEndianness") == 0))
+        {
+            result = NI_System_Buffers_Binary_BinaryPrimitives_ReverseEndianness;
+        }
+    }
+#endif // !defined(_TARGET_XARCH_)
     else if (strcmp(namespaceName, "System.Collections.Generic") == 0)
     {
         if ((strcmp(className, "EqualityComparer`1") == 0) && (strcmp(methodName, "get_Default") == 0))
index 84727f3..db02fc2 100644 (file)
@@ -63,6 +63,10 @@ INST5(inc_l,            "inc",              IUM_RW, 0x0000FE,     BAD_CODE,
 INST5(dec,              "dec",              IUM_RW, 0x0008FE,     BAD_CODE,     BAD_CODE,     BAD_CODE,     0x000048,    INS_FLAGS_WritesFlags)
 INST5(dec_l,            "dec",              IUM_RW, 0x0008FE,     BAD_CODE,     BAD_CODE,     BAD_CODE,     0x00C8FE,    INS_FLAGS_WritesFlags)
 
+// Multi-byte opcodes without modrm are represented in mixed endian fashion.
+// See comment around quarter way through this file for more information.
+INST5(bswap,            "bswap",            IUM_RW, 0x0F00C8,     BAD_CODE,     BAD_CODE,     BAD_CODE,     0x00C80F,    INS_FLAGS_None)
+
 //    id                nm                  um      mr            mi            rm            a4                         flags
 INST4(add,              "add",              IUM_RW, 0x000000,     0x000080,     0x000002,     0x000004,                  INS_FLAGS_WritesFlags)
 INST4(or,               "or",               IUM_RW, 0x000008,     0x000880,     0x00000A,     0x00000C,                  INS_FLAGS_WritesFlags)
index 903b3cf..4ee0c74 100644 (file)
@@ -292,7 +292,32 @@ public:
 
         FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_NO_INLINING, JIT_FLAG_NO_INLINING);
 
-#if defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+#if defined(_TARGET_ARM64_)
+
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_AES, JIT_FLAG_HAS_ARM64_AES);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_ATOMICS, JIT_FLAG_HAS_ARM64_ATOMICS);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_CRC32, JIT_FLAG_HAS_ARM64_CRC32);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_DCPOP, JIT_FLAG_HAS_ARM64_DCPOP);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_DP, JIT_FLAG_HAS_ARM64_DP);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_FCMA, JIT_FLAG_HAS_ARM64_FCMA);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_FP, JIT_FLAG_HAS_ARM64_FP);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_FP16, JIT_FLAG_HAS_ARM64_FP16);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_JSCVT, JIT_FLAG_HAS_ARM64_JSCVT);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_LRCPC, JIT_FLAG_HAS_ARM64_LRCPC);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_PMULL, JIT_FLAG_HAS_ARM64_PMULL);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SHA1, JIT_FLAG_HAS_ARM64_SHA1);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SHA256, JIT_FLAG_HAS_ARM64_SHA256);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SHA512, JIT_FLAG_HAS_ARM64_SHA512);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SHA3, JIT_FLAG_HAS_ARM64_SHA3);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SIMD, JIT_FLAG_HAS_ARM64_SIMD);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SIMD_V81, JIT_FLAG_HAS_ARM64_SIMD_V81);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SIMD_FP16, JIT_FLAG_HAS_ARM64_SIMD_FP16);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SM3, JIT_FLAG_HAS_ARM64_SM3);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SM4, JIT_FLAG_HAS_ARM64_SM4);
+        FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_HAS_ARM64_SVE, JIT_FLAG_HAS_ARM64_SVE);
+
+#elif defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
+
         FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_USE_SSE3, JIT_FLAG_USE_SSE3);
         FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_USE_SSSE3, JIT_FLAG_USE_SSSE3);
         FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_USE_SSE41, JIT_FLAG_USE_SSE41);
@@ -304,6 +329,7 @@ public:
         FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_USE_LZCNT, JIT_FLAG_USE_LZCNT);
         FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_USE_PCLMULQDQ, JIT_FLAG_USE_PCLMULQDQ);
         FLAGS_EQUAL(CORJIT_FLAGS::CORJIT_FLAG_USE_POPCNT, JIT_FLAG_USE_POPCNT);
+
 #endif // _TARGET_X86_ || _TARGET_AMD64_
 
 #undef FLAGS_EQUAL
index 0f68c36..0131c72 100644 (file)
@@ -3475,7 +3475,7 @@ void LclVarDsc::lvaDisqualifyVar()
 /**********************************************************************************
 * Get stack size of the varDsc.
 */
-const size_t LclVarDsc::lvArgStackSize() const
+size_t LclVarDsc::lvArgStackSize() const
 {
     // Make sure this will have a stack size
     assert(!this->lvIsRegArg);
index 5e4cdcb..d92e884 100644 (file)
@@ -5557,6 +5557,7 @@ void LinearScan::allocateRegisters()
                 if (refType == RefTypeUpperVectorSaveDef)
                 {
                     // TODO-CQ: Determine whether copying to two integer callee-save registers would be profitable.
+                    // TODO CQ: Save the value directly to memory, #18144.
                     // TODO-ARM64-CQ: Determine whether copying to one integer callee-save registers would be
                     // profitable.
 
@@ -7419,7 +7420,8 @@ void LinearScan::handleOutgoingCriticalEdges(BasicBlock* block)
         regNumber fromReg = getVarReg(outVarToRegMap, liveOutVarIndex);
         if (fromReg != REG_STK)
         {
-            liveOutRegs |= genRegMask(fromReg);
+            regMaskTP fromRegMask = genRegMask(fromReg, getIntervalForLocalVar(liveOutVarIndex)->registerType);
+            liveOutRegs |= fromRegMask;
         }
     }
 
@@ -7438,6 +7440,9 @@ void LinearScan::handleOutgoingCriticalEdges(BasicBlock* block)
         GenTree* op2 = switchTable->gtGetOp2();
         noway_assert(op1 != nullptr && op2 != nullptr);
         assert(op1->gtRegNum != REG_NA && op2->gtRegNum != REG_NA);
+        // No floating point values, so no need to worry about the register type
+        // (i.e. for ARM32, where we used the genRegMask overload with a type).
+        assert(varTypeIsIntegralOrI(op1) && varTypeIsIntegralOrI(op2));
         switchRegs |= genRegMask(op1->gtRegNum);
         switchRegs |= genRegMask(op2->gtRegNum);
     }
@@ -7524,7 +7529,8 @@ void LinearScan::handleOutgoingCriticalEdges(BasicBlock* block)
             // In this case, sameToReg will be in the liveOutRegs of this block.
             // Similarly, if sameToReg is in sameWriteRegs, it has already been used (i.e. for a lclVar that's
             // live only at another target), and we can't copy another lclVar into that reg in this block.
-            regMaskTP sameToRegMask = genRegMask(sameToReg);
+            regMaskTP sameToRegMask =
+                genRegMask(sameToReg, getIntervalForLocalVar(outResolutionSetVarIndex)->registerType);
             if (maybeSameLivePaths &&
                 (((sameToRegMask & liveOutRegs) != RBM_NONE) || ((sameToRegMask & sameWriteRegs) != RBM_NONE)))
             {
@@ -7562,7 +7568,7 @@ void LinearScan::handleOutgoingCriticalEdges(BasicBlock* block)
             VarSetOps::AddElemD(compiler, diffResolutionSet, outResolutionSetVarIndex);
             if (fromReg != REG_STK)
             {
-                diffReadRegs |= genRegMask(fromReg);
+                diffReadRegs |= genRegMask(fromReg, getIntervalForLocalVar(outResolutionSetVarIndex)->registerType);
             }
         }
         else if (sameToReg != fromReg)
@@ -7571,7 +7577,7 @@ void LinearScan::handleOutgoingCriticalEdges(BasicBlock* block)
             setVarReg(sameVarToRegMap, outResolutionSetVarIndex, sameToReg);
             if (sameToReg != REG_STK)
             {
-                sameWriteRegs |= genRegMask(sameToReg);
+                sameWriteRegs |= genRegMask(sameToReg, getIntervalForLocalVar(outResolutionSetVarIndex)->registerType);
             }
         }
     }
index 8675910..02464a1 100644 (file)
@@ -1581,6 +1581,14 @@ void LinearScan::buildRefPositionsForNode(GenTree* tree, BasicBlock* block, Lsra
                 }
             }
         }
+
+        if (tree->OperIsPutArgSplit())
+        {
+            // While we have attempted to account for any "specialPutArg" defs above, we're only looking at RefPositions
+            // created for this node. We must be defining at least one register in the PutArgSplit, so conservatively
+            // add one less than the maximum number of registers args to 'minRegCount'.
+            minRegCount += MAX_REG_ARG - 1;
+        }
         for (refPositionMark++; refPositionMark != refPositions.end(); refPositionMark++)
         {
             RefPosition* newRefPosition    = &(*refPositionMark);
@@ -1611,6 +1619,14 @@ void LinearScan::buildRefPositionsForNode(GenTree* tree, BasicBlock* block, Lsra
             {
                 minRegCountForRef++;
             }
+#if FEATURE_PARTIAL_SIMD_CALLEE_SAVE
+            else if (newRefPosition->refType == RefTypeUpperVectorSaveDef)
+            {
+                // TODO-Cleanup: won't need a register once #18144 is fixed.
+                minRegCountForRef += 1;
+            }
+#endif // FEATURE_PARTIAL_SIMD_CALLEE_SAVE
+
             newRefPosition->minRegCandidateCount = minRegCountForRef;
             if (newRefPosition->IsActualRef() && doReverseCallerCallee())
             {
@@ -2492,7 +2508,7 @@ void LinearScan::BuildDefsWithKills(GenTree* tree, int dstCount, regMaskTP dstCa
 #if FEATURE_PARTIAL_SIMD_CALLEE_SAVE
     VARSET_TP liveLargeVectors(VarSetOps::UninitVal());
     bool      doLargeVectorRestore = false;
-#endif
+#endif // FEATURE_PARTIAL_SIMD_CALLEE_SAVE
     if (killMask != RBM_NONE)
     {
         buildKillPositionsForNode(tree, currentLoc + 1, killMask);
@@ -2505,7 +2521,7 @@ void LinearScan::BuildDefsWithKills(GenTree* tree, int dstCount, regMaskTP dstCa
                                     buildUpperVectorSaveRefPositions(tree, currentLoc + 1, killMask));
             doLargeVectorRestore = true;
         }
-#endif
+#endif // FEATURE_PARTIAL_SIMD_CALLEE_SAVE
     }
 
     // Now, create the Def(s)
index 5c37aba..530a71c 100644 (file)
@@ -1797,9 +1797,6 @@ int LinearScan::BuildIntrinsic(GenTree* tree)
 
     switch (tree->gtIntrinsic.gtIntrinsicId)
     {
-        case CORINFO_INTRINSIC_Sqrt:
-            break;
-
         case CORINFO_INTRINSIC_Abs:
             // Abs(float x) = x & 0x7fffffff
             // Abs(double x) = x & 0x7ffffff ffffffff
@@ -1826,6 +1823,7 @@ int LinearScan::BuildIntrinsic(GenTree* tree)
             break;
 #endif // _TARGET_X86_
 
+        case CORINFO_INTRINSIC_Sqrt:
         case CORINFO_INTRINSIC_Round:
         case CORINFO_INTRINSIC_Ceiling:
         case CORINFO_INTRINSIC_Floor:
index 1f6de01..0e345a0 100644 (file)
@@ -16694,19 +16694,23 @@ void Compiler::fgMorph()
             }
         }
     }
+#endif // DEBUG
 
+#if defined(DEBUG) && defined(_TARGET_XARCH_)
     if (opts.compStackCheckOnRet)
     {
-        lvaReturnEspCheck                  = lvaGrabTempWithImplicitUse(false DEBUGARG("ReturnEspCheck"));
-        lvaTable[lvaReturnEspCheck].lvType = TYP_INT;
+        lvaReturnSpCheck                  = lvaGrabTempWithImplicitUse(false DEBUGARG("ReturnSpCheck"));
+        lvaTable[lvaReturnSpCheck].lvType = TYP_I_IMPL;
     }
+#endif // defined(DEBUG) && defined(_TARGET_XARCH_)
 
+#if defined(DEBUG) && defined(_TARGET_X86_)
     if (opts.compStackCheckOnCall)
     {
-        lvaCallEspCheck                  = lvaGrabTempWithImplicitUse(false DEBUGARG("CallEspCheck"));
-        lvaTable[lvaCallEspCheck].lvType = TYP_INT;
+        lvaCallSpCheck                  = lvaGrabTempWithImplicitUse(false DEBUGARG("CallSpCheck"));
+        lvaTable[lvaCallSpCheck].lvType = TYP_I_IMPL;
     }
-#endif // DEBUG
+#endif // defined(DEBUG) && defined(_TARGET_X86_)
 
     /* Filter out unimported BBs */
 
@@ -17996,7 +18000,7 @@ public:
 #endif // DEBUG
     }
 
-    // Morph promoted struct fields and count promoted implict byref argument occurrences.
+    // Morph promoted struct fields and count implict byref argument occurrences.
     // Also create and push the value produced by the visited node. This is done here
     // rather than in PostOrderVisit because it makes it easy to handle nodes with an
     // arbitrary number of operands - just pop values until the value corresponding
@@ -18018,16 +18022,17 @@ public:
         {
             unsigned lclNum = node->AsLclVarCommon()->GetLclNum();
 
-            if (m_compiler->lvaIsImplicitByRefLocal(lclNum))
+            LclVarDsc* varDsc = m_compiler->lvaGetDesc(lclNum);
+            if (varDsc->lvIsStructField)
+            {
+                // Promoted field, increase counter for the parent lclVar.
+                assert(!m_compiler->lvaIsImplicitByRefLocal(lclNum));
+                unsigned parentLclNum = varDsc->lvParentLcl;
+                UpdateEarlyRefCountForImplicitByRef(parentLclNum);
+            }
+            else
             {
-                // Keep track of the number of appearances of each promoted implicit
-                // byref (here during address-exposed analysis); fgMakeOutgoingStructArgCopy
-                // checks the ref counts for implicit byref params when deciding if it's legal
-                // to elide certain copies of them.
-                LclVarDsc* varDsc = m_compiler->lvaGetDesc(lclNum);
-                JITDUMP("LocalAddressVisitor incrementing ref count from %d to %d for V%02d\n",
-                        varDsc->lvRefCnt(RCS_EARLY), varDsc->lvRefCnt(RCS_EARLY) + 1, lclNum);
-                varDsc->incLvRefCnt(1, RCS_EARLY);
+                UpdateEarlyRefCountForImplicitByRef(lclNum);
             }
         }
 
@@ -18416,6 +18421,29 @@ private:
         m_compiler->fgMorphLocalField(node, user);
         INDEBUG(m_stmtModified |= node->OperIs(GT_LCL_VAR);)
     }
+
+    //------------------------------------------------------------------------
+    // UpdateEarlyRefCountForImplicitByRef: updates the ref count for implicit byref params.
+    //
+    // Arguments:
+    //    lclNum - the local number to update the count for.
+    //
+    // Notes:
+    //    fgMakeOutgoingStructArgCopy checks the ref counts for implicit byref params when it decides
+    //    if it's legal to elide certain copies of them;
+    //    fgRetypeImplicitByRefArgs checks the ref counts when it decides to undo promotions.
+    //
+    void UpdateEarlyRefCountForImplicitByRef(unsigned lclNum)
+    {
+        if (!m_compiler->lvaIsImplicitByRefLocal(lclNum))
+        {
+            return;
+        }
+        LclVarDsc* varDsc = m_compiler->lvaGetDesc(lclNum);
+        JITDUMP("LocalAddressVisitor incrementing ref count from %d to %d for V%02d\n", varDsc->lvRefCnt(RCS_EARLY),
+                varDsc->lvRefCnt(RCS_EARLY) + 1, lclNum);
+        varDsc->incLvRefCnt(1, RCS_EARLY);
+    }
 };
 
 void Compiler::fgAddFieldSeqForZeroOffset(GenTree* op1, FieldSeqNode* fieldSeq)
index 187ef3f..edf006f 100644 (file)
@@ -9,11 +9,12 @@
 
 enum NamedIntrinsic : unsigned short
 {
-    NI_Illegal                                                 = 0,
-    NI_System_Enum_HasFlag                                     = 1,
-    NI_MathF_Round                                             = 2,
-    NI_Math_Round                                              = 3,
-    NI_System_Collections_Generic_EqualityComparer_get_Default = 4,
+    NI_Illegal                                                  = 0,
+    NI_System_Enum_HasFlag                                      = 1,
+    NI_MathF_Round                                              = 2,
+    NI_Math_Round                                               = 3,
+    NI_System_Collections_Generic_EqualityComparer_get_Default  = 4,
+    NI_System_Buffers_Binary_BinaryPrimitives_ReverseEndianness = 5,
 #ifdef FEATURE_HW_INTRINSICS
     NI_HW_INTRINSIC_START,
 #if defined(_TARGET_XARCH_)
index 92991b6..52157c6 100644 (file)
@@ -2018,23 +2018,34 @@ public:
         //  to the CSE temp to all defs and changing all refs to
         //  a simple use of the CSE temp.
         //
-        //  We also unmark nested CSE's for all uses.
+        //  Later we will unmark any nested CSE's for the CSE uses.
         //
+        Compiler::CSEdsc*      dsc = successfulCandidate->CseDsc();
         Compiler::treeStmtLst* lst;
-        lst = successfulCandidate->CseDsc()->csdTreeList;
-        noway_assert(lst);
 
-#define QQQ_CHECK_CSE_VNS 0
-#if QQQ_CHECK_CSE_VNS
-        assert(lst != NULL);
-        ValueNum firstVN = lst->tslTree->gtVN;
-        lst              = lst->tslNext;
-        bool allSame     = true;
-        while (lst != NULL)
+#ifdef DEBUG
+        // Verify that all of the ValueNumbers in this list are correct as
+        // Morph will change them when it performs a mutating operation.
+        //
+        ValueNum firstVN = ValueNumStore::NoVN;
+        ValueNum currVN;
+        bool     allSame = true;
+
+        lst = dsc->csdTreeList;
+        while (lst != nullptr)
         {
+            // Ignore this node if the gtCSEnum value has been cleared
             if (IS_CSE_INDEX(lst->tslTree->gtCSEnum))
             {
-                if (lst->tslTree->gtVN != firstVN)
+                // We used the liberal Value numbers when building the set of CSE
+                currVN = m_pCompiler->vnStore->VNLiberalNormalValue(lst->tslTree->gtVNPair);
+                assert(currVN != ValueNumStore::NoVN);
+
+                if (firstVN == ValueNumStore::NoVN)
+                {
+                    firstVN = currVN;
+                }
+                else if (currVN != firstVN)
                 {
                     allSame = false;
                     break;
@@ -2046,21 +2057,25 @@ public:
         {
             lst                = dsc->csdTreeList;
             GenTree* firstTree = lst->tslTree;
-            printf("In %s, CSE (oper = %s, type = %s) has differing VNs: ", info.compFullName,
+            printf("In %s, CSE (oper = %s, type = %s) has differing VNs: ", m_pCompiler->info.compFullName,
                    GenTree::OpName(firstTree->OperGet()), varTypeName(firstTree->TypeGet()));
-            while (lst != NULL)
+            while (lst != nullptr)
             {
                 if (IS_CSE_INDEX(lst->tslTree->gtCSEnum))
                 {
-                    printf("0x%x(%s,%d)    ", lst->tslTree, IS_CSE_USE(lst->tslTree->gtCSEnum) ? "u" : "d",
-                           lst->tslTree->gtVN);
+                    currVN = m_pCompiler->vnStore->VNLiberalNormalValue(lst->tslTree->gtVNPair);
+                    printf("0x%x(%s " FMT_VN ") ", lst->tslTree, IS_CSE_USE(lst->tslTree->gtCSEnum) ? "use" : "def",
+                           currVN);
                 }
                 lst = lst->tslNext;
             }
             printf("\n");
         }
+#endif // DEBUG
+
+        // Setup 'lst' to point at the start of this candidate list
         lst = dsc->csdTreeList;
-#endif
+        noway_assert(lst);
 
         do
         {
@@ -2073,15 +2088,18 @@ public:
             /* Advance to the next node in the list */
             lst = lst->tslNext;
 
-            // Assert if we used DEBUG_DESTROY_NODE on this CSE exp
-            assert(exp->gtOper != GT_COUNT);
-
-            /* Ignore the node if it's not been marked as a CSE */
+            // We may have cleared this CSE in optValuenumCSE_Availablity
+            // due to different exception sets.
+            //
+            // Ignore this node if the gtCSEnum value has been cleared
             if (!IS_CSE_INDEX(exp->gtCSEnum))
             {
                 continue;
             }
 
+            // Assert if we used DEBUG_DESTROY_NODE on this CSE exp
+            assert(exp->gtOper != GT_COUNT);
+
             /* Make sure we update the weighted ref count correctly */
             m_pCompiler->optCSEweight = blk->getBBWeight(m_pCompiler);
 
@@ -2585,6 +2603,8 @@ bool Compiler::optIsCSEcandidate(GenTree* tree)
 
         case GT_NEG:
         case GT_NOT:
+        case GT_BSWAP:
+        case GT_BSWAP16:
         case GT_CAST:
             return true; // CSE these Unary Operators
 
index 88e1eef..d70a33b 100644 (file)
@@ -259,12 +259,12 @@ void CodeGen::siEndScope(unsigned varNum)
         }
     }
 
-    JITDUMP("siEndScope: Failed to end scope for V%02u\n");
+    JITDUMP("siEndScope: Failed to end scope for V%02u\n", varNum);
 
     // At this point, we probably have a bad LocalVarTab
     if (compiler->opts.compDbgCode)
     {
-        JITDUMP("...checking var tab validity\n", varNum);
+        JITDUMP("...checking var tab validity\n");
 
         // Note the following assert is saying that we expect
         // the VM supplied info to be invalid...
index c74ee2d..a78df32 100644 (file)
@@ -95,7 +95,7 @@ protected:
         return uwiComp->dspOffset(o);
     }
 
-    static char* dspBool(bool b)
+    static const char* dspBool(bool b)
     {
         return (b) ? "true" : "false";
     }
index b73f79f..13a02dd 100644 (file)
@@ -1416,6 +1416,7 @@ void HelperCallProperties::init()
             case CORINFO_HELP_RETHROW:
             case CORINFO_HELP_THROW_ARGUMENTEXCEPTION:
             case CORINFO_HELP_THROW_ARGUMENTOUTOFRANGEEXCEPTION:
+            case CORINFO_HELP_THROW_NOT_IMPLEMENTED:
             case CORINFO_HELP_THROW_PLATFORM_NOT_SUPPORTED:
             case CORINFO_HELP_THROW_TYPE_NOT_SUPPORTED:
 
index ddc1a0e..b090b80 100644 (file)
@@ -2235,7 +2235,6 @@ TailCall:
     }
     else
     {
-
         // Give up if we've run out of budget.
         if (--(*pBudget) <= 0)
         {
@@ -6082,8 +6081,8 @@ ValueNum Compiler::fgMemoryVNForLoopSideEffects(MemoryKind  memoryKind,
     assert(nonLoopPred != nullptr);
     // What is its memory post-state?
     ValueNum newMemoryVN = GetMemoryPerSsaData(nonLoopPred->bbMemorySsaNumOut[memoryKind])->m_vnPair.GetLiberal();
-    assert(newMemoryVN !=
-           ValueNumStore::NoVN); // We must have processed the single non-loop pred before reaching the loop entry.
+    assert(newMemoryVN != ValueNumStore::NoVN); // We must have processed the single non-loop pred before reaching the
+                                                // loop entry.
 
 #ifdef DEBUG
     if (verbose)
@@ -6352,10 +6351,6 @@ void Compiler::fgValueNumberBlockAssignment(GenTree* tree)
 {
     GenTree* lhs = tree->gtGetOp1();
     GenTree* rhs = tree->gtGetOp2();
-#ifdef DEBUG
-    // Sometimes we query the memory ssa map in an assertion, and need a dummy location for the ignored result.
-    unsigned memorySsaNum;
-#endif
 
     if (tree->OperIsInitBlkOp())
     {
@@ -6366,7 +6361,7 @@ void Compiler::fgValueNumberBlockAssignment(GenTree* tree)
         {
             assert(lclVarTree->gtFlags & GTF_VAR_DEF);
             // Should not have been recorded as updating the GC heap.
-            assert(!GetMemorySsaMap(GcHeap)->Lookup(tree, &memorySsaNum));
+            assert(!GetMemorySsaMap(GcHeap)->Lookup(tree));
 
             unsigned lclNum = lclVarTree->GetLclNum();
 
@@ -6375,7 +6370,7 @@ void Compiler::fgValueNumberBlockAssignment(GenTree* tree)
             if (lvaInSsa(lclNum))
             {
                 // Should not have been recorded as updating ByrefExposed.
-                assert(!GetMemorySsaMap(ByrefExposed)->Lookup(tree, &memorySsaNum));
+                assert(!GetMemorySsaMap(ByrefExposed)->Lookup(tree));
 
                 unsigned lclDefSsaNum = GetSsaNumForLocalVarDef(lclVarTree);
 
@@ -6435,7 +6430,7 @@ void Compiler::fgValueNumberBlockAssignment(GenTree* tree)
         if (tree->DefinesLocal(this, &lclVarTree, &isEntire))
         {
             // Should not have been recorded as updating the GC heap.
-            assert(!GetMemorySsaMap(GcHeap)->Lookup(tree, &memorySsaNum));
+            assert(!GetMemorySsaMap(GcHeap)->Lookup(tree));
 
             unsigned      lhsLclNum = lclVarTree->GetLclNum();
             FieldSeqNode* lhsFldSeq = nullptr;
@@ -6443,12 +6438,11 @@ void Compiler::fgValueNumberBlockAssignment(GenTree* tree)
             if (lvaInSsa(lhsLclNum))
             {
                 // Should not have been recorded as updating ByrefExposed.
-                assert(!GetMemorySsaMap(ByrefExposed)->Lookup(tree, &memorySsaNum));
+                assert(!GetMemorySsaMap(ByrefExposed)->Lookup(tree));
 
                 unsigned lclDefSsaNum = GetSsaNumForLocalVarDef(lclVarTree);
 
-                if (lhs->IsLocalExpr(this, &lclVarTree, &lhsFldSeq) ||
-                    (lhs->OperIsBlk() && (lhs->AsBlk()->gtBlkSize == lvaLclSize(lhsLclNum))))
+                if (lhs->IsLocalExpr(this, &lclVarTree, &lhsFldSeq))
                 {
                     noway_assert(lclVarTree->gtLclNum == lhsLclNum);
                 }
@@ -6599,12 +6593,15 @@ void Compiler::fgValueNumberBlockAssignment(GenTree* tree)
                 }
                 else if (lhsFldSeq != nullptr && isEntire)
                 {
-                    // This can occur in for structs with one field, itself of a struct type.
-                    // We won't promote these.
-                    // TODO-Cleanup: decide what exactly to do about this.
-                    // Always treat them as maps, making them use/def, or reconstitute the
-                    // map view here?
-                    isNewUniq = true;
+                    // This can occur for structs with one field, itself of a struct type.
+                    // We are assigning the one field and it is also the entire enclosing struct.
+                    //
+                    // Use an unique value number for the old map, as this is an an entire assignment
+                    // and we won't have any other values in the map
+                    ValueNumPair oldMap;
+                    oldMap.SetBoth(vnStore->VNForExpr(compCurBB, lclVarTree->TypeGet()));
+                    rhsVNPair = vnStore->VNPairApplySelectorsAssign(oldMap, lhsFldSeq, rhsVNPair, lclVarTree->TypeGet(),
+                                                                    compCurBB);
                 }
                 else if (!isNewUniq)
                 {
@@ -8479,8 +8476,8 @@ void Compiler::fgValueNumberHelperCallFunc(GenTreeCall* call, VNFunc vnf, ValueN
         // Add the accumulated exceptions.
         call->gtVNPair = vnStore->VNPWithExc(call->gtVNPair, vnpExc);
     }
-    assert(args == nullptr ||
-           generateUniqueVN); // All arguments should be processed or we generate unique VN and do not care.
+    assert(args == nullptr || generateUniqueVN); // All arguments should be processed or we generate unique VN and do
+                                                 // not care.
 }
 
 void Compiler::fgValueNumberCall(GenTreeCall* call)
index f117a6e..c4a1d64 100644 (file)
@@ -442,6 +442,13 @@ BOOL
 PALAPI
 PAL_NotifyRuntimeStarted(VOID);
 
+#ifdef __APPLE__
+PALIMPORT
+LPCSTR
+PALAPI
+PAL_GetApplicationGroupId();
+#endif // __APPLE__
+
 static const int MAX_DEBUGGER_TRANSPORT_PIPE_NAME_LENGTH = MAX_PATH;
 
 PALIMPORT
@@ -3254,10 +3261,10 @@ typedef EXCEPTION_DISPOSITION (PALAPI *PVECTORED_EXCEPTION_HANDLER)(
 
 // Define BitScanForward64 and BitScanForward
 // Per MSDN, BitScanForward64 will search the mask data from LSB to MSB for a set bit.
-// If one is found, its bit position is returned in the out PDWORD argument and 1 is returned.
-// Otherwise, 0 is returned.
+// If one is found, its bit position is stored in the out PDWORD argument and 1 is returned;
+// otherwise, an undefined value is stored in the out PDWORD argument and 0 is returned.
 //
-// On GCC, the equivalent function is __builtin_ffsl. It returns 1+index of the least
+// On GCC, the equivalent function is __builtin_ffsll. It returns 1+index of the least
 // significant set bit, or 0 if if mask is zero.
 //
 // The same is true for BitScanForward, except that the GCC function is __builtin_ffs.
@@ -3270,16 +3277,12 @@ BitScanForward(
     IN OUT PDWORD Index,
     IN UINT qwMask)
 {
-    unsigned char bRet = FALSE;
-    int iIndex = __builtin_ffsl(qwMask);
-    if (iIndex != 0)
-    {
-        // Set the Index after deducting unity
-        *Index = (DWORD)(iIndex - 1);
-        bRet = TRUE;
-    }
-
-    return bRet;
+    int iIndex = __builtin_ffs(qwMask);
+    // Set the Index after deducting unity
+    *Index = (DWORD)(iIndex - 1);
+    // Both GCC and Clang generate better, smaller code if we check whether the
+    // mask was/is zero rather than the equivalent check that iIndex is zero.
+    return qwMask != 0 ? TRUE : FALSE;
 }
 
 EXTERN_C
@@ -3291,16 +3294,61 @@ BitScanForward64(
     IN OUT PDWORD Index,
     IN UINT64 qwMask)
 {
-    unsigned char bRet = FALSE;
-    int iIndex = __builtin_ffsl(qwMask);
-    if (iIndex != 0)
-    {
-        // Set the Index after deducting unity
-        *Index = (DWORD)(iIndex - 1);
-        bRet = TRUE;
-    }
+    int iIndex = __builtin_ffsll(qwMask);
+    // Set the Index after deducting unity
+    *Index = (DWORD)(iIndex - 1);
+    // Both GCC and Clang generate better, smaller code if we check whether the
+    // mask was/is zero rather than the equivalent check that iIndex is zero.
+    return qwMask != 0 ? TRUE : FALSE;
+}
+
+// Define BitScanReverse64 and BitScanReverse
+// Per MSDN, BitScanReverse64 will search the mask data from MSB to LSB for a set bit.
+// If one is found, its bit position is stored in the out PDWORD argument and 1 is returned.
+// Otherwise, an undefined value is stored in the out PDWORD argument and 0 is returned.
+//
+// GCC/clang don't have a directly equivalent intrinsic; they do provide the __builtin_clzll
+// intrinsic, which returns the number of leading 0-bits in x starting at the most significant
+// bit position (the result is undefined when x = 0).
+//
+// The same is true for BitScanReverse, except that the GCC function is __builtin_clzl.
+
+EXTERN_C
+PALIMPORT
+inline
+unsigned char
+PALAPI
+BitScanReverse(
+    IN OUT PDWORD Index,
+    IN UINT qwMask)
+{
+    // The result of __builtin_clzl is undefined when qwMask is zero,
+    // but it's still OK to call the intrinsic in that case (just don't use the output).
+    // Unconditionally calling the intrinsic in this way allows the compiler to
+    // emit branchless code for this function when possible (depending on how the
+    // intrinsic is implemented for the target platform).
+    int lzcount = __builtin_clzl(qwMask);
+    *Index = (DWORD)(31 - lzcount);
+    return qwMask != 0;
+}
 
-    return bRet;
+EXTERN_C
+PALIMPORT
+inline
+unsigned char
+PALAPI
+BitScanReverse64(
+    IN OUT PDWORD Index,
+    IN UINT64 qwMask)
+{
+    // The result of __builtin_clzll is undefined when qwMask is zero,
+    // but it's still OK to call the intrinsic in that case (just don't use the output).
+    // Unconditionally calling the intrinsic in this way allows the compiler to
+    // emit branchless code for this function when possible (depending on how the
+    // intrinsic is implemented for the target platform).
+    int lzcount = __builtin_clzll(qwMask);
+    *Index = (DWORD)(63 - lzcount);
+    return qwMask != 0;
 }
 
 FORCEINLINE void PAL_ArmInterlockedOperationBarrier()
@@ -4166,18 +4214,26 @@ SetThreadIdealProcessorEx(
 #define asinh         PAL_asinh
 #define atan2         PAL_atan2
 #define exp           PAL_exp
+#define fma           PAL_fma
+#define ilogb         PAL_ilogb
 #define log           PAL_log
+#define log2          PAL_log2
 #define log10         PAL_log10
 #define pow           PAL_pow
+#define scalbn        PAL_scalbn
 #define acosf         PAL_acosf
 #define acoshf        PAL_acoshf
 #define asinf         PAL_asinf
 #define asinhf        PAL_asinhf
 #define atan2f        PAL_atan2f
 #define expf          PAL_expf
+#define fmaf          PAL_fmaf
+#define ilogbf        PAL_ilogbf
 #define logf          PAL_logf
+#define log2f         PAL_log2f
 #define log10f        PAL_log10f
 #define powf          PAL_powf
+#define scalbnf       PAL_scalbnf
 #define malloc        PAL_malloc
 #define free          PAL_free
 #define mkstemp       PAL_mkstemp
@@ -4432,10 +4488,14 @@ PALIMPORT double __cdecl exp(double);
 PALIMPORT double __cdecl fabs(double);
 PALIMPORT double __cdecl floor(double);
 PALIMPORT double __cdecl fmod(double, double); 
+PALIMPORT double __cdecl fma(double, double, double);
+PALIMPORT int __cdecl ilogb(double);
 PALIMPORT double __cdecl log(double);
+PALIMPORT double __cdecl log2(double);
 PALIMPORT double __cdecl log10(double);
 PALIMPORT double __cdecl modf(double, double*);
 PALIMPORT double __cdecl pow(double, double);
+PALIMPORT double __cdecl scalbn(double, int);
 PALIMPORT double __cdecl sin(double);
 PALIMPORT double __cdecl sinh(double);
 PALIMPORT double __cdecl sqrt(double);
@@ -4460,11 +4520,15 @@ PALIMPORT float __cdecl coshf(float);
 PALIMPORT float __cdecl expf(float);
 PALIMPORT float __cdecl fabsf(float);
 PALIMPORT float __cdecl floorf(float);
-PALIMPORT float __cdecl fmodf(float, float); 
+PALIMPORT float __cdecl fmodf(float, float);
+PALIMPORT float __cdecl fmaf(float, float, float);
+PALIMPORT int __cdecl ilogbf(float);
 PALIMPORT float __cdecl logf(float);
+PALIMPORT float __cdecl log2f(float);
 PALIMPORT float __cdecl log10f(float);
 PALIMPORT float __cdecl modff(float, float*);
 PALIMPORT float __cdecl powf(float, float);
+PALIMPORT float __cdecl scalbnf(float, int);
 PALIMPORT float __cdecl sinf(float);
 PALIMPORT float __cdecl sinhf(float);
 PALIMPORT float __cdecl sqrtf(float);
index 923f78b..f7f625a 100644 (file)
@@ -5,11 +5,11 @@
 /* link this file in with the server and any clients */
 
 
- /* File created by MIDL compiler version 8.00.0603 */
-/* at Fri Sep 23 15:43:16 2016
+ /* File created by MIDL compiler version 8.01.0622 */
+/* at Mon Jan 18 19:14:07 2038
  */
-/* Compiler settings for cordebug.idl:
-    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
+/* Compiler settings for D:/dotnet/coreclr/src/inc/cordebug.idl:
+    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 
     protocol : dce , ms_ext, c_ext, robust
     error checks: allocation ref bounds_check enum stub_data 
     VC __declspec() decoration level: 
@@ -63,9 +63,9 @@ typedef IID CLSID;
 #endif // CLSID_DEFINED
 
 #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
-        const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
+        EXTERN_C __declspec(selectany) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
 
-#endif !_MIDL_USE_GUIDDEF_
+#endif // !_MIDL_USE_GUIDDEF_
 
 MIDL_DEFINE_GUID(IID, IID_ICorDebugDataTarget,0xFE06DC28,0x49FB,0x4636,0xA4,0xA3,0xE8,0x0D,0xB4,0xAE,0x11,0x6C);
 
@@ -118,6 +118,9 @@ MIDL_DEFINE_GUID(IID, IID_ICorDebugManagedCallback,0x3d6f5f60,0x7538,0x11d3,0x8d
 MIDL_DEFINE_GUID(IID, IID_ICorDebugManagedCallback3,0x264EA0FC,0x2591,0x49AA,0x86,0x8E,0x83,0x5E,0x65,0x15,0x32,0x3F);
 
 
+MIDL_DEFINE_GUID(IID, IID_ICorDebugManagedCallback4,0x322911AE,0x16A5,0x49BA,0x84,0xA3,0xED,0x69,0x67,0x81,0x38,0xA3);
+
+
 MIDL_DEFINE_GUID(IID, IID_ICorDebugManagedCallback2,0x250E5EEA,0xDB5C,0x4C76,0xB6,0xF3,0x8C,0x46,0xF1,0x2E,0x32,0x03);
 
 
@@ -199,6 +202,9 @@ MIDL_DEFINE_GUID(IID, IID_ICorDebugProcess7,0x9B2C54E4,0x119F,0x4D6F,0xB4,0x02,0
 MIDL_DEFINE_GUID(IID, IID_ICorDebugProcess8,0x2E6F28C1,0x85EB,0x4141,0x80,0xAD,0x0A,0x90,0x94,0x4B,0x96,0x39);
 
 
+MIDL_DEFINE_GUID(IID, IID_ICorDebugProcess10,0x8F378F6F,0x1017,0x4461,0x98,0x90,0xEC,0xF6,0x4C,0x54,0x07,0x9F);
+
+
 MIDL_DEFINE_GUID(IID, IID_ICorDebugModuleDebugEvent,0x51A15E8D,0x9FFF,0x4864,0x9B,0x87,0xF4,0xFB,0xDE,0xA7,0x47,0xA2);
 
 
index ffafd17..d87c3dc 100644 (file)
@@ -1,7 +1,3 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
 
 
 /* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
@@ -9,7 +5,17 @@
 /* link this file in with the server and any clients */
 
 
- /* File created by MIDL compiler version 8.00.0603 */
+ /* File created by MIDL compiler version 8.01.0622 */
+/* at Mon Jan 18 19:14:07 2038
+ */
+/* Compiler settings for F:/Dev/coreclr/src/inc/xcordebug.idl:
+    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 
+    protocol : dce , ms_ext, c_ext, robust
+    error checks: allocation ref bounds_check enum stub_data 
+    VC __declspec() decoration level: 
+         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+         DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
 /* @@MIDL_FILE_HEADING(  ) */
 
 #pragma warning( disable: 4049 )  /* more than 64k source lines */
@@ -57,12 +63,13 @@ typedef IID CLSID;
 #endif // CLSID_DEFINED
 
 #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
-        const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
+        EXTERN_C __declspec(selectany) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
 
-#endif !_MIDL_USE_GUIDDEF_
+#endif // !_MIDL_USE_GUIDDEF_
 
 MIDL_DEFINE_GUID(IID, IID_ICorDebugProcess4,0xE930C679,0x78AF,0x4953,0x8A,0xB7,0xB0,0xAA,0xBF,0x0F,0x9F,0x80);
 
+
 MIDL_DEFINE_GUID(IID, IID_ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly,0x34B27FB0,0xA318,0x450D,0xA0,0xDD,0x11,0xB7,0x0B,0x21,0xF4,0x1D);
 
 #undef MIDL_DEFINE_GUID
index b3ebe7e..1b53577 100644 (file)
@@ -3,11 +3,11 @@
 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
 
 
- /* File created by MIDL compiler version 8.00.0603 */
-/* at Fri Sep 23 15:43:16 2016
+ /* File created by MIDL compiler version 8.01.0622 */
+/* at Mon Jan 18 19:14:07 2038
  */
-/* Compiler settings for cordebug.idl:
-    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603 
+/* Compiler settings for F:/Dev/coreclr/src/inc/cordebug.idl:
+    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 
     protocol : dce , ms_ext, c_ext, robust
     error checks: allocation ref bounds_check enum stub_data 
     VC __declspec() decoration level: 
@@ -29,7 +29,7 @@
 
 #ifndef __RPCNDR_H_VERSION__
 #error this stub requires an updated version of <rpcndr.h>
-#endif // __RPCNDR_H_VERSION__
+#endif /* __RPCNDR_H_VERSION__ */
 
 #ifndef COM_NO_WINDOWS_H
 #include "windows.h"
@@ -164,6 +164,13 @@ typedef interface ICorDebugManagedCallback3 ICorDebugManagedCallback3;
 #endif         /* __ICorDebugManagedCallback3_FWD_DEFINED__ */
 
 
+#ifndef __ICorDebugManagedCallback4_FWD_DEFINED__
+#define __ICorDebugManagedCallback4_FWD_DEFINED__
+typedef interface ICorDebugManagedCallback4 ICorDebugManagedCallback4;
+
+#endif         /* __ICorDebugManagedCallback4_FWD_DEFINED__ */
+
+
 #ifndef __ICorDebugManagedCallback2_FWD_DEFINED__
 #define __ICorDebugManagedCallback2_FWD_DEFINED__
 typedef interface ICorDebugManagedCallback2 ICorDebugManagedCallback2;
@@ -353,6 +360,13 @@ typedef interface ICorDebugProcess8 ICorDebugProcess8;
 #endif         /* __ICorDebugProcess8_FWD_DEFINED__ */
 
 
+#ifndef __ICorDebugProcess10_FWD_DEFINED__
+#define __ICorDebugProcess10_FWD_DEFINED__
+typedef interface ICorDebugProcess10 ICorDebugProcess10;
+
+#endif         /* __ICorDebugProcess10_FWD_DEFINED__ */
+
+
 #ifndef __ICorDebugModuleDebugEvent_FWD_DEFINED__
 #define __ICorDebugModuleDebugEvent_FWD_DEFINED__
 typedef interface ICorDebugModuleDebugEvent ICorDebugModuleDebugEvent;
@@ -581,7 +595,7 @@ typedef interface ICorDebugFunction3 ICorDebugFunction3;
 #define __ICorDebugFunction4_FWD_DEFINED__
 typedef interface ICorDebugFunction4 ICorDebugFunction4;
 
-#endif  /* __ICorDebugFunction4_FWD_DEFINED__ */
+#endif         /* __ICorDebugFunction4_FWD_DEFINED__ */
 
 
 #ifndef __ICorDebugCode_FWD_DEFINED__
@@ -3751,14 +3765,116 @@ EXTERN_C const IID IID_ICorDebugManagedCallback3;
 #endif         /* __ICorDebugManagedCallback3_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0017 */
+#ifndef __ICorDebugManagedCallback4_INTERFACE_DEFINED__
+#define __ICorDebugManagedCallback4_INTERFACE_DEFINED__
+
+/* interface ICorDebugManagedCallback4 */
+/* [unique][uuid][local][object] */ 
+
+
+EXTERN_C const IID IID_ICorDebugManagedCallback4;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+    
+    MIDL_INTERFACE("322911AE-16A5-49BA-84A3-ED69678138A3")
+    ICorDebugManagedCallback4 : public IUnknown
+    {
+    public:
+        virtual HRESULT STDMETHODCALLTYPE BeforeGarbageCollection( 
+            /* [in] */ ICorDebugProcess *pProcess) = 0;
+        
+        virtual HRESULT STDMETHODCALLTYPE AfterGarbageCollection( 
+            /* [in] */ ICorDebugProcess *pProcess) = 0;
+        
+        virtual HRESULT STDMETHODCALLTYPE DataBreakpoint( 
+            /* [in] */ ICorDebugProcess *pProcess,
+            /* [in] */ ICorDebugThread *pThread) = 0;
+        
+    };
+    
+    
+#else  /* C style interface */
+
+    typedef struct ICorDebugManagedCallback4Vtbl
+    {
+        BEGIN_INTERFACE
+        
+        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
+            ICorDebugManagedCallback4 * This,
+            /* [in] */ REFIID riid,
+            /* [annotation][iid_is][out] */ 
+            _COM_Outptr_  void **ppvObject);
+        
+        ULONG ( STDMETHODCALLTYPE *AddRef )( 
+            ICorDebugManagedCallback4 * This);
+        
+        ULONG ( STDMETHODCALLTYPE *Release )( 
+            ICorDebugManagedCallback4 * This);
+        
+        HRESULT ( STDMETHODCALLTYPE *BeforeGarbageCollection )( 
+            ICorDebugManagedCallback4 * This,
+            /* [in] */ ICorDebugProcess *pProcess);
+        
+        HRESULT ( STDMETHODCALLTYPE *AfterGarbageCollection )( 
+            ICorDebugManagedCallback4 * This,
+            /* [in] */ ICorDebugProcess *pProcess);
+        
+        HRESULT ( STDMETHODCALLTYPE *DataBreakpoint )( 
+            ICorDebugManagedCallback4 * This,
+            /* [in] */ ICorDebugProcess *pProcess,
+            /* [in] */ ICorDebugThread *pThread);
+        
+        END_INTERFACE
+    } ICorDebugManagedCallback4Vtbl;
+
+    interface ICorDebugManagedCallback4
+    {
+        CONST_VTBL struct ICorDebugManagedCallback4Vtbl *lpVtbl;
+    };
+
+    
+
+#ifdef COBJMACROS
+
+
+#define ICorDebugManagedCallback4_QueryInterface(This,riid,ppvObject)  \
+    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
+
+#define ICorDebugManagedCallback4_AddRef(This) \
+    ( (This)->lpVtbl -> AddRef(This) ) 
+
+#define ICorDebugManagedCallback4_Release(This)        \
+    ( (This)->lpVtbl -> Release(This) ) 
+
+
+#define ICorDebugManagedCallback4_BeforeGarbageCollection(This,pProcess)       \
+    ( (This)->lpVtbl -> BeforeGarbageCollection(This,pProcess) ) 
+
+#define ICorDebugManagedCallback4_AfterGarbageCollection(This,pProcess)        \
+    ( (This)->lpVtbl -> AfterGarbageCollection(This,pProcess) ) 
+
+#define ICorDebugManagedCallback4_DataBreakpoint(This,pProcess,pThread)        \
+    ( (This)->lpVtbl -> DataBreakpoint(This,pProcess,pThread) ) 
+
+#endif /* COBJMACROS */
+
+
+#endif         /* C style interface */
+
+
+
+
+#endif         /* __ICorDebugManagedCallback4_INTERFACE_DEFINED__ */
+
+
+/* interface __MIDL_itf_cordebug_0000_0018 */
 /* [local] */ 
 
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0017_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0017_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0018_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0018_v0_0_s_ifspec;
 
 #ifndef __ICorDebugManagedCallback2_INTERFACE_DEFINED__
 #define __ICorDebugManagedCallback2_INTERFACE_DEFINED__
@@ -3973,14 +4089,14 @@ EXTERN_C const IID IID_ICorDebugManagedCallback2;
 #endif         /* __ICorDebugManagedCallback2_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0018 */
+/* interface __MIDL_itf_cordebug_0000_0019 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0018_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0018_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0019_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0019_v0_0_s_ifspec;
 
 #ifndef __ICorDebugUnmanagedCallback_INTERFACE_DEFINED__
 #define __ICorDebugUnmanagedCallback_INTERFACE_DEFINED__
@@ -4064,7 +4180,7 @@ EXTERN_C const IID IID_ICorDebugUnmanagedCallback;
 #endif         /* __ICorDebugUnmanagedCallback_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0019 */
+/* interface __MIDL_itf_cordebug_0000_0020 */
 /* [local] */ 
 
 typedef 
@@ -4084,8 +4200,8 @@ enum CorDebugHandleType
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0019_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0019_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0020_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0020_v0_0_s_ifspec;
 
 #ifndef __ICorDebug_INTERFACE_DEFINED__
 #define __ICorDebug_INTERFACE_DEFINED__
@@ -4273,14 +4389,14 @@ EXTERN_C const IID IID_ICorDebug;
 #endif         /* __ICorDebug_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0020 */
+/* interface __MIDL_itf_cordebug_0000_0021 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0020_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0020_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0021_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0021_v0_0_s_ifspec;
 
 #ifndef __ICorDebugRemoteTarget_INTERFACE_DEFINED__
 #define __ICorDebugRemoteTarget_INTERFACE_DEFINED__
@@ -4492,7 +4608,7 @@ EXTERN_C const IID IID_ICorDebugRemote;
 #endif         /* __ICorDebugRemote_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0022 */
+/* interface __MIDL_itf_cordebug_0000_0023 */
 /* [local] */ 
 
 typedef struct _COR_VERSION
@@ -4505,8 +4621,8 @@ typedef struct _COR_VERSION
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0022_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0022_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0023_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0023_v0_0_s_ifspec;
 
 #ifndef __ICorDebug2_INTERFACE_DEFINED__
 #define __ICorDebug2_INTERFACE_DEFINED__
@@ -4668,7 +4784,7 @@ EXTERN_C const IID IID_ICorDebug2;
 #endif         /* __ICorDebug2_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0023 */
+/* interface __MIDL_itf_cordebug_0000_0024 */
 /* [local] */ 
 
 typedef 
@@ -4680,8 +4796,8 @@ enum CorDebugThreadState
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0023_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0023_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0024_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0024_v0_0_s_ifspec;
 
 #ifndef __ICorDebugController_INTERFACE_DEFINED__
 #define __ICorDebugController_INTERFACE_DEFINED__
@@ -4863,15 +4979,15 @@ EXTERN_C const IID IID_ICorDebugController;
 #endif         /* __ICorDebugController_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0024 */
+/* interface __MIDL_itf_cordebug_0000_0025 */
 /* [local] */ 
 
 #pragma warning(push)
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0024_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0024_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0025_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0025_v0_0_s_ifspec;
 
 #ifndef __ICorDebugAppDomain_INTERFACE_DEFINED__
 #define __ICorDebugAppDomain_INTERFACE_DEFINED__
@@ -5123,14 +5239,14 @@ EXTERN_C const IID IID_ICorDebugAppDomain;
 #endif         /* __ICorDebugAppDomain_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0025 */
+/* interface __MIDL_itf_cordebug_0000_0026 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0025_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0025_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0026_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0026_v0_0_s_ifspec;
 
 #ifndef __ICorDebugAppDomain2_INTERFACE_DEFINED__
 #define __ICorDebugAppDomain2_INTERFACE_DEFINED__
@@ -5628,15 +5744,15 @@ EXTERN_C const IID IID_ICorDebugAppDomain4;
 #endif         /* __ICorDebugAppDomain4_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0029 */
+/* interface __MIDL_itf_cordebug_0000_0030 */
 /* [local] */ 
 
 #pragma warning(push)
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0029_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0029_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0030_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0030_v0_0_s_ifspec;
 
 #ifndef __ICorDebugAssembly_INTERFACE_DEFINED__
 #define __ICorDebugAssembly_INTERFACE_DEFINED__
@@ -5766,14 +5882,14 @@ EXTERN_C const IID IID_ICorDebugAssembly;
 #endif         /* __ICorDebugAssembly_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0030 */
+/* interface __MIDL_itf_cordebug_0000_0031 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0030_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0030_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0031_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0031_v0_0_s_ifspec;
 
 #ifndef __ICorDebugAssembly2_INTERFACE_DEFINED__
 #define __ICorDebugAssembly2_INTERFACE_DEFINED__
@@ -5945,7 +6061,7 @@ EXTERN_C const IID IID_ICorDebugAssembly3;
 #endif         /* __ICorDebugAssembly3_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0032 */
+/* interface __MIDL_itf_cordebug_0000_0033 */
 /* [local] */ 
 
 #ifndef _DEF_COR_TYPEID_
@@ -5966,8 +6082,8 @@ typedef struct _COR_HEAPOBJECT
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0032_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0032_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0033_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0033_v0_0_s_ifspec;
 
 #ifndef __ICorDebugHeapEnum_INTERFACE_DEFINED__
 #define __ICorDebugHeapEnum_INTERFACE_DEFINED__
@@ -6081,7 +6197,7 @@ EXTERN_C const IID IID_ICorDebugHeapEnum;
 #endif         /* __ICorDebugHeapEnum_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0033 */
+/* interface __MIDL_itf_cordebug_0000_0034 */
 /* [local] */ 
 
 typedef 
@@ -6119,8 +6235,8 @@ typedef struct _COR_HEAPINFO
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0033_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0033_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0034_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0034_v0_0_s_ifspec;
 
 #ifndef __ICorDebugHeapSegmentEnum_INTERFACE_DEFINED__
 #define __ICorDebugHeapSegmentEnum_INTERFACE_DEFINED__
@@ -6234,7 +6350,7 @@ EXTERN_C const IID IID_ICorDebugHeapSegmentEnum;
 #endif         /* __ICorDebugHeapSegmentEnum_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0034 */
+/* interface __MIDL_itf_cordebug_0000_0035 */
 /* [local] */ 
 
 typedef 
@@ -6270,8 +6386,8 @@ typedef struct COR_GC_REFERENCE
 #endif // _DEF_COR_GC_REFERENCE_
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0034_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0034_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0035_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0035_v0_0_s_ifspec;
 
 #ifndef __ICorDebugGCReferenceEnum_INTERFACE_DEFINED__
 #define __ICorDebugGCReferenceEnum_INTERFACE_DEFINED__
@@ -6385,7 +6501,7 @@ EXTERN_C const IID IID_ICorDebugGCReferenceEnum;
 #endif         /* __ICorDebugGCReferenceEnum_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0035 */
+/* interface __MIDL_itf_cordebug_0000_0036 */
 /* [local] */ 
 
 #ifndef _DEF_COR_ARRAY_LAYOUT_
@@ -6430,8 +6546,8 @@ typedef struct COR_FIELD
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0035_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0035_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0036_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0036_v0_0_s_ifspec;
 
 #ifndef __ICorDebugProcess_INTERFACE_DEFINED__
 #define __ICorDebugProcess_INTERFACE_DEFINED__
@@ -6781,14 +6897,14 @@ EXTERN_C const IID IID_ICorDebugProcess;
 #endif         /* __ICorDebugProcess_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0036 */
+/* interface __MIDL_itf_cordebug_0000_0037 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0036_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0036_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0037_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0037_v0_0_s_ifspec;
 
 #ifndef __ICorDebugProcess2_INTERFACE_DEFINED__
 #define __ICorDebugProcess2_INTERFACE_DEFINED__
@@ -7232,7 +7348,7 @@ EXTERN_C const IID IID_ICorDebugProcess5;
 #endif         /* __ICorDebugProcess5_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0039 */
+/* interface __MIDL_itf_cordebug_0000_0040 */
 /* [local] */ 
 
 typedef 
@@ -7268,8 +7384,8 @@ enum CorDebugStateChange
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0039_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0039_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0040_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0040_v0_0_s_ifspec;
 
 #ifndef __ICorDebugDebugEvent_INTERFACE_DEFINED__
 #define __ICorDebugDebugEvent_INTERFACE_DEFINED__
@@ -7361,7 +7477,7 @@ EXTERN_C const IID IID_ICorDebugDebugEvent;
 #endif         /* __ICorDebugDebugEvent_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0040 */
+/* interface __MIDL_itf_cordebug_0000_0041 */
 /* [local] */ 
 
 typedef 
@@ -7383,8 +7499,8 @@ enum CorDebugCodeInvokePurpose
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0040_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0040_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0041_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0041_v0_0_s_ifspec;
 
 #ifndef __ICorDebugProcess6_INTERFACE_DEFINED__
 #define __ICorDebugProcess6_INTERFACE_DEFINED__
@@ -7532,7 +7648,7 @@ EXTERN_C const IID IID_ICorDebugProcess6;
 #endif         /* __ICorDebugProcess6_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0041 */
+/* interface __MIDL_itf_cordebug_0000_0042 */
 /* [local] */ 
 
 typedef 
@@ -7544,8 +7660,8 @@ enum WriteableMetadataUpdateMode
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0041_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0041_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0042_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0042_v0_0_s_ifspec;
 
 #ifndef __ICorDebugProcess7_INTERFACE_DEFINED__
 #define __ICorDebugProcess7_INTERFACE_DEFINED__
@@ -7707,6 +7823,86 @@ EXTERN_C const IID IID_ICorDebugProcess8;
 #endif         /* __ICorDebugProcess8_INTERFACE_DEFINED__ */
 
 
+#ifndef __ICorDebugProcess10_INTERFACE_DEFINED__
+#define __ICorDebugProcess10_INTERFACE_DEFINED__
+
+/* interface ICorDebugProcess10 */
+/* [unique][uuid][local][object] */ 
+
+
+EXTERN_C const IID IID_ICorDebugProcess10;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+    
+    MIDL_INTERFACE("8F378F6F-1017-4461-9890-ECF64C54079F")
+    ICorDebugProcess10 : public IUnknown
+    {
+    public:
+        virtual HRESULT STDMETHODCALLTYPE EnableGCNotificationEvents( 
+            BOOL fEnable) = 0;
+        
+    };
+    
+    
+#else  /* C style interface */
+
+    typedef struct ICorDebugProcess10Vtbl
+    {
+        BEGIN_INTERFACE
+        
+        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
+            ICorDebugProcess10 * This,
+            /* [in] */ REFIID riid,
+            /* [annotation][iid_is][out] */ 
+            _COM_Outptr_  void **ppvObject);
+        
+        ULONG ( STDMETHODCALLTYPE *AddRef )( 
+            ICorDebugProcess10 * This);
+        
+        ULONG ( STDMETHODCALLTYPE *Release )( 
+            ICorDebugProcess10 * This);
+        
+        HRESULT ( STDMETHODCALLTYPE *EnableGCNotificationEvents )( 
+            ICorDebugProcess10 * This,
+            BOOL fEnable);
+        
+        END_INTERFACE
+    } ICorDebugProcess10Vtbl;
+
+    interface ICorDebugProcess10
+    {
+        CONST_VTBL struct ICorDebugProcess10Vtbl *lpVtbl;
+    };
+
+    
+
+#ifdef COBJMACROS
+
+
+#define ICorDebugProcess10_QueryInterface(This,riid,ppvObject) \
+    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
+
+#define ICorDebugProcess10_AddRef(This)        \
+    ( (This)->lpVtbl -> AddRef(This) ) 
+
+#define ICorDebugProcess10_Release(This)       \
+    ( (This)->lpVtbl -> Release(This) ) 
+
+
+#define ICorDebugProcess10_EnableGCNotificationEvents(This,fEnable)    \
+    ( (This)->lpVtbl -> EnableGCNotificationEvents(This,fEnable) ) 
+
+#endif /* COBJMACROS */
+
+
+#endif         /* C style interface */
+
+
+
+
+#endif         /* __ICorDebugProcess10_INTERFACE_DEFINED__ */
+
+
 #ifndef __ICorDebugModuleDebugEvent_INTERFACE_DEFINED__
 #define __ICorDebugModuleDebugEvent_INTERFACE_DEFINED__
 
@@ -10691,7 +10887,7 @@ EXTERN_C const IID IID_ICorDebugILFrame3;
 #endif         /* __ICorDebugILFrame3_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0065 */
+/* interface __MIDL_itf_cordebug_0000_0067 */
 /* [local] */ 
 
 typedef 
@@ -10703,8 +10899,8 @@ enum ILCodeKind
 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0065_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0065_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0067_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0067_v0_0_s_ifspec;
 
 #ifndef __ICorDebugILFrame4_INTERFACE_DEFINED__
 #define __ICorDebugILFrame4_INTERFACE_DEFINED__
@@ -11068,15 +11264,15 @@ EXTERN_C const IID IID_ICorDebugNativeFrame;
 #endif         /* __ICorDebugNativeFrame_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0067 */
+/* interface __MIDL_itf_cordebug_0000_0069 */
 /* [local] */ 
 
 #pragma warning(push)
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0067_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0067_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0069_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0069_v0_0_s_ifspec;
 
 #ifndef __ICorDebugNativeFrame2_INTERFACE_DEFINED__
 #define __ICorDebugNativeFrame2_INTERFACE_DEFINED__
@@ -11646,14 +11842,14 @@ EXTERN_C const IID IID_ICorDebugModule;
 #endif         /* __ICorDebugModule_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0071 */
+/* interface __MIDL_itf_cordebug_0000_0073 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0071_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0071_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0073_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0073_v0_0_s_ifspec;
 
 #ifndef __ICorDebugModule2_INTERFACE_DEFINED__
 #define __ICorDebugModule2_INTERFACE_DEFINED__
@@ -12124,7 +12320,7 @@ EXTERN_C const IID IID_ICorDebugFunction3;
 
 
 
-#endif  /* __ICorDebugFunction3_INTERFACE_DEFINED__ */
+#endif         /* __ICorDebugFunction3_INTERFACE_DEFINED__ */
 
 
 #ifndef __ICorDebugFunction4_INTERFACE_DEFINED__
@@ -12148,7 +12344,7 @@ EXTERN_C const IID IID_ICorDebugFunction4;
     };
     
     
-#else   /* C style interface */
+#else  /* C style interface */
 
     typedef struct ICorDebugFunction4Vtbl
     {
@@ -12183,29 +12379,28 @@ EXTERN_C const IID IID_ICorDebugFunction4;
 #ifdef COBJMACROS
 
 
-#define ICorDebugFunction4_QueryInterface(This,riid,ppvObject)  \
+#define ICorDebugFunction4_QueryInterface(This,riid,ppvObject) \
     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
 
-#define ICorDebugFunction4_AddRef(This) \
+#define ICorDebugFunction4_AddRef(This)        \
     ( (This)->lpVtbl -> AddRef(This) ) 
 
-#define ICorDebugFunction4_Release(This)    \
+#define ICorDebugFunction4_Release(This)       \
     ( (This)->lpVtbl -> Release(This) ) 
 
 
-#define ICorDebugFunction4_CreateNativeBreakpoint(This,ppBreakpoint)    \
+#define ICorDebugFunction4_CreateNativeBreakpoint(This,ppBreakpoint)   \
     ( (This)->lpVtbl -> CreateNativeBreakpoint(This,ppBreakpoint) ) 
 
 #endif /* COBJMACROS */
 
 
-#endif  /* C style interface */
-
+#endif         /* C style interface */
 
 
 
-#endif  /* __ICorDebugFunction4_INTERFACE_DEFINED__ */
 
+#endif         /* __ICorDebugFunction4_INTERFACE_DEFINED__ */
 
 
 #ifndef __ICorDebugCode_INTERFACE_DEFINED__
@@ -14611,15 +14806,15 @@ EXTERN_C const IID IID_ICorDebugBoxValue;
 #endif         /* __ICorDebugBoxValue_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0096 */
+/* interface __MIDL_itf_cordebug_0000_0099 */
 /* [local] */ 
 
 #pragma warning(push)
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0096_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0096_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0099_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0099_v0_0_s_ifspec;
 
 #ifndef __ICorDebugStringValue_INTERFACE_DEFINED__
 #define __ICorDebugStringValue_INTERFACE_DEFINED__
@@ -14759,14 +14954,14 @@ EXTERN_C const IID IID_ICorDebugStringValue;
 #endif         /* __ICorDebugStringValue_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0097 */
+/* interface __MIDL_itf_cordebug_0000_0100 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0097_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0097_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0100_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0100_v0_0_s_ifspec;
 
 #ifndef __ICorDebugArrayValue_INTERFACE_DEFINED__
 #define __ICorDebugArrayValue_INTERFACE_DEFINED__
@@ -17541,15 +17736,15 @@ EXTERN_C const IID IID_ICorDebugBlockingObjectEnum;
 #endif         /* __ICorDebugBlockingObjectEnum_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0121 */
+/* interface __MIDL_itf_cordebug_0000_0124 */
 /* [local] */ 
 
 #pragma warning(push)
 #pragma warning(disable:28718)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0121_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0121_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0124_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0124_v0_0_s_ifspec;
 
 #ifndef __ICorDebugMDA_INTERFACE_DEFINED__
 #define __ICorDebugMDA_INTERFACE_DEFINED__
@@ -17689,7 +17884,7 @@ EXTERN_C const IID IID_ICorDebugMDA;
 #endif         /* __ICorDebugMDA_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0122 */
+/* interface __MIDL_itf_cordebug_0000_0125 */
 /* [local] */ 
 
 #pragma warning(pop)
@@ -17697,8 +17892,8 @@ EXTERN_C const IID IID_ICorDebugMDA;
 #pragma warning(disable:28718) 
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0122_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0122_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0125_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0125_v0_0_s_ifspec;
 
 #ifndef __ICorDebugEditAndContinueErrorInfo_INTERFACE_DEFINED__
 #define __ICorDebugEditAndContinueErrorInfo_INTERFACE_DEFINED__
@@ -17814,14 +18009,14 @@ EXTERN_C const IID IID_ICorDebugEditAndContinueErrorInfo;
 #endif         /* __ICorDebugEditAndContinueErrorInfo_INTERFACE_DEFINED__ */
 
 
-/* interface __MIDL_itf_cordebug_0000_0123 */
+/* interface __MIDL_itf_cordebug_0000_0126 */
 /* [local] */ 
 
 #pragma warning(pop)
 
 
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0123_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0123_v0_0_s_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0126_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_cordebug_0000_0126_v0_0_s_ifspec;
 
 #ifndef __ICorDebugEditAndContinueSnapshot_INTERFACE_DEFINED__
 #define __ICorDebugEditAndContinueSnapshot_INTERFACE_DEFINED__
index ce4dc07..4160fe5 100644 (file)
@@ -1,13 +1,19 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
 
 
 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
 
 
- /* File created by MIDL compiler version 8.00.0603 */
+ /* File created by MIDL compiler version 8.01.0622 */
+/* at Mon Jan 18 19:14:07 2038
+ */
+/* Compiler settings for F:/Dev/coreclr/src/inc/xcordebug.idl:
+    Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 
+    protocol : dce , ms_ext, c_ext, robust
+    error checks: allocation ref bounds_check enum stub_data 
+    VC __declspec() decoration level: 
+         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+         DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
 /* @@MIDL_FILE_HEADING(  ) */
 
 #pragma warning( disable: 4049 )  /* more than 64k source lines */
@@ -23,7 +29,7 @@
 
 #ifndef __RPCNDR_H_VERSION__
 #error this stub requires an updated version of <rpcndr.h>
-#endif // __RPCNDR_H_VERSION__
+#endif /* __RPCNDR_H_VERSION__ */
 
 #ifndef COM_NO_WINDOWS_H
 #include "windows.h"
@@ -45,12 +51,14 @@ typedef interface ICorDebugProcess4 ICorDebugProcess4;
 
 #endif         /* __ICorDebugProcess4_FWD_DEFINED__ */
 
+
 #ifndef __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_FWD_DEFINED__
 #define __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_FWD_DEFINED__
 typedef interface ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly;
 
 #endif         /* __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_FWD_DEFINED__ */
 
+
 /* header files for imported files */
 #include "cordebug.h"
 
@@ -160,6 +168,7 @@ EXTERN_C const IID IID_ICorDebugProcess4;
 
 #endif         /* __ICorDebugProcess4_INTERFACE_DEFINED__ */
 
+
 #ifndef __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_INTERFACE_DEFINED__
 #define __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_INTERFACE_DEFINED__
 
index af2f994..126bbff 100644 (file)
@@ -311,6 +311,44 @@ PALIMPORT double __cdecl PAL_exp(double x)
 
 /*++
 Function:
+    fma
+
+See MSDN.
+--*/
+PALIMPORT double __cdecl PAL_fma(double x, double y, double z)
+{
+    double ret;
+    PERF_ENTRY(fma);
+    ENTRY("fma (x=%f, y=%f, z=%f)\n", x, y, z);
+
+    ret = fma(x, y, z);
+
+    LOGEXIT("fma returns double %f\n", ret);
+    PERF_EXIT(fma);
+    return ret;
+}
+
+/*++
+Function:
+    ilogb
+
+See MSDN.
+--*/
+PALIMPORT int __cdecl PAL_ilogb(double x)
+{
+    int ret;
+    PERF_ENTRY(ilogb);
+    ENTRY("ilogb (x=%f)\n", x);
+
+    ret = ilogb(x);
+
+    LOGEXIT("ilogb returns int %d\n", ret);
+    PERF_EXIT(ilogb);
+    return ret;
+}
+
+/*++
+Function:
     labs
 
 See MSDN.
@@ -360,6 +398,25 @@ PALIMPORT double __cdecl PAL_log(double x)
 
 /*++
 Function:
+    log2
+
+See MSDN.
+--*/
+PALIMPORT double __cdecl PAL_log2(double x)
+{
+    double ret;
+    PERF_ENTRY(log2);
+    ENTRY("log2 (x=%f)\n", x);
+
+    ret = log2(x);
+
+    LOGEXIT("log2 returns double %f\n", ret);
+    PERF_EXIT(log2);
+    return ret;
+}
+
+/*++
+Function:
     log10
 
 See MSDN.
@@ -483,6 +540,25 @@ PALIMPORT double __cdecl PAL_pow(double x, double y)
 
 /*++
 Function:
+    scalbn
+
+See MSDN.
+--*/
+PALIMPORT double __cdecl PAL_scalbn(double x, int n)
+{
+    double ret;
+    PERF_ENTRY(scalbn);
+    ENTRY("scalbn (x=%f, n=%d)\n", x, n);
+
+    ret = scalbn(x, n);
+
+    LOGEXIT("scalbn returns double %f\n", ret);
+    PERF_EXIT(scalbn);
+    return ret;
+}
+
+/*++
+Function:
   _signbitf
 
 Determines whether given single-precision floating point value has a negative sign.
@@ -750,6 +826,44 @@ PALIMPORT float __cdecl PAL_expf(float x)
 
 /*++
 Function:
+    fmaf
+
+See MSDN.
+--*/
+PALIMPORT float __cdecl PAL_fmaf(float x, float y, float z)
+{
+    float ret;
+    PERF_ENTRY(fmaf);
+    ENTRY("fmaf (x=%f, y=%f, z=%f)\n", x, y, z);
+
+    ret = fmaf(x, y, z);
+
+    LOGEXIT("fma returns float %f\n", ret);
+    PERF_EXIT(fmaf);
+    return ret;
+}
+
+/*++
+Function:
+    ilogbf
+
+See MSDN.
+--*/
+PALIMPORT int __cdecl PAL_ilogbf(float x)
+{
+    int ret;
+    PERF_ENTRY(ilogbf);
+    ENTRY("ilogbf (x=%f)\n", x);
+
+    ret = ilogbf(x);
+
+    LOGEXIT("ilogbf returns int %d\n", ret);
+    PERF_EXIT(ilogbf);
+    return ret;
+}
+
+/*++
+Function:
     logf
 
 See MSDN.
@@ -780,6 +894,25 @@ PALIMPORT float __cdecl PAL_logf(float x)
 
 /*++
 Function:
+    log2f
+
+See MSDN.
+--*/
+PALIMPORT float __cdecl PAL_log2f(float x)
+{
+    float ret;
+    PERF_ENTRY(log2f);
+    ENTRY("log2f (x=%f)\n", x);
+
+    ret = log2f(x);
+
+    LOGEXIT("log2f returns float %f\n", ret);
+    PERF_EXIT(log2f);
+    return ret;
+}
+
+/*++
+Function:
     log10f
 
 See MSDN.
@@ -894,3 +1027,22 @@ PALIMPORT float __cdecl PAL_powf(float x, float y)
     PERF_EXIT(powf);
     return ret;
 }
+
+/*++
+Function:
+    scalbnf
+
+See MSDN.
+--*/
+PALIMPORT float __cdecl PAL_scalbnf(float x, int n)
+{
+    float ret;
+    PERF_ENTRY(scalbnf);
+    ENTRY("scalbnf (x=%f, n=%d)\n", x, n);
+
+    ret = scalbnf(x, n);
+
+    LOGEXIT("scalbnf returns double %f\n", ret);
+    PERF_EXIT(scalbnf);
+    return ret;
+}
index 69e4f5f..67236aa 100644 (file)
@@ -342,6 +342,7 @@ function_name() to call the system's implementation
 
 #if !defined(_MSC_VER) && defined(_WIN64)
 #undef _BitScanForward64
+#undef _BitScanReverse64
 #endif 
 
 /* pal.h defines alloca(3) as a compiler builtin.
@@ -461,10 +462,14 @@ function_name() to call the system's implementation
 #undef fabs
 #undef floor
 #undef fmod
+#undef fma
+#undef ilogb
 #undef log
+#undef log2
 #undef log10
 #undef modf
 #undef pow
+#undef scalbn
 #undef sin
 #undef sinh
 #undef sqrt
@@ -485,10 +490,14 @@ function_name() to call the system's implementation
 #undef fabsf
 #undef floorf
 #undef fmodf
+#undef fmaf
+#undef ilogbf
 #undef logf
+#undef log2f
 #undef log10f
 #undef modff
 #undef powf
+#undef scalbnf
 #undef sinf
 #undef sinhf
 #undef sqrtf
@@ -614,6 +623,8 @@ function_name() to call the system's implementation
    we'll catch any definition conflicts */
 #include <sys/socket.h>
 
+#include <pal/stackstring.hpp>
+
 #if !HAVE_INFTIM
 #define INFTIM  -1
 #endif // !HAVE_INFTIM
@@ -623,6 +634,8 @@ function_name() to call the system's implementation
 #undef assert
 #define assert (Use__ASSERTE_instead_of_assert) assert
 
+#define string_countof(a) (sizeof(a) / sizeof(a[0]) - 1)
+
 #ifndef __ANDROID__
 #define TEMP_DIRECTORY_PATH "/tmp/"
 #else
@@ -633,6 +646,16 @@ function_name() to call the system's implementation
 
 #define PROCESS_PIPE_NAME_PREFIX ".dotnet-pal-processpipe"
 
+#ifdef __APPLE__
+#define APPLICATION_CONTAINER_BASE_PATH_SUFFIX "/Library/Group Containers/"
+
+// Not much to go with, but Max semaphore length on Mac is 31 characters. In a sandbox, the semaphore name
+// must be prefixed with an application group ID. This will be 10 characters for developer ID and extra 2 
+// characters for group name. For example ABCDEFGHIJ.MS. We still need some characters left
+// for the actual semaphore names.
+#define MAX_APPLICATION_GROUP_ID_LENGTH 13
+#endif // __APPLE__
+
 #ifdef __cplusplus
 extern "C"
 {
@@ -656,6 +679,11 @@ typedef enum _TimeConversionConstants
 bool
 ReadMemoryValueFromFile(const char* filename, size_t* val);
 
+#ifdef __APPLE__
+bool
+GetApplicationContainerFolder(PathCharString& buffer, const char *applicationGroupId, int applicationGroupIdLength);
+#endif // __APPLE__
+
 /* This is duplicated in utilcode.h for CLR, with cooler type-traits */
 template <typename T>
 inline
index f5d8b46..4eccc61 100644 (file)
@@ -24,6 +24,7 @@ Revision History:
 #define _PAL_PROCESS_H_
 
 #include "pal/palinternal.h"
+#include "pal/stackstring.hpp"
 
 #ifdef __cplusplus
 extern "C"
@@ -43,6 +44,13 @@ extern DWORD gSID;
 
 extern LPWSTR pAppDir;
 
+// The Mac sandbox application group ID (if exists) and container (shared) path
+#ifdef __APPLE__
+extern LPCSTR gApplicationGroupId;
+extern int gApplicationGroupIdLength;
+#endif // __APPLE__
+extern PathCharString *gSharedFilesPath;
+
 /*++
 Function:
   PROCGetProcessIDFromHandle
index fdc395e..3ea3b71 100644 (file)
 #define _countof(a) (sizeof(a) / sizeof(a[0]))
 #endif // !_countof
 
-// The temporary folder is used for storing shared memory files and their lock files.
-// The location of the temporary folder varies (e.g. /data/local/tmp on Android)
-// and is set in TEMP_DIRECTORY_PATH. TEMP_DIRECTORY_PATH ends with '/'
+// The folder used for storing shared memory files and their lock files is defined in 
+// the gSharedFilesPath global variable. The value of the variable depends on which 
+// OS is being used, and if the application is running in a sandbox in Mac.
+// gSharedFilesPath ends with '/'
 // - Global shared memory files go in:
-//     {tmp}/.dotnet/shm/global/<fileName>
+//     {gSharedFilesPath}/.dotnet/shm/global/<fileName>
 // - Session-scoped shared memory files go in:
-//     {tmp}/.dotnet/shm/session<sessionId>/<fileName>
+//     {gSharedFilesPath}/.dotnet/shm/session<sessionId>/<fileName>
 // - Lock files associated with global shared memory files go in:
-//     {tmp}/.dotnet/lockfiles/global/<fileName>
+//     {gSharedFilesPath}/.dotnet/lockfiles/global/<fileName>
 // - Lock files associated with session-scoped shared memory files go in:
-//     {tmp}/.dotnet/lockfiles/session<sessionId>/<fileName>
+//     {gSharedFilesPath}/.dotnet/lockfiles/session<sessionId>/<fileName>
 
 #define SHARED_MEMORY_MAX_FILE_NAME_CHAR_COUNT (_MAX_FNAME - 1)
-#define SHARED_MEMORY_MAX_NAME_CHAR_COUNT (_countof("Global\\") - 1 + SHARED_MEMORY_MAX_FILE_NAME_CHAR_COUNT)
+#define SHARED_MEMORY_MAX_NAME_CHAR_COUNT (string_countof("Global\\") + SHARED_MEMORY_MAX_FILE_NAME_CHAR_COUNT)
 
-#define SHARED_MEMORY_TEMP_DIRECTORY_PATH TEMP_DIRECTORY_PATH
-#define SHARED_MEMORY_RUNTIME_TEMP_DIRECTORY_PATH TEMP_DIRECTORY_PATH ".dotnet"
-
-#define SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_PATH TEMP_DIRECTORY_PATH ".dotnet/shm"
-#define SHARED_MEMORY_LOCK_FILES_DIRECTORY_PATH TEMP_DIRECTORY_PATH ".dotnet/lockfiles"
-static_assert_no_msg(_countof(SHARED_MEMORY_LOCK_FILES_DIRECTORY_PATH) >= _countof(SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_PATH));
+#define SHARED_MEMORY_RUNTIME_TEMP_DIRECTORY_NAME ".dotnet"
+#define SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_NAME ".dotnet/shm"
+#define SHARED_MEMORY_LOCK_FILES_DIRECTORY_NAME ".dotnet/lockfiles"
+static_assert_no_msg(_countof(SHARED_MEMORY_LOCK_FILES_DIRECTORY_NAME) >= _countof(SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_NAME));
 
 #define SHARED_MEMORY_GLOBAL_DIRECTORY_NAME "global"
 #define SHARED_MEMORY_SESSION_DIRECTORY_NAME_PREFIX "session"
 static_assert_no_msg(_countof(SHARED_MEMORY_SESSION_DIRECTORY_NAME_PREFIX) >= _countof(SHARED_MEMORY_GLOBAL_DIRECTORY_NAME));
 
-#define SHARED_MEMORY_UNIQUE_TEMP_NAME_TEMPLATE TEMP_DIRECTORY_PATH ".coreclr.XXXXXX"
+#define SHARED_MEMORY_UNIQUE_TEMP_NAME_TEMPLATE ".coreclr.XXXXXX"
 
 #define SHARED_MEMORY_MAX_SESSION_ID_CHAR_COUNT (10)
 
+// Note that this Max size does not include the prefix folder path size which is unknown (in the case of sandbox) until runtime
 #define SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT \
     ( \
-        _countof(SHARED_MEMORY_LOCK_FILES_DIRECTORY_PATH) - 1 + \
+        string_countof(SHARED_MEMORY_LOCK_FILES_DIRECTORY_NAME) + \
         1 /* path separator */ + \
-        _countof(SHARED_MEMORY_SESSION_DIRECTORY_NAME_PREFIX) - 1 + \
+        string_countof(SHARED_MEMORY_SESSION_DIRECTORY_NAME_PREFIX) + \
         SHARED_MEMORY_MAX_SESSION_ID_CHAR_COUNT + \
         1 /* path separator */ + \
         SHARED_MEMORY_MAX_FILE_NAME_CHAR_COUNT \
     )
-static_assert_no_msg(SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1 /* null terminator */ <= MAX_LONGPATH);
 
 class AutoFreeBuffer
 {
@@ -107,9 +106,9 @@ public:
 
     static void *Alloc(SIZE_T byteCount);
 
-    template<SIZE_T DestinationByteCount, SIZE_T SourceByteCount> static SIZE_T CopyString(char (&destination)[DestinationByteCount], SIZE_T destinationStartOffset, const char (&source)[SourceByteCount]);
-    template<SIZE_T DestinationByteCount> static SIZE_T CopyString(char (&destination)[DestinationByteCount], SIZE_T destinationStartOffset, LPCSTR source, SIZE_T sourceCharCount);
-    template<SIZE_T DestinationByteCount> static SIZE_T AppendUInt32String(char (&destination)[DestinationByteCount], SIZE_T destinationStartOffset, UINT32 value);
+    template<SIZE_T SuffixByteCount> static void BuildSharedFilesPath(PathCharString& destination, const char (&suffix)[SuffixByteCount]);
+    static void BuildSharedFilesPath(PathCharString& destination, const char *suffix, int suffixByteCount);
+    static bool AppendUInt32String(PathCharString& destination, UINT32 value);
 
     static bool EnsureDirectoryExists(const char *path, bool isGlobalLockAcquired, bool createIfNotExist = true, bool isSystemDirectory = false);
 private:
@@ -126,6 +125,12 @@ public:
 
     static bool TryAcquireFileLock(int fileDescriptor, int operation);
     static void ReleaseFileLock(int fileDescriptor);
+
+    static void VerifyStringOperation(bool success);
+    static void VerifyStringOperation(BOOL success)
+    {
+        VerifyStringOperation(success != FALSE); 
+    }
 };
 
 class SharedMemoryId
@@ -147,7 +152,7 @@ public:
     bool Equals(SharedMemoryId *other) const;
 
 public:
-    SIZE_T AppendSessionDirectoryName(char (&path)[SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1], SIZE_T pathCharCount) const;
+    bool AppendSessionDirectoryName(PathCharString& path) const;
 };
 
 enum class SharedMemoryType : UINT8
@@ -238,6 +243,9 @@ private:
     static CRITICAL_SECTION s_creationDeletionProcessLock;
     static int s_creationDeletionLockFileDescriptor;
 
+    static PathCharString* s_runtimeTempDirectoryPath;
+    static PathCharString* s_sharedMemoryDirectoryPath;
+
 private:
     static SharedMemoryProcessDataHeader *s_processDataHeaderListHead;
 
@@ -248,7 +256,7 @@ private:
 #endif // _DEBUG
 
 public:
-    static void StaticInitialize();
+    static bool StaticInitialize();
     static void StaticClose();
 
 public:
@@ -257,6 +265,9 @@ public:
     static void AcquireCreationDeletionFileLock();
     static void ReleaseCreationDeletionFileLock();
 
+public:
+    static bool CopySharedMemoryBasePath(PathCharString& destination);
+
 #ifdef _DEBUG
 public:
     static bool IsCreationDeletionProcessLockAcquired();
index 69b8704..3a0c979 100644 (file)
 
 #include <string.h>
 
-template<SIZE_T DestinationByteCount, SIZE_T SourceByteCount>
-SIZE_T SharedMemoryHelpers::CopyString(
-    char (&destination)[DestinationByteCount],
-    SIZE_T destinationStartOffset,
-    const char(&source)[SourceByteCount])
+template<SIZE_T SuffixByteCount>
+void SharedMemoryHelpers::BuildSharedFilesPath(
+    PathCharString& destination,
+    const char (&suffix)[SuffixByteCount])
 {
-    return CopyString(destination, destinationStartOffset, source, SourceByteCount - 1);
-}
-
-template<SIZE_T DestinationByteCount>
-SIZE_T SharedMemoryHelpers::CopyString(
-    char (&destination)[DestinationByteCount],
-    SIZE_T destinationStartOffset,
-    LPCSTR source,
-    SIZE_T sourceCharCount)
-{
-    _ASSERTE(destinationStartOffset < DestinationByteCount);
-    _ASSERTE(sourceCharCount < DestinationByteCount - destinationStartOffset);
-    _ASSERTE(strlen(source) == sourceCharCount);
-
-    memcpy_s(&destination[destinationStartOffset], DestinationByteCount - destinationStartOffset, source, sourceCharCount + 1);
-    return destinationStartOffset + sourceCharCount;
-}
-
-template<SIZE_T DestinationByteCount>
-SIZE_T SharedMemoryHelpers::AppendUInt32String(
-    char (&destination)[DestinationByteCount],
-    SIZE_T destinationStartOffset,
-    UINT32 value)
-{
-    _ASSERTE(destination != nullptr);
-    _ASSERTE(destinationStartOffset < DestinationByteCount);
-
-    int valueCharCount =
-        sprintf_s(&destination[destinationStartOffset], DestinationByteCount - destinationStartOffset, "%u", value);
-    _ASSERTE(valueCharCount > 0);
-    return destinationStartOffset + valueCharCount;
+    BuildSharedFilesPath(destination, suffix, SuffixByteCount - 1);
 }
 
 #endif // !_PAL_SHARED_MEMORY_INL_
index 1f18d5f..89fcd00 100644 (file)
@@ -129,6 +129,12 @@ public:
         return Set(s.m_buffer, s.m_count);
     }
 
+    template<SIZE_T bufferLength> BOOL Set(const T (&buffer)[bufferLength])
+    {
+        // bufferLength includes terminator character
+        return Set(buffer, bufferLength - 1);
+    }
+
     SIZE_T GetCount() const
     {
         return m_count;
@@ -157,6 +163,11 @@ public:
         return result;
     }
 
+    T * OpenStringBuffer()
+    {
+        return m_buffer;
+    }
+
     //count should not include the terminating null
     void CloseBuffer(SIZE_T count)
     {
@@ -198,21 +209,38 @@ public:
     {
         return Append(s.GetString(), s.GetCount());
     }
-   
-   BOOL IsEmpty()
-   {
-       return 0 == m_buffer[0];
-   }
-
-   void Clear()
-   {
-       m_count = 0;
-       NullTerminate();
-   }
-   ~StackString()
-   {
-       DeleteBuffer();
-   }
+
+    template<SIZE_T bufferLength> BOOL Append(const T (&buffer)[bufferLength])
+    {
+        // bufferLength includes terminator character
+        return Append(buffer, bufferLength - 1);
+    }
+
+    BOOL Append(T ch)
+    {
+        SIZE_T endpos = m_count;
+        if (!Resize(m_count + 1))
+            return FALSE;
+
+        m_buffer[endpos] = ch;
+        NullTerminate();
+        return TRUE;
+    }
+
+    BOOL IsEmpty()
+    {
+        return 0 == m_buffer[0];
+    }
+
+    void Clear()
+    {
+        m_count = 0;
+        NullTerminate();
+    }
+    ~StackString()
+    {
+        DeleteBuffer();
+    }
 };
 
 #if _DEBUG
index dafe43d..294f458 100644 (file)
@@ -355,6 +355,52 @@ Initialize(
         gPID = getpid();
         gSID = getsid(gPID);
 
+        // The gSharedFilesPath is allocated dynamically so its destructor does not get 
+        // called unexpectedly during cleanup
+        gSharedFilesPath = InternalNew<PathCharString>();
+        if (gSharedFilesPath == nullptr)
+        {
+            SetLastError(ERROR_NOT_ENOUGH_MEMORY);
+            goto done;
+        }
+
+#ifdef __APPLE__
+        // Store application group Id. It will be null if not set
+        gApplicationGroupId = getenv("DOTNET_SANDBOX_APPLICATION_GROUP_ID");
+
+        if (nullptr != gApplicationGroupId)
+        {
+            // Verify the length of the application group ID
+            gApplicationGroupIdLength = strlen(gApplicationGroupId);
+            if (gApplicationGroupIdLength > MAX_APPLICATION_GROUP_ID_LENGTH)
+            {
+                SetLastError(ERROR_BAD_LENGTH);
+                goto done;
+            }
+
+            // In sandbox, all IPC files (locks, pipes) should be written to the application group
+            // container. There will be no write permissions to TEMP_DIRECTORY_PATH
+            if (!GetApplicationContainerFolder(*gSharedFilesPath, gApplicationGroupId, gApplicationGroupIdLength))
+            {
+                SetLastError(ERROR_NOT_ENOUGH_MEMORY);
+                goto done;
+            }
+
+            // Verify the size of the path won't exceed maximum allowed size
+            if (gSharedFilesPath->GetCount() + SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1 /* null terminator */ > MAX_LONGPATH)
+            {
+                SetLastError(ERROR_FILENAME_EXCED_RANGE);
+            }
+        }
+        else
+#endif // __APPLE__
+        {
+            gSharedFilesPath->Set(TEMP_DIRECTORY_PATH);
+
+            // We can verify statically the non sandboxed case, since the size is known during compile time
+            static_assert_no_msg(string_countof(TEMP_DIRECTORY_PATH) + SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1 /* null terminator */ <= MAX_LONGPATH);
+        }
+
         fFirstTimeInit = true;
 
         InitializeDefaultStackSize();
@@ -393,7 +439,11 @@ Initialize(
             // we use large numbers of threads or have many open files.
         }
 
-        SharedMemoryManager::StaticInitialize();
+        if (!SharedMemoryManager::StaticInitialize())
+        {
+            ERROR("Shared memory static initialization failed!\n");
+            goto CLEANUP0;
+        }
 
         /* initialize the shared memory infrastructure */
         if (!SHMInitialize())
index 46c0714..af3934a 100644 (file)
@@ -9,6 +9,7 @@
 #include "pal/malloc.hpp"
 #include "pal/thread.hpp"
 #include "pal/virtual.h"
+#include "pal/process.h"
 
 #include <sys/file.h>
 #include <sys/mman.h>
@@ -135,8 +136,10 @@ bool SharedMemoryHelpers::EnsureDirectoryExists(
             return true;
         }
 
-        char tempPath[] = SHARED_MEMORY_UNIQUE_TEMP_NAME_TEMPLATE;
-        if (mkdtemp(tempPath) == nullptr)
+        PathCharString tempPath;
+        BuildSharedFilesPath(tempPath, SHARED_MEMORY_UNIQUE_TEMP_NAME_TEMPLATE);
+
+        if (mkdtemp(tempPath.OpenStringBuffer()) == nullptr)
         {
             throw SharedMemoryException(static_cast<DWORD>(SharedMemoryError::IO));
         }
@@ -164,7 +167,7 @@ bool SharedMemoryHelpers::EnsureDirectoryExists(
 
     if (isSystemDirectory)
     {
-        // For system directories (such as SHARED_MEMORY_TEMP_DIRECTORY_PATH), require sufficient permissions only for the
+        // For system directories (such as TEMP_DIRECTORY_PATH), require sufficient permissions only for the
         // current user. For instance, "docker run --mount ..." to mount /tmp to some directory on the host mounts the
         // destination directory with the same permissions as the source directory, which may not include some permissions for
         // other users. In the docker container, other user permissions are typically not relevant and relaxing the permissions
@@ -177,9 +180,9 @@ bool SharedMemoryHelpers::EnsureDirectoryExists(
         throw SharedMemoryException(static_cast<DWORD>(SharedMemoryError::IO));
     }
 
-    // For non-system directories (such as SHARED_MEMORY_RUNTIME_TEMP_DIRECTORY_PATH), require sufficient permissions for all
-    // users and try to update them if requested to create the directory, so that shared memory files may be shared by all
-    // processes on the system.
+    // For non-system directories (such as gSharedFilesPath/SHARED_MEMORY_RUNTIME_TEMP_DIRECTORY_NAME),
+    // require sufficient permissions for all users and try to update them if requested to create the directory, so that
+    // shared memory files may be shared by all processes on the system.
     if ((statInfo.st_mode & PermissionsMask_AllUsers_ReadWriteExecute) == PermissionsMask_AllUsers_ReadWriteExecute)
     {
         return true;
@@ -388,6 +391,34 @@ void SharedMemoryHelpers::ReleaseFileLock(int fileDescriptor)
     } while (flockResult != 0 && errno == EINTR);
 }
 
+void SharedMemoryHelpers::BuildSharedFilesPath(PathCharString& destination, const char *suffix, int suffixCharCount)
+{
+    _ASSERTE(strlen(suffix) == suffixCharCount);
+
+    VerifyStringOperation(destination.Set(*gSharedFilesPath));
+    VerifyStringOperation(destination.Append(suffix, suffixCharCount));
+}
+
+bool SharedMemoryHelpers::AppendUInt32String(
+    PathCharString& destination,
+    UINT32 value)
+{
+    char int32String[16];
+
+    int valueCharCount =
+        sprintf_s(int32String, sizeof(int32String), "%u", value);
+    _ASSERTE(valueCharCount > 0);
+    return destination.Append(int32String, valueCharCount) != FALSE;
+}
+
+void SharedMemoryHelpers::VerifyStringOperation(bool success)
+{
+    if (!success)
+    {
+        throw SharedMemoryException(static_cast<DWORD>(SharedMemoryError::OutOfMemory));
+    }
+}
+
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 // SharedMemoryId
 
@@ -471,22 +502,17 @@ bool SharedMemoryId::Equals(SharedMemoryId *other) const
         strcmp(GetName(), other->GetName()) == 0;
 }
 
-SIZE_T SharedMemoryId::AppendSessionDirectoryName(
-    char (&path)[SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1],
-    SIZE_T pathCharCount) const
+bool SharedMemoryId::AppendSessionDirectoryName(PathCharString& path) const
 {
     if (IsSessionScope())
     {
-        pathCharCount = SharedMemoryHelpers::CopyString(path, pathCharCount, SHARED_MEMORY_SESSION_DIRECTORY_NAME_PREFIX);
-        pathCharCount = SharedMemoryHelpers::AppendUInt32String(path, pathCharCount, GetCurrentSessionId());
+        return path.Append(SHARED_MEMORY_SESSION_DIRECTORY_NAME_PREFIX) != FALSE
+            && SharedMemoryHelpers::AppendUInt32String(path, GetCurrentSessionId());
     }
     else
     {
-        pathCharCount = SharedMemoryHelpers::CopyString(path, pathCharCount, SHARED_MEMORY_GLOBAL_DIRECTORY_NAME);
+        return path.Append(SHARED_MEMORY_GLOBAL_DIRECTORY_NAME) != FALSE;
     }
-
-    _ASSERTE(pathCharCount <= SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT);
-    return pathCharCount;
 }
 
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -538,12 +564,13 @@ SharedMemoryProcessDataHeader *SharedMemoryProcessDataHeader::CreateOrOpen(
         *createdRef = false;
     }
 
+    PathCharString filePath;
     SharedMemoryId id(name);
 
     struct AutoCleanup
     {
         bool m_acquiredCreationDeletionFileLock;
-        char *m_filePath;
+        PathCharString *m_filePath;
         SIZE_T m_sessionDirectoryPathCharCount;
         bool m_createdFile;
         int m_fileDescriptor;
@@ -592,14 +619,14 @@ SharedMemoryProcessDataHeader *SharedMemoryProcessDataHeader::CreateOrOpen(
             if (m_createdFile)
             {
                 _ASSERTE(m_filePath != nullptr);
-                unlink(m_filePath);
+                unlink(*m_filePath);
             }
 
             if (m_sessionDirectoryPathCharCount != 0)
             {
-                _ASSERTE(m_filePath != nullptr);
-                m_filePath[m_sessionDirectoryPathCharCount] = '\0';
-                rmdir(m_filePath);
+                _ASSERTE(*m_filePath != nullptr);
+                m_filePath->CloseBuffer(m_sessionDirectoryPathCharCount);
+                rmdir(*m_filePath);
             }
 
             if (m_acquiredCreationDeletionFileLock)
@@ -623,21 +650,21 @@ SharedMemoryProcessDataHeader *SharedMemoryProcessDataHeader::CreateOrOpen(
     autoCleanup.m_acquiredCreationDeletionFileLock = true;
 
     // Create the session directory
-    char filePath[SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1];
-    SIZE_T filePathCharCount = SharedMemoryHelpers::CopyString(filePath, 0, SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_PATH);
-    filePath[filePathCharCount++] = '/';
-    filePathCharCount = id.AppendSessionDirectoryName(filePath, filePathCharCount);
+    SharedMemoryHelpers::VerifyStringOperation(SharedMemoryManager::CopySharedMemoryBasePath(filePath));
+    SharedMemoryHelpers::VerifyStringOperation(filePath.Append('/'));
+    SharedMemoryHelpers::VerifyStringOperation(id.AppendSessionDirectoryName(filePath));
     if (!SharedMemoryHelpers::EnsureDirectoryExists(filePath, true /* isGlobalLockAcquired */, createIfNotExist))
     {
         _ASSERTE(!createIfNotExist);
         return nullptr;
     }
-    autoCleanup.m_filePath = filePath;
-    autoCleanup.m_sessionDirectoryPathCharCount = filePathCharCount;
+    autoCleanup.m_filePath = &filePath;
+    autoCleanup.m_sessionDirectoryPathCharCount = filePath.GetCount();
 
     // Create or open the shared memory file
-    filePath[filePathCharCount++] = '/';
-    filePathCharCount = SharedMemoryHelpers::CopyString(filePath, filePathCharCount, id.GetName(), id.GetNameCharCount());
+    SharedMemoryHelpers::VerifyStringOperation(filePath.Append('/'));
+    SharedMemoryHelpers::VerifyStringOperation(filePath.Append(id.GetName(), id.GetNameCharCount()));
+
     bool createdFile;
     int fileDescriptor = SharedMemoryHelpers::CreateOrOpenFile(filePath, createIfNotExist, &createdFile);
     if (fileDescriptor == -1)
@@ -919,16 +946,25 @@ void SharedMemoryProcessDataHeader::Close()
         return;
     }
 
-    // Delete the shared memory file, and the session directory if it's not empty
-    char path[SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1];
-    SIZE_T sessionDirectoryPathCharCount = SharedMemoryHelpers::CopyString(path, 0, SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_PATH);
-    path[sessionDirectoryPathCharCount++] = '/';
-    sessionDirectoryPathCharCount = m_id.AppendSessionDirectoryName(path, sessionDirectoryPathCharCount);
-    path[sessionDirectoryPathCharCount++] = '/';
-    SharedMemoryHelpers::CopyString(path, sessionDirectoryPathCharCount, m_id.GetName(), m_id.GetNameCharCount());
-    unlink(path);
-    path[sessionDirectoryPathCharCount] = '\0';
-    rmdir(path);
+    try
+    {
+        // Delete the shared memory file, and the session directory if it's not empty
+        PathCharString path;
+        SharedMemoryHelpers::VerifyStringOperation(SharedMemoryManager::CopySharedMemoryBasePath(path));
+        SharedMemoryHelpers::VerifyStringOperation(path.Append('/'));
+        SharedMemoryHelpers::VerifyStringOperation(m_id.AppendSessionDirectoryName(path));
+        SharedMemoryHelpers::VerifyStringOperation(path.Append('/'));
+
+        SIZE_T sessionDirectoryPathCharCount = path.GetCount();
+        SharedMemoryHelpers::VerifyStringOperation(path.Append(m_id.GetName(), m_id.GetNameCharCount()));
+        unlink(path);
+        path.CloseBuffer(sessionDirectoryPathCharCount);
+        rmdir(path);
+    }
+    catch (SharedMemoryException)
+    {
+        // Ignore the error, just don't release shared data
+    }
 }
 
 SharedMemoryId *SharedMemoryProcessDataHeader::GetId()
@@ -998,15 +1034,36 @@ CRITICAL_SECTION SharedMemoryManager::s_creationDeletionProcessLock;
 int SharedMemoryManager::s_creationDeletionLockFileDescriptor = -1;
 
 SharedMemoryProcessDataHeader *SharedMemoryManager::s_processDataHeaderListHead = nullptr;
+PathCharString* SharedMemoryManager::s_runtimeTempDirectoryPath;
+PathCharString* SharedMemoryManager::s_sharedMemoryDirectoryPath;
 
 #ifdef _DEBUG
 SIZE_T SharedMemoryManager::s_creationDeletionProcessLockOwnerThreadId = SharedMemoryHelpers::InvalidThreadId;
 SIZE_T SharedMemoryManager::s_creationDeletionFileLockOwnerThreadId = SharedMemoryHelpers::InvalidThreadId;
 #endif // _DEBUG
 
-void SharedMemoryManager::StaticInitialize()
+bool SharedMemoryManager::StaticInitialize()
 {
     InitializeCriticalSection(&s_creationDeletionProcessLock);
+
+    s_runtimeTempDirectoryPath = InternalNew<PathCharString>();
+    s_sharedMemoryDirectoryPath = InternalNew<PathCharString>();
+
+    if (s_runtimeTempDirectoryPath && s_sharedMemoryDirectoryPath)
+    {
+        try
+        {
+            SharedMemoryHelpers::BuildSharedFilesPath(*s_runtimeTempDirectoryPath, SHARED_MEMORY_RUNTIME_TEMP_DIRECTORY_NAME);
+            SharedMemoryHelpers::BuildSharedFilesPath(*s_sharedMemoryDirectoryPath, SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_NAME);
+
+            return true;
+        }
+        catch (SharedMemoryException)
+        {
+            // Ignore and let function fail
+        }
+    }
+    return false;
 }
 
 void SharedMemoryManager::StaticClose()
@@ -1056,7 +1113,7 @@ void SharedMemoryManager::AcquireCreationDeletionFileLock()
     if (s_creationDeletionLockFileDescriptor == -1)
     {
         if (!SharedMemoryHelpers::EnsureDirectoryExists(
-                SHARED_MEMORY_TEMP_DIRECTORY_PATH,
+                *gSharedFilesPath,
                 false /* isGlobalLockAcquired */,
                 false /* createIfNotExist */,
                 true /* isSystemDirectory */))
@@ -1064,12 +1121,12 @@ void SharedMemoryManager::AcquireCreationDeletionFileLock()
             throw SharedMemoryException(static_cast<DWORD>(SharedMemoryError::IO));
         }
         SharedMemoryHelpers::EnsureDirectoryExists(
-            SHARED_MEMORY_RUNTIME_TEMP_DIRECTORY_PATH,
+            *s_runtimeTempDirectoryPath,
             false /* isGlobalLockAcquired */);
         SharedMemoryHelpers::EnsureDirectoryExists(
-            SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_PATH,
+            *s_sharedMemoryDirectoryPath,
             false /* isGlobalLockAcquired */);
-        s_creationDeletionLockFileDescriptor = SharedMemoryHelpers::OpenDirectory(SHARED_MEMORY_SHARED_MEMORY_DIRECTORY_PATH);
+        s_creationDeletionLockFileDescriptor = SharedMemoryHelpers::OpenDirectory(*s_sharedMemoryDirectoryPath);
         if (s_creationDeletionLockFileDescriptor == -1)
         {
             throw SharedMemoryException(static_cast<DWORD>(SharedMemoryError::IO));
@@ -1161,3 +1218,8 @@ SharedMemoryProcessDataHeader *SharedMemoryManager::FindProcessDataHeader(Shared
     }
     return nullptr;
 }
+
+bool SharedMemoryManager::CopySharedMemoryBasePath(PathCharString& destination)
+{
+    return destination.Set(*s_sharedMemoryDirectoryPath) != FALSE;
+}
index bbc3e2d..a018d9d 100644 (file)
@@ -1069,13 +1069,17 @@ SharedMemoryProcessDataHeader *NamedMutexProcessData::CreateOrOpen(
     _ASSERTE(name != nullptr);
     _ASSERTE(createIfNotExist || !acquireLockIfCreated);
 
+#if !NAMED_MUTEX_USE_PTHREAD_MUTEX
+    PathCharString lockFilePath;
+#endif // !NAMED_MUTEX_USE_PTHREAD_MUTEX
+
     struct AutoCleanup
     {
         bool m_acquiredCreationDeletionProcessLock;
         bool m_acquiredCreationDeletionFileLock;
         SharedMemoryProcessDataHeader *m_processDataHeader;
     #if !NAMED_MUTEX_USE_PTHREAD_MUTEX
-        char *m_lockFilePath;
+        PathCharString *m_lockFilePath;
         SIZE_T m_sessionDirectoryPathCharCount;
         bool m_createdLockFile;
         int m_lockFileDescriptor;
@@ -1109,14 +1113,14 @@ SharedMemoryProcessDataHeader *NamedMutexProcessData::CreateOrOpen(
                 if (m_createdLockFile)
                 {
                     _ASSERTE(m_lockFilePath != nullptr);
-                    unlink(m_lockFilePath);
+                    unlink(*m_lockFilePath);
                 }
 
                 if (m_sessionDirectoryPathCharCount != 0)
                 {
                     _ASSERTE(m_lockFilePath != nullptr);
-                    m_lockFilePath[m_sessionDirectoryPathCharCount] = '\0';
-                    rmdir(m_lockFilePath);
+                    m_lockFilePath->CloseBuffer(m_sessionDirectoryPathCharCount);
+                    rmdir(*m_lockFilePath);
                 }
             }
         #endif // !NAMED_MUTEX_USE_PTHREAD_MUTEX
@@ -1179,29 +1183,26 @@ SharedMemoryProcessDataHeader *NamedMutexProcessData::CreateOrOpen(
     {
     #if !NAMED_MUTEX_USE_PTHREAD_MUTEX
         // Create the lock files directory
-        char lockFilePath[SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1];
-        SIZE_T lockFilePathCharCount =
-            SharedMemoryHelpers::CopyString(lockFilePath, 0, SHARED_MEMORY_LOCK_FILES_DIRECTORY_PATH);
+        SharedMemoryHelpers::BuildSharedFilesPath(lockFilePath, SHARED_MEMORY_LOCK_FILES_DIRECTORY_NAME);
         if (created)
         {
             SharedMemoryHelpers::EnsureDirectoryExists(lockFilePath, true /* isGlobalLockAcquired */);
         }
 
         // Create the session directory
-        lockFilePath[lockFilePathCharCount++] = '/';
         SharedMemoryId *id = processDataHeader->GetId();
-        lockFilePathCharCount = id->AppendSessionDirectoryName(lockFilePath, lockFilePathCharCount);
+        SharedMemoryHelpers::VerifyStringOperation(lockFilePath.Append('/'));
+        SharedMemoryHelpers::VerifyStringOperation(id->AppendSessionDirectoryName(lockFilePath));
         if (created)
         {
             SharedMemoryHelpers::EnsureDirectoryExists(lockFilePath, true /* isGlobalLockAcquired */);
-            autoCleanup.m_lockFilePath = lockFilePath;
-            autoCleanup.m_sessionDirectoryPathCharCount = lockFilePathCharCount;
+            autoCleanup.m_lockFilePath = &lockFilePath;
+            autoCleanup.m_sessionDirectoryPathCharCount = lockFilePath.GetCount();
         }
 
         // Create or open the lock file
-        lockFilePath[lockFilePathCharCount++] = '/';
-        lockFilePathCharCount =
-            SharedMemoryHelpers::CopyString(lockFilePath, lockFilePathCharCount, id->GetName(), id->GetNameCharCount());
+        SharedMemoryHelpers::VerifyStringOperation(lockFilePath.Append('/'));
+        SharedMemoryHelpers::VerifyStringOperation(lockFilePath.Append(id->GetName(), id->GetNameCharCount()));
         int lockFileDescriptor = SharedMemoryHelpers::CreateOrOpenFile(lockFilePath, created);
         if (lockFileDescriptor == -1)
         {
@@ -1316,17 +1317,25 @@ void NamedMutexProcessData::Close(bool isAbruptShutdown, bool releaseSharedData)
         return;
     }
 
-    // Delete the lock file, and the session directory if it's not empty
-    char path[SHARED_MEMORY_MAX_FILE_PATH_CHAR_COUNT + 1];
-    SIZE_T sessionDirectoryPathCharCount = SharedMemoryHelpers::CopyString(path, 0, SHARED_MEMORY_LOCK_FILES_DIRECTORY_PATH);
-    path[sessionDirectoryPathCharCount++] = '/';
-    SharedMemoryId *id = m_processDataHeader->GetId();
-    sessionDirectoryPathCharCount = id->AppendSessionDirectoryName(path, sessionDirectoryPathCharCount);
-    path[sessionDirectoryPathCharCount++] = '/';
-    SharedMemoryHelpers::CopyString(path, sessionDirectoryPathCharCount, id->GetName(), id->GetNameCharCount());
-    unlink(path);
-    path[sessionDirectoryPathCharCount] = '\0';
-    rmdir(path);
+    try
+    {
+        // Delete the lock file, and the session directory if it's not empty
+        PathCharString path;
+        SharedMemoryHelpers::BuildSharedFilesPath(path, SHARED_MEMORY_LOCK_FILES_DIRECTORY_NAME);
+        SharedMemoryId *id = m_processDataHeader->GetId();
+        SharedMemoryHelpers::VerifyStringOperation(path.Append('/'));
+        SharedMemoryHelpers::VerifyStringOperation(id->AppendSessionDirectoryName(path));
+        SharedMemoryHelpers::VerifyStringOperation(path.Append('/'));
+        SIZE_T sessionDirectoryPathCharCount = path.GetCount();
+        SharedMemoryHelpers::VerifyStringOperation(path.Append(id->GetName(), id->GetNameCharCount()));
+        unlink(path);
+        path.CloseBuffer(sessionDirectoryPathCharCount);
+        rmdir(path);
+    }
+    catch (SharedMemoryException)
+    {
+        // Ignore the error, just don't release shared data
+    }
 #endif // !NAMED_MUTEX_USE_PTHREAD_MUTEX
 }
 
index 19d3c08..0141b07 100644 (file)
@@ -139,6 +139,13 @@ Volatile<LONG> terminator = 0;
 DWORD gPID = (DWORD) -1;
 DWORD gSID = (DWORD) -1;
 
+// Application group ID for this process
+#ifdef __APPLE__
+LPCSTR gApplicationGroupId = nullptr;
+int gApplicationGroupIdLength = 0;
+#endif // __APPLE__
+PathCharString* gSharedFilesPath = nullptr;
+
 // The lowest common supported semaphore length, including null character
 // NetBSD-7.99.25: 15 characters
 // MacOSX 10.11: 31 -- Core 1.0 RC2 compatibility
@@ -1983,6 +1990,15 @@ exit:
     return launched;
 }
 
+#ifdef __APPLE__
+LPCSTR
+PALAPI
+PAL_GetApplicationGroupId()
+{
+    return gApplicationGroupId;
+}
+#endif // __APPLE__
+
 /*++
  Function:
   GetProcessIdDisambiguationKey
@@ -3945,6 +3961,21 @@ PROCGetProcessStatusExit:
     return palError;
 }
 
+#ifdef __APPLE__
+bool GetApplicationContainerFolder(PathCharString& buffer, const char *applicationGroupId, int applicationGroupIdLength)
+{
+    const char *homeDir = getpwuid(getuid())->pw_dir;
+    int homeDirLength = strlen(homeDir);
+
+    // The application group container folder is defined as:
+    // /user/{loginname}/Library/Group Containers/{AppGroupId}/
+    return buffer.Set(homeDir, homeDirLength)
+        && buffer.Append(APPLICATION_CONTAINER_BASE_PATH_SUFFIX)
+        && buffer.Append(applicationGroupId, applicationGroupIdLength)
+        && buffer.Append('/');
+}
+#endif // __APPLE__
+
 #ifdef _DEBUG
 void PROCDumpThreadList()
 {
diff --git a/src/pal/tests/palsuite/c_runtime/fma/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/fma/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/fma/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/fma/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bb478cb
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.cpp
+)
+
+add_executable(paltest_fma_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_fma_test1 coreclrpal)
+
+target_link_libraries(paltest_fma_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp b/src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp
new file mode 100644 (file)
index 0000000..f6918d6
--- /dev/null
@@ -0,0 +1,151 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that fma returns correct values for a subset of values.
+**          Tests with positive and negative values of x, y, and z to ensure
+**          fmaf is returning correct results.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+// binary64 (double) has a machine epsilon of 2^-52 (approx. 2.22e-16). However, this 
+// is slightly too accurate when writing tests meant to run against libm implementations
+// for various platforms. 2^-50 (approx. 8.88e-16) seems to be as accurate as we can get.
+//
+// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
+// so that the delta used for comparison will compare the most significant digits and ignore
+// any digits that are outside the double precision range (15-17 digits).
+
+// For example, a test with an expect result in the format of 0.xxxxxxxxxxxxxxxxx will use
+// PAL_EPSILON for the variance, while an expected result in the format of 0.0xxxxxxxxxxxxxxxxx
+// will use PAL_EPSILON / 10 and and expected result in the format of x.xxxxxxxxxxxxxxxx will
+// use PAL_EPSILON * 10.
+#define PAL_EPSILON 8.8817841970012523e-16
+
+#define PAL_NAN     sqrt(-1.0)
+#define PAL_POSINF -log(0.0)
+#define PAL_NEGINF  log(0.0)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    double x;         /* first component of the value to test the function with */
+    double y;         /* second component of the value to test the function with */
+    double z;         /* third component of the value to test the function with */
+    double expected;  /* expected result */
+    double variance;  /* maximum delta between the expected and actual result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(double x, double y, double z, double expected, double variance)
+{
+    double result = fma(x, y, z);
+
+    /*
+     * The test is valid when the difference between result
+     * and expected is less than or equal to variance
+     */
+    double delta = fabs(result - expected);
+
+    if (delta > variance)
+    {
+        Fail("fma(%g, %g, %g) returned %20.17g when it should have returned %20.17g",
+             x, y, z, result, expected);
+    }
+}
+
+/**
+ * validate
+ *
+ * test validation function for values returning NaN
+ */
+void __cdecl validate_isnan(double x, double y, double z)
+{
+    double result = fma(x, y, z);
+
+    if (!_isnan(result))
+    {
+        Fail("fma(%g, %g, %g) returned %20.17g when it should have returned %20.17g",
+             x, y, z, result, PAL_NAN);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* x                       y                       z                       expected                   variance */
+        {  PAL_NEGINF,             PAL_NEGINF,             PAL_NEGINF,             PAL_NEGINF,                0 },
+        { -1e308,                  2,                      1e300,                 -1e300,                     0 },
+        {  1e308,                  2,                     -1e300,                  1e300,                     0 },
+        {  PAL_POSINF,             PAL_POSINF,             PAL_POSINF,             PAL_POSINF,                0 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
+    }
+
+    // Returns NaN if x or y is infinite, the other is zero, and z is NaN
+    validate_isnan(PAL_NEGINF, 0, PAL_NAN);
+    validate_isnan(PAL_POSINF, 0, PAL_NAN);
+    validate_isnan(0, PAL_NEGINF, PAL_NAN);
+    validate_isnan(0, PAL_POSINF, PAL_NAN);
+
+    // Returns NaN if x or y is infinite, the other is zero, and z is not-NaN
+    validate_isnan(PAL_POSINF, 0, PAL_NEGINF);
+    validate_isnan(PAL_NEGINF, 0, PAL_NEGINF);
+    validate_isnan(0, PAL_POSINF, PAL_NEGINF);
+    validate_isnan(0, PAL_NEGINF, PAL_NEGINF);
+    
+    validate_isnan(PAL_POSINF, 0, 0);
+    validate_isnan(PAL_NEGINF, 0, 0);
+    validate_isnan(0, PAL_POSINF, 0);
+    validate_isnan(0, PAL_NEGINF, 0);
+
+    validate_isnan(PAL_POSINF, 0, PAL_POSINF);
+    validate_isnan(PAL_NEGINF, 0, PAL_POSINF);
+    validate_isnan(0, PAL_POSINF, PAL_POSINF);
+    validate_isnan(0, PAL_NEGINF, PAL_POSINF);
+
+    // Returns NaN if (x * y) is infinite, and z is an infinite of the opposite sign
+    validate_isnan(PAL_POSINF, PAL_POSINF, PAL_NEGINF);
+    validate_isnan(PAL_NEGINF, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(PAL_POSINF, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(PAL_NEGINF, PAL_POSINF, PAL_POSINF);
+
+    validate_isnan(PAL_POSINF, 1, PAL_NEGINF);
+    validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
+    validate_isnan(PAL_POSINF, 1, PAL_POSINF);
+    validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
+
+    validate_isnan(1, PAL_POSINF, PAL_NEGINF);
+    validate_isnan(1, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(1, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(1, PAL_POSINF, PAL_POSINF);
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/fma/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/fma/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..22bf0e7
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = fma
+Name = Call fma with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the fma function with various num/exponent pairs
+= that should produce std answers.
+
+
+
+
diff --git a/src/pal/tests/palsuite/c_runtime/fmaf/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/fmaf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/fmaf/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/fmaf/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d723d32
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.c
+)
+
+add_executable(paltest_fmaf_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_fmaf_test1 coreclrpal)
+
+target_link_libraries(paltest_fmaf_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.c b/src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.c
new file mode 100644 (file)
index 0000000..7c3b5e3
--- /dev/null
@@ -0,0 +1,150 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that fmaf returns correct values for a subset of values.
+**          Tests with positive and negative values of x, y, and z to ensure
+**          fmaf is returning correct results.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+// binary32 (float) has a machine epsilon of 2^-23 (approx. 1.19e-07). However, this 
+// is slightly too accurate when writing tests meant to run against libm implementations
+// for various platforms. 2^-21 (approx. 4.76e-07) seems to be as accurate as we can get.
+//
+// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
+// so that the delta used for comparison will compare the most significant digits and ignore
+// any digits that are outside the double precision range (6-9 digits).
+
+// For example, a test with an expect result in the format of 0.xxxxxxxxx will use PAL_EPSILON
+// for the variance, while an expected result in the format of 0.0xxxxxxxxx will use
+// PAL_EPSILON / 10 and and expected result in the format of x.xxxxxx will use PAL_EPSILON * 10.
+#define PAL_EPSILON 4.76837158e-07
+
+#define PAL_NAN     sqrtf(-1.0f)
+#define PAL_POSINF -logf(0.0f)
+#define PAL_NEGINF  logf(0.0f)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    float x;         /* first component of the value to test the function with */
+    float y;         /* second component of the value to test the function with */
+    float z;         /* third component of the value to test the function with */
+    float expected;  /* expected result */
+    float variance;  /* maximum delta between the expected and actual result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(float x, float y, float z, float expected, float variance)
+{
+    float result = fmaf(x, y, z);
+
+    /*
+     * The test is valid when the difference between result
+     * and expected is less than or equal to variance
+     */
+    float delta = fabsf(result - expected);
+
+    if (delta > variance)
+    {
+        Fail("fmaf(%g, %g, %g) returned %10.9g when it should have returned %10.9g",
+             x, y, z, result, expected);
+    }
+}
+
+/**
+ * validate
+ *
+ * test validation function for values returning NaN
+ */
+void __cdecl validate_isnan(float x, float y, float z)
+{
+    float result = fmaf(x, y, z);
+
+    if (!_isnanf(result))
+    {
+        Fail("fmaf(%g, %g, %g) returned %10.9g when it should have returned %10.9g",
+             x, y, z, result, PAL_NAN);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* x                y                z                expected            variance */
+        {  PAL_NEGINF,      PAL_NEGINF,      PAL_NEGINF,      PAL_NEGINF,         0 },
+        { -1e38,            2,               1e38,           -1e38,               0 },
+        {  1e38,            2,              -1e38,            1e38,               0 },
+        {  PAL_POSINF,      PAL_POSINF,      PAL_POSINF,      PAL_POSINF,         0 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
+    }
+
+    // Returns NaN if x or y is infinite, the other is zero, and z is NaN
+    validate_isnan(PAL_NEGINF, 0, PAL_NAN);
+    validate_isnan(PAL_POSINF, 0, PAL_NAN);
+    validate_isnan(0, PAL_NEGINF, PAL_NAN);
+    validate_isnan(0, PAL_POSINF, PAL_NAN);
+
+    // Returns NaN if x or y is infinite, the other is zero, and z is not-NaN
+    validate_isnan(PAL_POSINF, 0, PAL_NEGINF);
+    validate_isnan(PAL_NEGINF, 0, PAL_NEGINF);
+    validate_isnan(0, PAL_POSINF, PAL_NEGINF);
+    validate_isnan(0, PAL_NEGINF, PAL_NEGINF);
+    
+    validate_isnan(PAL_POSINF, 0, 0);
+    validate_isnan(PAL_NEGINF, 0, 0);
+    validate_isnan(0, PAL_POSINF, 0);
+    validate_isnan(0, PAL_NEGINF, 0);
+
+    validate_isnan(PAL_POSINF, 0, PAL_POSINF);
+    validate_isnan(PAL_NEGINF, 0, PAL_POSINF);
+    validate_isnan(0, PAL_POSINF, PAL_POSINF);
+    validate_isnan(0, PAL_NEGINF, PAL_POSINF);
+
+    // Returns NaN if (x * y) is infinite, and z is an infinite of the opposite sign
+    validate_isnan(PAL_POSINF, PAL_POSINF, PAL_NEGINF);
+    validate_isnan(PAL_NEGINF, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(PAL_POSINF, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(PAL_NEGINF, PAL_POSINF, PAL_POSINF);
+
+    validate_isnan(PAL_POSINF, 1, PAL_NEGINF);
+    validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
+    validate_isnan(PAL_POSINF, 1, PAL_POSINF);
+    validate_isnan(PAL_NEGINF, 1, PAL_POSINF);
+
+    validate_isnan(1, PAL_POSINF, PAL_NEGINF);
+    validate_isnan(1, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(1, PAL_NEGINF, PAL_POSINF);
+    validate_isnan(1, PAL_POSINF, PAL_POSINF);
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/fmaf/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/fmaf/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..8ca9fb7
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = fmaf
+Name = Call fmaf with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the fmaf function with various num/expfonent pairs
+= that should produce std answers.
+
+
+
+
diff --git a/src/pal/tests/palsuite/c_runtime/ilogb/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/ilogb/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/ilogb/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/ilogb/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8df6908
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.cpp
+)
+
+add_executable(paltest_ilogb_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_ilogb_test1 coreclrpal)
+
+target_link_libraries(paltest_ilogb_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp b/src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp
new file mode 100644 (file)
index 0000000..5df6fcf
--- /dev/null
@@ -0,0 +1,101 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that ilogb returns correct values.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+#define PAL_NAN     sqrt(-1.0)
+#define PAL_POSINF -log(0.0)
+#define PAL_NEGINF  log(0.0)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    double value;     /* value to test the function with */
+    int expected;     /* expected result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(double value, int expected)
+{
+    int result = ilogb(value);
+
+    if (result != expected)
+    {
+        Fail("ilogb(%g) returned %10.10g when it should have returned %10.10g",
+             value, result, expected);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* value                       expected */
+        {  PAL_NEGINF,                 0x80000000 },
+        {  0,                          0x80000000 },
+        {  PAL_POSINF,                 0x80000000 },
+        {  0.11331473229676087,       -3          },   // expected: -(pi)
+        {  0.15195522325791297,       -2          },   // expected: -(e)
+        {  0.20269956628651730,       -2          },   // expected: -(ln(10))
+        {  0.33662253682241906,       -1          },   // expected: -(pi / 2)
+        {  0.36787944117144232,       -1          },   // expected: -(log2(e))
+        {  0.37521422724648177,       -1          },   // expected: -(sqrt(2))
+        {  0.45742934732229695,       -1          },   // expected: -(2 / sqrt(pi))
+        {  0.5,                       -1          },   // expected: -(1)
+        {  0.58019181037172444,        0          },   // expected: -(pi / 4)
+        {  0.61254732653606592,        0          },   // expected: -(1 / sqrt(2))
+        {  0.61850313780157598,        0          },   // expected: -(ln(2))
+        {  0.64321824193300488,        0          },   // expected: -(2 / pi)
+        {  0.74005557395545179,        0          },   // expected: -(log10(e))
+        {  0.80200887896145195,        0          },   // expected: -(1 / pi)
+        {  1,                          0          },
+        {  1.2468689889006383,         0          },   // expected:  1 / pi
+        {  1.3512498725672678,         0          },   // expected:  log10(e)
+        {  1.5546822754821001,         0          },   // expected:  2 / pi
+        {  1.6168066722416747,         0          },   // expected:  ln(2)
+        {  1.6325269194381528,         0          },   // expected:  1 / sqrt(2)
+        {  1.7235679341273495,         0          },   // expected:  pi / 4
+        {  2,                          1          },
+        {  2.1861299583286618,         1          },   // expected:  2 / sqrt(pi)
+        {  2.6651441426902252,         1          },   // expected:  sqrt(2)
+        {  2.7182818284590452,         1          },   // expected:  log2(e)             value: e
+        {  2.9706864235520193,         1          },   // expected:  pi / 2
+        {  4.9334096679145963,         2          },   // expected:  ln(10)
+        {  6.5808859910179210,         2          },   // expected:  e
+        {  8.8249778270762876,         3          },   // expected:  pi
+        {  PAL_NAN,                    2147483647 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].value, tests[i].expected);
+    }
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/ilogb/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/ilogb/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..05549db
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = ilogb
+Name = Call ilogb with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the ilogb function with various num/exponent pairs
+= that should produce std answers.
+
+
+
+
diff --git a/src/pal/tests/palsuite/c_runtime/ilogbf/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/ilogbf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/ilogbf/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/ilogbf/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b478f69
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.c
+)
+
+add_executable(paltest_ilogbf_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_ilogbf_test1 coreclrpal)
+
+target_link_libraries(paltest_ilogbf_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.c b/src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.c
new file mode 100644 (file)
index 0000000..2b97e44
--- /dev/null
@@ -0,0 +1,101 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that ilogbf returns correct values.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+#define PAL_NAN     sqrtf(-1.0f)
+#define PAL_POSINF -logf(0.0f)
+#define PAL_NEGINF  logf(0.0f)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    float value;     /* value to test the function with */
+    int expected;    /* expected result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(float value, int expected)
+{
+    float result = ilogbf(value);
+
+    if (result != expected)
+    {
+        Fail("ilogbf(%g) returned %10.10g when it should have returned %10.10g",
+             value, result, expected);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* value                expected */
+        {  PAL_NEGINF,          0x80000000 },
+        {  0,                   0x80000000 },
+        {  PAL_POSINF,          0x80000000 },
+        {  0.113314732f,       -3          },   // expected: -(pi)
+        {  0.151955223f,       -2          },   // expected: -(e)
+        {  0.202699566f,       -2          },   // expected: -(ln(10))
+        {  0.336622537f,       -1          },   // expected: -(pi / 2)
+        {  0.367879441f,       -1          },   // expected: -(log2(e))
+        {  0.375214227f,       -1          },   // expected: -(sqrt(2))
+        {  0.457429347f,       -1          },   // expected: -(2 / sqrt(pi))
+        {  0.5f,               -1          },   // expected: -(1)
+        {  0.580191810f,        0          },   // expected: -(pi / 4)
+        {  0.612547327f,        0          },   // expected: -(1 / sqrt(2))
+        {  0.618503138f,        0          },   // expected: -(ln(2))
+        {  0.643218242f,        0          },   // expected: -(2 / pi)
+        {  0.740055574f,        0          },   // expected: -(log10(e))
+        {  0.802008879f,        0          },   // expected: -(1 / pi)
+        {  1,                   0          },
+        {  1.24686899f,         0          },   // expected:  1 / pi
+        {  1.35124987f,         0          },   // expected:  log10(e)
+        {  1.55468228f,         0          },   // expected:  2 / pi
+        {  1.61680667f,         0          },   // expected:  ln(2)
+        {  1.63252692f,         0          },   // expected:  1 / sqrt(2)
+        {  1.72356793f,         0          },   // expected:  pi / 4
+        {  2,                   1          },
+        {  2.18612996f,         1          },   // expected:  2 / sqrt(pi)
+        {  2.66514414f,         1          },   // expected:  sqrt(2)
+        {  2.71828183f,         1          },   // expected:  log2(e)             value: e
+        {  2.97068642f,         1          },   // expected:  pi / 2
+        {  4.93340967f,         2          },   // expected:  ln(10)
+        {  6.58088599f,         2          },   // expected:  e
+        {  8.82497783f,         3          },   // expected:  pi
+        {  PAL_NAN,             2147483647 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].value, tests[i].expected);
+    }
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/ilogbf/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/ilogbf/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..8337bba
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = ilogbf
+Name = Call ilogbf with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the ilogbf function with various num/expfonent pairs
+= that should produce std answers.
+
+
+
+
diff --git a/src/pal/tests/palsuite/c_runtime/log2/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/log2/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/log2/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/log2/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ea0c178
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.cpp
+)
+
+add_executable(paltest_log2_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_log2_test1 coreclrpal)
+
+target_link_libraries(paltest_log2_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp b/src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp
new file mode 100644 (file)
index 0000000..c7900a0
--- /dev/null
@@ -0,0 +1,139 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that log2 returns correct values.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+// binary64 (double) has a machine epsilon of 2^-52 (approx. 2.22e-16). However, this 
+// is slightly too accurate when writing tests meant to run against libm implementations
+// for various platforms. 2^-50 (approx. 8.88e-16) seems to be as accurate as we can get.
+//
+// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
+// so that the delta used for comparison will compare the most significant digits and ignore
+// any digits that are outside the double precision range (15-17 digits).
+
+// For example, a test with an expect result in the format of 0.xxxxxxxxxxxxxxxxx will use
+// PAL_EPSILON for the variance, while an expected result in the format of 0.0xxxxxxxxxxxxxxxxx
+// will use PAL_EPSILON / 10 and and expected result in the format of x.xxxxxxxxxxxxxxxx will
+// use PAL_EPSILON * 10.
+#define PAL_EPSILON 8.8817841970012523e-16
+
+#define PAL_NAN     sqrt(-1.0)
+#define PAL_POSINF -log(0.0)
+#define PAL_NEGINF  log(0.0)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    double value;     /* value to test the function with */
+    double expected;  /* expected result */
+    double variance;  /* maximum delta between the expected and actual result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(double value, double expected, double variance)
+{
+    double result = log2(value);
+
+    /*
+     * The test is valid when the difference between result
+     * and expected is less than or equal to variance
+     */
+    double delta = fabs(result - expected);
+
+    if (delta > variance)
+    {
+        Fail("log2(%g) returned %20.17g when it should have returned %20.17g",
+             value, result, expected);
+    }
+}
+
+/**
+ * validate
+ *
+ * test validation function for values returning NaN
+ */
+void __cdecl validate_isnan(double value)
+{
+    double result = log2(value);
+
+    if (!_isnan(result))
+    {
+        Fail("log2(%g) returned %20.17g when it should have returned %20.17g",
+             value, result, PAL_NAN);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* value                       expected               variance */
+        {  0,                          PAL_NEGINF,            0 },
+        {  0.11331473229676087,       -3.1415926535897932,    PAL_EPSILON * 10 },   // expected: -(pi)
+        {  0.15195522325791297,       -2.7182818284590452,    PAL_EPSILON * 10 },   // expected: -(e)
+        {  0.20269956628651730,       -2.3025850929940457,    PAL_EPSILON * 10 },   // expected: -(ln(10))
+        {  0.33662253682241906,       -1.5707963267948966,    PAL_EPSILON * 10 },   // expected: -(pi / 2)
+        {  0.36787944117144232,       -1.4426950408889634,    PAL_EPSILON * 10 },   // expected: -(log2(e))
+        {  0.37521422724648177,       -1.4142135623730950,    PAL_EPSILON * 10 },   // expected: -(sqrt(2))
+        {  0.45742934732229695,       -1.1283791670955126,    PAL_EPSILON * 10 },   // expected: -(2 / sqrt(pi))
+        {  0.5,                       -1,                     PAL_EPSILON * 10 },   // expected: -(1)
+        {  0.58019181037172444,       -0.78539816339744831,   PAL_EPSILON },        // expected: -(pi / 4)
+        {  0.61254732653606592,       -0.70710678118654752,   PAL_EPSILON },        // expected: -(1 / sqrt(2))
+        {  0.61850313780157598,       -0.69314718055994531,   PAL_EPSILON },        // expected: -(ln(2))
+        {  0.64321824193300488,       -0.63661977236758134,   PAL_EPSILON },        // expected: -(2 / pi)
+        {  0.74005557395545179,       -0.43429448190325183,   PAL_EPSILON },        // expected: -(log10(e))
+        {  0.80200887896145195,       -0.31830988618379067,   PAL_EPSILON },        // expected: -(1 / pi)
+        {  1,                          0,                     PAL_EPSILON },
+        {  1.2468689889006383,         0.31830988618379067,   PAL_EPSILON },        // expected:  1 / pi
+        {  1.3512498725672678,         0.43429448190325183,   PAL_EPSILON },        // expected:  log10(e)
+        {  1.5546822754821001,         0.63661977236758134,   PAL_EPSILON },        // expected:  2 / pi
+        {  1.6168066722416747,         0.69314718055994531,   PAL_EPSILON },        // expected:  ln(2)
+        {  1.6325269194381528,         0.70710678118654752,   PAL_EPSILON },        // expected:  1 / sqrt(2)
+        {  1.7235679341273495,         0.78539816339744831,   PAL_EPSILON },        // expected:  pi / 4
+        {  2,                          1,                     PAL_EPSILON * 10 },
+        {  2.1861299583286618,         1.1283791670955126,    PAL_EPSILON * 10 },   // expected:  2 / sqrt(pi)
+        {  2.6651441426902252,         1.4142135623730950,    PAL_EPSILON * 10 },   // expected:  sqrt(2)
+        {  2.7182818284590452,         1.4426950408889634,    PAL_EPSILON * 10 },   // expected:  log2(e)             value: e
+        {  2.9706864235520193,         1.5707963267948966,    PAL_EPSILON * 10 },   // expected:  pi / 2
+        {  4.9334096679145963,         2.3025850929940457,    PAL_EPSILON * 10 },   // expected:  ln(10)
+        {  6.5808859910179210,         2.7182818284590452,    PAL_EPSILON * 10 },   // expected:  e
+        {  8.8249778270762876,         3.1415926535897932,    PAL_EPSILON * 10 },   // expected:  pi
+        {  PAL_POSINF,                 PAL_POSINF,            0 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
+    }
+
+    validate_isnan(PAL_NEGINF);
+    validate_isnan(PAL_NAN);
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/log2/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/log2/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..ef6268e
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = log2
+Name = Call log2 with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the log2 function with various num/exponent pairs
+= that should produce std answers.
+
+
+
+
diff --git a/src/pal/tests/palsuite/c_runtime/log2f/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/log2f/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/log2f/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/log2f/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bee2084
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.c
+)
+
+add_executable(paltest_log2f_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_log2f_test1 coreclrpal)
+
+target_link_libraries(paltest_log2f_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.c b/src/pal/tests/palsuite/c_runtime/log2f/test1/test1.c
new file mode 100644 (file)
index 0000000..5231aa5
--- /dev/null
@@ -0,0 +1,138 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that log2f returns correct values.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+// binary32 (float) has a machine epsilon of 2^-23 (approx. 1.19e-07). However, this 
+// is slightly too accurate when writing tests meant to run against libm implementations
+// for various platforms. 2^-21 (approx. 4.76e-07) seems to be as accurate as we can get.
+//
+// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
+// so that the delta used for comparison will compare the most significant digits and ignore
+// any digits that are outside the double precision range (6-9 digits).
+
+// For example, a test with an expect result in the format of 0.xxxxxxxxx will use PAL_EPSILON
+// for the variance, while an expected result in the format of 0.0xxxxxxxxx will use
+// PAL_EPSILON / 10 and and expected result in the format of x.xxxxxx will use PAL_EPSILON * 10.
+#define PAL_EPSILON 4.76837158e-07
+
+#define PAL_NAN     sqrtf(-1.0f)
+#define PAL_POSINF -logf(0.0f)
+#define PAL_NEGINF  logf(0.0f)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    float value;     /* value to test the function with */
+    float expected;  /* expected result */
+    float variance;  /* maximum delta between the expected and actual result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(float value, float expected, float variance)
+{
+    float result = log2f(value);
+
+    /*
+     * The test is valid when the difference between result
+     * and expected is less than or equal to variance
+     */
+    float delta = fabsf(result - expected);
+
+    if (delta > variance)
+    {
+        Fail("log2f(%g) returned %10.9g when it should have returned %10.9g",
+             value, result, expected);
+    }
+}
+
+/**
+ * validate
+ *
+ * test validation function for values returning NaN
+ */
+void __cdecl validate_isnan(float value)
+{
+    float result = log2f(value);
+
+    if (!_isnanf(result))
+    {
+        Fail("log2f(%g) returned %10.9g when it should have returned %10.9g",
+             value, result, PAL_NAN);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* value                expected        variance */
+        {  0,                   PAL_NEGINF,     0 },
+        {  0.113314732f,       -3.14159265f,    PAL_EPSILON * 10 },   // expected: -(pi)
+        {  0.151955223f,       -2.71828183f,    PAL_EPSILON * 10 },   // expected: -(e)
+        {  0.202699566f,       -2.30258509f,    PAL_EPSILON * 10 },   // expected: -(ln(10))
+        {  0.336622537f,       -1.57079633f,    PAL_EPSILON * 10 },   // expected: -(pi / 2)
+        {  0.367879441f,       -1.44269504f,    PAL_EPSILON * 10 },   // expected: -(logf2(e))
+        {  0.375214227f,       -1.41421356f,    PAL_EPSILON * 10 },   // expected: -(sqrtf(2))
+        {  0.457429347f,       -1.12837917f,    PAL_EPSILON * 10 },   // expected: -(2 / sqrtf(pi))
+        {  0.5f,               -1,              PAL_EPSILON * 10 },   // expected: -(1)
+        {  0.580191810f,       -0.785398163f,   PAL_EPSILON },        // expected: -(pi / 4)
+        {  0.612547327f,       -0.707106781f,   PAL_EPSILON },        // expected: -(1 / sqrtf(2))
+        {  0.618503138f,       -0.693147181f,   PAL_EPSILON },        // expected: -(ln(2))
+        {  0.643218242f,       -0.636619772f,   PAL_EPSILON },        // expected: -(2 / pi)
+        {  0.740055574f,       -0.434294482f,   PAL_EPSILON },        // expected: -(log10f(e))
+        {  0.802008879f,       -0.318309886f,   PAL_EPSILON },        // expected: -(1 / pi)
+        {  1,                   0,              PAL_EPSILON },
+        {  1.24686899f,         0.318309886f,   PAL_EPSILON },        // expected:  1 / pi
+        {  1.35124987f,         0.434294482f,   PAL_EPSILON },        // expected:  log10f(e)           value: e
+        {  1.55468228f,         0.636619772f,   PAL_EPSILON },        // expected:  2 / pi
+        {  1.61680667f,         0.693147181f,   PAL_EPSILON },        // expected:  ln(2)
+        {  1.63252692f,         0.707106781f,   PAL_EPSILON },        // expected:  1 / sqrtf(2)
+        {  1.72356793f,         0.785398163f,   PAL_EPSILON },        // expected:  pi / 4
+        {  2,                   1,              PAL_EPSILON * 10 },
+        {  2.18612996f,         1.12837917f,    PAL_EPSILON * 10 },   // expected:  2 / sqrtf(pi)
+        {  2.66514414f,         1.41421356f,    PAL_EPSILON * 10 },   // expected:  sqrtf(2)
+        {  2.71828183f,         1.44269504f,    PAL_EPSILON * 10 },   // expected:  logf2(e)
+        {  2.97068642f,         1.57079633f,    PAL_EPSILON * 10 },   // expected:  pi / 2
+        {  4.93340967f,         2.30258509f,    PAL_EPSILON * 10 },   // expected:  ln(10)
+        {  6.58088599f,         2.71828183f,    PAL_EPSILON * 10 },   // expected:  e
+        {  8.82497783f,         3.14159265f,    PAL_EPSILON * 10 },   // expected:  pi
+        {  PAL_POSINF,          PAL_POSINF,     0 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].x, tests[i].y, tests[i].z, tests[i].expected, tests[i].variance);
+    }
+
+    validate_isnan(PAL_NEGINF);
+    validate_isnan(PAL_NAN);
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/log2f/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/log2f/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..7627c82
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = log2f
+Name = Call log2f with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the log2f function with various num/expfonent pairs
+= that should produce std answers.
+
+
+
+
diff --git a/src/pal/tests/palsuite/c_runtime/scalbn/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/scalbn/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/scalbn/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/scalbn/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..083cd11
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.cpp
+)
+
+add_executable(paltest_scalbn_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_scalbn_test1 coreclrpal)
+
+target_link_libraries(paltest_scalbn_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/scalbn/test1/test1.cpp b/src/pal/tests/palsuite/c_runtime/scalbn/test1/test1.cpp
new file mode 100644 (file)
index 0000000..9507cc4
--- /dev/null
@@ -0,0 +1,140 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that scalbn returns correct values.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+// binary64 (double) has a machine epsilon of 2^-52 (approx. 2.22e-16). However, this 
+// is slightly too accurate when writing tests meant to run against libm implementations
+// for various platforms. 2^-50 (approx. 8.88e-16) seems to be as accurate as we can get.
+//
+// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
+// so that the delta used for comparison will compare the most significant digits and ignore
+// any digits that are outside the double precision range (15-17 digits).
+
+// For example, a test with an expect result in the format of 0.xxxxxxxxxxxxxxxxx will use
+// PAL_EPSILON for the variance, while an expected result in the format of 0.0xxxxxxxxxxxxxxxxx
+// will use PAL_EPSILON / 10 and and expected result in the format of x.xxxxxxxxxxxxxxxx will
+// use PAL_EPSILON * 10.
+#define PAL_EPSILON 8.8817841970012523e-16
+
+#define PAL_NAN     sqrt(-1.0)
+#define PAL_POSINF -log(0.0)
+#define PAL_NEGINF  log(0.0)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    double value;     /* value to test the function with */
+    int   exponent;  /* exponent to test the function with */
+    double expected;  /* expected result */
+    double variance;  /* maximum delta between the expected and actual result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(double value, int exponent, double expected, double variance)
+{
+    double result = scalbn(value, exponent);
+
+    /*
+     * The test is valid when the difference between result
+     * and expected is less than or equal to variance
+     */
+    double delta = fabs(result - expected);
+
+    if (delta > variance)
+    {
+        Fail("scalbn(%g, %d) returned %20.17g when it should have returned %20.17g\n",
+             value, exponent, result, expected);
+    }
+}
+
+/**
+ * validate
+ *
+ * test validation function for values returning NaN
+ */
+void __cdecl validate_isnan(double value, int exponent)
+{
+    double result = scalbn(value, exponent);
+
+    if (!_isnan(result))
+    {
+        Fail("scalbn(%g, %d) returned %20.17g when it should have returned %20.17g\n",
+             value, exponent, result, PAL_NAN);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* value                       exponent           expected               variance */
+        {  PAL_NEGINF,                 0x80000000,        PAL_NEGINF,            0 },
+        {  0,                          0x80000000,        0,                     0 },
+        {  0.11331473229676087,       -3,                 0.014164341537095108,  PAL_EPSILON / 10 },
+        {  0.15195522325791297,       -2,                 0.037988805814478242,  PAL_EPSILON / 10 },
+        {  0.20269956628651730,       -2,                 0.050674891571629327,  PAL_EPSILON / 10 },
+        {  0.33662253682241906,       -1,                 0.16831126841120952,   PAL_EPSILON },
+        {  0.36787944117144232,       -1,                 0.18393972058572117,   PAL_EPSILON },
+        {  0.37521422724648177,       -1,                 0.1876071136232409,    PAL_EPSILON },
+        {  0.45742934732229695,       -1,                 0.22871467366114848,   PAL_EPSILON },
+        {  0.5,                       -1,                 0.25,                  PAL_EPSILON },
+        {  0.58019181037172444,        0,                 0.5801918103717244,    PAL_EPSILON },
+        {  0.61254732653606592,        0,                 0.61254732653606592,   PAL_EPSILON },
+        {  0.61850313780157598,        0,                 0.61850313780157595,   PAL_EPSILON },
+        {  0.64321824193300488,        0,                 0.64321824193300492,   PAL_EPSILON },
+        {  0.74005557395545179,        0,                 0.74005557395545174,   PAL_EPSILON },
+        {  0.80200887896145195,        0,                 0.8020088789614519,    PAL_EPSILON },
+        {  1,                          0,                 1,                     PAL_EPSILON * 10 },
+        {  1.2468689889006383,         0,                 1.2468689889006384,    PAL_EPSILON * 10 },
+        {  1.3512498725672678,         0,                 1.3512498725672677,    PAL_EPSILON * 10 },
+        {  1.5546822754821001,         0,                 1.5546822754821001,    PAL_EPSILON * 10 },
+        {  1.6168066722416747,         0,                 1.6168066722416747,    PAL_EPSILON * 10 },
+        {  1.6325269194381528,         0,                 1.6325269194381529,    PAL_EPSILON * 10 },
+        {  1.7235679341273495,         0,                 1.7235679341273495,    PAL_EPSILON * 10 },
+        {  2,                          1,                 4,                     PAL_EPSILON * 10 },
+        {  2.1861299583286618,         1,                 4.3722599166573239,    PAL_EPSILON * 10 },
+        {  2.6651441426902252,         1,                 5.3302882853804503,    PAL_EPSILON * 10 },
+        {  2.7182818284590452,         1,                 5.4365636569180902,    PAL_EPSILON * 10 },
+        {  2.9706864235520193,         1,                 5.9413728471040388,    PAL_EPSILON * 10 },
+        {  4.9334096679145963,         2,                 19.733638671658387,    PAL_EPSILON * 100 },
+        {  6.5808859910179210,         2,                 26.323543964071686,    PAL_EPSILON * 100 },
+        {  8.8249778270762876,         3,                 70.599822616610297,    PAL_EPSILON * 100 },
+        {  PAL_POSINF,                 0x80000000,        PAL_POSINF,            0 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].value, tests[i].exponent, tests[i].expected, tests[i].variance);
+    }
+
+    validate_isnan(PAL_NAN, 2147483647);
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/scalbn/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/scalbn/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..ce98062
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = scalbn
+Name = Call scalbn with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the scalbn function with various num/exponent pairs
+= that should produce std answers.
+
+
+
+
diff --git a/src/pal/tests/palsuite/c_runtime/scalbnf/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/scalbnf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5e1ef7f
--- /dev/null
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+add_subdirectory(test1)
diff --git a/src/pal/tests/palsuite/c_runtime/scalbnf/test1/CMakeLists.txt b/src/pal/tests/palsuite/c_runtime/scalbnf/test1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e14b54a
--- /dev/null
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.8.12.2)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(SOURCES
+  test1.c
+)
+
+add_executable(paltest_scalbnf_test1
+  ${SOURCES}
+)
+
+add_dependencies(paltest_scalbnf_test1 coreclrpal)
+
+target_link_libraries(paltest_scalbnf_test1
+  ${COMMON_TEST_LIBRARIES}
+)
diff --git a/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.c b/src/pal/tests/palsuite/c_runtime/scalbnf/test1/test1.c
new file mode 100644 (file)
index 0000000..88f00a2
--- /dev/null
@@ -0,0 +1,139 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*=====================================================================
+**
+** Source:  test1.c
+**
+** Purpose: Tests that scalbnf returns correct values.
+**
+**===================================================================*/
+
+#include <palsuite.h>
+
+// binary32 (float) has a machine epsilon of 2^-23 (approx. 1.19e-07). However, this 
+// is slightly too accurate when writing tests meant to run against libm implementations
+// for various platforms. 2^-21 (approx. 4.76e-07) seems to be as accurate as we can get.
+//
+// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
+// so that the delta used for comparison will compare the most significant digits and ignore
+// any digits that are outside the double precision range (6-9 digits).
+
+// For example, a test with an expect result in the format of 0.xxxxxxxxx will use PAL_EPSILON
+// for the variance, while an expected result in the format of 0.0xxxxxxxxx will use
+// PAL_EPSILON / 10 and and expected result in the format of x.xxxxxx will use PAL_EPSILON * 10.
+#define PAL_EPSILON 4.76837158e-07
+
+#define PAL_NAN     sqrtf(-1.0f)
+#define PAL_POSINF -logf(0.0f)
+#define PAL_NEGINF  logf(0.0f)
+
+/**
+ * Helper test structure
+ */
+struct test
+{
+    float value;     /* value to test the function with */
+    int   exponent;  /* exponent to test the function with */
+    float expected;  /* expected result */
+    float variance;  /* maximum delta between the expected and actual result */
+};
+
+/**
+ * validate
+ *
+ * test validation function
+ */
+void __cdecl validate(float value, int exponent, float expected, float variance)
+{
+    float result = scalbnf(value, exponent);
+
+    /*
+     * The test is valid when the difference between result
+     * and expected is less than or equal to variance
+     */
+    float delta = fabsf(result - expected);
+
+    if (delta > variance)
+    {
+        Fail("scalbnf(%g, %g) returned %10.9g when it should have returned %10.9g",
+             value, exponent, result, expected);
+    }
+}
+
+/**
+ * validate
+ *
+ * test validation function for values returning NaN
+ */
+void __cdecl validate_isnan(float value, int exponent)
+{
+    float result = scalbnf(value, exponent);
+
+    if (!_isnanf(result))
+    {
+        Fail("scalbnf(%g, %g) returned %10.9g when it should have returned %10.9g",
+             value, exponent, result, PAL_NAN);
+    }
+}
+
+/**
+ * main
+ * 
+ * executable entry point
+ */
+int __cdecl main(int argc, char **argv)
+{
+    struct test tests[] = 
+    {
+        /* value                exponent           expected        variance */
+        {  PAL_NEGINF,          0x80000000,        PAL_NEGINF,     0 },
+        {  0,                   0x80000000,        0,              0 },
+        {  0.113314732f,       -3,                 0.0141643415f,  PAL_EPSILON / 10 },
+        {  0.151955223f,       -2,                 0.0379888058f,  PAL_EPSILON / 10 },
+        {  0.202699566f,       -2,                 0.0506748916f,  PAL_EPSILON / 10 },
+        {  0.336622537f,       -1,                 0.168311268f,   PAL_EPSILON },
+        {  0.367879441f,       -1,                 0.183939721f,   PAL_EPSILON },
+        {  0.375214227f,       -1,                 0.187607114f,   PAL_EPSILON },
+        {  0.457429347f,       -1,                 0.228714674f,   PAL_EPSILON },
+        {  0.5f,               -1,                 0.25f,          PAL_EPSILON },
+        {  0.580191810f,        0,                 0.580191810f,   PAL_EPSILON },
+        {  0.612547327f,        0,                 0.612547327f,   PAL_EPSILON },
+        {  0.618503138f,        0,                 0.618503138f,   PAL_EPSILON },
+        {  0.643218242f,        0,                 0.643218242f,   PAL_EPSILON },
+        {  0.740055574f,        0,                 0.740055574f,   PAL_EPSILON },
+        {  0.802008879f,        0,                 0.802008879f,   PAL_EPSILON },
+        {  1,                   0,                 1,              PAL_EPSILON * 10 },
+        {  1.24686899f,         0,                 1.24686899f,    PAL_EPSILON * 10 },
+        {  1.35124987f,         0,                 1.35124987f,    PAL_EPSILON * 10 },
+        {  1.55468228f,         0,                 1.55468228f,    PAL_EPSILON * 10 },
+        {  1.61680667f,         0,                 1.61680667f,    PAL_EPSILON * 10 },
+        {  1.63252692f,         0,                 1.63252692f,    PAL_EPSILON * 10 },
+        {  1.72356793f,         0,                 1.72356793f,    PAL_EPSILON * 10 },
+        {  2,                   1,                 4,              PAL_EPSILON * 10 },
+        {  2.18612996f,         1,                 4.37225992f,    PAL_EPSILON * 10 },
+        {  2.66514414f,         1,                 5.33028829f,    PAL_EPSILON * 10 },
+        {  2.71828183f,         1,                 5.43656366f,    PAL_EPSILON * 10 },
+        {  2.97068642f,         1,                 5.94137285f,    PAL_EPSILON * 10 },
+        {  4.93340967f,         2,                 19.7336387f,    PAL_EPSILON * 100 },
+        {  6.58088599f,         2,                 26.3235440f,    PAL_EPSILON * 100 },
+        {  8.82497783f,         3,                 70.5998226f,    PAL_EPSILON * 100 },
+        {  PAL_POSINF,          0x80000000,        PAL_POSINF,     0 },
+    };
+
+    if (PAL_Initialize(argc, argv) != 0)
+    {
+        return FAIL;
+    }
+
+    for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
+    {
+        validate(tests[i].value, tests[i].exponent, tests[i].expected, tests[i].variance);
+    }
+
+    validate_isnan(PAL_NAN, 2147483647);
+
+    PAL_Terminate();
+    return PASS;
+}
diff --git a/src/pal/tests/palsuite/c_runtime/scalbnf/test1/testinfo.dat b/src/pal/tests/palsuite/c_runtime/scalbnf/test1/testinfo.dat
new file mode 100644 (file)
index 0000000..728fafa
--- /dev/null
@@ -0,0 +1,17 @@
+# Licensed to the .NET Foundation under one or more agreements.
+# The .NET Foundation licenses this file to you under the MIT license.
+# See the LICENSE file in the project root for more information.
+
+Version = 1.0
+Section = C Runtime
+Function = scalbnf
+Name = Call scalbnf with some std input/output.
+TYPE = DEFAULT
+EXE1 = test1
+Description
+= Call the scalbnf function with various num/expfonent pairs
+= that should produce std answers.
+
+
+
+
index f6cb168..8ed5c5b 100644 (file)
@@ -1,10 +1,10 @@
-SET (CMAKE_C_FLAGS_INIT                "/Wall /FC")
+SET (CMAKE_C_FLAGS_INIT                "/Wall /FC /Zc:strictStrings")
 SET (CMAKE_C_FLAGS_DEBUG_INIT          "/Od /Zi")
 SET (CLR_C_FLAGS_CHECKED_INIT          "/O1 /Zi")
 SET (CMAKE_C_FLAGS_RELEASE_INIT        "/Ox /Zi")
 SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "/O2 /Zi")
 
-SET (CMAKE_CXX_FLAGS_INIT                "/Wall /FC")
+SET (CMAKE_CXX_FLAGS_INIT                "/Wall /FC /Zc:strictStrings")
 SET (CMAKE_CXX_FLAGS_DEBUG_INIT          "/Od /Zi")
 SET (CLR_CXX_FLAGS_CHECKED_INIT          "/O1 /Zi")
 SET (CMAKE_CXX_FLAGS_RELEASE_INIT        "/Ox /Zi")
@@ -13,4 +13,4 @@ SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "/O2 /Zi")
 SET (CLR_DEFINES_DEBUG_INIT              DEBUG _DEBUG _DBG URTBLDENV_FRIENDLY=Checked BUILDENV_CHECKED=1)
 SET (CLR_DEFINES_CHECKED_INIT            DEBUG _DEBUG _DBG URTBLDENV_FRIENDLY=Checked BUILDENV_CHECKED=1)
 SET (CLR_DEFINES_RELEASE_INIT            NDEBUG URTBLDENV_FRIENDLY=Retail)
-SET (CLR_DEFINES_RELWITHDEBINFO_INIT     NDEBUG URTBLDENV_FRIENDLY=Retail)
\ No newline at end of file
+SET (CLR_DEFINES_RELWITHDEBINFO_INIT     NDEBUG URTBLDENV_FRIENDLY=Retail)
index 1a4b075..1aefe57 100644 (file)
@@ -13,6 +13,7 @@
     <PackagesPattern Condition="'$(PackagesPattern)' == ''">$(PackagesPatternDir)pkg\*.nupkg</PackagesPattern>
     <TestNativeBinariesPattern Condition="'$(TestNativeBinariesPattern)' == ''">$(OutputPath)\bin\**</TestNativeBinariesPattern>
     <SymbolsPackagesPattern Condition="'$(SymbolPackagesPattern)' == ''">$(PackagesPatternDir)symbolpkg\*.nupkg</SymbolsPackagesPattern>
+    <SymbolsExcludePattern Condition="'$(SymbolsExcludePattern)' == ''">$(PackagesPatternDir)symbolpkg\*freebsd*.nupkg</SymbolsExcludePattern>
     <PublishFlatContainer Condition="'$(PublishFlatContainer)' == ''">true</PublishFlatContainer>
     <RelativePathWithSlash>$(RelativePath)</RelativePathWithSlash>
     <RelativePathWithSlash Condition="'$(RelativePathWithSlash)' != '' and !HasTrailingSlash('$(RelativePathWithSlash)')">$(RelativePathWithSlash)/</RelativePathWithSlash>
       <ConvertPortablePdbsToWindowsPdbs Condition="'$(ConvertPortablePdbsToWindowsPdbs)'==''">true</ConvertPortablePdbsToWindowsPdbs>
     </PropertyGroup>
     <ItemGroup>
-      <SymbolPackagesToPublish Include="$(SymbolsPackagesPattern)" />
+      <SymbolPackagesToPublish Include="$(SymbolsPackagesPattern)" Exclude="$(SymbolsExcludePattern)" />
     </ItemGroup>
     <Error Condition="'$(SymbolServerPath)'==''" Text="Missing property SymbolServerPath" />
     <Error Condition="'$(SymbolServerPAT)'==''" Text="Missing property SymbolServerPAT" />
index a19e7a4..943d7a3 100644 (file)
@@ -284,7 +284,7 @@ BOOL LaunchJITDebugger()
         STARTUPINFO StartupInfo;
         memset(&StartupInfo, 0, sizeof(StartupInfo));
         StartupInfo.cb = sizeof(StartupInfo);
-        StartupInfo.lpDesktop = W("Winsta0\\Default");
+        StartupInfo.lpDesktop = const_cast<LPWSTR>(W("Winsta0\\Default"));
 
         PROCESS_INFORMATION ProcessInformation;
         if (WszCreateProcess(NULL, cmdLine, NULL, NULL, TRUE, 0, NULL, NULL, &StartupInfo, &ProcessInformation))
index bea212d..ea18130 100644 (file)
@@ -52,7 +52,7 @@ static BOOL gWinWrapperContractRecursionBreak = FALSE;
 class WinWrapperContract
 {
     public:
-        WinWrapperContract(char *szFunction, char *szFile, int lineNum)
+        WinWrapperContract(const char *szFunction, const char *szFile, int lineNum)
         {
             CANNOT_HAVE_CONTRACT;
 
index ee2e2ca..1bfe858 100644 (file)
@@ -206,7 +206,7 @@ struct DispatchStub
         e_TYPE_LONG,
     };
 
-    inline DispatchStubType const type() const
+    inline DispatchStubType type() const
     {
         LIMITED_METHOD_CONTRACT;
         CONSISTENCY_CHECK(DispatchStubShort::isShortStub(reinterpret_cast<LPCBYTE>(this + 1))
index 6233094..7b47735 100644 (file)
@@ -6125,7 +6125,7 @@ LPCWSTR AppDomain::GetFriendlyName(BOOL fDebuggerCares/*=TRUE*/)
 
 LPCWSTR AppDomain::GetFriendlyNameForLogging()
 {
-    CONTRACT(LPWSTR)
+    CONTRACT(LPCWSTR)
     {
         NOTHROW;
         GC_NOTRIGGER;
index 5819c34..73639cc 100644 (file)
@@ -3721,8 +3721,8 @@ private:
             return (count_t)(dac_cast<TADDR>(key));
         }
         
-        static const element_t Null() { return NULL; }
-        static const element_t Deleted() { return (element_t)(TADDR)-1; }
+        static element_t Null() { return NULL; }
+        static element_t Deleted() { return (element_t)(TADDR)-1; }
         static bool IsNull(const element_t & e) { return e == NULL; }
         static bool IsDeleted(const element_t & e) { return dac_cast<TADDR>(e) == (TADDR)-1; }
     };
index 0cbc0a8..07e78cb 100644 (file)
@@ -742,12 +742,22 @@ GenericComCallStub_FirstStackAdjust     SETA GenericComCallStub_FirstStackAdjust
     cbz x0, COMToCLRDispatchHelper_RegSetup
 
     add x9, x1, #SIZEOF__ComMethodFrame
-    add x9, x9, x0, LSL #3
+
+    ; Compute number of 8 bytes slots to copy. This is done by rounding up the
+    ; dwStackSlots value to the nearest even value
+    add x0, x0, #1
+    bic x0, x0, #1
+
+    ; Compute how many slots to adjust the address to copy from. Since we
+    ; are copying 16 bytes at a time, adjust by -1 from the rounded value
+    sub x6, x0, #1
+    add x9, x9, x6, LSL #3
+
 COMToCLRDispatchHelper_StackLoop
-    ldr x8, [x9, #-8]!
-    str x8, [sp, #-8]!
-    sub x0, x0, #1
-    cbnz x0, COMToCLRDispatchHelper_StackLoop
+    ldp     x7, x8, [x9], #-16  ; post-index
+    stp     x7, x8, [sp, #-16]! ; pre-index
+    subs    x0, x0, #2
+    bne     COMToCLRDispatchHelper_StackLoop
     
 COMToCLRDispatchHelper_RegSetup
 
index 6a60712..128fcec 100644 (file)
@@ -646,7 +646,7 @@ static void FCallCheckSignature(MethodDesc* pMD, PCODE pImpl)
 {
     STANDARD_VM_CONTRACT;
 
-    char* pUnmanagedSig = NULL;
+    const char* pUnmanagedSig = NULL;
 
     FCSigCheck* pSigCheck = FCSigCheck::g_pFCSigCheck;
     while (pSigCheck != NULL)
@@ -661,7 +661,7 @@ static void FCallCheckSignature(MethodDesc* pMD, PCODE pImpl)
     MetaSig msig(pMD);   
     int argIndex = -2; // start with return value
     int enregisteredArguments = 0;
-    char* pUnmanagedArg = pUnmanagedSig;
+    const char* pUnmanagedArg = pUnmanagedSig;
     for (;;)
     {
         CorElementType argType = ELEMENT_TYPE_END;
@@ -755,9 +755,9 @@ static void FCallCheckSignature(MethodDesc* pMD, PCODE pImpl)
                 ("Unexpected end of managed fcall signature\n"
                 "Method: %s:%s\n", pMD->m_pszDebugClassName, pMD->m_pszDebugMethodName));
 
-            char* pUnmanagedArgEnd = strchr(pUnmanagedArg, ',');
+            const char* pUnmanagedArgEnd = strchr(pUnmanagedArg, ',');
 
-            char* pUnmanagedTypeEnd = (pUnmanagedArgEnd != NULL) ? 
+            const char* pUnmanagedTypeEnd = (pUnmanagedArgEnd != NULL) ? 
                 pUnmanagedArgEnd : (pUnmanagedArg + strlen(pUnmanagedArg));
 
             if (argIndex != -2)
index b66279c..295db1f 100644 (file)
@@ -1015,9 +1015,8 @@ int ArgIteratorTemplate<ARGITERATOR_BASE>::GetNextOffset()
 
     case ELEMENT_TYPE_VALUETYPE:
     {
-#ifdef UNIX_AMD64_ABI
         MethodTable *pMT = m_argTypeHandle.GetMethodTable();
-        if (pMT->IsRegPassedStruct())
+        if (this->IsRegPassedStruct(pMT))
         {
             EEClass* eeClass = pMT->GetClass();
             cGenRegs = 0;
@@ -1061,10 +1060,6 @@ int ArgIteratorTemplate<ARGITERATOR_BASE>::GetNextOffset()
         // Set the register counts to indicate that this argument will not be passed in registers
         cFPRegs = 0;
         cGenRegs = 0;
-#else // UNIX_AMD64_ABI
-        argSize = sizeof(TADDR);        
-#endif // UNIX_AMD64_ABI
-
         break;
     }
 
@@ -1086,9 +1081,7 @@ int ArgIteratorTemplate<ARGITERATOR_BASE>::GetNextOffset()
         return argOfs;
     }
 
-#if defined(UNIX_AMD64_ABI)
-    m_fArgInRegisters = false;
-#endif        
+    m_fArgInRegisters = false;     
 
     int argOfs = TransitionBlock::GetOffsetOfArgs() + m_idxStack * STACK_ELEM_SIZE;
 
@@ -1701,6 +1694,11 @@ protected:
         m_pSig->Reset();
     }
 
+    FORCEINLINE BOOL IsRegPassedStruct(MethodTable* pMT)
+    {
+        return pMT->IsRegPassedStruct();
+    }
+
 public:
     BOOL HasThis()
     {
index 91da7b3..b421484 100644 (file)
@@ -986,7 +986,7 @@ public:
         LIMITED_METHOD_CONTRACT;
         return (count_t) k->Hash();
     }
-    static const element_t Null() 
+    static element_t Null()
     { 
         LIMITED_METHOD_CONTRACT; 
         return NULL; 
index 58b0c01..608870e 100644 (file)
@@ -516,6 +516,11 @@ class EEClassLayoutInfo
             LIMITED_METHOD_CONTRACT;
             return (m_bFlags & e_NATIVE_PASS_IN_REGISTERS) != 0;
         }
+#else
+        bool IsNativeStructPassedInRegisters()
+        {
+            return false;
+        }
 #endif // UNIX_AMD64_ABI
 
         CorElementType GetNativeHFATypeRaw();
index cc67550..4c38303 100644 (file)
@@ -288,7 +288,6 @@ InteropMethodTableData *MethodTableBuilder::BuildInteropVTable(AllocMemTracker *
     if (pThisMT->IsEnum()) SetEnum();
     if (pThisMT->HasLayout()) SetHasLayout();
     if (pThisMT->IsDelegate()) SetIsDelegate();
-    if (pThisMT->IsContextful()) SetContextful();
 #ifdef FEATURE_COMINTEROP
     if(pThisMT->GetClass()->IsComClassInterface()) SetIsComClassInterface();
 #endif
@@ -2414,12 +2413,6 @@ VOID    MethodTableBuilder::EnumerateClassMethods()
 
         WORD numGenericMethodArgs = (WORD) hEnumTyPars.EnumGetCount();
 
-        // We do not want to support context-bound objects with generic methods.
-        if (IsContextful() && numGenericMethodArgs > 0)
-        {
-            BuildMethodTableThrowException(IDS_CLASSLOAD_CONTEXT_BOUND_GENERIC_METHOD);
-        }
-
         if (numGenericMethodArgs != 0)
         {
             for (unsigned methIdx = 0; methIdx < numGenericMethodArgs; methIdx++)
index 9b3c8fd..02c86e0 100644 (file)
@@ -266,7 +266,6 @@ private:
     BOOL IsAbstract() { LIMITED_METHOD_CONTRACT; return IsTdAbstract(bmtType->dwAttr); } 
     BOOL HasLayout() { LIMITED_METHOD_CONTRACT; return bmtProp->fHasLayout; } 
     BOOL IsDelegate() { LIMITED_METHOD_CONTRACT; return bmtProp->fIsDelegate; } 
-    BOOL IsContextful() { LIMITED_METHOD_CONTRACT; return bmtProp->fIsContextful; } 
     Module *GetModule() { LIMITED_METHOD_CONTRACT; return bmtType->pModule; } 
     Assembly *GetAssembly() { WRAPPER_NO_CONTRACT; return GetModule()->GetAssembly(); } 
     BaseDomain *GetDomain() { LIMITED_METHOD_CONTRACT; return bmtDomain; } 
@@ -289,7 +288,6 @@ private:
     void SetEnum() { LIMITED_METHOD_CONTRACT; bmtProp->fIsEnum = TRUE; }
     void SetHasLayout() { LIMITED_METHOD_CONTRACT; bmtProp->fHasLayout = TRUE; }
     void SetIsDelegate() { LIMITED_METHOD_CONTRACT; bmtProp->fIsDelegate = TRUE; }
-    void SetContextful() { LIMITED_METHOD_CONTRACT; bmtProp->fIsContextful = TRUE; }
 #ifdef _DEBUG
     void SetDebugClassName(LPUTF8 x) { LIMITED_METHOD_CONTRACT; bmtProp->szDebugClassName = x; }
 #endif
@@ -325,7 +323,6 @@ private:
  
         BOOL fIsValueClass;
         BOOL fIsEnum;
-        BOOL fIsContextful;
         BOOL fIsComClassInterface;
         BOOL fHasLayout;
         BOOL fIsDelegate;
index 24887a4..9c4afd5 100644 (file)
@@ -3656,7 +3656,7 @@ TypeHandle ClassLoader::CreateTypeHandleForTypeKey(TypeKey* pKey, AllocMemTracke
             // Arrays of BYREFS not allowed
             if (paramType.GetInternalCorElementType() == ELEMENT_TYPE_BYREF)
             {
-                ThrowTypeLoadException(pKey, IDS_CLASSLOAD_CANTCREATEARRAYCLASS);
+                ThrowTypeLoadException(pKey, IDS_CLASSLOAD_BYREFARRAY);
             }
 
             // Arrays of ByRefLike types not allowed
@@ -3665,7 +3665,7 @@ TypeHandle ClassLoader::CreateTypeHandleForTypeKey(TypeKey* pKey, AllocMemTracke
             {
                 if (pMT->IsByRefLike())
                 {
-                    ThrowTypeLoadException(pKey, IDS_CLASSLOAD_CANTCREATEARRAYCLASS);
+                    ThrowTypeLoadException(pKey, IDS_CLASSLOAD_BYREFLIKEARRAY);
                 }
             }
 
index 6dddacc..39b03f0 100644 (file)
@@ -487,7 +487,7 @@ public:
         return (count_t)(size_t)dac_cast<TADDR>(k);
     }
 
-    static const element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_MethodDescVersioningState>(nullptr); }
+    static element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_MethodDescVersioningState>(nullptr); }
     static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
 };
 
@@ -549,7 +549,7 @@ public:
         return (count_t)k.Hash();
     }
 
-    static const element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_ILCodeVersioningState>(nullptr); }
+    static element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_ILCodeVersioningState>(nullptr); }
     static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
 };
 
index c0e737a..cea29a3 100644 (file)
@@ -111,7 +111,7 @@ public:
         return (count_t)k.m_dwSize ^ (count_t)k.m_kind ^ HashBytes((BYTE *)k.m_data, k.m_dwSize);
     }
 
-    static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+    static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
     static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
 };
 
index cea4c88..d0be137 100644 (file)
@@ -59,19 +59,19 @@ public:
 
     virtual void DetachThread(Thread *pRuntimeThread) = 0;
 
-    // Called when a module is being loaded into an AppDomain.  
+    // Called when a module is being loaded into an AppDomain.
     // This includes when a domain neutral module is loaded into a new AppDomain.
-    // This is called only when a debugger is attached, and will occur after the 
-    // related LoadAssembly and AddAppDomainToIPCBlock calls and before any 
+    // This is called only when a debugger is attached, and will occur after the
+    // related LoadAssembly and AddAppDomainToIPCBlock calls and before any
     // LoadClass calls for this module.
     virtual void LoadModule(Module *     pRuntimeModule,  // the module being loaded
                             LPCWSTR      psModuleName,    // module file name
                             DWORD        dwModuleName,    // number of characters in file name excludign null
                             Assembly *   pAssembly,       // the assembly the module belongs to
                             AppDomain *  pAppDomain,      // the AppDomain the module is being loaded into
-                            DomainFile * pDomainFile, 
-                            BOOL         fAttaching) = 0; // true if this notification is due to a debugger 
-                                                          // being attached to the process 
+                            DomainFile * pDomainFile,
+                            BOOL         fAttaching) = 0; // true if this notification is due to a debugger
+                                                          // being attached to the process
 
     // Called AFTER LoadModule, and after the module has reached FILE_LOADED. This lets
     // dbgapi do any processing that needs to wait until the FILE_LOADED stage (e.g.,
@@ -87,7 +87,7 @@ public:
     virtual void UnloadModule(Module* pRuntimeModule, AppDomain *pAppDomain) = 0;
 
     // Called when a Module* is being destroyed.
-    // Specifically, the Module has completed unloading (which may have been done asyncronously), all resources 
+    // Specifically, the Module has completed unloading (which may have been done asyncronously), all resources
     // associated are being freed, and the Module* is about to become invalid.  The debugger should remove all
     // references to this Module*.
     // NOTE: This is called REGARDLESS of whether a debugger is attached or not, and will occur after any other
@@ -157,7 +157,7 @@ public:
     //
     // RequestFavor ensures that the helper thread has been initialized to
     // execute favors and then calls Debugger:DoFavor. It blocks until the
-    // favor callback completes. 
+    // favor callback completes.
     //
     // Parameters:
     //   fp    - Favour callback function
@@ -165,7 +165,7 @@ public:
     //
     // Return values:
     //   S_OK if the function succeeds, else a failure HRESULT
-    //   
+    //
     virtual HRESULT RequestFavor(FAVORCALLBACK fp, void * pData) = 0;
 
 #endif // #ifndef DACCESS_COMPILE
@@ -247,7 +247,7 @@ public:
                                 SString * pMessage) = 0;
 
     // send a custom notification from the target to the RS. This will become an ICorDebugThread and
-    // ICorDebugAppDomain on the RS. 
+    // ICorDebugAppDomain on the RS.
     virtual void SendCustomDebuggerNotification(Thread * pThread, DomainFile * pDomainFile, mdTypeDef classToken) = 0;
 
     // Send an MDA notification. This ultimately translates to an ICorDebugMDA object on the Right-Side.
@@ -286,12 +286,12 @@ public:
 
     virtual HRESULT GetILToNativeMappingIntoArrays(
         MethodDesc * pMethodDesc,
-        PCODE pCode, 
-        USHORT cMapMax, 
+        PCODE pCode,
+        USHORT cMapMax,
         USHORT * pcMap,
-        UINT ** prguiILOffset, 
+        UINT ** prguiILOffset,
         UINT ** prguiNativeOffset) = 0;
-    
+
     virtual DWORD GetHelperThreadID(void ) = 0;
 
     // Called whenever a new AppDomain is created, regardless of whether a debugger is attached.
@@ -304,9 +304,9 @@ public:
 
     virtual HRESULT UpdateAppDomainEntryInIPC (AppDomain *pAppDomain) = 0;
 
-    // Called when an assembly is being loaded into an AppDomain.  
+    // Called when an assembly is being loaded into an AppDomain.
     // This includes when a domain neutral assembly is loaded into a new AppDomain.
-    // This is called only when a debugger is attached, and will occur after the 
+    // This is called only when a debugger is attached, and will occur after the
     // related AddAppDomainToIPCBlock call and before any LoadModule or
     // LoadClass calls for this assembly.
     virtual void LoadAssembly(DomainAssembly * pDomainAssembly) = 0; // the assembly being loaded
@@ -408,6 +408,11 @@ public:
     virtual void EnumMemoryRegions(CLRDataEnumMemoryFlags flags) = 0;
     virtual void EnumMemoryRegionsIfFuncEvalFrame(CLRDataEnumMemoryFlags flags, Frame * pFrame) = 0;
 #endif
+#ifndef DACCESS_COMPILE
+    virtual void BeforeGarbageCollection() = 0;
+    virtual void AfterGarbageCollection() = 0;
+#endif
+    virtual BOOL IsSynchronizing() = 0;
 };
 
 #ifndef DACCESS_COMPILE
index 56f893a..6fd4366 100644 (file)
@@ -599,7 +599,7 @@ public:
 
 #ifndef _TARGET_X86_
             // we store the real managed argument stack size in the stub MethodDesc on non-X86
-            UINT stackSize = pStubMD->SizeOfArgStack();
+            UINT stackSize = pStubMD->SizeOfNativeArgStack();
 
             if (!FitsInU2(stackSize))
                 COMPlusThrow(kMarshalDirectiveException, IDS_EE_SIGTOOCOMPLEX);
@@ -1142,9 +1142,176 @@ public:
         }
         LOG((LF_STUBS, LL_INFO1000, "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"));
 #endif // LOGGING
+
+        //
+        // Publish ETW events for IL stubs
+        //
         
+        // If the category and the event is enabled...
+        if (ETW_EVENT_ENABLED(MICROSOFT_WINDOWS_DOTNETRUNTIME_PROVIDER_Context, ILStubGenerated))
+        {
+            EtwOnILStubGenerated(
+                pStubMD, 
+                pbLocalSig, 
+                cbSig,
+                jitFlags,
+                &convertToHRTryCatch,
+                &cleanupTryFinally,
+                maxStack,
+                (DWORD)cbCode
+                );
+        }
+
     }
 
+    //---------------------------------------------------------------------------------------
+    // 
+    void 
+    EtwOnILStubGenerated(
+        MethodDesc *    pStubMD, 
+        PCCOR_SIGNATURE pbLocalSig, 
+        DWORD           cbSig, 
+        CORJIT_FLAGS    jitFlags,
+        ILStubEHClause * pConvertToHRTryCatchBounds,
+        ILStubEHClause * pCleanupTryFinallyBounds,
+        DWORD           maxStack, 
+        DWORD           cbCode)
+    {
+        STANDARD_VM_CONTRACT;
+
+        //
+        // Interop Method Information
+        //
+        MethodDesc *pTargetMD = m_slIL.GetTargetMD();
+        SString strNamespaceOrClassName, strMethodName, strMethodSignature;                
+        UINT64 uModuleId = 0;
+        
+        if (pTargetMD)
+        {
+            pTargetMD->GetMethodInfoWithNewSig(strNamespaceOrClassName, strMethodName, strMethodSignature);
+            uModuleId = (UINT64)pTargetMD->GetModule()->GetAddrModuleID();
+        }
+
+        //
+        // Stub Method Signature
+        //
+        SString stubNamespaceOrClassName, stubMethodName, stubMethodSignature;
+        pStubMD->GetMethodInfoWithNewSig(stubNamespaceOrClassName, stubMethodName, stubMethodSignature);
+        
+        IMDInternalImport *pStubImport = pStubMD->GetModule()->GetMDImport();
+        
+        CQuickBytes qbLocal;
+        PrettyPrintSig(pbLocalSig, (DWORD)cbSig, NULL, &qbLocal,  pStubImport, NULL);
+
+        SString strLocalSig(SString::Utf8, (LPCUTF8)qbLocal.Ptr());
+        
+        //
+        // Native Signature
+        // 
+        SString strNativeSignature(SString::Utf8);
+        if (m_dwStubFlags & NDIRECTSTUB_FL_REVERSE_INTEROP)
+        {
+            // Reverse interop. Use StubSignature
+            strNativeSignature = stubMethodSignature;                
+        }
+        else
+        {
+            // Forward interop. Use StubTarget siganture
+            PCCOR_SIGNATURE pCallTargetSig = GetStubTargetMethodSig();
+            DWORD           cCallTargetSig = GetStubTargetMethodSigLength();
+            
+            CQuickBytes qbCallTargetSig;
+            
+            PrettyPrintSig(pCallTargetSig, cCallTargetSig, "", &qbCallTargetSig,  pStubImport, NULL);
+
+            strNativeSignature.SetUTF8((LPCUTF8)qbCallTargetSig.Ptr());
+        }
+        
+        //
+        // Dump IL stub code       
+        //
+        SString strILStubCode;
+        strILStubCode.Preallocate(4096);    // Preallocate 4K bytes to avoid unnecessary growth
+
+        SString codeSizeFormat;
+        codeSizeFormat.LoadResource(CCompRC::Optional, IDS_EE_INTEROP_CODE_SIZE_COMMENT);
+        strILStubCode.AppendPrintf(W("// %s\t%d (0x%04x)\n"), codeSizeFormat.GetUnicode(), cbCode, cbCode);
+        strILStubCode.AppendPrintf(W(".maxstack %d \n"), maxStack);
+        strILStubCode.AppendPrintf(W(".locals %s\n"), strLocalSig.GetUnicode());
+        
+        m_slIL.LogILStub(jitFlags, &strILStubCode);
+
+        if (pConvertToHRTryCatchBounds->cbTryLength != 0 && pConvertToHRTryCatchBounds->cbHandlerLength != 0)
+        {
+            strILStubCode.AppendPrintf(
+                W(".try IL_%04x to IL_%04x catch handler IL_%04x to IL_%04x\n"), 
+                pConvertToHRTryCatchBounds->dwTryBeginOffset, 
+                pConvertToHRTryCatchBounds->dwTryBeginOffset + pConvertToHRTryCatchBounds->cbTryLength, 
+                pConvertToHRTryCatchBounds->dwHandlerBeginOffset, 
+                pConvertToHRTryCatchBounds->dwHandlerBeginOffset + pConvertToHRTryCatchBounds->cbHandlerLength);
+        }
+
+        if (pCleanupTryFinallyBounds->cbTryLength != 0 && pCleanupTryFinallyBounds->cbHandlerLength != 0)
+        {
+            strILStubCode.AppendPrintf(
+                W(".try IL_%04x to IL_%04x finally handler IL_%04x to IL_%04x\n"), 
+                pCleanupTryFinallyBounds->dwTryBeginOffset, 
+                pCleanupTryFinallyBounds->dwTryBeginOffset + pCleanupTryFinallyBounds->cbTryLength, 
+                pCleanupTryFinallyBounds->dwHandlerBeginOffset, 
+                pCleanupTryFinallyBounds->dwHandlerBeginOffset + pCleanupTryFinallyBounds->cbHandlerLength);
+        }
+
+        //
+        // Fire the event
+        //
+        DWORD dwFlags = 0;
+        if (m_dwStubFlags & NDIRECTSTUB_FL_REVERSE_INTEROP)
+            dwFlags |= ETW_IL_STUB_FLAGS_REVERSE_INTEROP;
+#ifdef FEATURE_COMINTEROP            
+        if (m_dwStubFlags & NDIRECTSTUB_FL_COM)
+            dwFlags |= ETW_IL_STUB_FLAGS_COM_INTEROP;
+#endif // FEATURE_COMINTEROP            
+        if (m_dwStubFlags & NDIRECTSTUB_FL_NGENEDSTUB)
+            dwFlags |= ETW_IL_STUB_FLAGS_NGENED_STUB;
+        if (m_dwStubFlags & NDIRECTSTUB_FL_DELEGATE)
+            dwFlags |= ETW_IL_STUB_FLAGS_DELEGATE;
+        if (m_dwStubFlags & NDIRECTSTUB_FL_CONVSIGASVARARG)
+            dwFlags |= ETW_IL_STUB_FLAGS_VARARG;
+        if (m_dwStubFlags & NDIRECTSTUB_FL_UNMANAGED_CALLI)
+            dwFlags |= ETW_IL_STUB_FLAGS_UNMANAGED_CALLI;
+            
+        DWORD dwToken = 0;
+        if (pTargetMD)
+            dwToken = pTargetMD->GetMemberDef();
+
+
+        //
+        // Truncate string fields. Make sure the whole event is less than 64KB
+        //
+        TruncateUnicodeString(strNamespaceOrClassName, ETW_IL_STUB_EVENT_STRING_FIELD_MAXSIZE);
+        TruncateUnicodeString(strMethodName,           ETW_IL_STUB_EVENT_STRING_FIELD_MAXSIZE);
+        TruncateUnicodeString(strMethodSignature,      ETW_IL_STUB_EVENT_STRING_FIELD_MAXSIZE);
+        TruncateUnicodeString(strNativeSignature,      ETW_IL_STUB_EVENT_STRING_FIELD_MAXSIZE);
+        TruncateUnicodeString(stubMethodSignature,     ETW_IL_STUB_EVENT_STRING_FIELD_MAXSIZE);
+        TruncateUnicodeString(strILStubCode,           ETW_IL_STUB_EVENT_CODE_STRING_FIELD_MAXSIZE);
+        
+        //
+        // Fire ETW event
+        //
+        FireEtwILStubGenerated(
+            GetClrInstanceId(),                         // ClrInstanceId
+            uModuleId,                                  // ModuleIdentifier
+            (UINT64)pStubMD,                            // StubMethodIdentifier
+            dwFlags,                                    // StubFlags                 
+            dwToken,                                    // ManagedInteropMethodToken
+            strNamespaceOrClassName.GetUnicode(),       // ManagedInteropMethodNamespace
+            strMethodName.GetUnicode(),                 // ManagedInteropMethodName
+            strMethodSignature.GetUnicode(),            // ManagedInteropMethodSignature
+            strNativeSignature.GetUnicode(),            // NativeSignature
+            stubMethodSignature.GetUnicode(),           // StubMethodSigature
+            strILStubCode.GetUnicode()                  // StubMethodILCode
+            );            
+    } // EtwOnILStubGenerated
 
 #ifdef LOGGING
     //---------------------------------------------------------------------------------------
index e168886..31d3661 100644 (file)
@@ -624,10 +624,14 @@ FCFuncStart(gMathFuncs)
     FCIntrinsic("Exp", COMDouble::Exp, CORINFO_INTRINSIC_Exp)
     FCIntrinsic("Floor", COMDouble::Floor, CORINFO_INTRINSIC_Floor)
     FCFuncElement("FMod", COMDouble::FMod)
+    FCFuncElement("FusedMultiplyAdd", COMDouble::FusedMultiplyAdd)
+    FCFuncElement("IlogB", COMDouble::IlogB)
     FCFuncElement("Log", COMDouble::Log)
+    FCFuncElement("Log2", COMDouble::Log2)
     FCIntrinsic("Log10", COMDouble::Log10, CORINFO_INTRINSIC_Log10)
     FCFuncElement("ModF", COMDouble::ModF)
     FCIntrinsic("Pow", COMDouble::Pow, CORINFO_INTRINSIC_Pow)
+    FCFuncElement("ScaleB", COMDouble::ScaleB)
     FCIntrinsic("Sin", COMDouble::Sin, CORINFO_INTRINSIC_Sin)
     FCIntrinsic("Sinh", COMDouble::Sinh, CORINFO_INTRINSIC_Sinh)
     FCIntrinsic("Sqrt", COMDouble::Sqrt, CORINFO_INTRINSIC_Sqrt)
@@ -650,10 +654,14 @@ FCFuncStart(gMathFFuncs)
     FCIntrinsic("Exp", COMSingle::Exp, CORINFO_INTRINSIC_Exp)
     FCIntrinsic("Floor", COMSingle::Floor, CORINFO_INTRINSIC_Floor)
     FCFuncElement("FMod", COMSingle::FMod)
+    FCFuncElement("FusedMultiplyAdd", COMSingle::FusedMultiplyAdd)
+    FCFuncElement("IlogB", COMSingle::IlogB)
     FCFuncElement("Log", COMSingle::Log)
+    FCFuncElement("Log2", COMSingle::Log2)
     FCIntrinsic("Log10", COMSingle::Log10, CORINFO_INTRINSIC_Log10)
     FCFuncElement("ModF", COMSingle::ModF)
     FCIntrinsic("Pow", COMSingle::Pow, CORINFO_INTRINSIC_Pow)
+    FCFuncElement("ScaleB", COMSingle::ScaleB)
     FCIntrinsic("Sin", COMSingle::Sin, CORINFO_INTRINSIC_Sin)
     FCIntrinsic("Sinh", COMSingle::Sinh, CORINFO_INTRINSIC_Sinh)
     FCIntrinsic("Sqrt", COMSingle::Sqrt, CORINFO_INTRINSIC_Sqrt)
index 4cb31de..2d5212e 100644 (file)
@@ -23,7 +23,7 @@ void EEContract::Disable()
     BaseContract::Disable();
 }
 
-void EEContract::DoChecks(UINT testmask, __in_z const char *szFunction, __in_z char *szFile, int lineNum)
+void EEContract::DoChecks(UINT testmask, __in_z const char *szFunction, __in_z const char *szFile, int lineNum)
 {
     SCAN_IGNORE_THROW;      // Tell the static contract analyzer to ignore contract violations
     SCAN_IGNORE_FAULT;      // due to the contract checking logic itself.
index 3b7f160..fbe0d55 100644 (file)
@@ -42,7 +42,7 @@ class EEContract : public BaseContract
     }
 
     void Disable();
-    void DoChecks(UINT testmask, __in_z const char *szFunction, __in_z char *szFile, int lineNum);
+    void DoChecks(UINT testmask, __in_z const char *szFunction, __in_z const char *szFile, int lineNum);
 };
 
 
index ee8303c..f25884e 100644 (file)
@@ -165,7 +165,7 @@ public:
 
     virtual size_t GetFunctionSize(MethodDesc *pFD) = 0;
 
-    virtual const PCODE GetFunctionAddress(MethodDesc *pFD) = 0;
+    virtual PCODE GetFunctionAddress(MethodDesc *pFD) = 0;
 
 #ifndef DACCESS_COMPILE
 
@@ -373,6 +373,10 @@ public:
     virtual void ObjectRefFlush(Thread *pThread) = 0;
 #endif
 #endif
+
+#ifndef DACCESS_COMPILE
+    virtual BOOL AdjustContextForWriteBarrierForDebugger(CONTEXT* context) = 0;
+#endif
 };
 
 #endif // _eedbginterface_h_
index 9a95af1..cd59643 100644 (file)
@@ -641,7 +641,7 @@ size_t EEDbgInterfaceImpl::GetFunctionSize(MethodDesc *pFD)
 }
 #endif //!DACCESS_COMPILE
 
-const PCODE EEDbgInterfaceImpl::GetFunctionAddress(MethodDesc *pFD)
+PCODE EEDbgInterfaceImpl::GetFunctionAddress(MethodDesc *pFD)
 { 
     CONTRACTL
     {
@@ -1630,4 +1630,14 @@ void EEDbgInterfaceImpl::ObjectRefFlush(Thread *pThread)
 #endif
 #endif
 
+#ifndef DACCESS_COMPILE
+
+BOOL AdjustContextForWriteBarrier(EXCEPTION_RECORD *pExceptionRecord, CONTEXT *pContext);
+BOOL EEDbgInterfaceImpl::AdjustContextForWriteBarrierForDebugger(CONTEXT* context)
+{
+    WRAPPER_NO_CONTRACT;
+    return AdjustContextForWriteBarrier(nullptr, context);
+}
+#endif
+
 #endif // DEBUGGING_SUPPORTED
index 293b11d..6fee904 100644 (file)
@@ -146,7 +146,7 @@ public:
 
     size_t GetFunctionSize(MethodDesc *pFD) DAC_UNEXPECTED();
 
-    const PCODE GetFunctionAddress(MethodDesc *pFD);
+    PCODE GetFunctionAddress(MethodDesc *pFD);
 
     void DisablePreemptiveGC(void);
 
@@ -343,6 +343,10 @@ public:
     virtual void ObjectRefFlush(Thread *pThread);
 #endif
 #endif
+
+#ifndef DACCESS_COMPILE
+    virtual BOOL AdjustContextForWriteBarrierForDebugger(CONTEXT* context);
+#endif
 };
 
 #endif // DEBUGGING_SUPPORTED
index 45de0a3..05fc63f 100644 (file)
@@ -2722,7 +2722,7 @@ public:
         return (e == NULL);
     }
 
-    static const element_t Null()
+    static element_t Null()
     {
         LIMITED_METHOD_CONTRACT;
         return NULL; 
index 6eb9105..6577f6a 100644 (file)
@@ -6966,6 +6966,48 @@ AdjustContextForWriteBarrier(
 {
     WRAPPER_NO_CONTRACT;
 
+#ifdef FEATURE_DATABREAKPOINT
+
+    // If pExceptionRecord is null, it means it is called from EEDbgInterfaceImpl::AdjustContextForWriteBarrierForDebugger()
+    // This is called only when a data breakpoint is hitm which could be inside a JIT write barrier helper and required
+    // this logic to help unwind out of it. For the x86, not patched case, we assume the IP lies within the region where we 
+    // have already saved the registers on the stack, and therefore the code unwind those registers as well. This is not true 
+    // for the usual AV case where the registers are not saved yet.
+
+    if (pExceptionRecord == nullptr)
+    {
+        PCODE ip = GetIP(pContext);
+#if defined(_TARGET_X86_)
+        bool withinWriteBarrierGroup = ((ip >= (PCODE) JIT_WriteBarrierGroup) && (ip <= (PCODE) JIT_WriteBarrierGroup_End));
+        bool withinPatchedWriteBarrierGroup = ((ip >= (PCODE) JIT_PatchedWriteBarrierGroup) && (ip <= (PCODE) JIT_PatchedWriteBarrierGroup_End));
+        if (withinWriteBarrierGroup || withinPatchedWriteBarrierGroup)
+        {
+            DWORD* esp = (DWORD*)pContext->Esp;
+            if (withinWriteBarrierGroup)
+            {
+#if defined(WRITE_BARRIER_CHECK)
+                pContext->Ebp = *esp++;
+                pContext->Ecx = *esp++;
+#endif
+            }
+            pContext->Eip = *esp++;
+            pContext->Esp = (DWORD)esp;
+            return TRUE;
+        }
+#elif defined(_TARGET_AMD64_)
+        if (IsIPInMarkedJitHelper((UINT_PTR)ip))
+        {
+            Thread::VirtualUnwindToFirstManagedCallFrame(pContext);
+            return TRUE;
+        }
+#else
+        #error Not supported
+#endif
+        return FALSE;
+    }
+
+#endif // FEATURE_DATABREAKPOINT
+
 #if defined(_TARGET_X86_) && !defined(PLATFORM_UNIX)
     void* f_IP = (void *)GetIP(pContext);
 
@@ -8172,6 +8214,24 @@ LONG WINAPI CLRVectoredExceptionHandlerShim(PEXCEPTION_POINTERS pExceptionInfo)
     // this thread will bypass all our locks.
     Thread *pThread = GetThread();
 
+    if (pThread)
+    {
+        // Fiber-friendly Vectored Exception Handling:
+        // Check if the current and the cached stack-base match.
+        // If they don't match then probably the thread is running on a different Fiber
+        // than during the initialization of the Thread-object.
+        void* stopPoint = pThread->GetCachedStackBase();
+        void* currentStackBase = Thread::GetStackUpperBound();
+        if (currentStackBase != stopPoint)
+        {
+            CantAllocHolder caHolder;
+            STRESS_LOG2(LF_EH, LL_INFO100, "In CLRVectoredExceptionHandler: mismatch of cached and current stack-base indicating use of Fibers, return with EXCEPTION_CONTINUE_SEARCH: current = %p; cache = %p\n",
+                currentStackBase, stopPoint);
+            return EXCEPTION_CONTINUE_SEARCH;
+        }
+    }
+    
+    
     // Also check if the exception was in the EE or not
     BOOL fExceptionInEE = FALSE;
     if (!pThread)
index 2af064c..8e78fc4 100644 (file)
@@ -434,7 +434,7 @@ VOID DECLSPEC_NORETURN DispatchManagedException(PAL_SEHException& ex, bool isHar
 #define CANNOTTHROWCOMPLUSEXCEPTION() ANNOTATION_NOTHROW; \
     COMPlusCannotThrowExceptionHelper _dummyvariable(TRUE, __FUNCTION__, __FILE__, __LINE__);
 
-extern char *g_ExceptionFile;
+extern const char *g_ExceptionFile;
 extern DWORD g_ExceptionLine;
 
 #define THROWLOG() ( g_ExceptionFile = __FILE__, g_ExceptionLine = __LINE__, TRUE )
index e7465ba..9fb7ba0 100644 (file)
@@ -413,6 +413,7 @@ LPVOID __FCThrowArgument(LPVOID me, enum RuntimeExceptionKind reKind, LPCWSTR ar
 #define FCDECL3_IVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, int /* EDX */, a1, a3, a2)
 #define FCDECL3_IVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, a3, a1, a2)
 #define FCDECL3_VVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, int /* EDX */, a3, a2, a1)
+#define FCDECL3_VVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, int /* EDX */, int /* ECX */, a3, a2, a1)
 #define FCDECL4(rettype, funcname, a1, a2, a3, a4) rettype F_CALL_CONV funcname(int /* EAX */, a2, a1, a4, a3)
 #define FCDECL5(rettype, funcname, a1, a2, a3, a4, a5) rettype F_CALL_CONV funcname(int /* EAX */, a2, a1, a5, a4, a3)
 #define FCDECL6(rettype, funcname, a1, a2, a3, a4, a5, a6) rettype F_CALL_CONV funcname(int /* EAX */, a2, a1, a6, a5, a4, a3)
@@ -444,6 +445,7 @@ LPVOID __FCThrowArgument(LPVOID me, enum RuntimeExceptionKind reKind, LPCWSTR ar
 #define FCDECL3_IVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a1, a3, a2)
 #define FCDECL3_IVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a1, a3, a2)
 #define FCDECL3_VVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a2, a1, a3)
+#define FCDECL3_VVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a3, a2, a1)
 #define FCDECL4(rettype, funcname, a1, a2, a3, a4) rettype F_CALL_CONV funcname(a1, a2, a4, a3)
 #define FCDECL5(rettype, funcname, a1, a2, a3, a4, a5) rettype F_CALL_CONV funcname(a1, a2, a5, a4, a3)
 #define FCDECL6(rettype, funcname, a1, a2, a3, a4, a5, a6) rettype F_CALL_CONV funcname(a1, a2, a6, a5, a4, a3)
@@ -499,6 +501,7 @@ LPVOID __FCThrowArgument(LPVOID me, enum RuntimeExceptionKind reKind, LPCWSTR ar
 #define FCDECL3_IVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a1, a2, a3)
 #define FCDECL3_IVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a1, a2, a3)
 #define FCDECL3_VVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a1, a2, a3)
+#define FCDECL3_VVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(a1, a2, a3)
 #define FCDECL4(rettype, funcname, a1, a2, a3, a4) rettype F_CALL_CONV funcname(a1, a2, a3, a4)
 #define FCDECL5(rettype, funcname, a1, a2, a3, a4, a5) rettype F_CALL_CONV funcname(a1, a2, a3, a4, a5)
 #define FCDECL6(rettype, funcname, a1, a2, a3, a4, a5, a6) rettype F_CALL_CONV funcname(a1, a2, a3, a4, a5, a6)
@@ -967,7 +970,7 @@ extern int FC_NO_TAILCALL;
 #ifdef CHECK_FCALL_SIGNATURE
 struct FCSigCheck {
 public:
-    FCSigCheck(void* fnc, char* sig)
+    FCSigCheck(void* fnc, const char* sig)
     {
         LIMITED_METHOD_CONTRACT;
         func = fnc;
@@ -978,7 +981,7 @@ public:
 
     FCSigCheck* next;
     void* func;
-    char* signature;
+    const char* signature;
 
     static FCSigCheck* g_pFCSigCheck;
 };
@@ -1009,6 +1012,7 @@ public:
 #define FCIMPL3_IVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, int /* EDX */, a1, a3, a2) { FCIMPL_PROLOG(funcname)
 #define FCIMPL3_IVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, a3, a1, a2) { FCIMPL_PROLOG(funcname)
 #define FCIMPL3_VVI(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, int /* EDX */, a3, a2, a1) {  FCIMPL_PROLOG(funcname)
+#define FCIMPL3_VVV(rettype, funcname, a1, a2, a3) rettype F_CALL_CONV funcname(int /* EAX */, int /* EDX */, int /* ECX */, a3, a2, a1) {  FCIMPL_PROLOG(funcname)
 #define FCIMPL4(rettype, funcname, a1, a2, a3, a4) rettype F_CALL_CONV funcname(int /* EAX */, a2, a1, a4, a3) { FCIMPL_PROLOG(funcname)
 #define FCIMPL5(rettype, funcname, a1, a2, a3, a4, a5) rettype F_CALL_CONV funcname(int /* EAX */, a2, a1, a5, a4, a3) { FCIMPL_PROLOG(funcname)
 #define FCIMPL6(rettype, funcname, a1, a2, a3, a4, a5, a6) rettype F_CALL_CONV funcname(int /* EAX */, a2, a1, a6, a5, a4, a3) { FCIMPL_PROLOG(funcname)
@@ -1054,6 +1058,8 @@ public:
     rettype F_CALL_CONV funcname(a1, a3, a2) { FCIMPL_PROLOG(funcname)
 #define FCIMPL3_VVI(rettype, funcname, a1, a2, a3) FCSIGCHECK(funcname, #rettype "," "V" #a1 "," "V" #a2 "," #a3) \
     rettype F_CALL_CONV funcname(a2, a1, a3) { FCIMPL_PROLOG(funcname)
+#define FCIMPL3_VVV(rettype, funcname, a1, a2, a3) FCSIGCHECK(funcname, #rettype "," "V" #a1 "," "V" #a2 "," "V" #a3) \
+    rettype F_CALL_CONV funcname(a3, a2, a1) { FCIMPL_PROLOG(funcname)
 #define FCIMPL4(rettype, funcname, a1, a2, a3, a4) FCSIGCHECK(funcname, #rettype "," #a1 "," #a2 "," #a3 "," #a4) \
     rettype F_CALL_CONV funcname(a1, a2, a4, a3) { FCIMPL_PROLOG(funcname)
 #define FCIMPL5(rettype, funcname, a1, a2, a3, a4, a5) FCSIGCHECK(funcname, #rettype "," #a1 "," #a2 "," #a3 "," #a4 "," #a5) \
@@ -1100,6 +1106,7 @@ public:
 #define FCIMPL3_VII(rettype, funcname, a1, a2, a3) rettype funcname(a1, a2, a3) {  FCIMPL_PROLOG(funcname)
 #define FCIMPL3_IVI(rettype, funcname, a1, a2, a3) rettype funcname(a1, a2, a3) {  FCIMPL_PROLOG(funcname)
 #define FCIMPL3_VVI(rettype, funcname, a1, a2, a3) rettype funcname(a1, a2, a3) {  FCIMPL_PROLOG(funcname)
+#define FCIMPL3_VVV(rettype, funcname, a1, a2, a3) rettype funcname(a1, a2, a3) {  FCIMPL_PROLOG(funcname)
 #define FCIMPL4(rettype, funcname, a1, a2, a3, a4) rettype funcname(a1, a2, a3, a4) {  FCIMPL_PROLOG(funcname)
 #define FCIMPL5(rettype, funcname, a1, a2, a3, a4, a5) rettype funcname(a1, a2, a3, a4, a5) {  FCIMPL_PROLOG(funcname)
 #define FCIMPL6(rettype, funcname, a1, a2, a3, a4, a5, a6) rettype funcname(a1, a2, a3, a4, a5, a6) {  FCIMPL_PROLOG(funcname)
index 5da6bcd..db58228 100644 (file)
@@ -487,7 +487,7 @@ public:
 
     // indicate the current X86 IP address within the current method
     // return 0 if the information is not available
-    virtual const PTR_BYTE GetIP()
+    virtual PTR_BYTE GetIP()
     {
         LIMITED_METHOD_CONTRACT;
         return NULL;
index 34645b3..87b3f93 100644 (file)
@@ -3,7 +3,7 @@
 // See the LICENSE file in the project root for more information.
 
 /*
- * GCENV.EE.CPP 
+ * GCENV.EE.CPP
  *
  * GCToEEInterface implementation
  *
@@ -21,12 +21,16 @@ void GCToEEInterface::SuspendEE(SUSPEND_REASON reason)
     _ASSERTE(reason == SUSPEND_FOR_GC || reason == SUSPEND_FOR_GC_PREP);
 
     ThreadSuspend::SuspendEE((ThreadSuspend::SUSPEND_REASON)reason);
+
+    g_pDebugInterface->BeforeGarbageCollection();
 }
 
 void GCToEEInterface::RestartEE(bool bFinishedGC)
 {
     WRAPPER_NO_CONTRACT;
 
+    g_pDebugInterface->AfterGarbageCollection();
+
     ThreadSuspend::RestartEE(bFinishedGC, TRUE);
 }
 
@@ -43,8 +47,8 @@ VOID GCToEEInterface::SyncBlockCacheWeakPtrScan(HANDLESCANPROC scanProc, uintptr
 }
 
 
-//EE can perform post stack scanning action, while the 
-// user threads are still suspended 
+//EE can perform post stack scanning action, while the
+// user threads are still suspended
 VOID GCToEEInterface::AfterGcScanRoots (int condemned, int max_gen,
                                    ScanContext* sc)
 {
@@ -71,7 +75,7 @@ VOID GCToEEInterface::AfterGcScanRoots (int condemned, int max_gen,
 /*
  * Scan all stack roots
  */
+
 static void ScanStackRoots(Thread * pThread, promote_func* fn, ScanContext* sc)
 {
     GCCONTEXT   gcctx;
@@ -89,19 +93,19 @@ static void ScanStackRoots(Thread * pThread, promote_func* fn, ScanContext* sc)
     _ASSERTE(dbgOnly_IsSpecialEEThread() ||
                 GetThread() == NULL ||
                 // this is for background GC threads which always call this when EE is suspended.
-                IsGCSpecialThread() || 
+                IsGCSpecialThread() ||
                 (GetThread() == ThreadSuspend::GetSuspensionThread() && ThreadStore::HoldingThreadStore()));
 
     pThread->SetHasPromotedBytes();
 
     Frame* pTopFrame = pThread->GetFrame();
     Object ** topStack = (Object **)pTopFrame;
-    if ((pTopFrame != ((Frame*)-1)) 
+    if ((pTopFrame != ((Frame*)-1))
         && (pTopFrame->GetVTablePtr() == InlinedCallFrame::GetMethodFrameVPtr())) {
         // It is an InlinedCallFrame. Get SP from it.
         InlinedCallFrame* pInlinedFrame = (InlinedCallFrame*)pTopFrame;
         topStack = (Object **)pInlinedFrame->GetCallSiteSP();
-    } 
+    }
 
     sc->stack_limit = (uintptr_t)topStack;
 
@@ -141,11 +145,11 @@ static void ScanStackRoots(Thread * pThread, promote_func* fn, ScanContext* sc)
     }
     else
 #endif
-    {    
+    {
         unsigned flagsStackWalk = ALLOW_ASYNC_STACK_WALK | ALLOW_INVALID_OBJECTS;
-#if defined(WIN64EXCEPTIONS)            
+#if defined(WIN64EXCEPTIONS)
         flagsStackWalk |= GC_FUNCLET_REFERENCE_REPORTING;
-#endif // defined(WIN64EXCEPTIONS)                        
+#endif // defined(WIN64EXCEPTIONS)
         pThread->StackWalkFrames( GcStackCrawlCallBack, &gcctx, flagsStackWalk);
     }
 }
@@ -210,11 +214,11 @@ void GCToEEInterface::GcStartWork (int condemned, int max_gen)
     // Jupiter will
     // 1. Report reference from RCW to CCW based on native reference in Jupiter
     // 2. Identify the subset of CCWs that needs to be rooted
-    // 
+    //
     // We'll build the references from RCW to CCW using
     // 1. Preallocated arrays
     // 2. Dependent handles
-    // 
+    //
     RCWWalker::OnGCStarted(condemned);
 #endif // FEATURE_COMINTEROP
 
@@ -236,7 +240,7 @@ void GCToEEInterface::GcDone(int condemned)
 #ifdef FEATURE_COMINTEROP
     //
     // Tell Jupiter GC has finished
-    // 
+    //
     RCWWalker::OnGCFinished(condemned);
 #endif // FEATURE_COMINTEROP
 }
@@ -308,13 +312,13 @@ uint32_t GCToEEInterface::GetActiveSyncBlockCount()
     }
     CONTRACTL_END;
 
-    return SyncBlockCache::GetSyncBlockCache()->GetActiveCount();   
+    return SyncBlockCache::GetSyncBlockCache()->GetActiveCount();
 }
 
 gc_alloc_context * GCToEEInterface::GetAllocContext()
 {
     WRAPPER_NO_CONTRACT;
-    
+
     Thread* pThread = ::GetThread();
     assert(pThread != nullptr);
     return pThread->GetAllocContext();
@@ -491,7 +495,7 @@ void ProfScanRootsHelper(Object** ppObject, ScanContext *pSC, uint32_t dwFlags)
 
 // Returns TRUE if GC profiling is enabled and the profiler
 // should scan dependent handles, FALSE otherwise.
-BOOL ProfilerShouldTrackConditionalWeakTableElements() 
+BOOL ProfilerShouldTrackConditionalWeakTableElements()
 {
 #if defined(GC_PROFILING)
     return CORProfilerTrackConditionalWeakTableElements();
@@ -513,7 +517,7 @@ void ProfilerEndConditionalWeakTableElementReferences(void* heapId)
 
 // If GC profiling is enabled, informs the profiler that we are done
 // tracing root references.
-void ProfilerEndRootReferences2(void* heapId) 
+void ProfilerEndRootReferences2(void* heapId)
 {
 #if defined (GC_PROFILING)
     g_profControlBlock.pProfInterface->EndRootReferences2(heapId);
@@ -553,7 +557,7 @@ void ScanHandleForProfilerAndETW(Object** pRef, Object* pSec, uint32_t flags, Sc
                 (uint8_t *)*pRef,
                 kEtwGCRootKindHandle,
                 (EtwGCRootFlags)flags,
-                pRef, 
+                pRef,
                 &pSC->pHeapId);
             END_PIN_PROFILER();
         }
@@ -583,7 +587,7 @@ void ScanHandleForProfilerAndETW(Object** pRef, Object* pSec, uint32_t flags, Sc
             0,              // dwGCFlags,
             flags);     // ETW handle flags
     }
-#endif // defined(FEATURE_EVENT_TRACE) 
+#endif // defined(FEATURE_EVENT_TRACE)
 }
 
 // This is called only if we've determined that either:
@@ -674,7 +678,7 @@ void GCProfileWalkHeap()
 #ifdef FEATURE_EVENT_TRACE
     if (ETW::GCLog::ShouldWalkStaticsAndCOMForEtw())
         ETW::GCLog::WalkStaticsAndCOMForETW();
-    
+
     BOOL fShouldWalkHeapRootsForEtw = ETW::GCLog::ShouldWalkHeapRootsForEtw();
     BOOL fShouldWalkHeapObjectsForEtw = ETW::GCLog::ShouldWalkHeapObjectsForEtw();
 #else // !FEATURE_EVENT_TRACE
@@ -765,9 +769,9 @@ void GCToEEInterface::DiagWalkFReachableObjects(void* gcContext)
 // Note on last parameter: when calling this for bgc, only ETW
 // should be sending these events so that existing profapi profilers
 // don't get confused.
-void WalkMovedReferences(uint8_t* begin, uint8_t* end, 
+void WalkMovedReferences(uint8_t* begin, uint8_t* end,
                          ptrdiff_t reloc,
-                         void* context, 
+                         void* context,
                          bool fCompacting,
                          bool fBGC)
 {
@@ -852,7 +856,7 @@ void GCToEEInterface::StompWriteBarrier(WriteBarrierParameters* args)
         // We need to make sure that other threads executing checked write barriers
         // will see the g_card_table update before g_lowest/highest_address updates.
         // Otherwise, the checked write barrier may AV accessing the old card table
-        // with address that it does not cover. 
+        // with address that it does not cover.
         //
         // Even x86's total store ordering is insufficient here because threads reading
         // g_card_table do so via the instruction cache, whereas g_lowest/highest_address
@@ -928,7 +932,7 @@ void GCToEEInterface::StompWriteBarrier(WriteBarrierParameters* args)
         assert(g_card_bundle_table == nullptr);
         g_card_bundle_table = args->card_bundle_table;
 #endif
-        
+
         g_lowest_address = args->lowest_address;
         g_highest_address = args->highest_address;
         stompWBCompleteActions |= ::StompWriteBarrierResize(true, false);
@@ -965,13 +969,13 @@ void GCToEEInterface::StompWriteBarrier(WriteBarrierParameters* args)
     default:
         assert(!"unknown WriteBarrierOp enum");
     }
-    if (stompWBCompleteActions & SWB_ICACHE_FLUSH) 
+    if (stompWBCompleteActions & SWB_ICACHE_FLUSH)
     {
         ::FlushWriteBarrierInstructionCache();
     }
-    if (stompWBCompleteActions & SWB_EE_RESTART) 
+    if (stompWBCompleteActions & SWB_EE_RESTART)
     {
-        assert(!args->is_runtime_suspended && 
+        assert(!args->is_runtime_suspended &&
             "if runtime was suspended in patching routines then it was in running state at begining");
         ThreadSuspend::RestartEE(FALSE, TRUE);
     }
@@ -1134,7 +1138,7 @@ bool GCToEEInterface::GetStringConfigValue(const char* key, const char** value)
         return false;
     }
 
-    if (WideCharToMultiByte(CP_ACP, 0, out, -1 /* out is null-terminated */, 
+    if (WideCharToMultiByte(CP_ACP, 0, out, -1 /* out is null-terminated */,
           configResult.GetValue(), MaxConfigKeyLength, nullptr, nullptr) == 0)
     {
         // this should only happen if the config subsystem gives us a string that's not valid
index bc85ad3..d4079f4 100644 (file)
@@ -1255,6 +1255,13 @@ CPFH_RealFirstPassHandler(                  // ExceptionContinueSearch, etc.
     CallRtlUnwindSafe(pEstablisherFrame, RtlUnwindCallback, pExceptionRecord, 0);
     // on x86 at least, RtlUnwind always returns
 
+    // The CallRtlUnwindSafe could have popped the explicit frame that the tct.pBottomFrame points to (UMThunkPrestubHandler
+    // does that). In such case, the tct.pBottomFrame needs to be updated to point to the first valid explicit frame.
+    Frame* frame = pThread->GetFrame();
+    if ((tct.pBottomFrame != NULL) && (frame > tct.pBottomFrame))
+    {
+        tct.pBottomFrame = frame;
+    }
     // Note: we've completed the unwind pass up to the establisher frame, and we're headed off to finish our
     // cleanup and end up back in jitted code. Any more FS0 handlers pushed from this point on out will _not_ be
     // unwound.
index 27b8668..2dd96d7 100644 (file)
@@ -130,6 +130,8 @@ ENDM
 
 ; The code here is tightly coupled with AdjustContextForWriteBarrier, if you change
 ; anything here, you might need to change AdjustContextForWriteBarrier as well
+; Note that beside the AV case, we might be unwinding inside the region where we have
+; already push ecx and ebp in the branch under FEATURE_DATABREAKPOINT 
 WriteBarrierHelper MACRO rg
         ALIGN 4
 
index 1fc74ce..58fa062 100644 (file)
@@ -191,7 +191,7 @@ public:
 #endif // POINTER_BITS
     }
 
-    static const element_t Null() 
+    static element_t Null()
 {
         WRAPPER_NO_CONTRACT;
         return NULL;
@@ -203,7 +203,7 @@ public:
         return e == NULL;
     }
 
-    static const element_t Deleted()
+    static element_t Deleted()
     {
         WRAPPER_NO_CONTRACT;
         return (element_t)-1;
index 8bf5842..cc3f0ec 100644 (file)
@@ -6273,13 +6273,13 @@ VOID IntializeInteropLogging()
     g_TraceCount = g_pConfig->GetTraceWrapper();
 }
 
-VOID LogInterop(__in_z LPSTR szMsg)
+VOID LogInterop(__in_z LPCSTR szMsg)
 {
     LIMITED_METHOD_CONTRACT;
     LOG( (LF_INTEROP, LL_INFO10, "%s\n",szMsg) );
 }
 
-VOID LogInterop(__in_z LPWSTR wszMsg)
+VOID LogInterop(__in_z LPCWSTR wszMsg)
 {
     LIMITED_METHOD_CONTRACT;
     LOG( (LF_INTEROP, LL_INFO10, "%S\n", wszMsg) );
index f290ba2..50abc39 100644 (file)
@@ -401,8 +401,8 @@ ClassFactoryBase *GetComClassFactory(MethodTable* pClassMT);
 
 #ifdef _DEBUG
 
-VOID LogInterop(__in_z LPSTR szMsg);
-VOID LogInterop(__in_z LPWSTR szMsg);
+VOID LogInterop(__in_z LPCSTR szMsg);
+VOID LogInterop(__in_z LPCWSTR szMsg);
 
 VOID LogInteropLeak(IUnkEntry * pEntry);
 VOID LogInteropLeak(IUnknown* pItf);
index f92e52b..624c622 100644 (file)
@@ -4971,6 +4971,24 @@ HCIMPL0(void, JIT_ThrowArgumentOutOfRangeException)
 HCIMPLEND
 
 /*********************************************************************/
+HCIMPL0(void, JIT_ThrowNotImplementedException)
+{
+    FCALL_CONTRACT;
+
+    /* Make no assumptions about the current machine state */
+    ResetCurrentContext();
+
+    FC_GC_POLL_NOT_NEEDED();    // throws always open up for GC
+
+    HELPER_METHOD_FRAME_BEGIN_ATTRIB_NOPOLL(Frame::FRAME_ATTR_EXCEPTION);    // Set up a frame
+
+    COMPlusThrow(kNotImplementedException);
+
+    HELPER_METHOD_FRAME_END();
+}
+HCIMPLEND
+
+/*********************************************************************/
 HCIMPL0(void, JIT_ThrowPlatformNotSupportedException)
 {
     FCALL_CONTRACT;
index b16e27d..963dce4 100644 (file)
@@ -98,6 +98,24 @@ const SIZE_T MethodDesc::s_ClassificationSizeTable[] = {
 #undef ComPlusCallMethodDesc
 #endif
 
+class ArgIteratorBaseForPInvoke : public ArgIteratorBase
+{
+protected:
+    FORCEINLINE BOOL IsRegPassedStruct(MethodTable* pMT)
+    {
+        return pMT->GetLayoutInfo()->IsNativeStructPassedInRegisters();
+    }
+};
+
+class PInvokeArgIterator : public ArgIteratorTemplate<ArgIteratorBaseForPInvoke>
+{
+public:
+    PInvokeArgIterator(MetaSig* pSig)
+    {
+        m_pSig = pSig;
+    }
+};
+
 
 //*******************************************************************************
 SIZE_T MethodDesc::SizeOf()
@@ -1753,6 +1771,19 @@ UINT MethodDesc::SizeOfArgStack()
     return argit.SizeOfArgStack();
 }
 
+
+UINT MethodDesc::SizeOfNativeArgStack()
+{
+#ifndef UNIX_AMD64_ABI
+    return SizeOfArgStack();
+#else
+    WRAPPER_NO_CONTRACT;
+    MetaSig msig(this);
+    PInvokeArgIterator argit(&msig);
+    return argit.SizeOfArgStack();
+#endif
+}
+
 #ifdef _TARGET_X86_
 //*******************************************************************************
 UINT MethodDesc::CbStackPop()
index 414d2a3..0baf2a4 100644 (file)
@@ -753,6 +753,10 @@ public:
     // arguments passed in registers.
     UINT SizeOfArgStack();
 
+    // Returns the # of bytes of stack used by arguments in a call from native to this function.
+    // Does not include arguments passed in registers.
+    UINT SizeOfNativeArgStack();
+
     // Returns the # of bytes to pop after a call. Not necessary the
     // same as SizeOfArgStack()!
     UINT CbStackPop();
index 8bd96da..b3e8b69 100644 (file)
@@ -2012,7 +2012,7 @@ public:
     bool IsNativeHFA();
     CorElementType GetNativeHFAType();
 
-#if defined(UNIX_AMD64_ABI)
+#ifdef UNIX_AMD64_ABI
     inline bool IsRegPassedStruct()
     {
         LIMITED_METHOD_CONTRACT;
@@ -2024,7 +2024,12 @@ public:
         LIMITED_METHOD_CONTRACT;
         SetFlag(enum_flag_IsRegStructPassed);
     }
-#endif // defined(UNIX_AMD64_ABI)
+#else
+    inline bool IsRegPassedStruct()
+    {
+        return false;
+    }
+#endif
 
 #ifdef FEATURE_64BIT_ALIGNMENT
     // Returns true iff the native view of this type requires 64-bit aligment.
@@ -3835,7 +3840,7 @@ private:
         enum_flag_GenericsMask_SharedInst   = 0x00000020,   // shared instantiation, e.g. List<__Canon> or List<MyValueType<__Canon>>
         enum_flag_GenericsMask_TypicalInst  = 0x00000030,   // the type instantiated at its formal parameters, e.g. List<T>
 
-        enum_flag_HasVariance               = 0x00000100,   // This is an instantiated type some of whose type parameters are co or contra-variant
+        enum_flag_HasVariance               = 0x00000100,   // This is an instantiated type some of whose type parameters are co- or contra-variant
 
         enum_flag_HasDefaultCtor            = 0x00000200,
         enum_flag_HasPreciseInitCctors      = 0x00000400,   // Do we need to run class constructors at allocation time? (Not perf important, could be moved to EEClass
index cfc4f4c..3f54c2f 100644 (file)
@@ -4053,17 +4053,13 @@ VOID    MethodTableBuilder::InitializeFieldDescs(FieldDesc *pFieldDescList,
                 {
                     if (fIsStatic)
                     {
-                        // By-ref-like types cannot be used for static fields
+                        // Byref-like types cannot be used for static fields
                         BuildMethodTableThrowException(IDS_CLASSLOAD_BYREFLIKE_STATICFIELD);
                     }
-                    if (!IsValueClass())
-                    {
-                        // Non-value-classes cannot contain by-ref-like instance fields
-                        BuildMethodTableThrowException(IDS_CLASSLOAD_BYREFLIKE_NOTVALUECLASSFIELD);
-                    }
                     if (!bmtFP->fIsByRefLikeType)
                     {
-                        BuildMethodTableThrowException(IDS_CLASSLOAD_NOTBYREFLIKE);
+                        // Non-byref-like types cannot contain byref-like instance fields
+                        BuildMethodTableThrowException(IDS_CLASSLOAD_BYREFLIKE_INSTANCEFIELD);
                     }
                 }
 
@@ -9589,7 +9585,7 @@ void MethodTableBuilder::CheckForSystemTypes()
             {
                 // x86 by default treats the type of ByReference<T> as the actual type of its IntPtr field, see calls to
                 // ComputeInternalCorElementTypeForValueType in this file. This is a special case where the struct needs to be
-                // treated as a value type so that its field can be considered as a by-ref pointer.
+                // treated as a value type so that its field can be considered as a byref pointer.
                 _ASSERTE(pMT->GetFlag(MethodTable::enum_flag_Category_Mask) == MethodTable::enum_flag_Category_PrimitiveValueType);
                 pMT->ClearFlag(MethodTable::enum_flag_Category_Mask);
                 pMT->SetInternalCorElementType(ELEMENT_TYPE_VALUETYPE);
@@ -9670,7 +9666,7 @@ void MethodTableBuilder::CheckForSystemTypes()
         {
             // x86 by default treats the type of ByReference<T> as the actual type of its IntPtr field, see calls to
             // ComputeInternalCorElementTypeForValueType in this file. This is a special case where the struct needs to be
-            // treated as a value type so that its field can be considered as a by-ref pointer.
+            // treated as a value type so that its field can be considered as a byref pointer.
             _ASSERTE(pMT->GetFlag(MethodTable::enum_flag_Category_Mask) == MethodTable::enum_flag_Category_PrimitiveValueType);
             pMT->ClearFlag(MethodTable::enum_flag_Category_Mask);
             pMT->SetInternalCorElementType(ELEMENT_TYPE_VALUETYPE);
index f4e2924..5cfd160 100644 (file)
@@ -162,7 +162,7 @@ public:
     BOOL Equals(PEImage *pImage);
 
     void GetMVID(GUID *pMvid);
-    const BOOL HasV1Metadata();
+    BOOL HasV1Metadata();
     IMDInternalImport* GetMDImport();
     BOOL MDImportLoaded();
     IMDInternalImport* GetNativeMDImport(BOOL loadAllowed = TRUE);    
@@ -198,26 +198,26 @@ public:
     const SString &GetModuleFileNameHintForDAC();
 #endif
 
-    const BOOL HasNTHeaders();
-    const BOOL HasCorHeader(); 
-    const BOOL HasReadyToRunHeader();
+    BOOL HasNTHeaders();
+    BOOL HasCorHeader();
+    BOOL HasReadyToRunHeader();
     void SetPassiveDomainOnly();
     BOOL PassiveDomainOnly();
     BOOL IsReferenceAssembly();
-#ifdef FEATURE_PREJIT  
-    const BOOL IsNativeILILOnly();
-    const BOOL IsNativeILDll();
+#ifdef FEATURE_PREJIT
+    BOOL IsNativeILILOnly();
+    BOOL IsNativeILDll();
     void GetNativeILPEKindAndMachine(DWORD* pdwKind, DWORD* pdwMachine);
     PTR_CVOID GetNativeManifestMetadata(COUNT_T *pSize = NULL);
 #endif
-    const BOOL HasDirectoryEntry(int entry);
-    const mdToken GetEntryPointToken();
-    const DWORD GetCorHeaderFlags(); 
-    const BOOL IsILOnly();
-    const BOOL IsDll();
-    const WORD GetSubsystem();
+    BOOL HasDirectoryEntry(int entry);
+    mdToken GetEntryPointToken();
+    DWORD GetCorHeaderFlags();
+    BOOL IsILOnly();
+    BOOL IsDll();
+    WORD GetSubsystem();
     BOOL  IsFileLocked();
-    const BOOL HasStrongNameSignature();
+    BOOL HasStrongNameSignature();
 
     BOOL IsIbcOptimized();
     BOOL Has32BitNTHeaders();
index 8a9c96c..2e7fd73 100644 (file)
@@ -175,7 +175,7 @@ inline BOOL PEImage::IsReferenceAssembly()
 }
 
 
-inline const BOOL PEImage::HasNTHeaders()   
+inline BOOL PEImage::HasNTHeaders()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -187,7 +187,7 @@ inline const BOOL PEImage::HasNTHeaders()
     }
 }
 
-inline const BOOL PEImage::HasCorHeader()   
+inline BOOL PEImage::HasCorHeader()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -199,7 +199,7 @@ inline const BOOL PEImage::HasCorHeader()
     }
 }
 
-inline const BOOL PEImage::HasReadyToRunHeader()   
+inline BOOL PEImage::HasReadyToRunHeader()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -223,7 +223,7 @@ inline BOOL PEImage::PassiveDomainOnly()
     return m_bPassiveDomainOnly;
 }
 
-inline const BOOL PEImage::HasDirectoryEntry(int entry)   
+inline BOOL PEImage::HasDirectoryEntry(int entry)
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -235,7 +235,7 @@ inline const BOOL PEImage::HasDirectoryEntry(int entry)
     }
 }
 
-inline const mdToken PEImage::GetEntryPointToken()
+inline mdToken PEImage::GetEntryPointToken()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -254,7 +254,7 @@ inline const mdToken PEImage::GetEntryPointToken()
     }
 }
 
-inline const DWORD PEImage::GetCorHeaderFlags()   
+inline DWORD PEImage::GetCorHeaderFlags()
 {
     WRAPPER_NO_CONTRACT;
 
@@ -275,13 +275,13 @@ inline BOOL PEImage::MDImportLoaded()
     return m_pMDImport != NULL;
 }
 
-inline const BOOL PEImage::HasV1Metadata()   
+inline BOOL PEImage::HasV1Metadata()
 {
     WRAPPER_NO_CONTRACT;
     return GetMDImport()->GetMetadataStreamVersion()==MD_STREAM_VER_1X;
 }
 
-inline const BOOL PEImage::IsILOnly()   
+inline BOOL PEImage::IsILOnly()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -293,7 +293,7 @@ inline const BOOL PEImage::IsILOnly()
     }
 }
 
-inline const WORD PEImage::GetSubsystem()   
+inline WORD PEImage::GetSubsystem()
 {
     WRAPPER_NO_CONTRACT;
     SUPPORTS_DAC;
@@ -307,8 +307,8 @@ inline const WORD PEImage::GetSubsystem()
     }
 }
 
-#ifdef FEATURE_PREJIT    
-inline const BOOL PEImage::IsNativeILILOnly()   
+#ifdef FEATURE_PREJIT
+inline BOOL PEImage::IsNativeILILOnly()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -332,7 +332,7 @@ inline void PEImage::GetNativeILPEKindAndMachine(DWORD* pdwKind, DWORD* pdwMachi
     }
 }
 
-inline const BOOL PEImage::IsNativeILDll()   
+inline BOOL PEImage::IsNativeILDll()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -345,7 +345,7 @@ inline const BOOL PEImage::IsNativeILDll()
 }
 #endif // FEATURE_PREJIT
 
-inline const BOOL PEImage::IsDll()   
+inline BOOL PEImage::IsDll()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -357,7 +357,7 @@ inline const BOOL PEImage::IsDll()
     }
 }
 
-inline const BOOL PEImage::HasStrongNameSignature()   
+inline BOOL PEImage::HasStrongNameSignature()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
@@ -416,7 +416,7 @@ inline PTR_CVOID PEImage::GetMetadata(COUNT_T *pSize)
     }
 }
 
-inline BOOL PEImage::HasNativeHeader() 
+inline BOOL PEImage::HasNativeHeader()
 {
     WRAPPER_NO_CONTRACT;
     if (HasLoadedLayout())
index dd112eb..6f5011f 100644 (file)
@@ -759,6 +759,11 @@ protected:
     {
         LIMITED_METHOD_CONTRACT;
     }
+    
+    FORCEINLINE BOOL IsRegPassedStruct(MethodTable* pMT)
+    {
+        return pMT->IsRegPassedStruct();
+    }
 
 public:
     BOOL HasThis()
index e36e784..3aa1681 100644 (file)
@@ -3622,7 +3622,7 @@ private:
     static void __stdcall RedirectedHandledJITCaseForGCThreadControl();
     static void __stdcall RedirectedHandledJITCaseForUserSuspend();
 #if defined(HAVE_GCCOVER) && defined(USE_REDIRECT_FOR_GCSTRESS) // GCCOVER
-    static void __stdcall Thread::RedirectedHandledJITCaseForGCStress();
+    static void __stdcall RedirectedHandledJITCaseForGCStress();
 #endif // defined(HAVE_GCCOVER) && USE_REDIRECT_FOR_GCSTRESS
 
     friend void CPFH_AdjustContextForThreadSuspensionRace(T_CONTEXT *pContext, Thread *pThread);
index abf9597..fd070a6 100644 (file)
@@ -2741,6 +2741,7 @@ void ThreadSuspend::UnlockThreadStore(BOOL bThreadDestroyed, ThreadSuspend::SUSP
         ThreadStore::s_pThreadStore->m_HoldingThread = NULL;
         ThreadStore::s_pThreadStore->m_holderthreadid.Clear();
         ThreadStore::s_pThreadStore->Leave();
+        LOG((LF_SYNC, INFO3, "Unlocked thread store\n"));
 
         // We're out of the critical area for managed/unmanaged debugging.
         if (!bThreadDestroyed && pCurThread)
@@ -5496,11 +5497,12 @@ bool Thread::SysSweepThreadsForDebug(bool forceSync)
         DISABLED(GC_TRIGGERS); // WaitUntilConcurrentGCComplete toggle GC mode, disabled because called by unmanaged thread
 
         // We assume that only the "real" helper thread ever calls this (not somebody doing helper thread duty).
+        PRECONDITION(ThreadStore::HoldingThreadStore());
         PRECONDITION(IsDbgHelperSpecialThread());
         PRECONDITION(GetThread() == NULL);
 
         // Iff we return true, then we have the TSL (or the aux lock used in workarounds).
-        POSTCONDITION(RETVAL == !!ThreadStore::HoldingThreadStore());
+        POSTCONDITION(ThreadStore::HoldingThreadStore());
     }
     CONTRACT_END;
 
@@ -5512,13 +5514,6 @@ bool Thread::SysSweepThreadsForDebug(bool forceSync)
     // This function has parallel logic in SuspendRuntime.  Please make
     // sure to make appropriate changes there as well.
 
-    // We use ThreadSuspend::SUSPEND_FOR_DEBUGGER_SWEEP here to avoid a deadlock which
-    // can occur due to the s_hAbortEvt event.  This event causes any thread trying
-    // to take the ThreadStore lock to wait for a GC to complete.  If a thread is
-    // in SuspendEE for a GC and suspends for the debugger, then this thread will
-    // deadlock if we do not pass in SUSPEND_FOR_DEBUGGER_SWEEP here.
-    ThreadSuspend::LockThreadStore(ThreadSuspend::SUSPEND_FOR_DEBUGGER_SWEEP);
-
     // From this point until the end of the function, consider all active thread
     // suspension to be in progress.  This is mainly to give the profiler API a hint
     // that trying to suspend a thread (in order to walk its stack) could delay the
@@ -5663,7 +5658,6 @@ Label_MarkThreadAsSynced:
 
     // The CLR is not yet synced. We release the threadstore lock and return false.
     hldSuspendRuntimeInProgress.Release();
-    ThreadSuspend::UnlockThreadStore();
 
     RETURN false;
 }
@@ -7114,7 +7108,13 @@ retry_for_debugger:
             || Thread::ThreadsAtUnsafePlaces()
 #ifdef DEBUGGING_SUPPORTED  // seriously?  When would we want to disable debugging support? :)
              || (CORDebuggerAttached() && 
-                 g_pDebugInterface->ThreadsAtUnsafePlaces())
+            // When the debugger is synchronizing, trying to perform a GC could deadlock. The GC has the
+            // threadstore lock and synchronization cannot complete until the debugger can get the 
+            // threadstore lock. However the GC can not complete until it sends the BeforeGarbageCollection
+            // event, and the event can not be sent until the debugger is synchronized. In order to break
+            // this deadlock cycle the GC must give up the threadstore lock, allow the debugger to synchronize, 
+            // then try again.
+                 (g_pDebugInterface->ThreadsAtUnsafePlaces() || g_pDebugInterface->IsSynchronizing()))
 #endif // DEBUGGING_SUPPORTED
             )
         {
index 022e46a..44ccce5 100644 (file)
@@ -263,4 +263,19 @@ private:
     static LONG m_DebugWillSyncCount;
 };
 
+class ThreadStoreLockHolderWithSuspendReason
+{
+public:
+    ThreadStoreLockHolderWithSuspendReason(ThreadSuspend::SUSPEND_REASON reason)
+    {
+        ThreadSuspend::LockThreadStore(reason);
+    }
+    ~ThreadStoreLockHolderWithSuspendReason()
+    {
+        ThreadSuspend::UnlockThreadStore();
+    }
+private:
+    ThreadSuspend::SUSPEND_REASON m_reason;
+};
+
 #endif // _THREAD_SUSPEND_H_
index 4884449..0dbdee8 100644 (file)
@@ -39,7 +39,7 @@ BBSweep              g_BBSweep;
 Volatile<LONG>       g_trtChgStamp = 0;
 Volatile<LONG>       g_trtChgInFlight = 0;
 
-char *               g_ExceptionFile;   // Source of the last thrown exception (COMPLUSThrow())
+const char *         g_ExceptionFile;   // Source of the last thrown exception (COMPLUSThrow())
 DWORD                g_ExceptionLine;   // ... ditto ...
 void *               g_ExceptionEIP;    // Managed EIP of the last guy to call JITThrow.
 #endif // _DEBUG
index d01757d..a062f0b 100644 (file)
@@ -352,7 +352,7 @@ EXTERN IBCLogger            g_IBCLogger;
 // that does not allow g_TrapReturningThreads to creep up unchecked.
 EXTERN Volatile<LONG>       g_trtChgStamp;
 EXTERN Volatile<LONG>       g_trtChgInFlight;
-EXTERN char *               g_ExceptionFile;
+EXTERN const char *         g_ExceptionFile;
 EXTERN DWORD                g_ExceptionLine;
 EXTERN void *               g_ExceptionEIP;
 #endif
index 1e78051..ff59b1c 100644 (file)
@@ -317,7 +317,7 @@ class ZapMethodEntryPointTable
             return (count_t)(size_t)k.m_handle ^ (count_t)k.m_accessFlags;
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
@@ -517,7 +517,7 @@ class ZapUnwindDataTable
             return ZapBlob::SHashTraits::Hash(k.m_unwindData) ^ k.m_fIsFilterFunclet;
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
     // Hashtable with all unwind data blobs. If two methods have unwind data
@@ -638,7 +638,7 @@ class ZapGCInfoTable
             return ZapBlob::SHashTraits::Hash(k.m_gcInfo) ^ ZapBlob::SHashTraits::Hash(k.m_unwindInfo);
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
index 826f1bc..36266d3 100644 (file)
@@ -478,7 +478,7 @@ private:
         static BOOL Equals(key_t k1, key_t k2);
         static COUNT_T Hash(key_t k);
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
index 81646f3..811e0a7 100644 (file)
@@ -190,7 +190,7 @@ class ZapImportTable : public ZapNode
             return (count_t)(size_t)k.m_handle ^ ((count_t)(size_t)k.m_handle2 << 1) ^ k.m_type;
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
@@ -229,7 +229,7 @@ class ZapImportTable : public ZapNode
             return (count_t)(size_t)k;
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
index 1f80bd6..650c0d8 100644 (file)
@@ -114,7 +114,7 @@ class ZapInnerPtrTable
             return (count_t)(size_t)k.m_pBase ^ (count_t)k.m_offset;
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
index 3788138..5ef6bd4 100644 (file)
@@ -212,7 +212,7 @@ private:
             return (count_t)k;
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
index bcf10b5..fd6fa16 100644 (file)
@@ -86,7 +86,7 @@ class ZapWrapperTable
             return (count_t)(size_t)k;
         }
 
-        static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
+        static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; }
         static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; }
     };
 
index 8dd18c2..2f15282 100644 (file)
                 {
                     "name": "System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs",
                     "reason": "The stored blob for type System.CodeDom.MemberAttributes is outdated and needs to be updated."
+                },
+                {
+                    "name": "System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateEqualityComparersAgainstBlobs",
+                    "reason": "outdated"
+                },
+                {
+                    "name": "System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip",
+                    "reason": "outdated"
+                },
+                {
+                    "name": "System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.RoundtripManyObjectsInOneStream",
+                    "reason": "outdated"
                 }
             ]
         }
     },
     {
+        "name": "System.Collections.Immutable.Tests",
+        "enabled": false,
+        "exclusions": {
+            "namespaces": null,
+            "classes": null,
+            "methods": null
+        }
+    },
+    {
+        "name": "System.Reflection.Metadata.Tests",
+        "enabled": false,
+        "exclusions": {
+            "namespaces": null,
+            "classes": null,
+            "methods": null
+        }
+    },
+    {
+        "name": "System.Text.Encodings.Web.Tests",
+        "enabled": false,
+        "exclusions": {
+            "namespaces": null,
+            "classes": null,
+            "methods": null
+        }
+    },
+    {
+        "name": "System.IO.Pipelines.Tests",
+        "enabled": false,
+        "exclusions": {
+            "namespaces": null,
+            "classes": null,
+            "methods": null
+        }
+    },
+    {
+        "name": "System.Data.Common.Tests",
+        "enabled": false,
+        "exclusions": {
+            "namespaces": null,
+            "classes": null,
+            "methods": null
+        }
+    },
+    {
         "name": "System.Diagnostics.Tracing.Tests",
         "enabled": true,
         "exclusions": {
         }
     },
     {
+        "name": "System.Net.WebProxy.Tests",
+        "enabled": true,
+        "exclusions": {
+            "namespaces": null,
+            "classes": null,
+            "methods": [
+                {
+                    "name" : "System.Net.Tests.WebProxyTest.WebProxy_BypassOnLocal_SpecialCases",
+                    "reason" : "outdated"
+                }
+            ]
+        }
+    },
+    {
         "name": "System.ComponentModel.TypeConverter.Tests",
         "enabled": true,
         "exclusions": {
                 {
                     "name": "System.Buffers.Text.Tests.FormatterTests.TestFormatterDecimal",
                     "reason": "https://github.com/dotnet/coreclr/pull/19775"
+                },
+                {
+                    "name": "System.SpanTests.MemoryMarshalTests.CreateFromPinnedArrayIntSliceRemainsPinned",
+                    "reason": "https://github.com/dotnet/corefx/pull/32994"
+                },
+                {
+                    "name": "System.SpanTests.MemoryMarshalTests.CreateFromPinnedArrayIntReadOnlyMemorySliceRemainsPinned",
+                    "reason": "https://github.com/dotnet/corefx/pull/32994"
                 }
             ]
         }
index 9c354da..f143b78 100644 (file)
@@ -132,14 +132,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteEquals2.cmd_20]
-RelativePath=CoreMangLib\cti\system\byte\ByteEquals2\ByteEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [LdfldGeneric_ro.cmd_21]
 RelativePath=JIT\SIMD\LdfldGeneric_ro\LdfldGeneric_ro.cmd
 WorkingDir=JIT\SIMD\LdfldGeneric_ro
@@ -556,14 +548,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsControl2.cmd_76]
-RelativePath=CoreMangLib\cti\system\char\CharIsControl2\CharIsControl2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsControl2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [struct02.cmd_77]
 RelativePath=JIT\Generics\Arrays\ConstructedTypes\Jagged\struct02\struct02.cmd
 WorkingDir=JIT\Generics\Arrays\ConstructedTypes\Jagged\struct02
@@ -612,14 +596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToInt32.cmd_87]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt32\UInt32IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [DoWhileBndChk.cmd_88]
 RelativePath=JIT\RyuJIT\DoWhileBndChk\DoWhileBndChk.cmd
 WorkingDir=JIT\RyuJIT\DoWhileBndChk
@@ -700,14 +676,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToUInt64.cmd_100]
-RelativePath=CoreMangLib\cti\system\single\SingleToUInt64\SingleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b19171.cmd_101]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1.2-M02\b19171\b19171\b19171.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1.2-M02\b19171\b19171
@@ -1020,14 +988,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleNaN.cmd_145]
-RelativePath=CoreMangLib\cti\system\double\DoubleNaN\DoubleNaN.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_relfibo_cs.cmd_146]
 RelativePath=JIT\Methodical\Boxing\functional\_relfibo_cs\_relfibo_cs.cmd
 WorkingDir=JIT\Methodical\Boxing\functional\_relfibo_cs
@@ -1084,14 +1044,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AmbiguousMatchExceptionCtor3.cmd_154]
-RelativePath=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor3\AmbiguousMatchExceptionCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b07369.cmd_155]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1.2-M01\b07369\b07369\b07369.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1.2-M01\b07369\b07369
@@ -1404,14 +1356,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharEnumeratorIEnumgetCurrent.cmd_202]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumgetCurrent\CharEnumeratorIEnumgetCurrent.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumgetCurrent
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [beq_i4.cmd_204]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\beq_i4\beq_i4.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\beq_i4
@@ -1484,14 +1428,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleIsPositiveInfinity.cmd_213]
-RelativePath=CoreMangLib\cti\system\single\SingleIsPositiveInfinity\SingleIsPositiveInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsPositiveInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [classarr_cs_d.cmd_214]
 RelativePath=JIT\Methodical\MDArray\GaussJordan\classarr_cs_d\classarr_cs_d.cmd
 WorkingDir=JIT\Methodical\MDArray\GaussJordan\classarr_cs_d
@@ -1516,14 +1452,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalDivide.cmd_217]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalDivide\DecimalDivide.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalDivide
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated554.cmd_218]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest554\Generated554\Generated554.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest554\Generated554
@@ -1564,14 +1492,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringEquals3.cmd_223]
-RelativePath=CoreMangLib\cti\system\string\StringEquals3\StringEquals3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [structfpseh5_1.cmd_224]
 RelativePath=JIT\jit64\gc\misc\structfpseh5_1\structfpseh5_1.cmd
 WorkingDir=JIT\jit64\gc\misc\structfpseh5_1
@@ -1652,14 +1572,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleMaxValue.cmd_234]
-RelativePath=CoreMangLib\cti\system\double\DoubleMaxValue\DoubleMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [pow2_cs_ro.cmd_236]
 RelativePath=JIT\Directed\intrinsic\pow\pow2_cs_ro\pow2_cs_ro.cmd
 WorkingDir=JIT\Directed\intrinsic\pow\pow2_cs_ro
@@ -1700,14 +1612,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleEquals1.cmd_241]
-RelativePath=CoreMangLib\cti\system\double\DoubleEquals1\DoubleEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1394.cmd_243]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1394\Generated1394\Generated1394.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1394\Generated1394
@@ -1780,14 +1684,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsUpper1.cmd_254]
-RelativePath=CoreMangLib\cti\system\char\CharIsUpper1\CharIsUpper1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsUpper1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Test12224.cmd_255]
 RelativePath=Regressions\coreclr\GitHub_12224\Test12224\Test12224.cmd
 WorkingDir=Regressions\coreclr\GitHub_12224\Test12224
@@ -2100,14 +1996,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToUInt16.cmd_298]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToUInt16\CharIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [branchoutoftryfinally_r.cmd_299]
 RelativePath=JIT\Methodical\eh\leaves\branchoutoftryfinally_r\branchoutoftryfinally_r.cmd
 WorkingDir=JIT\Methodical\eh\leaves\branchoutoftryfinally_r
@@ -2140,14 +2028,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToDouble.cmd_305]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToDouble\Int32IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated146.cmd_306]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest146\Generated146\Generated146.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest146\Generated146
@@ -2188,14 +2068,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringReplace3.cmd_312]
-RelativePath=CoreMangLib\cti\system\string\StringReplace3\StringReplace3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringReplace3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_273.cmd_313]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_273\GCSimulator_273.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_273
@@ -2332,14 +2204,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalOne.cmd_331]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalOne\DecimalOne.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalOne
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass045.cmd_332]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass045\castclass045.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass045
@@ -2468,14 +2332,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[AmbiguousMatchExceptionCtor1.cmd_351]
-RelativePath=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor1\AmbiguousMatchExceptionCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b47471.cmd_352]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b47471\b47471\b47471.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b47471\b47471
@@ -2644,14 +2500,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsUpper2.cmd_375]
-RelativePath=CoreMangLib\cti\system\char\CharIsUpper2\CharIsUpper2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsUpper2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_320.cmd_376]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_320\GCSimulator_320.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_320
@@ -2740,14 +2588,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToInt16.cmd_388]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt16\UInt32IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [add_r8.cmd_389]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\add_r8\add_r8.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\add_r8
@@ -2796,14 +2636,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToUInt16.cmd_398]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToUInt16\Int32IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Ctors_r.cmd_400]
 RelativePath=JIT\SIMD\Ctors_r\Ctors_r.cmd
 WorkingDir=JIT\SIMD\Ctors_r
@@ -3332,14 +3164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToBoolean.cmd_480]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToBoolean\ByteIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b102887.cmd_481]
 RelativePath=JIT\Regression\VS-ia64-JIT\V1.2-Beta1\b102887\b102887\b102887.cmd
 WorkingDir=JIT\Regression\VS-ia64-JIT\V1.2-Beta1\b102887\b102887
@@ -3436,14 +3260,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsSurrogatePair1.cmd_494]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogatePair1\CharIsSurrogatePair1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogatePair1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [simplerethrow_d.cmd_495]
 RelativePath=JIT\Methodical\eh\rethrow\simplerethrow_d\simplerethrow_d.cmd
 WorkingDir=JIT\Methodical\eh\rethrow\simplerethrow_d
@@ -3484,14 +3300,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleIsNaN.cmd_501]
-RelativePath=CoreMangLib\cti\system\single\SingleIsNaN\SingleIsNaN.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated8.cmd_502]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest8\Generated8\Generated8.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest8\Generated8
@@ -3724,14 +3532,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CompilerGeneratedAttributeCtor.cmd_535]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\compilergeneratedattribute\CompilerGeneratedAttributeCtor\CompilerGeneratedAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\compilergeneratedattribute\CompilerGeneratedAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated750.cmd_536]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest750\Generated750\Generated750.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest750\Generated750
@@ -3980,14 +3780,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToDouble.cmd_570]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToDouble\Int16IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_dbghan2.cmd_571]
 RelativePath=JIT\Methodical\VT\etc\_speed_dbghan2\_speed_dbghan2.cmd
 WorkingDir=JIT\Methodical\VT\etc\_speed_dbghan2
@@ -4180,14 +3972,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToType.cmd_599]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToType\UInt64IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated619.cmd_600]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest619\Generated619\Generated619.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest619\Generated619
@@ -4196,14 +3980,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyDescriptionAttributeCtor.cmd_602]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeCtor\AssemblyDescriptionAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GenericExceptions04.cmd_603]
 RelativePath=baseservices\exceptions\generics\GenericExceptions04\GenericExceptions04.cmd
 WorkingDir=baseservices\exceptions\generics\GenericExceptions04
@@ -4308,14 +4084,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16ToString4.cmd_618]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16ToString4\UInt16ToString4.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16ToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VectorDot_ro.cmd_619]
 RelativePath=JIT\SIMD\VectorDot_ro\VectorDot_ro.cmd
 WorkingDir=JIT\SIMD\VectorDot_ro
@@ -4388,14 +4156,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToChar.cmd_630]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToChar\IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_relthrow.cmd_631]
 RelativePath=JIT\Methodical\casts\SEH\_speed_relthrow\_speed_relthrow.cmd
 WorkingDir=JIT\Methodical\casts\SEH\_speed_relthrow
@@ -4484,14 +4244,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToInt64.cmd_643]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToInt64\CharIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated867.cmd_644]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest867\Generated867\Generated867.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest867\Generated867
@@ -4500,14 +4252,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToByte.cmd_645]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToByte\StringIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated465.cmd_646]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest465\Generated465\Generated465.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest465\Generated465
@@ -4612,14 +4356,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleCompareTo1.cmd_659]
-RelativePath=CoreMangLib\cti\system\double\DoubleCompareTo1\DoubleCompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleCompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [struct_static01.cmd_660]
 RelativePath=JIT\Generics\MemberAccess\struct_static01\struct_static01.cmd
 WorkingDir=JIT\Generics\MemberAccess\struct_static01
@@ -4692,14 +4428,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleIConvertibleToInt64.cmd_671]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToInt64\DoubleIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [callconv2_cs_r.cmd_672]
 RelativePath=JIT\Directed\PREFIX\PrimitiveVT\callconv2_cs_r\callconv2_cs_r.cmd
 WorkingDir=JIT\Directed\PREFIX\PrimitiveVT\callconv2_cs_r
@@ -4796,22 +4524,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringFormat1.cmd_686]
-RelativePath=CoreMangLib\cti\system\string\StringFormat1\StringFormat1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringFormat1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[Int16IConvertibleToInt64.cmd_687]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToInt64\Int16IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-generics021.cmd_689]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics021\castclass-generics021.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics021
@@ -4828,14 +4540,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanToString.cmd_691]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanToString\BooleanToString.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanToString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated524.cmd_692]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest524\Generated524\Generated524.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest524\Generated524
@@ -4868,14 +4572,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalToChar.cmd_697]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToChar\DecimalToChar.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [throwinnestedfinally_d.cmd_698]
 RelativePath=JIT\Methodical\eh\nested\general\throwinnestedfinally_d\throwinnestedfinally_d.cmd
 WorkingDir=JIT\Methodical\eh\nested\general\throwinnestedfinally_d
@@ -4900,14 +4596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteGetHashCode.cmd_701]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteGetHashCode\SByteGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [JTrueGeFP.cmd_702]
 RelativePath=JIT\CodeGenBringUpTests\JTrueGeFP_ro\JTrueGeFP_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\JTrueGeFP_ro
@@ -4948,14 +4636,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringConcat7.cmd_708]
-RelativePath=CoreMangLib\cti\system\string\StringConcat7\StringConcat7.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat7
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [TestCase0.cmd_709]
 RelativePath=Loader\classloader\InterfaceFolding\TestCase0\TestCase0.cmd
 WorkingDir=Loader\classloader\InterfaceFolding\TestCase0
@@ -5084,14 +4764,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StructLayoutAttributeValue.cmd_727]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeValue\StructLayoutAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated877.cmd_728]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest877\Generated877\Generated877.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest877\Generated877
@@ -5116,14 +4788,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToUInt64.cmd_731]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt64\BooleanIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated824.cmd_732]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest824\Generated824\Generated824.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest824\Generated824
@@ -5340,14 +5004,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[CharIsWhiteSpace1.cmd_763]
-RelativePath=CoreMangLib\cti\system\char\CharIsWhiteSpace1\CharIsWhiteSpace1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsWhiteSpace1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1354.cmd_764]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1354\Generated1354\Generated1354.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1354\Generated1354
@@ -5396,14 +5052,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64IConvertibleToByte.cmd_771]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToByte\Int64IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated409.cmd_772]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest409\Generated409\Generated409.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest409\Generated409
@@ -5444,14 +5092,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32Equals1.cmd_778]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32Equals1\UInt32Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b14057.cmd_779]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09\b14057\b14057\b14057.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09\b14057\b14057
@@ -5596,14 +5236,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyNameSetPublicKey.cmd_799]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKey\AssemblyNameSetPublicKey.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKey
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [isinst_ro.cmd_800]
 RelativePath=JIT\Directed\nullabletypes\isinst_ro\isinst_ro.cmd
 WorkingDir=JIT\Directed\nullabletypes\isinst_ro
@@ -5748,14 +5380,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToInt64.cmd_819]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToInt64\IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VectorAbs_r.cmd_820]
 RelativePath=JIT\SIMD\VectorAbs_r\VectorAbs_r.cmd
 WorkingDir=JIT\SIMD\VectorAbs_r
@@ -5764,14 +5388,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringToString1.cmd_821]
-RelativePath=CoreMangLib\cti\system\string\StringToString1\StringToString1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringToString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [NDhrystone.cmd_823]
 RelativePath=JIT\Performance\CodeQuality\Benchstones\BenchI\NDhrystone\NDhrystone\NDhrystone.cmd
 WorkingDir=JIT\Performance\CodeQuality\Benchstones\BenchI\NDhrystone\NDhrystone
@@ -5836,14 +5452,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringCtorChar.cmd_831]
-RelativePath=CoreMangLib\cti\system\string\StringCtorChar\StringCtorChar.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCtorChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated101.cmd_832]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest101\Generated101\Generated101.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest101\Generated101
@@ -5860,14 +5468,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalCtor5.cmd_835]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor5\DecimalCtor5.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor5
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b14422.cmd_836]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09\b14422\b14422\b14422.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09\b14422\b14422
@@ -5956,14 +5556,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimaFloor.cmd_852]
-RelativePath=CoreMangLib\cti\system\decimal\DecimaFloor\DecimaFloor.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimaFloor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GThread08.cmd_853]
 RelativePath=baseservices\threading\generics\syncdelegate\GThread08\GThread08.cmd
 WorkingDir=baseservices\threading\generics\syncdelegate\GThread08
@@ -6044,22 +5636,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DllNotFoundException1.cmd_865]
-RelativePath=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundException1\DllNotFoundException1.cmd
-WorkingDir=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundException1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[Int32MaxValue.cmd_866]
-RelativePath=CoreMangLib\cti\system\int\Int32MaxValue\Int32MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [thread23.cmd_867]
 RelativePath=baseservices\threading\generics\WaitCallback\thread23\thread23.cmd
 WorkingDir=baseservices\threading\generics\WaitCallback\thread23
@@ -6188,14 +5764,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[SByteIConvertibleToUInt32.cmd_883]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt32\SByteIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b11490.cmd_884]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b11490\b11490\b11490.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b11490\b11490
@@ -6644,14 +6212,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt32GetHashCode.cmd_948]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32GetHashCode\UInt32GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [callconv2_cs_do.cmd_949]
 RelativePath=JIT\Directed\PREFIX\PrimitiveVT\callconv2_cs_do\callconv2_cs_do.cmd
 WorkingDir=JIT\Directed\PREFIX\PrimitiveVT\callconv2_cs_do
@@ -6812,14 +6372,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyKeyFileAttributeCtor.cmd_971]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeCtor\AssemblyKeyFileAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [nullcomparaison_r.cmd_972]
 RelativePath=JIT\Directed\nullabletypes\Desktop\nullcomparaison_r\nullcomparaison_r.cmd
 WorkingDir=JIT\Directed\nullabletypes\Desktop\nullcomparaison_r
@@ -6916,14 +6468,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleEpsilon.cmd_985]
-RelativePath=CoreMangLib\cti\system\double\DoubleEpsilon\DoubleEpsilon.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleEpsilon
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [client.cmd_986]
 RelativePath=Loader\binding\assemblies\assemblybugs\203962w\client\client.cmd
 WorkingDir=Loader\binding\assemblies\assemblybugs\203962w\client
@@ -7276,14 +6820,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIConvertibleToDecimal.cmd_1037]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToDecimal\DoubleIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [tlstest_il_r.cmd_1038]
 RelativePath=JIT\Directed\coverage\oldtests\tlstest_il_r\tlstest_il_r.cmd
 WorkingDir=JIT\Directed\coverage\oldtests\tlstest_il_r
@@ -7332,14 +6868,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int32IConvertibleToByte.cmd_1045]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToByte\Int32IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_relcastclass_ldarg.cmd_1046]
 RelativePath=JIT\Methodical\casts\coverage\_speed_relcastclass_ldarg\_speed_relcastclass_ldarg.cmd
 WorkingDir=JIT\Methodical\casts\coverage\_speed_relcastclass_ldarg
@@ -7348,14 +6876,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt16Equals2.cmd_1047]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16Equals2\UInt16Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [expl_float_1_r.cmd_1048]
 RelativePath=JIT\Methodical\explicit\coverage\expl_float_1_r\expl_float_1_r.cmd
 WorkingDir=JIT\Methodical\explicit\coverage\expl_float_1_r
@@ -7364,14 +6884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalMinValue.cmd_1049]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMinValue\DecimalMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [eh07_large.cmd_1050]
 RelativePath=JIT\jit64\localloc\ehverify\eh07_large\eh07_large.cmd
 WorkingDir=JIT\jit64\localloc\ehverify\eh07_large
@@ -7652,14 +7164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeCtor1.cmd_1089]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor1\MarshalAsAttributeCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_rels_muldiv.cmd_1090]
 RelativePath=JIT\Methodical\int64\signed\_rels_muldiv\_rels_muldiv.cmd
 WorkingDir=JIT\Methodical\int64\signed\_rels_muldiv
@@ -7732,14 +7236,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IVTACtor.cmd_1099]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTACtor\IVTACtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTACtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [callgenericctor.cmd_1100]
 RelativePath=readytorun\tests\genericsload\callgenericctor\callgenericctor.cmd
 WorkingDir=readytorun\tests\genericsload\callgenericctor
@@ -7780,14 +7276,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ObjectReferenceEquals.cmd_1105]
-RelativePath=CoreMangLib\cti\system\object\ObjectReferenceEquals\ObjectReferenceEquals.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectReferenceEquals
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ble_un_r4.cmd_1106]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\ble_un_r4\ble_un_r4.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\ble_un_r4
@@ -7796,14 +7284,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToSingle.cmd_1107]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToSingle\Int64IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated788.cmd_1108]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest788\Generated788\Generated788.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest788\Generated788
@@ -8084,14 +7564,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[ConstructorInfoConstructorName.cmd_1151]
-RelativePath=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoConstructorName\ConstructorInfoConstructorName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoConstructorName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_rellcs_ulong.cmd_1152]
 RelativePath=JIT\Methodical\int64\arrays\_rellcs_ulong\_rellcs_ulong.cmd
 WorkingDir=JIT\Methodical\int64\arrays\_rellcs_ulong
@@ -8196,14 +7668,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64IConvertibleToUInt64.cmd_1166]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt64\Int64IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [IsInst004.cmd_1167]
 RelativePath=Loader\classloader\generics\Variance\IL\IsInst004\IsInst004.cmd
 WorkingDir=Loader\classloader\generics\Variance\IL\IsInst004
@@ -8300,14 +7764,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IndexerNameAttributeCtor.cmd_1180]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\indexernameattribute\IndexerNameAttributeCtor\IndexerNameAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\indexernameattribute\IndexerNameAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated451.cmd_1181]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest451\Generated451\Generated451.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest451\Generated451
@@ -8604,14 +8060,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToInt16.cmd_1225]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToInt16\ByteIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [mcc_i04.cmd_1226]
 RelativePath=JIT\jit64\mcc\interop\mcc_i04\mcc_i04.cmd
 WorkingDir=JIT\jit64\mcc\interop\mcc_i04
@@ -8684,14 +8132,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyTitleAttributeCtor.cmd_1237]
-RelativePath=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeCtor\AssemblyTitleAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1143.cmd_1238]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1143\Generated1143\Generated1143.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1143\Generated1143
@@ -8700,22 +8140,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringSubString2.cmd_1239]
-RelativePath=CoreMangLib\cti\system\string\StringSubString2\StringSubString2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringSubString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[UInt16IConvertibleToInt16.cmd_1241]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt16\UInt16IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [structret2_2.cmd_1242]
 RelativePath=JIT\jit64\gc\misc\structret2_2\structret2_2.cmd
 WorkingDir=JIT\jit64\gc\misc\structret2_2
@@ -8956,14 +8380,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringCompareOrdinal2.cmd_1273]
-RelativePath=CoreMangLib\cti\system\string\StringCompareOrdinal2\StringCompareOrdinal2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCompareOrdinal2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b35344.cmd_1274]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b35344\b35344\b35344.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b35344\b35344
@@ -9036,14 +8452,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DelegateABI.cmd_1285]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateABI\DelegateABI.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateABI
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [i4flat_cs_do.cmd_1286]
 RelativePath=JIT\Methodical\AsgOp\i4\i4flat_cs_do\i4flat_cs_do.cmd
 WorkingDir=JIT\Methodical\AsgOp\i4\i4flat_cs_do
@@ -9172,14 +8580,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalCtor7.cmd_1304]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor7\DecimalCtor7.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor7
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [mcc_i00.cmd_1306]
 RelativePath=JIT\jit64\mcc\interop\mcc_i00\mcc_i00.cmd
 WorkingDir=JIT\jit64\mcc\interop\mcc_i00
@@ -9276,14 +8676,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DefaultMemberAttributeCtor.cmd_1319]
-RelativePath=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeCtor\DefaultMemberAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b35779.cmd_1320]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b35779\b35779\b35779.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b35779\b35779
@@ -9508,14 +8900,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleToString2.cmd_1350]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString2\DoubleToString2.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [5w1d-03_cs_do.cmd_1351]
 RelativePath=JIT\Methodical\fp\exgen\5w1d-03_cs_do\5w1d-03_cs_do.cmd
 WorkingDir=JIT\Methodical\fp\exgen\5w1d-03_cs_do
@@ -9972,14 +9356,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCHandleTarget_PSC.cmd_1416]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleTarget_PSC\GCHandleTarget_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleTarget_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1152.cmd_1417]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1152\Generated1152\Generated1152.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1152\Generated1152
@@ -10044,14 +9420,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16Equals1.cmd_1427]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16Equals1\UInt16Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_138.cmd_1429]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_138\GCSimulator_138.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_138
@@ -10140,14 +9508,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_FAIL;9462;EXCLUDED;VARARG;Pri1
 HostStyle=0
 
-[Int32IConvertibleToUInt32.cmd_1443]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToUInt32\Int32IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated732.cmd_1444]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest732\Generated732\Generated732.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest732\Generated732
@@ -10188,14 +9548,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsSurrogate1.cmd_1449]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogate1\CharIsSurrogate1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogate1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b16895.cmd_1450]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b16895\b16895\b16895.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b16895\b16895
@@ -10244,14 +9596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32CompareTo1.cmd_1456]
-RelativePath=CoreMangLib\cti\system\int\Int32CompareTo1\Int32CompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32CompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgsizeof.cmd_1457]
 RelativePath=JIT\Methodical\xxobj\sizeof\_dbgsizeof\_dbgsizeof.cmd
 WorkingDir=JIT\Methodical\xxobj\sizeof\_dbgsizeof
@@ -10676,14 +10020,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringPadRight1.cmd_1522]
-RelativePath=CoreMangLib\cti\system\string\StringPadRight1\StringPadRight1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadRight1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [throwincatch_r.cmd_1523]
 RelativePath=JIT\Methodical\eh\basics\throwincatch_r\throwincatch_r.cmd
 WorkingDir=JIT\Methodical\eh\basics\throwincatch_r
@@ -10796,14 +10132,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToSByte.cmd_1538]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToSByte\Int64IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_dbgstress3.cmd_1542]
 RelativePath=JIT\Methodical\refany\_speed_dbgstress3\_speed_dbgstress3.cmd
 WorkingDir=JIT\Methodical\refany\_speed_dbgstress3
@@ -11172,14 +10500,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToByte.cmd_1599]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToByte\SByteIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated373.cmd_1600]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest373\Generated373\Generated373.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest373\Generated373
@@ -11212,14 +10532,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int32IConvertibleToInt16.cmd_1604]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToInt16\Int32IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [eh04_dynamic.cmd_1605]
 RelativePath=JIT\jit64\localloc\eh\eh04_dynamic\eh04_dynamic.cmd
 WorkingDir=JIT\jit64\localloc\eh\eh04_dynamic
@@ -11508,14 +10820,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToUInt16.cmd_1648]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt16\UInt32IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgs_addsub.cmd_1649]
 RelativePath=JIT\Methodical\int64\signed\_il_dbgs_addsub\_il_dbgs_addsub.cmd
 WorkingDir=JIT\Methodical\int64\signed\_il_dbgs_addsub
@@ -11692,14 +10996,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt32Equals2.cmd_1675]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32Equals2\UInt32Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated312.cmd_1676]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest312\Generated312\Generated312.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest312\Generated312
@@ -11884,14 +11180,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToDouble.cmd_1701]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToDouble\IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VectorInit_r.cmd_1702]
 RelativePath=JIT\SIMD\VectorInit_r\VectorInit_r.cmd
 WorkingDir=JIT\SIMD\VectorInit_r
@@ -12092,14 +11380,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[ATPAPropertyName.cmd_1727]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPAPropertyName\ATPAPropertyName.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPAPropertyName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_odbgsin_il_il.cmd_1728]
 RelativePath=JIT\Methodical\Boxing\xlang\_odbgsin_il_il\_odbgsin_il_il.cmd
 WorkingDir=JIT\Methodical\Boxing\xlang\_odbgsin_il_il
@@ -12260,14 +11540,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleNaN.cmd_1752]
-RelativePath=CoreMangLib\cti\system\single\SingleNaN\SingleNaN.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b491215.cmd_1753]
 RelativePath=JIT\Regression\CLR-x86-JIT\V2.0-RTM\b491215\b491215\b491215.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V2.0-RTM\b491215\b491215
@@ -12524,14 +11796,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringEquals2.cmd_1791]
-RelativePath=CoreMangLib\cti\system\string\StringEquals2\StringEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GThread15.cmd_1793]
 RelativePath=baseservices\threading\generics\syncdelegate\GThread15\GThread15.cmd
 WorkingDir=baseservices\threading\generics\syncdelegate\GThread15
@@ -12596,14 +11860,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[TargetInvocationExceptionCtor1.cmd_1802]
-RelativePath=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor1\TargetInvocationExceptionCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b25647.cmd_1803]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b25647\b25647\b25647.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b25647\b25647
@@ -12636,14 +11892,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToDecimal.cmd_1809]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToDecimal\CharIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [class01_instance.cmd_1810]
 RelativePath=JIT\Generics\Arrays\ConstructedTypes\Jagged\class01_instance\class01_instance.cmd
 WorkingDir=JIT\Generics\Arrays\ConstructedTypes\Jagged\class01_instance
@@ -12780,14 +12028,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringJoin2.cmd_1829]
-RelativePath=CoreMangLib\cti\system\string\StringJoin2\StringJoin2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringJoin2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_reljumper1.cmd_1830]
 RelativePath=JIT\Methodical\VT\callconv\_il_reljumper1\_il_reljumper1.cmd
 WorkingDir=JIT\Methodical\VT\callconv\_il_reljumper1
@@ -13004,14 +12244,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCMaxGeneration.cmd_1861]
-RelativePath=CoreMangLib\cti\system\gc\GCMaxGeneration\GCMaxGeneration.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCMaxGeneration
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1201.cmd_1862]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1201\Generated1201\Generated1201.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1201\Generated1201
@@ -13212,14 +12444,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToString1.cmd_1892]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString1\DecimalToString1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated719.cmd_1894]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest719\Generated719\Generated719.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest719\Generated719
@@ -13932,22 +13156,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToUInt64.cmd_2000]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToUInt64\Int32IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[DoubleIConvertibleToSingle.cmd_2001]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToSingle\DoubleIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [L-1-6-1.cmd_2002]
 RelativePath=Loader\classloader\v1\Beta1\Layout\Matrix\cs\L-1-6-1\L-1-6-1.cmd
 WorkingDir=Loader\classloader\v1\Beta1\Layout\Matrix\cs\L-1-6-1
@@ -14300,14 +13508,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt32IConvertibleToUInt64.cmd_2055]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt64\UInt32IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ldelemnullarr2.cmd_2056]
 RelativePath=JIT\Directed\coverage\importer\ldelemnullarr2\ldelemnullarr2.cmd
 WorkingDir=JIT\Directed\coverage\importer\ldelemnullarr2
@@ -14468,22 +13668,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToSingle.cmd_2079]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToSingle\Int32IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[SByteIConvertibleToInt64.cmd_2080]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt64\SByteIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ThreadStartUInt.cmd_2082]
 RelativePath=baseservices\threading\paramthreadstart\ThreadStartUInt\ThreadStartUInt.cmd
 WorkingDir=baseservices\threading\paramthreadstart\ThreadStartUInt
@@ -14516,14 +13700,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyConfigurationAttributeCtor.cmd_2086]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttributeCtor\AssemblyConfigurationAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [lohfragmentation.cmd_2088]
 RelativePath=GC\Features\LOHFragmentation\lohfragmentation\lohfragmentation.cmd
 WorkingDir=GC\Features\LOHFragmentation\lohfragmentation
@@ -14532,14 +13708,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_FAIL;Pri1
 HostStyle=0
 
-[CharIsLetter1.cmd_2089]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetter1\CharIsLetter1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetter1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1306.cmd_2090]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1306\Generated1306\Generated1306.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1306\Generated1306
@@ -14636,14 +13804,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32Equals2.cmd_2102]
-RelativePath=CoreMangLib\cti\system\int\Int32Equals2\Int32Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [waitanynullarray.cmd_2103]
 RelativePath=baseservices\threading\waithandle\waitany\waitanynullarray\waitanynullarray.cmd
 WorkingDir=baseservices\threading\waithandle\waitany\waitanynullarray
@@ -14716,14 +13876,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringChars.cmd_2116]
-RelativePath=CoreMangLib\cti\system\string\StringChars\StringChars.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringChars
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [popi.cmd_2117]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\popi\popi.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\popi
@@ -15076,14 +14228,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringCompare9.cmd_2168]
-RelativePath=CoreMangLib\cti\system\string\StringCompare9\StringCompare9.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCompare9
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [uint32_cs_r.cmd_2170]
 RelativePath=JIT\Directed\shift\uint32_cs_r\uint32_cs_r.cmd
 WorkingDir=JIT\Directed\shift\uint32_cs_r
@@ -15156,14 +14300,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[TargetParameterCountExceptionCtor3.cmd_2180]
-RelativePath=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor3\TargetParameterCountExceptionCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_109.cmd_2182]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_109\GCSimulator_109.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_109
@@ -15308,14 +14444,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToChar.cmd_2205]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToChar\UInt16IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b14323.cmd_2206]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09\b14323\b14323\b14323.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09\b14323\b14323
@@ -15332,14 +14460,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ATPACtor.cmd_2209]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPACtor\ATPACtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPACtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [repro177066.cmd_2212]
 RelativePath=Loader\binding\assemblies\assemblybugs\177066w\repro177066\repro177066.cmd
 WorkingDir=Loader\binding\assemblies\assemblybugs\177066w\repro177066
@@ -15388,14 +14508,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToUInt16.cmd_2219]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt16\UInt16IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ldc_add_ovf_i8.cmd_2220]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\ldc_add_ovf_i8\ldc_add_ovf_i8.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\ldc_add_ovf_i8
@@ -15476,14 +14588,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[CharEnumeratorIEnumeratorCurrent.cmd_2230]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumeratorCurrent\CharEnumeratorIEnumeratorCurrent.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumeratorCurrent
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [AddArray2.cmd_2231]
 RelativePath=JIT\Performance\CodeQuality\Benchstones\BenchI\AddArray2\AddArray2\AddArray2.cmd
 WorkingDir=JIT\Performance\CodeQuality\Benchstones\BenchI\AddArray2\AddArray2
@@ -15724,14 +14828,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToChar.cmd_2262]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToChar\Int16IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [gcvariant.cmd_2263]
 RelativePath=GC\Scenarios\Boxing\gcvariant\gcvariant.cmd
 WorkingDir=GC\Scenarios\Boxing\gcvariant
@@ -15876,14 +14972,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64IConvertibleToDecimal.cmd_2282]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToDecimal\Int64IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [shl.cmd_2283]
 RelativePath=JIT\IL_Conformance\Old\Base\shl\shl.cmd
 WorkingDir=JIT\IL_Conformance\Old\Base\shl
@@ -15924,14 +15012,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToInt64.cmd_2288]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToInt64\ByteIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b64579.cmd_2289]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b64579\b64579\b64579.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b64579\b64579
@@ -16476,14 +15556,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanCompareTo_Boolean.cmd_2367]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanCompareTo_Boolean\BooleanCompareTo_Boolean.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanCompareTo_Boolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated410.cmd_2369]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest410\Generated410\Generated410.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest410\Generated410
@@ -16516,14 +15588,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16ToString3.cmd_2375]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16ToString3\UInt16ToString3.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16ToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbghuge_filter.cmd_2377]
 RelativePath=JIT\Methodical\Boxing\boxunbox\_il_dbghuge_filter\_il_dbghuge_filter.cmd
 WorkingDir=JIT\Methodical\Boxing\boxunbox\_il_dbghuge_filter
@@ -16556,14 +15620,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt64IConvertibleToSingle.cmd_2381]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSingle\UInt64IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b89946.cmd_2382]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M13-RTM\b89946\b89946\b89946.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M13-RTM\b89946\b89946
@@ -16748,14 +15804,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToBoolean.cmd_2409]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToBoolean\Int64IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated754.cmd_2410]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest754\Generated754\Generated754.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest754\Generated754
@@ -16764,14 +15812,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToUInt64.cmd_2411]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToUInt64\StringIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgcastclass_ldloc.cmd_2412]
 RelativePath=JIT\Methodical\casts\coverage\_dbgcastclass_ldloc\_dbgcastclass_ldloc.cmd
 WorkingDir=JIT\Methodical\casts\coverage\_dbgcastclass_ldloc
@@ -16820,14 +15860,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanGetHashCode.cmd_2419]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanGetHashCode\BooleanGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1299.cmd_2421]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1299\Generated1299\Generated1299.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1299\Generated1299
@@ -16884,14 +15916,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCWaitForPendingFinalizers.cmd_2428]
-RelativePath=CoreMangLib\cti\system\gc\GCWaitForPendingFinalizers\GCWaitForPendingFinalizers.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCWaitForPendingFinalizers
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [structfp1_3.cmd_2429]
 RelativePath=JIT\jit64\gc\misc\structfp1_3\structfp1_3.cmd
 WorkingDir=JIT\jit64\gc\misc\structfp1_3
@@ -17052,14 +16076,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalZero.cmd_2450]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalZero\DecimalZero.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalZero
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [tryfinallythrow_nonlocalexit_ro.cmd_2451]
 RelativePath=JIT\Methodical\eh\finallyexec\tryfinallythrow_nonlocalexit_ro\tryfinallythrow_nonlocalexit_ro.cmd
 WorkingDir=JIT\Methodical\eh\finallyexec\tryfinallythrow_nonlocalexit_ro
@@ -17068,14 +16084,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsLetterOrDigit2.cmd_2452]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetterOrDigit2\CharIsLetterOrDigit2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetterOrDigit2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_opt_relrefarg_i1.cmd_2454]
 RelativePath=JIT\Methodical\explicit\basic\_opt_relrefarg_i1\_opt_relrefarg_i1.cmd
 WorkingDir=JIT\Methodical\explicit\basic\_opt_relrefarg_i1
@@ -17300,14 +16308,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToBoolean.cmd_2485]
-RelativePath=CoreMangLib\cti\system\single\SingleToBoolean\SingleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [compareexchangeobject.cmd_2486]
 RelativePath=baseservices\threading\interlocked\compareexchange\compareexchangeobject\compareexchangeobject.cmd
 WorkingDir=baseservices\threading\interlocked\compareexchange\compareexchangeobject
@@ -17468,14 +16468,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToByte.cmd_2508]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToByte\IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgselfref.cmd_2509]
 RelativePath=JIT\Methodical\Arrays\misc\_il_dbgselfref\_il_dbgselfref.cmd
 WorkingDir=JIT\Methodical\Arrays\misc\_il_dbgselfref
@@ -17580,14 +16572,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToInt16.cmd_2527]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToInt16\CharIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_relrefloc_r8.cmd_2528]
 RelativePath=JIT\Methodical\explicit\basic\_il_relrefloc_r8\_il_relrefloc_r8.cmd
 WorkingDir=JIT\Methodical\explicit\basic\_il_relrefloc_r8
@@ -17716,14 +16700,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ManualResetEventCtor.cmd_2548]
-RelativePath=CoreMangLib\cti\system\threading\manualresetevent\ManualResetEventCtor\ManualResetEventCtor.cmd
-WorkingDir=CoreMangLib\cti\system\threading\manualresetevent\ManualResetEventCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [struct3_2.cmd_2549]
 RelativePath=JIT\jit64\gc\misc\struct3_2\struct3_2.cmd
 WorkingDir=JIT\jit64\gc\misc\struct3_2
@@ -17796,14 +16772,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToDecimal.cmd_2558]
-RelativePath=CoreMangLib\cti\system\single\SingleToDecimal\SingleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [stind_i2.cmd_2559]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\stind_i2\stind_i2.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\stind_i2
@@ -17860,14 +16828,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToBoolean.cmd_2566]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToBoolean\SByteIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox007.cmd_2567]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox007\box-unbox007.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox007
@@ -17996,14 +16956,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringTrim4.cmd_2586]
-RelativePath=CoreMangLib\cti\system\string\StringTrim4\StringTrim4.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_relarray2.cmd_2587]
 RelativePath=JIT\Methodical\refany\_il_relarray2\_il_relarray2.cmd
 WorkingDir=JIT\Methodical\refany\_il_relarray2
@@ -18188,14 +17140,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64IConvertibleToInt32.cmd_2614]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToInt32\Int64IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [throwoutside_do.cmd_2615]
 RelativePath=JIT\Methodical\eh\basics\throwoutside_do\throwoutside_do.cmd
 WorkingDir=JIT\Methodical\eh\basics\throwoutside_do
@@ -18276,14 +17220,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalEquals3.cmd_2627]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalEquals3\DecimalEquals3.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalEquals3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test2-xassem.cmd_2628]
 RelativePath=JIT\Methodical\stringintern\test2-xassem\test2-xassem.cmd
 WorkingDir=JIT\Methodical\stringintern\test2-xassem
@@ -18412,14 +17348,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsPunctuation2.cmd_2646]
-RelativePath=CoreMangLib\cti\system\char\CharIsPunctuation2\CharIsPunctuation2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsPunctuation2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1016.cmd_2648]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1016\Generated1016\Generated1016.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1016\Generated1016
@@ -18772,14 +17700,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[RuntimeCompatAttrCtor.cmd_2702]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RuntimeCompatAttrCtor\RuntimeCompatAttrCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RuntimeCompatAttrCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [jmp.cmd_2703]
 RelativePath=JIT\IL_Conformance\Old\Base\jmp\jmp.cmd
 WorkingDir=JIT\IL_Conformance\Old\Base\jmp
@@ -18900,14 +17820,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[WaitHandleDispose3.cmd_2720]
-RelativePath=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose3\WaitHandleDispose3.cmd
-WorkingDir=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_378.cmd_2721]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_378\GCSimulator_378.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_378
@@ -18948,14 +17860,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToDateTime.cmd_2727]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToDateTime\IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b111130.cmd_2728]
 RelativePath=JIT\Regression\VS-ia64-JIT\M00\b111130\b111130\b111130.cmd
 WorkingDir=JIT\Regression\VS-ia64-JIT\M00\b111130\b111130
@@ -18988,14 +17892,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64MinValue.cmd_2732]
-RelativePath=CoreMangLib\cti\system\int64\Int64MinValue\Int64MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b31780.cmd_2733]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b31780\b31780\b31780.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b31780\b31780
@@ -19012,22 +17908,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsNumber1.cmd_2735]
-RelativePath=CoreMangLib\cti\system\char\CharIsNumber1\CharIsNumber1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsNumber1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[CharIConvertibleToChar.cmd_2736]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToChar\CharIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [tryfinallyintrycatchwithleaveintotry_r.cmd_2737]
 RelativePath=JIT\Methodical\eh\leaves\tryfinallyintrycatchwithleaveintotry_r\tryfinallyintrycatchwithleaveintotry_r.cmd
 WorkingDir=JIT\Methodical\eh\leaves\tryfinallyintrycatchwithleaveintotry_r
@@ -19236,14 +18116,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[WeakReferenceIsAlive_PSC.cmd_2768]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceIsAlive_PSC\WeakReferenceIsAlive_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceIsAlive_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b59948.cmd_2769]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b59948\b59948\b59948.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b59948\b59948
@@ -19500,14 +18372,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringInsert.cmd_2807]
-RelativePath=CoreMangLib\cti\system\string\StringInsert\StringInsert.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringInsert
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [jmp_opt.cmd_2808]
 RelativePath=JIT\jit64\opt\cg\il\jmp_opt\jmp_opt.cmd
 WorkingDir=JIT\jit64\opt\cg\il\jmp_opt
@@ -19524,14 +18388,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[WeakReferenceTrackResurrection_cti_PSC.cmd_2811]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceTrackResurrection_cti_PSC\WeakReferenceTrackResurrection_cti_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceTrackResurrection_cti_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_rellcsmax.cmd_2812]
 RelativePath=JIT\Methodical\Arrays\lcs\_rellcsmax\_rellcsmax.cmd
 WorkingDir=JIT\Methodical\Arrays\lcs\_rellcsmax
@@ -19636,14 +18492,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringSubString1.cmd_2826]
-RelativePath=CoreMangLib\cti\system\string\StringSubString1\StringSubString1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringSubString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_opt_relrefarg_f4.cmd_2827]
 RelativePath=JIT\Methodical\explicit\basic\_opt_relrefarg_f4\_opt_relrefarg_f4.cmd
 WorkingDir=JIT\Methodical\explicit\basic\_opt_relrefarg_f4
@@ -19948,14 +18796,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsLetter2.cmd_2871]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetter2\CharIsLetter2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetter2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1210.cmd_2872]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1210\Generated1210\Generated1210.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1210\Generated1210
@@ -19972,14 +18812,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharGetHashCode.cmd_2874]
-RelativePath=CoreMangLib\cti\system\char\CharGetHashCode\CharGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [AbstractBase03.cmd_2875]
 RelativePath=Loader\classloader\generics\Instantiation\Positive\AbstractBase03\AbstractBase03.cmd
 WorkingDir=Loader\classloader\generics\Instantiation\Positive\AbstractBase03
@@ -20092,14 +18924,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[ByteMaxValue.cmd_2890]
-RelativePath=CoreMangLib\cti\system\byte\ByteMaxValue\ByteMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b31493.cmd_2892]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b31493\b31493\b31493.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b31493\b31493
@@ -20140,14 +18964,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToInt32.cmd_2898]
-RelativePath=CoreMangLib\cti\system\single\SingleToInt32\SingleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b604247.cmd_2899]
 RelativePath=JIT\Regression\CLR-x86-JIT\V2.0-RTM\b604247\b604247\b604247.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V2.0-RTM\b604247\b604247
@@ -20404,14 +19220,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToInt64.cmd_2939]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt64\UInt64IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b70967.cmd_2940]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b70967\b70967\b70967.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b70967\b70967
@@ -20508,14 +19316,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StructLayoutAttributePack.cmd_2953]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributePack\StructLayoutAttributePack.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributePack
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-null044.cmd_2954]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null044\castclass-null044.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null044
@@ -20580,14 +19380,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[ObjectEquals1.cmd_2963]
-RelativePath=CoreMangLib\cti\system\object\ObjectEquals1\ObjectEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [method014.cmd_2964]
 RelativePath=Loader\classloader\generics\GenericMethods\method014\method014.cmd
 WorkingDir=Loader\classloader\generics\GenericMethods\method014
@@ -20612,14 +19404,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToDateTime.cmd_2969]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDateTime\UInt64IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [SP1a2.cmd_2970]
 RelativePath=JIT\Directed\StructPromote\SP1a2\SP1a2.cmd
 WorkingDir=JIT\Directed\StructPromote\SP1a2
@@ -21388,14 +20172,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalToInt32.cmd_3082]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToInt32\DecimalToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [overflow02_add.cmd_3083]
 RelativePath=JIT\jit64\rtchecks\overflow\overflow02_add\overflow02_add.cmd
 WorkingDir=JIT\jit64\rtchecks\overflow\overflow02_add
@@ -21836,14 +20612,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringReplace2.cmd_3149]
-RelativePath=CoreMangLib\cti\system\string\StringReplace2\StringReplace2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringReplace2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated379.cmd_3151]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest379\Generated379\Generated379.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest379\Generated379
@@ -22188,14 +20956,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ObjectFinalize.cmd_3200]
-RelativePath=CoreMangLib\cti\system\object\ObjectFinalize\ObjectFinalize.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectFinalize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [convr4a_cs_r.cmd_3201]
 RelativePath=JIT\Methodical\FPtrunc\convr4a_cs_r\convr4a_cs_r.cmd
 WorkingDir=JIT\Methodical\FPtrunc\convr4a_cs_r
@@ -22292,14 +21052,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ObjectEquals2.cmd_3215]
-RelativePath=CoreMangLib\cti\system\object\ObjectEquals2\ObjectEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated901.cmd_3216]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest901\Generated901\Generated901.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest901\Generated901
@@ -22500,14 +21252,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[WeakReferenceTargetb_PSC.cmd_3245]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceTargetb_PSC\WeakReferenceTargetb_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceTargetb_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [localloc.cmd_3246]
 RelativePath=JIT\Directed\PREFIX\volatile\1\localloc\localloc.cmd
 WorkingDir=JIT\Directed\PREFIX\volatile\1\localloc
@@ -22532,14 +21276,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIsInfinity.cmd_3250]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsInfinity\DoubleIsInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VectorUnused_ro.cmd_3252]
 RelativePath=JIT\SIMD\VectorUnused_ro\VectorUnused_ro.cmd
 WorkingDir=JIT\SIMD\VectorUnused_ro
@@ -22572,14 +21308,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalCompare.cmd_3256]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCompare\DecimalCompare.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCompare
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgstress3.cmd_3257]
 RelativePath=JIT\Methodical\refany\_dbgstress3\_dbgstress3.cmd
 WorkingDir=JIT\Methodical\refany\_dbgstress3
@@ -22780,22 +21508,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64Equals2.cmd_3287]
-RelativePath=CoreMangLib\cti\system\int64\Int64Equals2\Int64Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[BooleanTrueString.cmd_3289]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanTrueString\BooleanTrueString.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanTrueString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [r4_cs_ro.cmd_3290]
 RelativePath=JIT\Methodical\AsgOp\r4\r4_cs_ro\r4_cs_ro.cmd
 WorkingDir=JIT\Methodical\AsgOp\r4\r4_cs_ro
@@ -22892,14 +21604,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToUInt16.cmd_3302]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToUInt16\StringIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [AbstractBase06.cmd_3303]
 RelativePath=Loader\classloader\generics\Instantiation\Positive\AbstractBase06\AbstractBase06.cmd
 WorkingDir=Loader\classloader\generics\Instantiation\Positive\AbstractBase06
@@ -22908,14 +21612,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[WaitHandleDispose1.cmd_3304]
-RelativePath=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose1\WaitHandleDispose1.cmd
-WorkingDir=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Marshal.cmd_3305]
 RelativePath=Regressions\common\Marshal\Marshal.cmd
 WorkingDir=Regressions\common\Marshal
@@ -22972,14 +21668,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[SingleMinValue.cmd_3312]
-RelativePath=CoreMangLib\cti\system\single\SingleMinValue\SingleMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [i8rem_cs_d.cmd_3313]
 RelativePath=JIT\Methodical\divrem\rem\i8rem_cs_d\i8rem_cs_d.cmd
 WorkingDir=JIT\Methodical\divrem\rem\i8rem_cs_d
@@ -23020,14 +21708,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleToString4.cmd_3319]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString4\DoubleToString4.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass024.cmd_3320]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass024\castclass024.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass024
@@ -23284,14 +21964,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[OutAttributeCtor.cmd_3358]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\outattribute\OutAttributeCtor\OutAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\outattribute\OutAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [LLoops.cmd_3359]
 RelativePath=JIT\Performance\CodeQuality\Benchstones\BenchF\LLoops\LLoops\LLoops.cmd
 WorkingDir=JIT\Performance\CodeQuality\Benchstones\BenchF\LLoops\LLoops
@@ -23388,14 +22060,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt64IConvertibleToUInt32.cmd_3373]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt32\UInt64IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [thread16.cmd_3374]
 RelativePath=baseservices\threading\generics\WaitCallback\thread16\thread16.cmd
 WorkingDir=baseservices\threading\generics\WaitCallback\thread16
@@ -23540,14 +22204,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringConcat4.cmd_3396]
-RelativePath=CoreMangLib\cti\system\string\StringConcat4\StringConcat4.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [blt_i8.cmd_3397]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\blt_i8\blt_i8.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\blt_i8
@@ -23836,14 +22492,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64IConvertibleToInt64.cmd_3436]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToInt64\Int64IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b52838.cmd_3437]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b52838\b52838\b52838.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b52838\b52838
@@ -24004,14 +22652,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteMinValue.cmd_3459]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteMinValue\SByteMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_dbgaccum.cmd_3460]
 RelativePath=JIT\Methodical\VT\identity\_speed_dbgaccum\_speed_dbgaccum.cmd
 WorkingDir=JIT\Methodical\VT\identity\_speed_dbgaccum
@@ -24124,14 +22764,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToBoolean.cmd_3475]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToBoolean\Int16IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b28927.cmd_3476]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b28927\b28927\b28927.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b28927\b28927
@@ -24236,14 +22868,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToByte.cmd_3490]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToByte\UInt32IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1155.cmd_3491]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1155\Generated1155\Generated1155.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1155\Generated1155
@@ -24420,14 +23044,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64CompareTo1.cmd_3519]
-RelativePath=CoreMangLib\cti\system\int64\Int64CompareTo1\Int64CompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64CompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test137310.cmd_3520]
 RelativePath=Loader\classloader\generics\regressions\137310\test137310\test137310.cmd
 WorkingDir=Loader\classloader\generics\regressions\137310\test137310
@@ -24708,14 +23324,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanIConvertibleToChar.cmd_3559]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToChar\BooleanIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Finalize.cmd_3560]
 RelativePath=GC\API\GC\Finalize\Finalize.cmd
 WorkingDir=GC\API\GC\Finalize
@@ -25004,14 +23612,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[WeakReferenceCtor1_PSC.cmd_3602]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceCtor1_PSC\WeakReferenceCtor1_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceCtor1_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_rels_ldc_mulovf.cmd_3603]
 RelativePath=JIT\Methodical\int64\signed\_rels_ldc_mulovf\_rels_ldc_mulovf.cmd
 WorkingDir=JIT\Methodical\int64\signed\_rels_ldc_mulovf
@@ -25068,14 +23668,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringConcat1.cmd_3611]
-RelativePath=CoreMangLib\cti\system\string\StringConcat1\StringConcat1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b25815.cmd_3612]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b25815\b25815\b25815.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b25815\b25815
@@ -25124,14 +23716,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[TargetInvocationExceptionCtor2.cmd_3619]
-RelativePath=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor2\TargetInvocationExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1406.cmd_3620]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1406\Generated1406\Generated1406.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1406\Generated1406
@@ -25220,14 +23804,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringConcat5.cmd_3637]
-RelativePath=CoreMangLib\cti\system\string\StringConcat5\StringConcat5.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat5
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [boxunboxenum_do.cmd_3638]
 RelativePath=JIT\Directed\nullabletypes\boxunboxenum_do\boxunboxenum_do.cmd
 WorkingDir=JIT\Directed\nullabletypes\boxunboxenum_do
@@ -25476,14 +24052,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringCtor5.cmd_3677]
-RelativePath=CoreMangLib\cti\system\string\StringCtor5\StringCtor5.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCtor5
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [tail.cmd_3678]
 RelativePath=JIT\Directed\pinvoke\tail\tail.cmd
 WorkingDir=JIT\Directed\pinvoke\tail
@@ -25684,14 +24252,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalGetBits.cmd_3706]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalGetBits\DecimalGetBits.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalGetBits
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [exchange4.cmd_3707]
 RelativePath=baseservices\threading\interlocked\exchange\exchange4\exchange4.cmd
 WorkingDir=baseservices\threading\interlocked\exchange\exchange4
@@ -25740,14 +24300,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32MaxValue.cmd_3713]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32MaxValue\UInt32MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b81763.cmd_3714]
 RelativePath=JIT\Regression\VS-ia64-JIT\M00\b81763\b81763\b81763.cmd
 WorkingDir=JIT\Regression\VS-ia64-JIT\M00\b81763\b81763
@@ -25860,14 +24412,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharToString2.cmd_3728]
-RelativePath=CoreMangLib\cti\system\char\CharToString2\CharToString2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgisinst_ldarg.cmd_3729]
 RelativePath=JIT\Methodical\casts\coverage\_dbgisinst_ldarg\_dbgisinst_ldarg.cmd
 WorkingDir=JIT\Methodical\casts\coverage\_dbgisinst_ldarg
@@ -26092,14 +24636,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToUInt16.cmd_3759]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt16\SByteIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [mixedexpr1_r_loop_try.cmd_3760]
 RelativePath=JIT\jit64\opt\cse\mixedexpr1_r_loop_try\mixedexpr1_r_loop_try.cmd
 WorkingDir=JIT\jit64\opt\cse\mixedexpr1_r_loop_try
@@ -26124,14 +24660,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanIConvertibleToType.cmd_3764]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToType\BooleanIConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b173569.cmd_3765]
 RelativePath=JIT\Regression\clr-x64-JIT\v2.1\b173569\b173569\b173569.cmd
 WorkingDir=JIT\Regression\clr-x64-JIT\v2.1\b173569\b173569
@@ -26172,14 +24700,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleIConvertibleToSByte.cmd_3770]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToSByte\DoubleIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [DevDiv2_10623.cmd_3772]
 RelativePath=JIT\Regression\Dev11\DevDiv2_10623\DevDiv2_10623\DevDiv2_10623.cmd
 WorkingDir=JIT\Regression\Dev11\DevDiv2_10623\DevDiv2_10623
@@ -26340,14 +24860,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_FAIL;2451;EXCLUDED;RVA_STATIC;Pri1
 HostStyle=0
 
-[Int16IConvertibleToDecimal.cmd_3799]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToDecimal\Int16IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [DblAddConst.cmd_3800]
 RelativePath=JIT\CodeGenBringUpTests\DblAddConst_ro\DblAddConst_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\DblAddConst_ro
@@ -26628,14 +25140,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToChar.cmd_3838]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToChar\UInt32IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b26957.cmd_3839]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b26957\b26957\b26957.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b26957\b26957
@@ -26748,14 +25252,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt64ToString2.cmd_3854]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64ToString2\UInt64ToString2.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64ToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [tryfinallyincatchtry_d.cmd_3855]
 RelativePath=JIT\Methodical\eh\disconnected\tryfinallyincatchtry_d\tryfinallyincatchtry_d.cmd
 WorkingDir=JIT\Methodical\eh\disconnected\tryfinallyincatchtry_d
@@ -26796,14 +25292,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringPadLeft1.cmd_3862]
-RelativePath=CoreMangLib\cti\system\string\StringPadLeft1\StringPadLeft1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadLeft1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [longinccheckreturn.cmd_3863]
 RelativePath=baseservices\threading\interlocked\checkreturn\longinccheckreturn\longinccheckreturn.cmd
 WorkingDir=baseservices\threading\interlocked\checkreturn\longinccheckreturn
@@ -26892,22 +25380,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalSubtract.cmd_3878]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalSubtract\DecimalSubtract.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalSubtract
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[CharIConvertibleToDouble.cmd_3879]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToDouble\CharIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [samethrowtwice_d.cmd_3880]
 RelativePath=JIT\Methodical\eh\rethrow\samethrowtwice_d\samethrowtwice_d.cmd
 WorkingDir=JIT\Methodical\eh\rethrow\samethrowtwice_d
@@ -27092,14 +25564,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToSByte.cmd_3907]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToSByte\StringIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [r8NaNmul_cs_do.cmd_3908]
 RelativePath=JIT\Methodical\NaN\r8NaNmul_cs_do\r8NaNmul_cs_do.cmd
 WorkingDir=JIT\Methodical\NaN\r8NaNmul_cs_do
@@ -27108,14 +25572,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToDouble.cmd_3909]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDouble\BooleanIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [refs.cmd_3910]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\refs\refs.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\refs
@@ -27148,14 +25604,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_FAIL;9462;EXCLUDED;VARARG;Pri1
 HostStyle=0
 
-[AssemblyKeyNameAttributeCtor.cmd_3916]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeCtor\AssemblyKeyNameAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test.cmd_3917]
 RelativePath=JIT\jit64\regress\vsw\568666\test\test.cmd
 WorkingDir=JIT\jit64\regress\vsw\568666\test
@@ -27548,14 +25996,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringEquals6.cmd_3977]
-RelativePath=CoreMangLib\cti\system\string\StringEquals6\StringEquals6.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals6
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [constructor_d.cmd_3978]
 RelativePath=JIT\Directed\nullabletypes\constructor_d\constructor_d.cmd
 WorkingDir=JIT\Directed\nullabletypes\constructor_d
@@ -27636,14 +26076,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToDecimal.cmd_3992]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToDecimal\ByteIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [arrayexpr2_d_loop_try.cmd_3994]
 RelativePath=JIT\jit64\opt\cse\arrayexpr2_d_loop_try\arrayexpr2_d_loop_try.cmd
 WorkingDir=JIT\jit64\opt\cse\arrayexpr2_d_loop_try
@@ -27700,14 +26132,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringReplace1.cmd_4002]
-RelativePath=CoreMangLib\cti\system\string\StringReplace1\StringReplace1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringReplace1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [throwinfinallyintryfilter3_r.cmd_4003]
 RelativePath=JIT\Methodical\eh\basics\throwinfinallyintryfilter3_r\throwinfinallyintryfilter3_r.cmd
 WorkingDir=JIT\Methodical\eh\basics\throwinfinallyintryfilter3_r
@@ -27788,14 +26212,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToDouble.cmd_4013]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToDouble\ByteIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-generics016.cmd_4014]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics016\castclass-generics016.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics016
@@ -28140,14 +26556,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64MinValue.cmd_4066]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64MinValue\UInt64MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-null043.cmd_4070]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null043\castclass-null043.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null043
@@ -28196,14 +26604,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToInt32.cmd_4076]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt32\SByteIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [interface_struct01.cmd_4078]
 RelativePath=JIT\Generics\MemberAccess\interface_struct01\interface_struct01.cmd
 WorkingDir=JIT\Generics\MemberAccess\interface_struct01
@@ -28244,14 +26644,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToString3.cmd_4083]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString3\DecimalToString3.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b30125.cmd_4084]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b30125\b30125\b30125.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b30125\b30125
@@ -28572,14 +26964,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToUInt32.cmd_4132]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt32\BooleanIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VectorSqrt_r.cmd_4134]
 RelativePath=JIT\SIMD\VectorSqrt_r\VectorSqrt_r.cmd
 WorkingDir=JIT\SIMD\VectorSqrt_r
@@ -29020,14 +27404,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToDateTime.cmd_4201]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToDateTime\CharIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1158.cmd_4202]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1158\Generated1158\Generated1158.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1158\Generated1158
@@ -29412,14 +27788,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsSeparator2.cmd_4261]
-RelativePath=CoreMangLib\cti\system\char\CharIsSeparator2\CharIsSeparator2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSeparator2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated132.cmd_4262]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest132\Generated132\Generated132.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest132\Generated132
@@ -29468,14 +27836,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeSizeConst.cmd_4271]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeConst\MarshalAsAttributeSizeConst.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeConst
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgpointer.cmd_4272]
 RelativePath=JIT\Methodical\tailcall\_il_dbgpointer\_il_dbgpointer.cmd
 WorkingDir=JIT\Methodical\tailcall\_il_dbgpointer
@@ -29628,22 +27988,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteToString3.cmd_4296]
-RelativePath=CoreMangLib\cti\system\byte\ByteToString3\ByteToString3.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[MethodImplOptionsNoInlining.cmd_4298]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsNoInlining\MethodImplOptionsNoInlining.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsNoInlining
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox002.cmd_4299]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox002\box-unbox002.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox002
@@ -29660,14 +28004,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_FAIL;9462;EXCLUDED;VARARG;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToInt64.cmd_4301]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt64\UInt32IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [decimaldiv_cs_d.cmd_4302]
 RelativePath=JIT\Methodical\divrem\div\decimaldiv_cs_d\decimaldiv_cs_d.cmd
 WorkingDir=JIT\Methodical\divrem\div\decimaldiv_cs_d
@@ -29964,14 +28300,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringTrim1b.cmd_4342]
-RelativePath=CoreMangLib\cti\system\string\StringTrim1b\StringTrim1b.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim1b
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Int_Xor_Op_cs_ro.cmd_4343]
 RelativePath=JIT\Directed\cmov\Int_Xor_Op_cs_ro\Int_Xor_Op_cs_ro.cmd
 WorkingDir=JIT\Directed\cmov\Int_Xor_Op_cs_ro
@@ -30092,22 +28420,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int32IConvertibleToChar.cmd_4359]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToChar\Int32IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[WeakReferenceIsAliveb_PSC.cmd_4360]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceIsAliveb_PSC\WeakReferenceIsAliveb_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceIsAliveb_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GetTotalMemory.cmd_4361]
 RelativePath=GC\API\GC\GetTotalMemory\GetTotalMemory.cmd
 WorkingDir=GC\API\GC\GetTotalMemory
@@ -30164,14 +28476,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToInt64.cmd_4368]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToInt64\DecimalToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_Simpletest4.cmd_4370]
 RelativePath=JIT\Methodical\stringintern\_Simpletest4\_Simpletest4.cmd
 WorkingDir=JIT\Methodical\stringintern\_Simpletest4
@@ -30700,14 +29004,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringTrim1.cmd_4448]
-RelativePath=CoreMangLib\cti\system\string\StringTrim1\StringTrim1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_relbox.cmd_4449]
 RelativePath=JIT\Methodical\int64\misc\_il_relbox\_il_relbox.cmd
 WorkingDir=JIT\Methodical\int64\misc\_il_relbox
@@ -30756,14 +29052,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToInt16.cmd_4455]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToInt16\StringIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [AutoResetCtor1.cmd_4458]
 RelativePath=baseservices\threading\events\EventWaitHandle\AutoReset\AutoResetCtor1\AutoResetCtor1.cmd
 WorkingDir=baseservices\threading\events\EventWaitHandle\AutoReset\AutoResetCtor1
@@ -30828,14 +29116,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToDecimal.cmd_4468]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToDecimal\DecimalToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1219.cmd_4469]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1219\Generated1219\Generated1219.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1219\Generated1219
@@ -30852,14 +29132,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringCopyTo.cmd_4472]
-RelativePath=CoreMangLib\cti\system\string\StringCopyTo\StringCopyTo.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCopyTo
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1007.cmd_4473]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1007\Generated1007\Generated1007.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1007\Generated1007
@@ -30876,14 +29148,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToChar.cmd_4475]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToChar\Int64IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated852.cmd_4476]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest852\Generated852\Generated852.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest852\Generated852
@@ -30892,14 +29156,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32MinValue.cmd_4477]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32MinValue\UInt32MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_orelsin_il_il.cmd_4478]
 RelativePath=JIT\Methodical\Boxing\xlang\_orelsin_il_il\_orelsin_il_il.cmd
 WorkingDir=JIT\Methodical\Boxing\xlang\_orelsin_il_il
@@ -31004,14 +29260,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteToString2.cmd_4494]
-RelativePath=CoreMangLib\cti\system\byte\ByteToString2\ByteToString2.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b28787.cmd_4495]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b28787\b28787\b28787.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b28787\b28787
@@ -31188,14 +29436,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToUInt32.cmd_4526]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToUInt32\DecimalToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated801.cmd_4527]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest801\Generated801\Generated801.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest801\Generated801
@@ -31356,14 +29596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharToString1.cmd_4553]
-RelativePath=CoreMangLib\cti\system\char\CharToString1\CharToString1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharToString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b102886.cmd_4554]
 RelativePath=JIT\Regression\VS-ia64-JIT\V1.2-M02\b102886\b102886\b102886.cmd
 WorkingDir=JIT\Regression\VS-ia64-JIT\V1.2-M02\b102886\b102886
@@ -31428,14 +29660,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[FlagsAttributeCtor.cmd_4563]
-RelativePath=CoreMangLib\cti\system\flagsattribute\FlagsAttributeCtor\FlagsAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\flagsattribute\FlagsAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b98958.cmd_4564]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M13-RTM\b98958\b98958\b98958.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M13-RTM\b98958\b98958
@@ -31532,14 +29756,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToSByte.cmd_4576]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSByte\UInt64IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated793.cmd_4577]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest793\Generated793\Generated793.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest793\Generated793
@@ -31580,14 +29796,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyNameSetPublicKeyToken.cmd_4583]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKeyToken\AssemblyNameSetPublicKeyToken.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKeyToken
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1076.cmd_4586]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1076\Generated1076\Generated1076.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1076\Generated1076
@@ -31748,14 +29956,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteEquals2.cmd_4607]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteEquals2\SByteEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [TestGC.cmd_4608]
 RelativePath=baseservices\compilerservices\dynamicobjectproperties\TestGC\TestGC.cmd
 WorkingDir=baseservices\compilerservices\dynamicobjectproperties\TestGC
@@ -32164,14 +30364,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleIsInfinity.cmd_4665]
-RelativePath=CoreMangLib\cti\system\single\SingleIsInfinity\SingleIsInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_223.cmd_4666]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_223\GCSimulator_223.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_223
@@ -32244,14 +30436,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringTrim3.cmd_4676]
-RelativePath=CoreMangLib\cti\system\string\StringTrim3\StringTrim3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [8Queens.cmd_4677]
 RelativePath=JIT\Performance\CodeQuality\Benchstones\BenchI\8Queens\8Queens\8Queens.cmd
 WorkingDir=JIT\Performance\CodeQuality\Benchstones\BenchI\8Queens\8Queens
@@ -32372,14 +30556,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToSingle.cmd_4693]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSingle\BooleanIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbginitializearray_enum.cmd_4694]
 RelativePath=JIT\Methodical\Arrays\misc\_il_dbginitializearray_enum\_il_dbginitializearray_enum.cmd
 WorkingDir=JIT\Methodical\Arrays\misc\_il_dbginitializearray_enum
@@ -32420,14 +30596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCGetTotalMemory.cmd_4699]
-RelativePath=CoreMangLib\cti\system\gc\GCGetTotalMemory\GCGetTotalMemory.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCGetTotalMemory
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [fgtest1.cmd_4700]
 RelativePath=JIT\jit64\gc\misc\fgtest1\fgtest1.cmd
 WorkingDir=JIT\jit64\gc\misc\fgtest1
@@ -32476,14 +30644,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[AssemblyKeyFileAttributeKeyFile.cmd_4707]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeKeyFile\AssemblyKeyFileAttributeKeyFile.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeKeyFile
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [semaphoreopenneg2.cmd_4709]
 RelativePath=baseservices\threading\semaphore\ctoropen\semaphoreopenneg2\semaphoreopenneg2.cmd
 WorkingDir=baseservices\threading\semaphore\ctoropen\semaphoreopenneg2
@@ -32580,14 +30740,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteEquals1.cmd_4721]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteEquals1\SByteEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated580.cmd_4722]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest580\Generated580\Generated580.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest580\Generated580
@@ -32676,14 +30828,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringToCharArray.cmd_4735]
-RelativePath=CoreMangLib\cti\system\string\StringToCharArray\StringToCharArray.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringToCharArray
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_rels_ldfld_mul.cmd_4736]
 RelativePath=JIT\Methodical\int64\signed\_rels_ldfld_mul\_rels_ldfld_mul.cmd
 WorkingDir=JIT\Methodical\int64\signed\_rels_ldfld_mul
@@ -32996,14 +31140,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToByte.cmd_4776]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToByte\ByteIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [5w1d-01_cs_ro.cmd_4777]
 RelativePath=JIT\Methodical\fp\exgen\5w1d-01_cs_ro\5w1d-01_cs_ro.cmd
 WorkingDir=JIT\Methodical\fp\exgen\5w1d-01_cs_ro
@@ -33052,14 +31188,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanIConvertibleToDateTime.cmd_4787]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDateTime\BooleanIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b29727.cmd_4788]
 RelativePath=JIT\Regression\VS-ia64-JIT\V1.2-M02\b29727\b29727\b29727.cmd
 WorkingDir=JIT\Regression\VS-ia64-JIT\V1.2-M02\b29727\b29727
@@ -33228,14 +31356,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToString2.cmd_4813]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString2\DecimalToString2.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass021.cmd_4814]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass021\castclass021.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass021
@@ -33308,14 +31428,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ObjectToString.cmd_4823]
-RelativePath=CoreMangLib\cti\system\object\ObjectToString\ObjectToString.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectToString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_opt_relrefarg_c.cmd_4825]
 RelativePath=JIT\Methodical\explicit\basic\_opt_relrefarg_c\_opt_relrefarg_c.cmd
 WorkingDir=JIT\Methodical\explicit\basic\_opt_relrefarg_c
@@ -33324,14 +31436,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToDateTime.cmd_4826]
-RelativePath=CoreMangLib\cti\system\single\SingleToDateTime\SingleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1215.cmd_4827]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1215\Generated1215\Generated1215.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1215\Generated1215
@@ -33380,14 +31484,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToByte.cmd_4834]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToByte\UInt16IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [expl_double.cmd_4835]
 RelativePath=Regressions\expl_double\expl_double\expl_double.cmd
 WorkingDir=Regressions\expl_double\expl_double
@@ -33580,14 +31676,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToByte.cmd_4863]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToByte\Int16IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-null008.cmd_4864]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null008\castclass-null008.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null008
@@ -33596,14 +31684,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MethodImplOptionsPreserveSig.cmd_4865]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsPreserveSig\MethodImplOptionsPreserveSig.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsPreserveSig
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [switch6.cmd_4866]
 RelativePath=JIT\Methodical\switch\switch6\switch6.cmd
 WorkingDir=JIT\Methodical\switch\switch6
@@ -33684,14 +31764,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanIConvertibleToInt16.cmd_4876]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt16\BooleanIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_relint32_0_5a.cmd_4877]
 RelativePath=JIT\Methodical\Arrays\range\_il_relint32_0_5a\_il_relint32_0_5a.cmd
 WorkingDir=JIT\Methodical\Arrays\range\_il_relint32_0_5a
@@ -33732,14 +31804,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StructLayoutAttributeCtor.cmd_4883]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCtor\StructLayoutAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated348.cmd_4884]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest348\Generated348\Generated348.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest348\Generated348
@@ -33812,14 +31876,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToInt16.cmd_4897]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToInt16\Int16IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_269.cmd_4898]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_269\GCSimulator_269.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_269
@@ -34028,14 +32084,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[CharIConvertibleToInt32.cmd_4927]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToInt32\CharIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated5.cmd_4928]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest5\Generated5\Generated5.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest5\Generated5
@@ -34252,14 +32300,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalCtor3.cmd_4961]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor3\DecimalCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated280.cmd_4962]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest280\Generated280\Generated280.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest280\Generated280
@@ -34436,14 +32476,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalTruncate.cmd_4987]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalTruncate\DecimalTruncate.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalTruncate
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgunsafe-6.cmd_4989]
 RelativePath=JIT\Methodical\unsafecsharp\_dbgunsafe-6\_dbgunsafe-6.cmd
 WorkingDir=JIT\Methodical\unsafecsharp\_dbgunsafe-6
@@ -34452,14 +32484,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIConvertibleToDouble.cmd_4990]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToDouble\DoubleIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_33.cmd_4991]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_33\GCSimulator_33.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_33
@@ -34700,14 +32724,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCCollect.cmd_5027]
-RelativePath=CoreMangLib\cti\system\gc\GCCollect\GCCollect.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCCollect
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;GCSTRESS_EXCLUDE;Pri1
-HostStyle=0
-
 [_reljumper.cmd_5030]
 RelativePath=JIT\Methodical\VT\callconv\_reljumper\_reljumper.cmd
 WorkingDir=JIT\Methodical\VT\callconv\_reljumper
@@ -34844,14 +32860,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToByte.cmd_5049]
-RelativePath=CoreMangLib\cti\system\single\SingleToByte\SingleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [HelloWorld.cmd_5052]
 RelativePath=Loader\classloader\TSAmbiguities\CollapsedMethods\InterfaceImplementation\HelloWorld\HelloWorld.cmd
 WorkingDir=Loader\classloader\TSAmbiguities\CollapsedMethods\InterfaceImplementation\HelloWorld
@@ -34908,14 +32916,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringPadRight.cmd_5060]
-RelativePath=CoreMangLib\cti\system\string\StringPadRight\StringPadRight.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadRight
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1268.cmd_5061]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1268\Generated1268\Generated1268.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1268\Generated1268
@@ -35044,14 +33044,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalCtor2.cmd_5079]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor2\DecimalCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Int_Xor_Op_cs_r.cmd_5080]
 RelativePath=JIT\Directed\cmov\Int_Xor_Op_cs_r\Int_Xor_Op_cs_r.cmd
 WorkingDir=JIT\Directed\cmov\Int_Xor_Op_cs_r
@@ -35156,14 +33148,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[SingleToInt64.cmd_5096]
-RelativePath=CoreMangLib\cti\system\single\SingleToInt64\SingleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b48350.cmd_5097]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b48350\b48350\b48350.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b48350\b48350
@@ -35180,14 +33164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToUInt64.cmd_5099]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt64\SByteIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Call_instance01_do.cmd_5100]
 RelativePath=JIT\Generics\Constraints\Call_instance01_do\Call_instance01_do.cmd
 WorkingDir=JIT\Generics\Constraints\Call_instance01_do
@@ -35276,14 +33252,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[CharEnumeratorCurrent.cmd_5113]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorCurrent\CharEnumeratorCurrent.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorCurrent
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1260.cmd_5114]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1260\Generated1260\Generated1260.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1260\Generated1260
@@ -35492,14 +33460,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalMaxValue.cmd_5145]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMaxValue\DecimalMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_relhan3.cmd_5146]
 RelativePath=JIT\Methodical\VT\etc\_il_relhan3\_il_relhan3.cmd
 WorkingDir=JIT\Methodical\VT\etc\_il_relhan3
@@ -35604,14 +33564,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyDelaySignAttributeCtor.cmd_5159]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeCtor\AssemblyDelaySignAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Double_And_Op_cs_r.cmd_5160]
 RelativePath=JIT\Directed\cmov\Double_And_Op_cs_r\Double_And_Op_cs_r.cmd
 WorkingDir=JIT\Directed\cmov\Double_And_Op_cs_r
@@ -35668,14 +33620,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToUInt16.cmd_5168]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt16\UInt64IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [class_instance01.cmd_5169]
 RelativePath=JIT\Generics\MemberAccess\class_instance01\class_instance01.cmd
 WorkingDir=JIT\Generics\MemberAccess\class_instance01
@@ -35716,14 +33660,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalToDateTime.cmd_5175]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToDateTime\DecimalToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b43958.cmd_5176]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b43958\b43958\b43958.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b43958\b43958
@@ -35756,14 +33692,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringPadLeft2.cmd_5181]
-RelativePath=CoreMangLib\cti\system\string\StringPadLeft2\StringPadLeft2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadLeft2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [NestedInterface02.cmd_5182]
 RelativePath=Loader\classloader\generics\Instantiation\Positive\NestedInterface02\NestedInterface02.cmd
 WorkingDir=Loader\classloader\generics\Instantiation\Positive\NestedInterface02
@@ -35924,14 +33852,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ConstructorInfoTypeConstructorName.cmd_5205]
-RelativePath=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoTypeConstructorName\ConstructorInfoTypeConstructorName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoTypeConstructorName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b44657.cmd_5206]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b44657\b44657\b44657.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b44657\b44657
@@ -36244,14 +34164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToUInt16.cmd_5249]
-RelativePath=CoreMangLib\cti\system\single\SingleToUInt16\SingleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated595.cmd_5250]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest595\Generated595\Generated595.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest595\Generated595
@@ -36524,14 +34436,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToUInt32.cmd_5289]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt32\ByteIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [trybodyinbetweencatchhandlers_d.cmd_5290]
 RelativePath=JIT\Methodical\eh\disconnected\trybodyinbetweencatchhandlers_d\trybodyinbetweencatchhandlers_d.cmd
 WorkingDir=JIT\Methodical\eh\disconnected\trybodyinbetweencatchhandlers_d
@@ -36764,14 +34668,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIndexOf10.cmd_5322]
-RelativePath=CoreMangLib\cti\system\string\StringIndexOf10\StringIndexOf10.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIndexOf10
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Target.cmd_5323]
 RelativePath=GC\API\GCHandle\Target\Target.cmd
 WorkingDir=GC\API\GCHandle\Target
@@ -36820,14 +34716,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalCtor1.cmd_5329]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor1\DecimalCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated162.cmd_5330]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest162\Generated162\Generated162.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest162\Generated162
@@ -36892,14 +34780,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToInt64.cmd_5338]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt64\UInt16IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [RMV-2-13-26-two.cmd_5339]
 RelativePath=Loader\classloader\rmv\il\RMV-2-13-26-two\RMV-2-13-26-two.cmd
 WorkingDir=Loader\classloader\rmv\il\RMV-2-13-26-two
@@ -36948,14 +34828,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[ConditionalAttributeConditionString.cmd_5345]
-RelativePath=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeConditionString\ConditionalAttributeConditionString.cmd
-WorkingDir=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeConditionString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox-null019.cmd_5346]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\null\box-unbox-null019\box-unbox-null019.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\null\box-unbox-null019
@@ -36988,14 +34860,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ObjectMemberwiseClone.cmd_5350]
-RelativePath=CoreMangLib\cti\system\object\ObjectMemberwiseClone\ObjectMemberwiseClone.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectMemberwiseClone
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GThread17.cmd_5351]
 RelativePath=baseservices\threading\generics\syncdelegate\GThread17\GThread17.cmd
 WorkingDir=baseservices\threading\generics\syncdelegate\GThread17
@@ -37260,14 +35124,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToSByte.cmd_5389]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSByte\UInt16IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b28806.cmd_5390]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b28806\b28806\b28806.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b28806\b28806
@@ -37636,14 +35492,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleIsNegativeInfinity.cmd_5441]
-RelativePath=CoreMangLib\cti\system\single\SingleIsNegativeInfinity\SingleIsNegativeInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsNegativeInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated502.cmd_5442]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest502\Generated502\Generated502.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest502\Generated502
@@ -37804,14 +35652,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleEquals2.cmd_5466]
-RelativePath=CoreMangLib\cti\system\double\DoubleEquals2\DoubleEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [HugeArray1.cmd_5467]
 RelativePath=JIT\jit64\opt\cse\HugeArray1\HugeArray1.cmd
 WorkingDir=JIT\jit64\opt\cse\HugeArray1
@@ -38060,14 +35900,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int16Equals2.cmd_5506]
-RelativePath=CoreMangLib\cti\system\int16\Int16Equals2\Int16Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1226.cmd_5507]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1226\Generated1226\Generated1226.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1226\Generated1226
@@ -38092,14 +35924,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToSByte.cmd_5510]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToSByte\Int32IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b43719.cmd_5511]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b43719\b43719\b43719.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b43719\b43719
@@ -38116,14 +35940,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int32ToString3.cmd_5513]
-RelativePath=CoreMangLib\cti\system\int\Int32ToString3\Int32ToString3.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32ToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [throwtest.cmd_5514]
 RelativePath=JIT\opt\Inline\tests\throwtest\throwtest.cmd
 WorkingDir=JIT\opt\Inline\tests\throwtest
@@ -38444,14 +36260,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalMinusOne.cmd_5557]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMinusOne\DecimalMinusOne.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMinusOne
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [DevDiv_142976.cmd_5559]
 RelativePath=JIT\Regression\JitBlue\DevDiv_142976\DevDiv_142976\DevDiv_142976.cmd
 WorkingDir=JIT\Regression\JitBlue\DevDiv_142976\DevDiv_142976
@@ -38828,14 +36636,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToInt16.cmd_5612]
-RelativePath=CoreMangLib\cti\system\single\SingleToInt16\SingleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b31452.cmd_5613]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b31452\b31452\b31452.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b31452\b31452
@@ -38940,14 +36740,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt16IConvertibleToUInt32.cmd_5629]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt32\UInt16IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated20.cmd_5631]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest20\Generated20\Generated20.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest20\Generated20
@@ -39236,14 +37028,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToInt64.cmd_5673]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToInt64\Int32IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [assemname_cs_ro.cmd_5675]
 RelativePath=JIT\Methodical\cctor\misc\assemname_cs_ro\assemname_cs_ro.cmd
 WorkingDir=JIT\Methodical\cctor\misc\assemname_cs_ro
@@ -39284,14 +37068,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ObjectGetHashCode.cmd_5682]
-RelativePath=CoreMangLib\cti\system\object\ObjectGetHashCode\ObjectGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [hfa_sf0C_r.cmd_5683]
 RelativePath=JIT\jit64\hfa\main\testC\hfa_sf0C_r\hfa_sf0C_r.cmd
 WorkingDir=JIT\jit64\hfa\main\testC\hfa_sf0C_r
@@ -39556,14 +37332,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[AssemblyKeyNameAttributeKeyName.cmd_5720]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeKeyName\AssemblyKeyNameAttributeKeyName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeKeyName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [struct03.cmd_5721]
 RelativePath=JIT\Generics\Instantiation\Structs\struct03\struct03.cmd
 WorkingDir=JIT\Generics\Instantiation\Structs\struct03
@@ -39716,14 +37484,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsWhiteSpace2.cmd_5743]
-RelativePath=CoreMangLib\cti\system\char\CharIsWhiteSpace2\CharIsWhiteSpace2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsWhiteSpace2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_reltailcall.cmd_5744]
 RelativePath=JIT\Methodical\Boxing\boxunbox\_il_reltailcall\_il_reltailcall.cmd
 WorkingDir=JIT\Methodical\Boxing\boxunbox\_il_reltailcall
@@ -39836,14 +37596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeValue.cmd_5758]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeValue\MarshalAsAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox-generics031.cmd_5759]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\generics\box-unbox-generics031\box-unbox-generics031.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\generics\box-unbox-generics031
@@ -39908,14 +37660,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalConstantAttributeCtor.cmd_5769]
-RelativePath=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeCtor\DecimalConstantAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated522.cmd_5770]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest522\Generated522\Generated522.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest522\Generated522
@@ -39980,14 +37724,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyDefaultAliasAttribute.cmd_5779]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttribute\AssemblyDefaultAliasAttribute.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttribute
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [CgStress1_ro.cmd_5780]
 RelativePath=JIT\jit64\opt\cg\cgstress\CgStress1_ro\CgStress1_ro.cmd
 WorkingDir=JIT\jit64\opt\cg\cgstress\CgStress1_ro
@@ -40196,14 +37932,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToDecimal.cmd_5813]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDecimal\SByteIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b30905.cmd_5814]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b30905\b30905\b30905.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b30905\b30905
@@ -40268,14 +37996,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToInt16.cmd_5823]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToInt16\IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [rethrowincatchnestedinfinally_ro.cmd_5824]
 RelativePath=JIT\Methodical\eh\nested\general\rethrowincatchnestedinfinally_ro\rethrowincatchnestedinfinally_ro.cmd
 WorkingDir=JIT\Methodical\eh\nested\general\rethrowincatchnestedinfinally_ro
@@ -40308,22 +38028,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIConvertibleToDateTime.cmd_5830]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToDateTime\DoubleIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[UInt64IConvertibleToInt32.cmd_5831]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt32\UInt64IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b16382.cmd_5832]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1.2-M01\b16382\b16382\b16382.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1.2-M01\b16382\b16382
@@ -40388,14 +38092,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToInt32.cmd_5840]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToInt32\IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1445.cmd_5841]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1445\Generated1445\Generated1445.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1445\Generated1445
@@ -40604,14 +38300,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToUInt16.cmd_5871]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToUInt16\DecimalToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [method001g.cmd_5872]
 RelativePath=Loader\classloader\generics\GenericMethods\method001g\method001g.cmd
 WorkingDir=Loader\classloader\generics\GenericMethods\method001g
@@ -40732,14 +38420,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16MinValue.cmd_5891]
-RelativePath=CoreMangLib\cti\system\int16\Int16MinValue\Int16MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass038.cmd_5892]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass038\castclass038.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\castclass\castclass038
@@ -40756,14 +38436,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsLetterOrDigit1.cmd_5895]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetterOrDigit1\CharIsLetterOrDigit1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetterOrDigit1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [preemptive_cooperative.cmd_5896]
 RelativePath=JIT\Directed\pinvoke\preemptive_cooperative\preemptive_cooperative.cmd
 WorkingDir=JIT\Directed\pinvoke\preemptive_cooperative
@@ -40980,14 +38652,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToBoolean.cmd_5926]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToBoolean\UInt32IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [boxunboxinterface_r.cmd_5927]
 RelativePath=JIT\Directed\nullabletypes\boxunboxinterface_r\boxunboxinterface_r.cmd
 WorkingDir=JIT\Directed\nullabletypes\boxunboxinterface_r
@@ -41076,14 +38740,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToDecimal.cmd_5938]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDecimal\UInt64IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_relhan3.cmd_5939]
 RelativePath=JIT\Methodical\VT\etc\_relhan3\_relhan3.cmd
 WorkingDir=JIT\Methodical\VT\etc\_relhan3
@@ -41124,14 +38780,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToUInt16.cmd_5944]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt16\Int16IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [regression_749068.cmd_5945]
 RelativePath=baseservices\threading\threadpool\unregister\regression_749068\regression_749068.cmd
 WorkingDir=baseservices\threading\threadpool\unregister\regression_749068
@@ -41204,14 +38852,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToType.cmd_5955]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToType\Int64IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-generics005.cmd_5956]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics005\castclass-generics005.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics005
@@ -41284,14 +38924,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalCtor8.cmd_5968]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor8\DecimalCtor8.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor8
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [BoxUnbox_r.cmd_5969]
 RelativePath=JIT\SIMD\BoxUnbox_r\BoxUnbox_r.cmd
 WorkingDir=JIT\SIMD\BoxUnbox_r
@@ -41396,14 +39028,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[PreserveSigAttributeCtor.cmd_5986]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\preservesigattribute\PreserveSigAttributeCtor\PreserveSigAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\preservesigattribute\PreserveSigAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1275.cmd_5987]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1275\Generated1275\Generated1275.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1275\Generated1275
@@ -41716,14 +39340,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalNegate.cmd_6032]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalNegate\DecimalNegate.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalNegate
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated965.cmd_6033]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest965\Generated965\Generated965.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest965\Generated965
@@ -41972,14 +39588,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCHandleFree_PSC.cmd_6067]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleFree_PSC\GCHandleFree_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleFree_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b35348.cmd_6070]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b35348\b35348\b35348.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b35348\b35348
@@ -42228,14 +39836,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64GetHashCode.cmd_6108]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64GetHashCode\UInt64GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [nestedTryRegionsWithSameOffset3.cmd_6109]
 RelativePath=JIT\jit64\eh\FinallyExec\nestedTryRegionsWithSameOffset3\nestedTryRegionsWithSameOffset3.cmd
 WorkingDir=JIT\jit64\eh\FinallyExec\nestedTryRegionsWithSameOffset3
@@ -42452,14 +40052,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ConditionalAttributeCtor.cmd_6144]
-RelativePath=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeCtor\ConditionalAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test9.cmd_6145]
 RelativePath=Loader\classloader\explicitlayout\Regressions\ASURT\ASURT150271\test9\test9.cmd
 WorkingDir=Loader\classloader\explicitlayout\Regressions\ASURT\ASURT150271\test9
@@ -42676,14 +40268,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleNegativeInfinity.cmd_6174]
-RelativePath=CoreMangLib\cti\system\double\DoubleNegativeInfinity\DoubleNegativeInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleNegativeInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [HugeArray.cmd_6175]
 RelativePath=JIT\jit64\opt\cse\HugeArray\HugeArray.cmd
 WorkingDir=JIT\jit64\opt\cse\HugeArray
@@ -42708,14 +40292,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64IConvertibleToDateTime.cmd_6178]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToDateTime\Int64IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [uint8_cs_do.cmd_6179]
 RelativePath=JIT\Directed\shift\uint8_cs_do\uint8_cs_do.cmd
 WorkingDir=JIT\Directed\shift\uint8_cs_do
@@ -42764,14 +40340,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringPadRight2.cmd_6186]
-RelativePath=CoreMangLib\cti\system\string\StringPadRight2\StringPadRight2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadRight2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [calli2_il_r.cmd_6187]
 RelativePath=JIT\Directed\coverage\importer\Desktop\calli2_il_r\calli2_il_r.cmd
 WorkingDir=JIT\Directed\coverage\importer\Desktop\calli2_il_r
@@ -42876,14 +40444,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsLower2.cmd_6203]
-RelativePath=CoreMangLib\cti\system\char\CharIsLower2\CharIsLower2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLower2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [try-catch06.cmd_6204]
 RelativePath=baseservices\exceptions\generics\try-catch06\try-catch06.cmd
 WorkingDir=baseservices\exceptions\generics\try-catch06
@@ -43068,14 +40628,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToChar.cmd_6231]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToChar\ByteIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ldc_mul_ovf_i4.cmd_6232]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\ldc_mul_ovf_i4\ldc_mul_ovf_i4.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\ldc_mul_ovf_i4
@@ -43180,14 +40732,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToBoolean.cmd_6247]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToBoolean\CharIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ldarga_ref.cmd_6248]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\ldarga_ref\ldarga_ref.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\ldarga_ref
@@ -43396,14 +40940,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToUInt32.cmd_6281]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt32\UInt32IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [CgStress3_r.cmd_6282]
 RelativePath=JIT\jit64\opt\cg\cgstress\CgStress3_r\CgStress3_r.cmd
 WorkingDir=JIT\jit64\opt\cg\cgstress\CgStress3_r
@@ -43532,14 +41068,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyDescriptionAttributeDescription.cmd_6302]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeDescription\AssemblyDescriptionAttributeDescription.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeDescription
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [thread12.cmd_6303]
 RelativePath=baseservices\threading\generics\WaitCallback\thread12\thread12.cmd
 WorkingDir=baseservices\threading\generics\WaitCallback\thread12
@@ -43580,14 +41108,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DefaultMemberAttributeMemberName.cmd_6309]
-RelativePath=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeMemberName\DefaultMemberAttributeMemberName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeMemberName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [hfa_sd2C_r.cmd_6310]
 RelativePath=JIT\jit64\hfa\main\testC\hfa_sd2C_r\hfa_sd2C_r.cmd
 WorkingDir=JIT\jit64\hfa\main\testC\hfa_sd2C_r
@@ -43604,14 +41124,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToInt16.cmd_6312]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToInt16\DecimalToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [dev11_20929_do.cmd_6313]
 RelativePath=JIT\Regression\Dev11\dev11_20929\dev11_20929_do\dev11_20929_do.cmd
 WorkingDir=JIT\Regression\Dev11\dev11_20929\dev11_20929_do
@@ -43708,14 +41220,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToInt64.cmd_6331]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt64\BooleanIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [expl_funcptr_val_d.cmd_6332]
 RelativePath=JIT\Methodical\explicit\funcptr\expl_funcptr_val_d\expl_funcptr_val_d.cmd
 WorkingDir=JIT\Methodical\explicit\funcptr\expl_funcptr_val_d
@@ -43780,14 +41284,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalEquals2.cmd_6341]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalEquals2\DecimalEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [classarr_cs_r.cmd_6342]
 RelativePath=JIT\Methodical\MDArray\GaussJordan\classarr_cs_r\classarr_cs_r.cmd
 WorkingDir=JIT\Methodical\MDArray\GaussJordan\classarr_cs_r
@@ -43836,14 +41332,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringConcat6.cmd_6349]
-RelativePath=CoreMangLib\cti\system\string\StringConcat6\StringConcat6.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat6
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated914.cmd_6350]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest914\Generated914\Generated914.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest914\Generated914
@@ -44228,14 +41716,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringGetHashCode.cmd_6406]
-RelativePath=CoreMangLib\cti\system\string\StringGetHashCode\StringGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox038.cmd_6407]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox038\box-unbox038.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox038
@@ -44508,14 +41988,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteEquals1.cmd_6447]
-RelativePath=CoreMangLib\cti\system\byte\ByteEquals1\ByteEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-generics012.cmd_6448]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics012\castclass-generics012.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics012
@@ -44556,14 +42028,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToBoolean.cmd_6454]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToBoolean\IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test.cmd_6455]
 RelativePath=Regressions\coreclr\0487\test\test.cmd
 WorkingDir=Regressions\coreclr\0487\test
@@ -44636,22 +42100,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[IConvertibleToDecimal.cmd_6464]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToDecimal\IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[StringIsNullOrEmpty.cmd_6465]
-RelativePath=CoreMangLib\cti\system\string\StringIsNullOrEmpty\StringIsNullOrEmpty.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIsNullOrEmpty
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_249.cmd_6466]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_249\GCSimulator_249.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_249
@@ -44980,14 +42428,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCHandleAlloc1_PSC.cmd_6518]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAlloc1_PSC\GCHandleAlloc1_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAlloc1_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_80.cmd_6519]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_80\GCSimulator_80.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_80
@@ -45084,14 +42524,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt16IConvertibleToSingle.cmd_6532]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSingle\UInt16IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [seq_funcptr_val_r.cmd_6533]
 RelativePath=JIT\Methodical\explicit\funcptr\seq_funcptr_val_r\seq_funcptr_val_r.cmd
 WorkingDir=JIT\Methodical\explicit\funcptr\seq_funcptr_val_r
@@ -45148,14 +42580,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToUInt32.cmd_6540]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToUInt32\StringIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [am05waitanymutex.cmd_6541]
 RelativePath=baseservices\threading\mutex\abandonedmutex\am05waitanymutex\am05waitanymutex.cmd
 WorkingDir=baseservices\threading\mutex\abandonedmutex\am05waitanymutex
@@ -45172,14 +42596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToInt16.cmd_6543]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToInt16\Int64IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b71869.cmd_6544]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b71869\b71869\b71869.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b71869\b71869
@@ -45444,14 +42860,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToDouble.cmd_6581]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDouble\SByteIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [clt_i8.cmd_6582]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\clt_i8\clt_i8.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\clt_i8
@@ -45532,14 +42940,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToUInt64.cmd_6592]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToUInt64\CharIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1068.cmd_6593]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1068\Generated1068\Generated1068.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1068\Generated1068
@@ -45564,14 +42964,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteGetHashCode.cmd_6598]
-RelativePath=CoreMangLib\cti\system\byte\ByteGetHashCode\ByteGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test.cmd_6599]
 RelativePath=JIT\jit64\regress\vsw\543229\test\test.cmd
 WorkingDir=JIT\jit64\regress\vsw\543229\test
@@ -45612,14 +43004,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToSByte.cmd_6606]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSByte\BooleanIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [TestCase0_Nested_I.cmd_6607]
 RelativePath=Loader\classloader\InterfaceFolding\TestCase0_Nested_I\TestCase0_Nested_I.cmd
 WorkingDir=Loader\classloader\InterfaceFolding\TestCase0_Nested_I
@@ -45652,14 +43036,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToByte.cmd_6611]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToByte\DecimalToByte.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [JTrueLtDbl.cmd_6614]
 RelativePath=JIT\CodeGenBringUpTests\JTrueLtDbl_ro\JTrueLtDbl_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\JTrueLtDbl_ro
@@ -45684,14 +43060,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[MarshalAsAttributeMarshalType.cmd_6618]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalType\MarshalAsAttributeMarshalType.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [LocallocCnstB1_PSP.cmd_6619]
 RelativePath=JIT\CodeGenBringUpTests\LocallocCnstB1_PSP_ro\LocallocCnstB1_PSP_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\LocallocCnstB1_PSP_ro
@@ -46516,14 +43884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToInt32.cmd_6741]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToInt32\Int16IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Eq1.cmd_6742]
 RelativePath=JIT\CodeGenBringUpTests\Eq1_ro\Eq1_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\Eq1_ro
@@ -46740,14 +44100,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleMinValue.cmd_6772]
-RelativePath=CoreMangLib\cti\system\double\DoubleMinValue\DoubleMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [jaggedarr_cs_ro.cmd_6774]
 RelativePath=JIT\Methodical\MDArray\GaussJordan\jaggedarr_cs_ro\jaggedarr_cs_ro.cmd
 WorkingDir=JIT\Methodical\MDArray\GaussJordan\jaggedarr_cs_ro
@@ -46900,14 +44252,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToString4.cmd_6794]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString4\DecimalToString4.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ThreadStartLong_2.cmd_6796]
 RelativePath=baseservices\threading\paramthreadstart\ThreadStartLong_2\ThreadStartLong_2.cmd
 WorkingDir=baseservices\threading\paramthreadstart\ThreadStartLong_2
@@ -47124,14 +44468,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsSurrogatePair2.cmd_6829]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogatePair2\CharIsSurrogatePair2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogatePair2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [tryfinallytrycatch_do.cmd_6832]
 RelativePath=JIT\Methodical\eh\basics\tryfinallytrycatch_do\tryfinallytrycatch_do.cmd
 WorkingDir=JIT\Methodical\eh\basics\tryfinallytrycatch_do
@@ -47252,14 +44588,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[AssemblyNameGetPublicKeyToken.cmd_6849]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKeyToken\AssemblyNameGetPublicKeyToken.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKeyToken
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-null017.cmd_6850]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null017\castclass-null017.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null017
@@ -47268,14 +44596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIsPositiveInfinity.cmd_6851]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsPositiveInfinity\DoubleIsPositiveInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsPositiveInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1123.cmd_6852]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1123\Generated1123\Generated1123.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1123\Generated1123
@@ -47332,14 +44652,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanFalseString.cmd_6861]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanFalseString\BooleanFalseString.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanFalseString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ArrayMD2.cmd_6862]
 RelativePath=JIT\CodeGenBringUpTests\ArrayMD2_ro\ArrayMD2_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\ArrayMD2_ro
@@ -47404,14 +44716,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringRemove2.cmd_6871]
-RelativePath=CoreMangLib\cti\system\string\StringRemove2\StringRemove2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringRemove2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1477.cmd_6872]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1477\Generated1477\Generated1477.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1477\Generated1477
@@ -47468,14 +44772,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[FixedBufferAttributeLength.cmd_6881]
-RelativePath=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeLength\FixedBufferAttributeLength.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeLength
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated171.cmd_6882]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest171\Generated171\Generated171.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest171\Generated171
@@ -47588,14 +44884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToByte.cmd_6897]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToByte\BooleanIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [object-pin.cmd_6899]
 RelativePath=JIT\Directed\pinning\object-pin\object-pin\object-pin.cmd
 WorkingDir=JIT\Directed\pinning\object-pin\object-pin
@@ -47684,14 +44972,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CustomConstantAttributector.cmd_6911]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\customconstantattribute\CustomConstantAttributector\CustomConstantAttributector.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\customconstantattribute\CustomConstantAttributector
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [structfp1_2.cmd_6912]
 RelativePath=JIT\jit64\gc\misc\structfp1_2\structfp1_2.cmd
 WorkingDir=JIT\jit64\gc\misc\structfp1_2
@@ -47724,14 +45004,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[CharEquals2.cmd_6919]
-RelativePath=CoreMangLib\cti\system\char\CharEquals2\CharEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ldftn.cmd_6920]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\ldftn\ldftn.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\ldftn
@@ -47812,14 +45084,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToUInt64.cmd_6935]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt64\UInt64IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [bug595776.cmd_6936]
 RelativePath=JIT\opt\Inline\regression\bug595776\bug595776\bug595776.cmd
 WorkingDir=JIT\opt\Inline\regression\bug595776\bug595776
@@ -48380,14 +45644,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteMaxValue.cmd_7020]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteMaxValue\SByteMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_rels_ldfld_mulovf.cmd_7022]
 RelativePath=JIT\Methodical\int64\signed\_speed_rels_ldfld_mulovf\_speed_rels_ldfld_mulovf.cmd
 WorkingDir=JIT\Methodical\int64\signed\_speed_rels_ldfld_mulovf
@@ -48396,14 +45652,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleIConvertibleToByte.cmd_7024]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToByte\DoubleIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [eh12_large.cmd_7026]
 RelativePath=JIT\jit64\localloc\ehverify\eh12_large\eh12_large.cmd
 WorkingDir=JIT\jit64\localloc\ehverify\eh12_large
@@ -48460,14 +45708,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalMultiply.cmd_7033]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMultiply\DecimalMultiply.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMultiply
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [DevDiv_278369.cmd_7034]
 RelativePath=JIT\Regression\JitBlue\DevDiv_278369\DevDiv_278369\DevDiv_278369.cmd
 WorkingDir=JIT\Regression\JitBlue\DevDiv_278369\DevDiv_278369
@@ -48764,14 +46004,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanEquals_Object.cmd_7080]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanEquals_Object\BooleanEquals_Object.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanEquals_Object
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VolatileTest_op_mul.cmd_7081]
 RelativePath=JIT\jit64\opt\cse\VolatileTest_op_mul\VolatileTest_op_mul.cmd
 WorkingDir=JIT\jit64\opt\cse\VolatileTest_op_mul
@@ -48972,14 +46204,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[TargetParameterCountExceptionCtor2.cmd_7112]
-RelativePath=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor2\TargetParameterCountExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgrefarg_i1.cmd_7113]
 RelativePath=JIT\Methodical\explicit\basic\_dbgrefarg_i1\_dbgrefarg_i1.cmd
 WorkingDir=JIT\Methodical\explicit\basic\_dbgrefarg_i1
@@ -49004,14 +46228,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ObjectCtor.cmd_7116]
-RelativePath=CoreMangLib\cti\system\object\ObjectCtor\ObjectCtor.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b589202.cmd_7117]
 RelativePath=JIT\Regression\CLR-x86-JIT\v2.1\b589202\b589202\b589202.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\v2.1\b589202\b589202
@@ -49052,22 +46268,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToChar.cmd_7124]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToChar\UInt64IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[TimeOutInfinite.cmd_7125]
-RelativePath=CoreMangLib\cti\system\threading\timeout\TimeOutInfinite\TimeOutInfinite.cmd
-WorkingDir=CoreMangLib\cti\system\threading\timeout\TimeOutInfinite
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [structfp1_6.cmd_7126]
 RelativePath=JIT\jit64\gc\misc\structfp1_6\structfp1_6.cmd
 WorkingDir=JIT\jit64\gc\misc\structfp1_6
@@ -49140,14 +46340,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringComparerCtor.cmd_7137]
-RelativePath=CoreMangLib\cti\system\stringcompare\StringComparerCtor\StringComparerCtor.cmd
-WorkingDir=CoreMangLib\cti\system\stringcompare\StringComparerCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_95.cmd_7138]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_95\GCSimulator_95.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_95
@@ -49692,14 +46884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[IVTAAssemblyName.cmd_7215]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTAAssemblyName\IVTAAssemblyName.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTAAssemblyName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VectorHWAccel_ro.cmd_7217]
 RelativePath=JIT\SIMD\VectorHWAccel_ro\VectorHWAccel_ro.cmd
 WorkingDir=JIT\SIMD\VectorHWAccel_ro
@@ -49796,14 +46980,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteCompareTo2.cmd_7229]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteCompareTo2\SByteCompareTo2.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteCompareTo2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated296.cmd_7230]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest296\Generated296\Generated296.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest296\Generated296
@@ -50036,14 +47212,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteMinValue.cmd_7263]
-RelativePath=CoreMangLib\cti\system\byte\ByteMinValue\ByteMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated826.cmd_7264]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest826\Generated826\Generated826.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest826\Generated826
@@ -50076,14 +47244,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt64IConvertibleToByte.cmd_7268]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToByte\UInt64IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgldfld_mulovf.cmd_7269]
 RelativePath=JIT\Methodical\int64\unsigned\_dbgldfld_mulovf\_dbgldfld_mulovf.cmd
 WorkingDir=JIT\Methodical\int64\unsigned\_dbgldfld_mulovf
@@ -50140,14 +47300,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringJoin1.cmd_7277]
-RelativePath=CoreMangLib\cti\system\string\StringJoin1\StringJoin1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringJoin1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ldind_ref.cmd_7278]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\ldind_ref\ldind_ref.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\ldind_ref
@@ -50212,14 +47364,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64GetHashCode.cmd_7286]
-RelativePath=CoreMangLib\cti\system\int64\Int64GetHashCode\Int64GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1350.cmd_7288]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1350\Generated1350\Generated1350.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1350\Generated1350
@@ -50252,14 +47396,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AutoResetEventReSet.cmd_7292]
-RelativePath=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventReSet\AutoResetEventReSet.cmd
-WorkingDir=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventReSet
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b19112b.cmd_7293]
 RelativePath=JIT\Regression\VS-ia64-JIT\V1.2-M01\b19112\b19112b\b19112b.cmd
 WorkingDir=JIT\Regression\VS-ia64-JIT\V1.2-M01\b19112\b19112b
@@ -50396,14 +47532,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringConcat8.cmd_7312]
-RelativePath=CoreMangLib\cti\system\string\StringConcat8\StringConcat8.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat8
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [AutoResetCast1.cmd_7313]
 RelativePath=baseservices\threading\events\EventWaitHandle\AutoReset\AutoResetCast1\AutoResetCast1.cmd
 WorkingDir=baseservices\threading\events\EventWaitHandle\AutoReset\AutoResetCast1
@@ -50716,14 +47844,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[FieldOffsetAttributeValue.cmd_7360]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeValue\FieldOffsetAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [hfa_nd0G_r.cmd_7361]
 RelativePath=JIT\jit64\hfa\main\testG\hfa_nd0G_r\hfa_nd0G_r.cmd
 WorkingDir=JIT\jit64\hfa\main\testG\hfa_nd0G_r
@@ -50772,14 +47892,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToDouble.cmd_7367]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDouble\UInt32IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox-value030.cmd_7368]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\value\box-unbox-value030\box-unbox-value030.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\value\box-unbox-value030
@@ -50956,14 +48068,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32Equals1.cmd_7392]
-RelativePath=CoreMangLib\cti\system\int\Int32Equals1\Int32Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [InterlockedAddInt_1.cmd_7393]
 RelativePath=baseservices\threading\interlocked\add\InterlockedAddInt_1\InterlockedAddInt_1.cmd
 WorkingDir=baseservices\threading\interlocked\add\InterlockedAddInt_1
@@ -51628,14 +48732,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToInt64.cmd_7488]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToInt64\StringIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-null007.cmd_7489]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null007\castclass-null007.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\null\castclass-null007
@@ -51660,14 +48756,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt16CompareTo1.cmd_7493]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16CompareTo1\UInt16CompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16CompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [isinst2_r.cmd_7494]
 RelativePath=JIT\Directed\nullabletypes\isinst2_r\isinst2_r.cmd
 WorkingDir=JIT\Directed\nullabletypes\isinst2_r
@@ -51748,14 +48836,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToSByte.cmd_7504]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToSByte\DecimalToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgcastclass_catch_neg.cmd_7505]
 RelativePath=JIT\Methodical\casts\SEH\_il_dbgcastclass_catch_neg\_il_dbgcastclass_catch_neg.cmd
 WorkingDir=JIT\Methodical\casts\SEH\_il_dbgcastclass_catch_neg
@@ -52004,14 +49084,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalAdd.cmd_7544]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalAdd\DecimalAdd.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalAdd
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated855.cmd_7546]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest855\Generated855\Generated855.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest855\Generated855
@@ -52300,14 +49372,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToDateTime.cmd_7591]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToDateTime\Int16IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b147816.cmd_7593]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-QFE\b147816\b147816\b147816.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-QFE\b147816\b147816
@@ -52716,14 +49780,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringConcat2.cmd_7648]
-RelativePath=CoreMangLib\cti\system\string\StringConcat2\StringConcat2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ceq_i.cmd_7649]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\ceq_i\ceq_i.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\ceq_i
@@ -52788,14 +49844,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToInt16.cmd_7659]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt16\UInt64IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [int32_cs_d.cmd_7660]
 RelativePath=JIT\Directed\shift\int32_cs_d\int32_cs_d.cmd
 WorkingDir=JIT\Directed\shift\int32_cs_d
@@ -53004,14 +50052,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SByteIConvertibleToInt16.cmd_7689]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt16\SByteIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [throwinfinally_50_ro.cmd_7690]
 RelativePath=JIT\Methodical\eh\nested\nonlocalexit\throwinfinally_50_ro\throwinfinally_50_ro.cmd
 WorkingDir=JIT\Methodical\eh\nested\nonlocalexit\throwinfinally_50_ro
@@ -53124,14 +50164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringCompareOrdinal1.cmd_7706]
-RelativePath=CoreMangLib\cti\system\string\StringCompareOrdinal1\StringCompareOrdinal1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCompareOrdinal1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [13662-simple.cmd_7707]
 RelativePath=baseservices\threading\regressions\13662\13662-simple\13662-simple.cmd
 WorkingDir=baseservices\threading\regressions\13662\13662-simple
@@ -53516,14 +50548,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharMaxValue.cmd_7767]
-RelativePath=CoreMangLib\cti\system\char\CharMaxValue\CharMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1039.cmd_7768]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1039\Generated1039\Generated1039.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1039\Generated1039
@@ -53556,14 +50580,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToType.cmd_7772]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToType\ByteIConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_dbgcastclass_ldloc.cmd_7773]
 RelativePath=JIT\Methodical\casts\coverage\_speed_dbgcastclass_ldloc\_speed_dbgcastclass_ldloc.cmd
 WorkingDir=JIT\Methodical\casts\coverage\_speed_dbgcastclass_ldloc
@@ -54020,14 +51036,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharEnumeratorReset.cmd_7834]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorReset\CharEnumeratorReset.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorReset
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [castclass-generics023.cmd_7835]
 RelativePath=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics023\castclass-generics023.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\castclass\generics\castclass-generics023
@@ -54092,14 +51100,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64IConvertibleToDouble.cmd_7845]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDouble\UInt64IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ovfldiv2_il_r.cmd_7846]
 RelativePath=JIT\Directed\coverage\oldtests\ovfldiv2_il_r\ovfldiv2_il_r.cmd
 WorkingDir=JIT\Directed\coverage\oldtests\ovfldiv2_il_r
@@ -54180,14 +51180,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[TargetParameterCountExceptionCtor1.cmd_7857]
-RelativePath=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor1\TargetParameterCountExceptionCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test.cmd_7860]
 RelativePath=JIT\jit64\regress\phoenix\62322\test\test.cmd
 WorkingDir=JIT\jit64\regress\phoenix\62322\test
@@ -54260,14 +51252,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToDouble.cmd_7870]
-RelativePath=CoreMangLib\cti\system\single\SingleToDouble\SingleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1401.cmd_7871]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1401\Generated1401\Generated1401.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1401\Generated1401
@@ -54292,14 +51276,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToDecimal.cmd_7874]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDecimal\BooleanIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b49778.cmd_7875]
 RelativePath=JIT\Regression\CLR-x86-JIT\v2.1\DDB\b49778\b49778\b49778.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\v2.1\DDB\b49778\b49778
@@ -54436,14 +51412,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int32IConvertibleToBoolean.cmd_7893]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToBoolean\Int32IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b59949.cmd_7894]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b59949\b59949\b59949.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b59949\b59949
@@ -54524,14 +51492,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_FAIL;9462;EXCLUDED;VARARG;Pri1
 HostStyle=0
 
-[CharIsDigit1.cmd_7904]
-RelativePath=CoreMangLib\cti\system\char\CharIsDigit1\CharIsDigit1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsDigit1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [localvarincatch_r.cmd_7905]
 RelativePath=JIT\Methodical\eh\nested\general\localvarincatch_r\localvarincatch_r.cmd
 WorkingDir=JIT\Methodical\eh\nested\general\localvarincatch_r
@@ -54572,14 +51532,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsSymbol1.cmd_7910]
-RelativePath=CoreMangLib\cti\system\char\CharIsSymbol1\CharIsSymbol1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSymbol1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [try2_d.cmd_7911]
 RelativePath=JIT\Directed\leave\try2_d\try2_d.cmd
 WorkingDir=JIT\Directed\leave\try2_d
@@ -54612,14 +51564,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToSingle.cmd_7918]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToSingle\ByteIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgobj.cmd_7919]
 RelativePath=JIT\Methodical\Invoke\implicit\_dbgobj\_dbgobj.cmd
 WorkingDir=JIT\Methodical\Invoke\implicit\_dbgobj
@@ -54652,14 +51596,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeCtor2.cmd_7924]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor2\MarshalAsAttributeCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_142.cmd_7925]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_142\GCSimulator_142.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_142
@@ -55148,14 +52084,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt16IConvertibleToDecimal.cmd_7996]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDecimal\UInt16IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [dblarray4_cs_r.cmd_7997]
 RelativePath=JIT\Methodical\doublearray\dblarray4_cs_r\dblarray4_cs_r.cmd
 WorkingDir=JIT\Methodical\doublearray\dblarray4_cs_r
@@ -55436,14 +52364,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int16GetHashCode.cmd_8041]
-RelativePath=CoreMangLib\cti\system\int16\Int16GetHashCode\Int16GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [dblarray3_cs_do.cmd_8042]
 RelativePath=JIT\Methodical\doublearray\dblarray3_cs_do\dblarray3_cs_do.cmd
 WorkingDir=JIT\Methodical\doublearray\dblarray3_cs_do
@@ -55556,14 +52476,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleMaxValue.cmd_8057]
-RelativePath=CoreMangLib\cti\system\single\SingleMaxValue\SingleMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [vsw610378.cmd_8058]
 RelativePath=JIT\jit64\regress\vsw\610378\vsw610378\vsw610378.cmd
 WorkingDir=JIT\jit64\regress\vsw\610378\vsw610378
@@ -56460,14 +53372,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToInt32.cmd_8185]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToInt32\ByteIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [L-2-6-3.cmd_8188]
 RelativePath=Loader\classloader\v1\Beta1\Layout\Matrix\cs\L-2-6-3\L-2-6-3.cmd
 WorkingDir=Loader\classloader\v1\Beta1\Layout\Matrix\cs\L-2-6-3
@@ -56548,14 +53452,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringRemove1.cmd_8199]
-RelativePath=CoreMangLib\cti\system\string\StringRemove1\StringRemove1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringRemove1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [test1307.cmd_8200]
 RelativePath=Regressions\coreclr\1307\test1307\test1307.cmd
 WorkingDir=Regressions\coreclr\1307\test1307
@@ -56684,14 +53580,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int16IConvertibleToUInt64.cmd_8218]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt64\Int16IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Pi.cmd_8219]
 RelativePath=JIT\Performance\CodeQuality\Benchstones\BenchI\Pi\Pi\Pi.cmd
 WorkingDir=JIT\Performance\CodeQuality\Benchstones\BenchI\Pi\Pi
@@ -56804,14 +53692,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsControl1.cmd_8237]
-RelativePath=CoreMangLib\cti\system\char\CharIsControl1\CharIsControl1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsControl1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated96.cmd_8238]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest96\Generated96\Generated96.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest96\Generated96
@@ -57404,14 +54284,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleToString3.cmd_8327]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString3\DoubleToString3.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [seq_gc_obj_1_d.cmd_8329]
 RelativePath=JIT\Methodical\explicit\coverage\seq_gc_obj_1_d\seq_gc_obj_1_d.cmd
 WorkingDir=JIT\Methodical\explicit\coverage\seq_gc_obj_1_d
@@ -57700,14 +54572,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeMarshalTypeRef.cmd_8371]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalTypeRef\MarshalAsAttributeMarshalTypeRef.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalTypeRef
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [TryCatch.cmd_8372]
 RelativePath=baseservices\exceptions\regressions\V1\SEH\VJ\TryCatch\TryCatch.cmd
 WorkingDir=baseservices\exceptions\regressions\V1\SEH\VJ\TryCatch
@@ -57844,14 +54708,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[SByteIConvertibleToChar.cmd_8393]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToChar\SByteIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [AddingSequence_ro.cmd_8394]
 RelativePath=JIT\SIMD\AddingSequence_ro\AddingSequence_ro.cmd
 WorkingDir=JIT\SIMD\AddingSequence_ro
@@ -57932,14 +54788,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeArraySubType.cmd_8406]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeArraySubType\MarshalAsAttributeArraySubType.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeArraySubType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [thread13.cmd_8407]
 RelativePath=baseservices\threading\generics\WaitCallback\thread13\thread13.cmd
 WorkingDir=baseservices\threading\generics\WaitCallback\thread13
@@ -58188,14 +55036,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StructLayoutAttributeCharSet.cmd_8443]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCharSet\StructLayoutAttributeCharSet.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCharSet
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [partialcompactiontest.cmd_8444]
 RelativePath=GC\Features\PartialCompaction\partialcompactiontest\partialcompactiontest.cmd
 WorkingDir=GC\Features\PartialCompaction\partialcompactiontest
@@ -58260,14 +55100,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32GetHashCode.cmd_8452]
-RelativePath=CoreMangLib\cti\system\int\Int32GetHashCode\Int32GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GetGenerationWR2.cmd_8453]
 RelativePath=GC\API\GC\GetGenerationWR2\GetGenerationWR2.cmd
 WorkingDir=GC\API\GC\GetGenerationWR2
@@ -58276,30 +55108,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToUInt16.cmd_8454]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt16\ByteIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[CharIsSeparator1.cmd_8455]
-RelativePath=CoreMangLib\cti\system\char\CharIsSeparator1\CharIsSeparator1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSeparator1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[CharIsNumber2.cmd_8456]
-RelativePath=CoreMangLib\cti\system\char\CharIsNumber2\CharIsNumber2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsNumber2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [OpMembersOfStructLocal.cmd_8458]
 RelativePath=JIT\CodeGenBringUpTests\OpMembersOfStructLocal_ro\OpMembersOfStructLocal_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\OpMembersOfStructLocal_ro
@@ -58900,14 +55708,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToSingle.cmd_8537]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToSingle\Int16IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [params-varargs.cmd_8538]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-QFE\b151440\params-varargs\params-varargs.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-QFE\b151440\params-varargs
@@ -58980,14 +55780,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalEquals1.cmd_8548]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalEquals1\DecimalEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Polyrec.cmd_8549]
 RelativePath=Loader\regressions\polyrec\Polyrec\Polyrec.cmd
 WorkingDir=Loader\regressions\polyrec\Polyrec
@@ -58996,14 +55788,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoublePositiveInfinity.cmd_8551]
-RelativePath=CoreMangLib\cti\system\double\DoublePositiveInfinity\DoublePositiveInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoublePositiveInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [XorRef.cmd_8552]
 RelativePath=JIT\CodeGenBringUpTests\XorRef_ro\XorRef_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\XorRef_ro
@@ -59100,14 +55884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[WeakReferenceCtor2b_PSC.cmd_8567]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2b_PSC\WeakReferenceCtor2b_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2b_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [staticFieldExprUnchecked1_r.cmd_8569]
 RelativePath=JIT\jit64\opt\cse\staticFieldExprUnchecked1_r\staticFieldExprUnchecked1_r.cmd
 WorkingDir=JIT\jit64\opt\cse\staticFieldExprUnchecked1_r
@@ -59444,14 +56220,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[FixedBufferAttributeElementType.cmd_8615]
-RelativePath=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeElementType\FixedBufferAttributeElementType.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeElementType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [thread18.cmd_8616]
 RelativePath=baseservices\threading\generics\TimerCallback\thread18\thread18.cmd
 WorkingDir=baseservices\threading\generics\TimerCallback\thread18
@@ -59548,14 +56316,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16MaxValue.cmd_8632]
-RelativePath=CoreMangLib\cti\system\int16\Int16MaxValue\Int16MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [boxunboxinterface_d.cmd_8633]
 RelativePath=JIT\Directed\nullabletypes\boxunboxinterface_d\boxunboxinterface_d.cmd
 WorkingDir=JIT\Directed\nullabletypes\boxunboxinterface_d
@@ -59780,14 +56540,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToDecimal.cmd_8669]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToDecimal\Int32IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [expl_funcptr_gc_r.cmd_8670]
 RelativePath=JIT\Methodical\explicit\funcptr\expl_funcptr_gc_r\expl_funcptr_gc_r.cmd
 WorkingDir=JIT\Methodical\explicit\funcptr\expl_funcptr_gc_r
@@ -59836,14 +56588,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringJoin.cmd_8677]
-RelativePath=CoreMangLib\cti\system\string\StringJoin\StringJoin.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringJoin
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_FAIL;Pri1
-HostStyle=0
-
 [GCSimulator_25.cmd_8680]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_25\GCSimulator_25.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_25
@@ -59892,14 +56636,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64IConvertibleToDouble.cmd_8686]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToDouble\Int64IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [try-catch-struct03.cmd_8687]
 RelativePath=baseservices\exceptions\generics\try-catch-struct03\try-catch-struct03.cmd
 WorkingDir=baseservices\exceptions\generics\try-catch-struct03
@@ -60148,14 +56884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToByte1.cmd_8723]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToByte1\DecimalToByte1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToByte1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1160.cmd_8724]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1160\Generated1160\Generated1160.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1160\Generated1160
@@ -60396,14 +57124,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCSuppressFinalize.cmd_8760]
-RelativePath=CoreMangLib\cti\system\gc\GCSuppressFinalize\GCSuppressFinalize.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCSuppressFinalize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated727.cmd_8761]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest727\Generated727\Generated727.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest727\Generated727
@@ -60604,14 +57324,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToDouble.cmd_8792]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDouble\UInt16IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_reldeep.cmd_8793]
 RelativePath=JIT\Methodical\Invoke\deep\_reldeep\_reldeep.cmd
 WorkingDir=JIT\Methodical\Invoke\deep\_reldeep
@@ -60852,14 +57564,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIConvertibleToInt16.cmd_8831]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToInt16\DoubleIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ThreadStartUShort_2.cmd_8832]
 RelativePath=baseservices\threading\paramthreadstart\ThreadStartUShort_2\ThreadStartUShort_2.cmd
 WorkingDir=baseservices\threading\paramthreadstart\ThreadStartUShort_2
@@ -60972,14 +57676,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToDateTime.cmd_8848]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToDateTime\Int32IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [strswitchfinal_ro.cmd_8849]
 RelativePath=JIT\Methodical\eh\interactions\strswitchfinal_ro\strswitchfinal_ro.cmd
 WorkingDir=JIT\Methodical\eh\interactions\strswitchfinal_ro
@@ -61124,14 +57820,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[GCKeepAlive.cmd_8869]
-RelativePath=CoreMangLib\cti\system\gc\GCKeepAlive\GCKeepAlive.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCKeepAlive
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b13586.cmd_8870]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b13586\b13586\b13586.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b13586\b13586
@@ -61308,14 +57996,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIConvertibleToBoolean.cmd_8895]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToBoolean\DoubleIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [pointerexpr1.cmd_8896]
 RelativePath=JIT\jit64\opt\cse\pointerexpr1\pointerexpr1.cmd
 WorkingDir=JIT\jit64\opt\cse\pointerexpr1
@@ -61444,14 +58124,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringTrim2.cmd_8916]
-RelativePath=CoreMangLib\cti\system\string\StringTrim2\StringTrim2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b19112a.cmd_8917]
 RelativePath=JIT\Regression\VS-ia64-JIT\V1.2-M01\b19112\b19112a\b19112a.cmd
 WorkingDir=JIT\Regression\VS-ia64-JIT\V1.2-M01\b19112\b19112a
@@ -61492,14 +58164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToDecimal.cmd_8924]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDecimal\UInt32IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_dbgbinop.cmd_8926]
 RelativePath=JIT\Methodical\int64\misc\_speed_dbgbinop\_speed_dbgbinop.cmd
 WorkingDir=JIT\Methodical\int64\misc\_speed_dbgbinop
@@ -61852,14 +58516,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32ToString2.cmd_8977]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32ToString2\UInt32ToString2.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32ToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_218.cmd_8978]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_218\GCSimulator_218.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_218
@@ -62060,14 +58716,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AutoResetEventCtor.cmd_9007]
-RelativePath=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventCtor\AutoResetEventCtor.cmd
-WorkingDir=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [hfa_nd1A_d.cmd_9008]
 RelativePath=JIT\jit64\hfa\main\testA\hfa_nd1A_d\hfa_nd1A_d.cmd
 WorkingDir=JIT\jit64\hfa\main\testA\hfa_nd1A_d
@@ -62244,14 +58892,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToUInt16.cmd_9031]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt16\Int64IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [struct6_2.cmd_9032]
 RelativePath=JIT\jit64\gc\misc\struct6_2\struct6_2.cmd
 WorkingDir=JIT\jit64\gc\misc\struct6_2
@@ -62300,14 +58940,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32CompareTo2.cmd_9039]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32CompareTo2\UInt32CompareTo2.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32CompareTo2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [cgt_u4.cmd_9040]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\cgt_u4\cgt_u4.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\cgt_u4
@@ -62444,14 +59076,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringPadLeft.cmd_9058]
-RelativePath=CoreMangLib\cti\system\string\StringPadLeft\StringPadLeft.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadLeft
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbglcs_long.cmd_9061]
 RelativePath=JIT\Methodical\int64\arrays\_il_dbglcs_long\_il_dbglcs_long.cmd
 WorkingDir=JIT\Methodical\int64\arrays\_il_dbglcs_long
@@ -62572,14 +59196,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleIsNegativeInfinity.cmd_9081]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsNegativeInfinity\DoubleIsNegativeInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsNegativeInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b53995.cmd_9082]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b53995\b53995\b53995.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b53995\b53995
@@ -62708,14 +59324,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToSingle.cmd_9103]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSingle\UInt32IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated365.cmd_9104]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest365\Generated365\Generated365.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest365\Generated365
@@ -62748,14 +59356,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToDouble.cmd_9109]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToDouble\DecimalToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_reli_flood.cmd_9110]
 RelativePath=JIT\Methodical\ELEMENT_TYPE_IU\_il_reli_flood\_il_reli_flood.cmd
 WorkingDir=JIT\Methodical\ELEMENT_TYPE_IU\_il_reli_flood
@@ -62812,14 +59412,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToSingle.cmd_9117]
-RelativePath=CoreMangLib\cti\system\single\SingleToSingle\SingleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b45535.cmd_9118]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b45535\b45535\b45535.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M11-Beta1\b45535\b45535
@@ -62876,14 +59468,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[FixedBufferAttributeCtor.cmd_9126]
-RelativePath=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeCtor\FixedBufferAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_121.cmd_9127]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_121\GCSimulator_121.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_121
@@ -62932,14 +59516,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharEnumeratorMoveNext.cmd_9135]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorMoveNext\CharEnumeratorMoveNext.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorMoveNext
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [mcc_i17.cmd_9138]
 RelativePath=JIT\jit64\mcc\interop\mcc_i17\mcc_i17.cmd
 WorkingDir=JIT\jit64\mcc\interop\mcc_i17
@@ -63012,14 +59588,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int16IConvertibleToType.cmd_9150]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToType\Int16IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [try-fault-struct02.cmd_9151]
 RelativePath=baseservices\exceptions\generics\try-fault-struct02\try-fault-struct02.cmd
 WorkingDir=baseservices\exceptions\generics\try-fault-struct02
@@ -63316,14 +59884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsDigit2.cmd_9190]
-RelativePath=CoreMangLib\cti\system\char\CharIsDigit2\CharIsDigit2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsDigit2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated475.cmd_9191]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest475\Generated475\Generated475.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest475\Generated475
@@ -63564,14 +60124,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DllNotFoundExceptionCtor3.cmd_9224]
-RelativePath=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor3\DllNotFoundExceptionCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ThreadStartString.cmd_9225]
 RelativePath=baseservices\threading\paramthreadstart\ThreadStartString\ThreadStartString.cmd
 WorkingDir=baseservices\threading\paramthreadstart\ThreadStartString
@@ -63988,14 +60540,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteToString4.cmd_9285]
-RelativePath=CoreMangLib\cti\system\byte\ByteToString4\ByteToString4.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgdeep_virt.cmd_9286]
 RelativePath=JIT\Methodical\tailcall\_il_dbgdeep_virt\_il_dbgdeep_virt.cmd
 WorkingDir=JIT\Methodical\tailcall\_il_dbgdeep_virt
@@ -64004,14 +60548,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StructLayoutAttributeSize.cmd_9287]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeSize\StructLayoutAttributeSize.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeSize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgconst.cmd_9288]
 RelativePath=JIT\Methodical\xxobj\operand\_il_dbgconst\_il_dbgconst.cmd
 WorkingDir=JIT\Methodical\xxobj\operand\_il_dbgconst
@@ -64044,14 +60580,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanEquals_Boolean.cmd_9292]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanEquals_Boolean\BooleanEquals_Boolean.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanEquals_Boolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgfloat64_range2.cmd_9293]
 RelativePath=JIT\Methodical\Arrays\range\_il_dbgfloat64_range2\_il_dbgfloat64_range2.cmd
 WorkingDir=JIT\Methodical\Arrays\range\_il_dbgfloat64_range2
@@ -64164,14 +60692,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharCompateTo1.cmd_9308]
-RelativePath=CoreMangLib\cti\system\char\CharCompateTo1\CharCompateTo1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharCompateTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [compareexchangeint.cmd_9309]
 RelativePath=baseservices\threading\interlocked\compareexchange\compareexchangeint\compareexchangeint.cmd
 WorkingDir=baseservices\threading\interlocked\compareexchange\compareexchangeint
@@ -64188,14 +60708,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringSplit1.cmd_9311]
-RelativePath=CoreMangLib\cti\system\string\StringSplit1\StringSplit1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringSplit1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [fielda_tests.cmd_9312]
 RelativePath=JIT\Directed\PREFIX\unaligned\4\fielda_tests\fielda_tests.cmd
 WorkingDir=JIT\Directed\PREFIX\unaligned\4\fielda_tests
@@ -64340,14 +60852,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeSizeParamIndex.cmd_9336]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeParamIndex\MarshalAsAttributeSizeParamIndex.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeParamIndex
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [NestedBaseClass03.cmd_9338]
 RelativePath=Loader\classloader\generics\Instantiation\Positive\NestedBaseClass03\NestedBaseClass03.cmd
 WorkingDir=Loader\classloader\generics\Instantiation\Positive\NestedBaseClass03
@@ -64668,14 +61172,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalConstantAttributeValue.cmd_9390]
-RelativePath=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeValue\DecimalConstantAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated396.cmd_9391]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest396\Generated396\Generated396.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest396\Generated396
@@ -64684,14 +61180,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringEmpty.cmd_9393]
-RelativePath=CoreMangLib\cti\system\string\StringEmpty\StringEmpty.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEmpty
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b32614.cmd_9394]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b32614\b32614\b32614.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b32614\b32614
@@ -64940,14 +61428,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AttributeCtor1.cmd_9430]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\compilationrelaxations\AttributeCtor1\AttributeCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\compilationrelaxations\AttributeCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox-enum003.cmd_9431]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\enum\box-unbox-enum003\box-unbox-enum003.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\enum\box-unbox-enum003
@@ -65044,14 +61524,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToSByte.cmd_9447]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSByte\UInt32IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1154.cmd_9448]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1154\Generated1154\Generated1154.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1154\Generated1154
@@ -65180,14 +61652,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIsSurrogate2.cmd_9466]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogate2\CharIsSurrogate2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogate2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b84909.cmd_9468]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b84909\b84909\b84909.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b84909\b84909
@@ -65236,14 +61700,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyNameVersion.cmd_9475]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameVersion\AssemblyNameVersion.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameVersion
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [bge_s.cmd_9476]
 RelativePath=JIT\IL_Conformance\Old\Base\bge_s\bge_s.cmd
 WorkingDir=JIT\IL_Conformance\Old\Base\bge_s
@@ -65460,14 +61916,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringFormat2.cmd_9506]
-RelativePath=CoreMangLib\cti\system\string\StringFormat2\StringFormat2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringFormat2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox023.cmd_9508]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox023\box-unbox023.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox023
@@ -65908,14 +62356,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToUInt32.cmd_9575]
-RelativePath=CoreMangLib\cti\system\single\SingleToUInt32\SingleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [VectorArray_ro.cmd_9576]
 RelativePath=JIT\SIMD\VectorArray_ro\VectorArray_ro.cmd
 WorkingDir=JIT\SIMD\VectorArray_ro
@@ -66012,14 +62452,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharEquals1.cmd_9589]
-RelativePath=CoreMangLib\cti\system\char\CharEquals1\CharEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox006.cmd_9590]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox006\box-unbox006.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\box-unbox\box-unbox006
@@ -66228,14 +62660,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32MinValue.cmd_9617]
-RelativePath=CoreMangLib\cti\system\int\Int32MinValue\Int32MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbginstftn.cmd_9618]
 RelativePath=JIT\Methodical\Invoke\fptr\_il_dbginstftn\_il_dbginstftn.cmd
 WorkingDir=JIT\Methodical\Invoke\fptr\_il_dbginstftn
@@ -66460,14 +62884,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToType.cmd_9650]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToType\CharIConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ctest_cs_r.cmd_9651]
 RelativePath=JIT\opt\virtualstubdispatch\manyintf\ctest_cs_r\ctest_cs_r.cmd
 WorkingDir=JIT\opt\virtualstubdispatch\manyintf\ctest_cs_r
@@ -66868,14 +63284,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToType.cmd_9711]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToType\Int32IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Array2.cmd_9713]
 RelativePath=JIT\Performance\CodeQuality\Benchstones\BenchI\Array2\Array2\Array2.cmd
 WorkingDir=JIT\Performance\CodeQuality\Benchstones\BenchI\Array2\Array2
@@ -66884,14 +63292,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[UInt16IConvertibleToBoolean.cmd_9714]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToBoolean\UInt16IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [c_initblk.cmd_9715]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\c_initblk\c_initblk.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\c_initblk
@@ -66916,14 +63316,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToSByte.cmd_9718]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToSByte\ByteIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_relcompat_r8_r4.cmd_9719]
 RelativePath=JIT\Methodical\tailcall\_il_relcompat_r8_r4\_il_relcompat_r8_r4.cmd
 WorkingDir=JIT\Methodical\tailcall\_il_relcompat_r8_r4
@@ -66932,14 +63324,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[ByteIConvertibleToUInt64.cmd_9720]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt64\ByteIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b148815.cmd_9721]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-QFE\b148815\b148815\b148815.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-QFE\b148815\b148815
@@ -67100,14 +63484,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToInt32.cmd_9744]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToInt32\StringIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1437.cmd_9745]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1437\Generated1437\Generated1437.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1437\Generated1437
@@ -67300,14 +63676,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIConvertibleToBoolean.cmd_9773]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToBoolean\StringIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1378.cmd_9774]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1378\Generated1378\Generated1378.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1378\Generated1378
@@ -68124,14 +64492,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[AssemblyDefaultAliasAttributeCtor.cmd_9893]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttributeCtor\AssemblyDefaultAliasAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [waitanyex8.cmd_9894]
 RelativePath=baseservices\threading\waithandle\waitany\waitanyex8\waitanyex8.cmd
 WorkingDir=baseservices\threading\waithandle\waitany\waitanyex8
@@ -68180,14 +64540,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[RCAttrWrapNEThrows.cmd_9901]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RCAttrWrapNEThrows\RCAttrWrapNEThrows.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RCAttrWrapNEThrows
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [filter2_d.cmd_9902]
 RelativePath=JIT\Directed\leave\filter2_d\filter2_d.cmd
 WorkingDir=JIT\Directed\leave\filter2_d
@@ -68564,14 +64916,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleToString1.cmd_9954]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString1\DoubleToString1.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b06730.cmd_9955]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M10\b06730\b06730\b06730.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M10\b06730\b06730
@@ -68844,14 +65188,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int32IConvertibleToInt32.cmd_9998]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToInt32\Int32IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b26558.cmd_9999]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b26558\b26558\b26558.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b26558\b26558
@@ -69700,14 +66036,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[Int64Equals1.cmd_10124]
-RelativePath=CoreMangLib\cti\system\int64\Int64Equals1\Int64Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [switchdefaultonly2_il_d.cmd_10125]
 RelativePath=JIT\Directed\coverage\oldtests\switchdefaultonly2_il_d\switchdefaultonly2_il_d.cmd
 WorkingDir=JIT\Directed\coverage\oldtests\switchdefaultonly2_il_d
@@ -69852,14 +66180,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64MaxValue.cmd_10147]
-RelativePath=CoreMangLib\cti\system\int64\Int64MaxValue\Int64MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [NestedInterface06.cmd_10148]
 RelativePath=Loader\classloader\generics\Instantiation\Positive\NestedInterface06\NestedInterface06.cmd
 WorkingDir=Loader\classloader\generics\Instantiation\Positive\NestedInterface06
@@ -69956,14 +66276,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[WaitHandleCtor.cmd_10161]
-RelativePath=CoreMangLib\cti\system\threading\waithandle\WaitHandleCtor\WaitHandleCtor.cmd
-WorkingDir=CoreMangLib\cti\system\threading\waithandle\WaitHandleCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [DblNeg.cmd_10162]
 RelativePath=JIT\CodeGenBringUpTests\DblNeg_ro\DblNeg_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\DblNeg_ro
@@ -70044,14 +66356,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharMinValue.cmd_10175]
-RelativePath=CoreMangLib\cti\system\char\CharMinValue\CharMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [r8nanconv_il_d.cmd_10176]
 RelativePath=JIT\Methodical\NaN\r8nanconv_il_d\r8nanconv_il_d.cmd
 WorkingDir=JIT\Methodical\NaN\r8nanconv_il_d
@@ -70116,14 +66420,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringConcat3.cmd_10185]
-RelativePath=CoreMangLib\cti\system\string\StringConcat3\StringConcat3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated253.cmd_10187]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest253\Generated253\Generated253.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest253\Generated253
@@ -70428,14 +66724,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToBoolean.cmd_10237]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToBoolean\DecimalToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1157.cmd_10238]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1157\Generated1157\Generated1157.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1157\Generated1157
@@ -70804,14 +67092,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DoubleIsNaN.cmd_10288]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsNaN\DoubleIsNaN.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_139.cmd_10289]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_139\GCSimulator_139.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_139
@@ -70884,14 +67164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyDelaySignAttributeDelaySign.cmd_10298]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeDelaySign\AssemblyDelaySignAttributeDelaySign.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeDelaySign
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated53.cmd_10299]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest53\Generated53\Generated53.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest53\Generated53
@@ -70908,14 +67180,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringLength.cmd_10301]
-RelativePath=CoreMangLib\cti\system\string\StringLength\StringLength.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringLength
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ble_s.cmd_10302]
 RelativePath=JIT\IL_Conformance\Old\Base\ble_s\ble_s.cmd
 WorkingDir=JIT\IL_Conformance\Old\Base\ble_s
@@ -71084,14 +67348,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToUInt32.cmd_10330]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt32\Int16IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated204.cmd_10331]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest204\Generated204\Generated204.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest204\Generated204
@@ -71492,14 +67748,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[GCHandleAddrOfPinnedObject_PSC.cmd_10387]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAddrOfPinnedObject_PSC\GCHandleAddrOfPinnedObject_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAddrOfPinnedObject_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [params-mixed.cmd_10388]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-QFE\b151440\params-mixed\params-mixed.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-QFE\b151440\params-mixed
@@ -71740,14 +67988,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalToSingle.cmd_10422]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToSingle\DecimalToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_relknight.cmd_10423]
 RelativePath=JIT\Methodical\VT\etc\_relknight\_relknight.cmd
 WorkingDir=JIT\Methodical\VT\etc\_relknight
@@ -71788,14 +68028,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyTitleAttributeTitle.cmd_10428]
-RelativePath=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeTitle\AssemblyTitleAttributeTitle.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeTitle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [mcc_i03.cmd_10429]
 RelativePath=JIT\jit64\mcc\interop\mcc_i03\mcc_i03.cmd
 WorkingDir=JIT\jit64\mcc\interop\mcc_i03
@@ -72292,14 +68524,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringGetEnumerator.cmd_10493]
-RelativePath=CoreMangLib\cti\system\string\StringGetEnumerator\StringGetEnumerator.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringGetEnumerator
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1416.cmd_10494]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1416\Generated1416\Generated1416.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1416\Generated1416
@@ -72564,14 +68788,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToInt32.cmd_10535]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt32\UInt16IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [add_ovf_u2.cmd_10536]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\add_ovf_u2\add_ovf_u2.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\add_ovf_u2
@@ -72588,22 +68804,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToUInt32.cmd_10538]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToUInt32\CharIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[AmbiguousMatchExceptionCtor2.cmd_10539]
-RelativePath=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor2\AmbiguousMatchExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [ldvirtftnsideeffect_il_d.cmd_10540]
 RelativePath=JIT\Directed\coverage\importer\Desktop\ldvirtftnsideeffect_il_d\ldvirtftnsideeffect_il_d.cmd
 WorkingDir=JIT\Directed\coverage\importer\Desktop\ldvirtftnsideeffect_il_d
@@ -72668,14 +68868,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[CharIConvertibleToByte.cmd_10549]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToByte\CharIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_58.cmd_10550]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_58\GCSimulator_58.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_58
@@ -72772,14 +68964,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DoubleIConvertibleToInt32.cmd_10564]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToInt32\DoubleIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_128.cmd_10565]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_128\GCSimulator_128.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_128
@@ -72804,22 +68988,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[CharIsLower1.cmd_10568]
-RelativePath=CoreMangLib\cti\system\char\CharIsLower1\CharIsLower1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLower1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[UInt64IConvertibleToBoolean.cmd_10569]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToBoolean\UInt64IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b07383.cmd_10571]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1.2-M01\b07383\b07383\b07383.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1.2-M01\b07383\b07383
@@ -72900,14 +69068,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt64MaxValue.cmd_10583]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64MaxValue\UInt64MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [throw_cs_d.cmd_10584]
 RelativePath=JIT\Methodical\cctor\misc\throw_cs_d\throw_cs_d.cmd
 WorkingDir=JIT\Methodical\cctor\misc\throw_cs_d
@@ -72996,14 +69156,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DecimalCtor4.cmd_10597]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor4\DecimalCtor4.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [exploit.cmd_10598]
 RelativePath=Loader\classloader\methodoverriding\regressions\549411\exploit\exploit.cmd
 WorkingDir=Loader\classloader\methodoverriding\regressions\549411\exploit
@@ -73228,14 +69380,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[MarshalAsAttributeMarshalCookie.cmd_10632]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalCookie\MarshalAsAttributeMarshalCookie.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalCookie
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GCSimulator_318.cmd_10633]
 RelativePath=GC\Scenarios\GCSimulator\GCSimulator_318\GCSimulator_318.cmd
 WorkingDir=GC\Scenarios\GCSimulator\GCSimulator_318
@@ -73700,14 +69844,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[CharIConvertibleToSByte.cmd_10702]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToSByte\CharIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [EnterExit05.cmd_10703]
 RelativePath=baseservices\threading\generics\Monitor\EnterExit05\EnterExit05.cmd
 WorkingDir=baseservices\threading\generics\Monitor\EnterExit05
@@ -73804,22 +69940,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[DllNotFoundExceptionCtor2.cmd_10716]
-RelativePath=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor2\DllNotFoundExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[DecimalCtor6.cmd_10717]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor6\DecimalCtor6.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor6
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [dblarray4_cs_d.cmd_10718]
 RelativePath=JIT\Methodical\doublearray\dblarray4_cs_d\dblarray4_cs_d.cmd
 WorkingDir=JIT\Methodical\doublearray\dblarray4_cs_d
@@ -74204,14 +70324,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16IConvertibleToSByte.cmd_10771]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToSByte\Int16IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [TryEnter06.cmd_10772]
 RelativePath=baseservices\threading\generics\Monitor\TryEnter06\TryEnter06.cmd
 WorkingDir=baseservices\threading\generics\Monitor\TryEnter06
@@ -74236,14 +70348,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[ByteIConvertibleToDateTime.cmd_10775]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToDateTime\ByteIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [SuppressFinalize_Null.cmd_10776]
 RelativePath=GC\API\GC\SuppressFinalize_Null\SuppressFinalize_Null.cmd
 WorkingDir=GC\API\GC\SuppressFinalize_Null
@@ -74428,14 +70532,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToBoolean.cmd_10806]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToBoolean\BooleanIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [gc_base1_1.cmd_10807]
 RelativePath=GC\Scenarios\GCBase1\gc_base1_1\gc_base1_1.cmd
 WorkingDir=GC\Scenarios\GCBase1\gc_base1_1
@@ -74636,14 +70732,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[DecimalToUInt64.cmd_10834]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToUInt64\DecimalToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbgldc_mul.cmd_10835]
 RelativePath=JIT\Methodical\int64\unsigned\_dbgldc_mul\_dbgldc_mul.cmd
 WorkingDir=JIT\Methodical\int64\unsigned\_dbgldc_mul
@@ -74780,14 +70868,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[AutoResetEventSet.cmd_10854]
-RelativePath=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventSet\AutoResetEventSet.cmd
-WorkingDir=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventSet
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [simpledeadehregion_r.cmd_10855]
 RelativePath=JIT\Methodical\eh\deadcode\simpledeadehregion_r\simpledeadehregion_r.cmd
 WorkingDir=JIT\Methodical\eh\deadcode\simpledeadehregion_r
@@ -75004,14 +71084,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int16Equals1.cmd_10884]
-RelativePath=CoreMangLib\cti\system\int16\Int16Equals1\Int16Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_dbgrecurse.cmd_10885]
 RelativePath=JIT\Methodical\Invoke\fptr\_speed_dbgrecurse\_speed_dbgrecurse.cmd
 WorkingDir=JIT\Methodical\Invoke\fptr\_speed_dbgrecurse
@@ -75332,14 +71404,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[FieldOffsetAttributeCtor.cmd_10928]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeCtor\FieldOffsetAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [mixed2_cs_d.cmd_10929]
 RelativePath=JIT\Directed\perffix\primitivevt\mixed2_cs_d\mixed2_cs_d.cmd
 WorkingDir=JIT\Directed\perffix\primitivevt\mixed2_cs_d
@@ -75516,14 +71580,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyConfigurationAttribute.cmd_10956]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttribute\AssemblyConfigurationAttribute.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttribute
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [smallFrame.cmd_10957]
 RelativePath=JIT\Methodical\tailcall_v4\smallFrame\smallFrame.cmd
 WorkingDir=JIT\Methodical\tailcall_v4\smallFrame
@@ -75556,14 +71612,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[WeakReferenceCtor2_PSC.cmd_10961]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2_PSC\WeakReferenceCtor2_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1.cmd_10962]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1\Generated1\Generated1.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1\Generated1
@@ -75580,22 +71628,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringEquals1.cmd_10964]
-RelativePath=CoreMangLib\cti\system\string\StringEquals1\StringEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[CharIConvertibleToSingle.cmd_10965]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToSingle\CharIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [add_I4.cmd_10967]
 RelativePath=JIT\IL_Conformance\Old\Conformance_Base\add_I4\add_I4.cmd
 WorkingDir=JIT\IL_Conformance\Old\Conformance_Base\add_I4
@@ -75788,14 +71820,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToUInt64.cmd_10994]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt64\UInt16IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [box-unbox-generics045.cmd_10995]
 RelativePath=JIT\jit64\valuetypes\nullable\box-unbox\generics\box-unbox-generics045\box-unbox-generics045.cmd
 WorkingDir=JIT\jit64\valuetypes\nullable\box-unbox\generics\box-unbox-generics045
@@ -75908,14 +71932,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64IConvertibleToUInt32.cmd_11012]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt32\Int64IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1164.cmd_11013]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1164\Generated1164\Generated1164.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1164\Generated1164
@@ -75940,14 +71956,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt32IConvertibleToType.cmd_11016]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToType\UInt32IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Richards.cmd_11017]
 RelativePath=JIT\Performance\CodeQuality\V8\Richards\Richards\Richards.cmd
 WorkingDir=JIT\Performance\CodeQuality\V8\Richards\Richards
@@ -75956,14 +71964,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[GCReRegisterForFinalize.cmd_11018]
-RelativePath=CoreMangLib\cti\system\gc\GCReRegisterForFinalize\GCReRegisterForFinalize.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCReRegisterForFinalize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_speed_reljumps.cmd_11019]
 RelativePath=JIT\Methodical\VT\callconv\_speed_reljumps\_speed_reljumps.cmd
 WorkingDir=JIT\Methodical\VT\callconv\_speed_reljumps
@@ -76516,14 +72516,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[BooleanIConvertibleToInt32.cmd_11097]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt32\BooleanIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [b27535.cmd_11098]
 RelativePath=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b27535\b27535\b27535.cmd
 WorkingDir=JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b27535\b27535
@@ -76740,14 +72732,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToDateTime.cmd_11134]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDateTime\UInt16IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [GenericAssertin.cmd_11135]
 RelativePath=Loader\classloader\regressions\vsw305955\GenericAssertin\GenericAssertin.cmd
 WorkingDir=Loader\classloader\regressions\vsw305955\GenericAssertin
@@ -76772,14 +72756,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleEpsilon.cmd_11138]
-RelativePath=CoreMangLib\cti\system\single\SingleEpsilon\SingleEpsilon.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleEpsilon
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Interfaces001.cmd_11139]
 RelativePath=Loader\classloader\generics\Variance\Interfaces\Interfaces001\Interfaces001.cmd
 WorkingDir=Loader\classloader\generics\Variance\Interfaces\Interfaces001
@@ -76852,14 +72828,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[StringIConvertibleToChar.cmd_11149]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToChar\StringIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1162.cmd_11150]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1162\Generated1162\Generated1162.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1162\Generated1162
@@ -77156,14 +73124,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[StringIEnumerableGetEnumerator.cmd_11192]
-RelativePath=CoreMangLib\cti\system\string\StringIEnumerableGetEnumerator\StringIEnumerableGetEnumerator.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIEnumerableGetEnumerator
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [csgen.1.cmd_11195]
 RelativePath=Regressions\coreclr\0582\csgen.1\csgen.1.cmd
 WorkingDir=Regressions\coreclr\0582\csgen.1
@@ -77204,14 +73164,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanIConvertibleToUInt16.cmd_11200]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt16\BooleanIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_dbginstance_cs.cmd_11202]
 RelativePath=JIT\Methodical\Boxing\callconv\_dbginstance_cs\_dbginstance_cs.cmd
 WorkingDir=JIT\Methodical\Boxing\callconv\_dbginstance_cs
@@ -77356,14 +73308,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS
 HostStyle=0
 
-[SingleToChar.cmd_11223]
-RelativePath=CoreMangLib\cti\system\single\SingleToChar\SingleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [threadstartarray.cmd_11224]
 RelativePath=baseservices\threading\paramthreadstart\threadstartarray\threadstartarray.cmd
 WorkingDir=baseservices\threading\paramthreadstart\threadstartarray
@@ -77404,14 +73348,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[InAttributeCtor.cmd_11229]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\inattribute\InAttributeCtor\InAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\inattribute\InAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_il_dbgcatchfinally_tail.cmd_11230]
 RelativePath=JIT\Methodical\Invoke\SEH\_il_dbgcatchfinally_tail\_il_dbgcatchfinally_tail.cmd
 WorkingDir=JIT\Methodical\Invoke\SEH\_il_dbgcatchfinally_tail
@@ -77700,14 +73636,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[SingleToSByte.cmd_11274]
-RelativePath=CoreMangLib\cti\system\single\SingleToSByte\SingleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [csgen.2.cmd_11275]
 RelativePath=hosting\stress\testset1\csgen.2\csgen.2.cmd
 WorkingDir=hosting\stress\testset1\csgen.2
@@ -78084,14 +74012,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[UInt16IConvertibleToType.cmd_11329]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToType\UInt16IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [Generated1008.cmd_11330]
 RelativePath=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1008\Generated1008\Generated1008.cmd
 WorkingDir=Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1008\Generated1008
@@ -78132,14 +74052,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[AssemblyNameGetPublicKey.cmd_11335]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKey\AssemblyNameGetPublicKey.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKey
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [nestedtryfault_d.cmd_11336]
 RelativePath=JIT\Methodical\eh\nested\nestedtry\nestedtryfault_d\nestedtryfault_d.cmd
 WorkingDir=JIT\Methodical\eh\nested\nestedtry\nestedtryfault_d
@@ -78292,14 +74204,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[Int64ToString3.cmd_11357]
-RelativePath=CoreMangLib\cti\system\int64\Int64ToString3\Int64ToString3.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64ToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
 [_relmuldiv.cmd_11359]
 RelativePath=JIT\Methodical\int64\unsigned\_relmuldiv\_relmuldiv.cmd
 WorkingDir=JIT\Methodical\int64\unsigned\_relmuldiv
index 1450a84..b6de14a 100644 (file)
@@ -4604,3753 +4604,241 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;Pri1
 HostStyle=0
 
-[BooleanCompareTo_Boolean.cmd_697]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanCompareTo_Boolean\BooleanCompareTo_Boolean.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanCompareTo_Boolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanEquals_Boolean.cmd_698]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanEquals_Boolean\BooleanEquals_Boolean.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanEquals_Boolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanEquals_Object.cmd_699]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanEquals_Object\BooleanEquals_Object.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanEquals_Object
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanFalseString.cmd_700]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanFalseString\BooleanFalseString.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanFalseString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanGetHashCode.cmd_701]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanGetHashCode\BooleanGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToBoolean.cmd_702]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToBoolean\BooleanIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToByte.cmd_703]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToByte\BooleanIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToChar.cmd_704]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToChar\BooleanIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToDateTime.cmd_705]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDateTime\BooleanIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToDecimal.cmd_706]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDecimal\BooleanIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToDouble.cmd_707]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDouble\BooleanIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToInt16.cmd_708]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt16\BooleanIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToInt32.cmd_709]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt32\BooleanIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToInt64.cmd_710]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt64\BooleanIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToSByte.cmd_711]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSByte\BooleanIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToSingle.cmd_712]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSingle\BooleanIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToType.cmd_713]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToType\BooleanIConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToUInt16.cmd_714]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt16\BooleanIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToUInt32.cmd_715]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt32\BooleanIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanIConvertibleToUInt64.cmd_716]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt64\BooleanIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanToString.cmd_718]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanToString\BooleanToString.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanToString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[BooleanTrueString.cmd_719]
-RelativePath=CoreMangLib\cti\system\boolean\BooleanTrueString\BooleanTrueString.cmd
-WorkingDir=CoreMangLib\cti\system\boolean\BooleanTrueString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteEquals1.cmd_721]
-RelativePath=CoreMangLib\cti\system\byte\ByteEquals1\ByteEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteEquals2.cmd_722]
-RelativePath=CoreMangLib\cti\system\byte\ByteEquals2\ByteEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteGetHashCode.cmd_723]
-RelativePath=CoreMangLib\cti\system\byte\ByteGetHashCode\ByteGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToBoolean.cmd_724]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToBoolean\ByteIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToByte.cmd_725]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToByte\ByteIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToChar.cmd_726]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToChar\ByteIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToDateTime.cmd_727]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToDateTime\ByteIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToDecimal.cmd_728]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToDecimal\ByteIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToDouble.cmd_729]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToDouble\ByteIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToInt16.cmd_730]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToInt16\ByteIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToInt32.cmd_731]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToInt32\ByteIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToInt64.cmd_732]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToInt64\ByteIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToSByte.cmd_733]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToSByte\ByteIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToSingle.cmd_734]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToSingle\ByteIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToType.cmd_735]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToType\ByteIConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToUInt16.cmd_736]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt16\ByteIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToUInt32.cmd_737]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt32\ByteIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteIConvertibleToUInt64.cmd_738]
-RelativePath=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt64\ByteIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteMaxValue.cmd_739]
-RelativePath=CoreMangLib\cti\system\byte\ByteMaxValue\ByteMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteMinValue.cmd_740]
-RelativePath=CoreMangLib\cti\system\byte\ByteMinValue\ByteMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteToString2.cmd_743]
-RelativePath=CoreMangLib\cti\system\byte\ByteToString2\ByteToString2.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteToString3.cmd_744]
-RelativePath=CoreMangLib\cti\system\byte\ByteToString3\ByteToString3.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ByteToString4.cmd_745]
-RelativePath=CoreMangLib\cti\system\byte\ByteToString4\ByteToString4.cmd
-WorkingDir=CoreMangLib\cti\system\byte\ByteToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharCompateTo1.cmd_747]
-RelativePath=CoreMangLib\cti\system\char\CharCompateTo1\CharCompateTo1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharCompateTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharEquals1.cmd_748]
-RelativePath=CoreMangLib\cti\system\char\CharEquals1\CharEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharEquals2.cmd_749]
-RelativePath=CoreMangLib\cti\system\char\CharEquals2\CharEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharGetHashCode.cmd_750]
-RelativePath=CoreMangLib\cti\system\char\CharGetHashCode\CharGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToBoolean.cmd_751]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToBoolean\CharIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToByte.cmd_752]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToByte\CharIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToChar.cmd_753]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToChar\CharIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToDateTime.cmd_754]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToDateTime\CharIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToDecimal.cmd_755]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToDecimal\CharIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToDouble.cmd_756]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToDouble\CharIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToInt16.cmd_757]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToInt16\CharIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToInt32.cmd_758]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToInt32\CharIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToInt64.cmd_759]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToInt64\CharIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToSByte.cmd_760]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToSByte\CharIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToSingle.cmd_761]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToSingle\CharIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToType.cmd_762]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToType\CharIConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToUInt16.cmd_763]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToUInt16\CharIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToUInt32.cmd_764]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToUInt32\CharIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIConvertibleToUInt64.cmd_765]
-RelativePath=CoreMangLib\cti\system\char\CharIConvertibleToUInt64\CharIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsControl1.cmd_766]
-RelativePath=CoreMangLib\cti\system\char\CharIsControl1\CharIsControl1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsControl1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsControl2.cmd_767]
-RelativePath=CoreMangLib\cti\system\char\CharIsControl2\CharIsControl2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsControl2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsDigit1.cmd_768]
-RelativePath=CoreMangLib\cti\system\char\CharIsDigit1\CharIsDigit1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsDigit1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsDigit2.cmd_769]
-RelativePath=CoreMangLib\cti\system\char\CharIsDigit2\CharIsDigit2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsDigit2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsLetter1.cmd_770]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetter1\CharIsLetter1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetter1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsLetter2.cmd_771]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetter2\CharIsLetter2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetter2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsLetterOrDigit1.cmd_772]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetterOrDigit1\CharIsLetterOrDigit1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetterOrDigit1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsLetterOrDigit2.cmd_773]
-RelativePath=CoreMangLib\cti\system\char\CharIsLetterOrDigit2\CharIsLetterOrDigit2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLetterOrDigit2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsLower1.cmd_774]
-RelativePath=CoreMangLib\cti\system\char\CharIsLower1\CharIsLower1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLower1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsLower2.cmd_775]
-RelativePath=CoreMangLib\cti\system\char\CharIsLower2\CharIsLower2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsLower2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsNumber1.cmd_776]
-RelativePath=CoreMangLib\cti\system\char\CharIsNumber1\CharIsNumber1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsNumber1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsNumber2.cmd_777]
-RelativePath=CoreMangLib\cti\system\char\CharIsNumber2\CharIsNumber2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsNumber2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsPunctuation2.cmd_778]
-RelativePath=CoreMangLib\cti\system\char\CharIsPunctuation2\CharIsPunctuation2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsPunctuation2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsSeparator1.cmd_779]
-RelativePath=CoreMangLib\cti\system\char\CharIsSeparator1\CharIsSeparator1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSeparator1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsSeparator2.cmd_780]
-RelativePath=CoreMangLib\cti\system\char\CharIsSeparator2\CharIsSeparator2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSeparator2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsSurrogate1.cmd_781]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogate1\CharIsSurrogate1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogate1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsSurrogate2.cmd_782]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogate2\CharIsSurrogate2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogate2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsSurrogatePair1.cmd_783]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogatePair1\CharIsSurrogatePair1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogatePair1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsSurrogatePair2.cmd_784]
-RelativePath=CoreMangLib\cti\system\char\CharIsSurrogatePair2\CharIsSurrogatePair2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSurrogatePair2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsSymbol1.cmd_785]
-RelativePath=CoreMangLib\cti\system\char\CharIsSymbol1\CharIsSymbol1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsSymbol1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsUpper1.cmd_786]
-RelativePath=CoreMangLib\cti\system\char\CharIsUpper1\CharIsUpper1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsUpper1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsUpper2.cmd_787]
-RelativePath=CoreMangLib\cti\system\char\CharIsUpper2\CharIsUpper2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsUpper2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsWhiteSpace1.cmd_788]
-RelativePath=CoreMangLib\cti\system\char\CharIsWhiteSpace1\CharIsWhiteSpace1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsWhiteSpace1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharIsWhiteSpace2.cmd_789]
-RelativePath=CoreMangLib\cti\system\char\CharIsWhiteSpace2\CharIsWhiteSpace2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharIsWhiteSpace2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharMaxValue.cmd_790]
-RelativePath=CoreMangLib\cti\system\char\CharMaxValue\CharMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharMinValue.cmd_791]
-RelativePath=CoreMangLib\cti\system\char\CharMinValue\CharMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharToString1.cmd_792]
-RelativePath=CoreMangLib\cti\system\char\CharToString1\CharToString1.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharToString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharToString2.cmd_793]
-RelativePath=CoreMangLib\cti\system\char\CharToString2\CharToString2.cmd
-WorkingDir=CoreMangLib\cti\system\char\CharToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharEnumeratorCurrent.cmd_795]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorCurrent\CharEnumeratorCurrent.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorCurrent
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharEnumeratorIEnumeratorCurrent.cmd_796]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumeratorCurrent\CharEnumeratorIEnumeratorCurrent.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumeratorCurrent
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharEnumeratorIEnumgetCurrent.cmd_797]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumgetCurrent\CharEnumeratorIEnumgetCurrent.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorIEnumgetCurrent
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharEnumeratorMoveNext.cmd_798]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorMoveNext\CharEnumeratorMoveNext.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorMoveNext
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CharEnumeratorReset.cmd_799]
-RelativePath=CoreMangLib\cti\system\charenumerator\CharEnumeratorReset\CharEnumeratorReset.cmd
-WorkingDir=CoreMangLib\cti\system\charenumerator\CharEnumeratorReset
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimaFloor.cmd_1293]
-RelativePath=CoreMangLib\cti\system\decimal\DecimaFloor\DecimaFloor.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimaFloor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalAdd.cmd_1294]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalAdd\DecimalAdd.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalAdd
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCompare.cmd_1295]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCompare\DecimalCompare.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCompare
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor1.cmd_1296]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor1\DecimalCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor2.cmd_1297]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor2\DecimalCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor3.cmd_1298]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor3\DecimalCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor4.cmd_1299]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor4\DecimalCtor4.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor5.cmd_1300]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor5\DecimalCtor5.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor5
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor6.cmd_1301]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor6\DecimalCtor6.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor6
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor7.cmd_1302]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor7\DecimalCtor7.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor7
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalCtor8.cmd_1303]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalCtor8\DecimalCtor8.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalCtor8
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalDivide.cmd_1304]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalDivide\DecimalDivide.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalDivide
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalEquals1.cmd_1305]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalEquals1\DecimalEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalEquals2.cmd_1306]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalEquals2\DecimalEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalEquals3.cmd_1307]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalEquals3\DecimalEquals3.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalEquals3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalGetBits.cmd_1308]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalGetBits\DecimalGetBits.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalGetBits
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalMaxValue.cmd_1309]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMaxValue\DecimalMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalMinusOne.cmd_1310]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMinusOne\DecimalMinusOne.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMinusOne
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalMinValue.cmd_1311]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMinValue\DecimalMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalMultiply.cmd_1312]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalMultiply\DecimalMultiply.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalMultiply
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalNegate.cmd_1313]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalNegate\DecimalNegate.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalNegate
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalOne.cmd_1314]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalOne\DecimalOne.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalOne
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalSubtract.cmd_1320]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalSubtract\DecimalSubtract.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalSubtract
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToBoolean.cmd_1321]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToBoolean\DecimalToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToByte.cmd_1322]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToByte\DecimalToByte.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToByte1.cmd_1323]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToByte1\DecimalToByte1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToByte1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToChar.cmd_1324]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToChar\DecimalToChar.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToDateTime.cmd_1325]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToDateTime\DecimalToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToDecimal.cmd_1326]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToDecimal\DecimalToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToDouble.cmd_1327]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToDouble\DecimalToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToInt16.cmd_1328]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToInt16\DecimalToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToInt32.cmd_1329]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToInt32\DecimalToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToInt64.cmd_1330]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToInt64\DecimalToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToSByte.cmd_1331]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToSByte\DecimalToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToSingle.cmd_1332]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToSingle\DecimalToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToString1.cmd_1333]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString1\DecimalToString1.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToString2.cmd_1334]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString2\DecimalToString2.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToString3.cmd_1335]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString3\DecimalToString3.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToString4.cmd_1336]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToString4\DecimalToString4.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToUInt16.cmd_1337]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToUInt16\DecimalToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToUInt32.cmd_1338]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToUInt32\DecimalToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalToUInt64.cmd_1339]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalToUInt64\DecimalToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalTruncate.cmd_1340]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalTruncate\DecimalTruncate.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalTruncate
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalZero.cmd_1342]
-RelativePath=CoreMangLib\cti\system\decimal\DecimalZero\DecimalZero.cmd
-WorkingDir=CoreMangLib\cti\system\decimal\DecimalZero
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DelegateABI.cmd_1343]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateABI\DelegateABI.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateABI
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[DelegateCombine1.cmd_1344]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateCombine1\DelegateCombine1.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateCombine1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DelegateCombineImpl.cmd_1345]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateCombineImpl\DelegateCombineImpl.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateCombineImpl
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DelegateEquals1.cmd_1346]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateEquals1\DelegateEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DelegateGetHashCode1.cmd_1347]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateGetHashCode1\DelegateGetHashCode1.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateGetHashCode1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DelegateGetInvocationList1.cmd_1348]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateGetInvocationList1\DelegateGetInvocationList1.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateGetInvocationList1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DelegateRemove.cmd_1349]
-RelativePath=CoreMangLib\cti\system\delegate\DelegateRemove\DelegateRemove.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\DelegateRemove
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[delegateRemoveImpl.cmd_1350]
-RelativePath=CoreMangLib\cti\system\delegate\delegateRemoveImpl\delegateRemoveImpl.cmd
-WorkingDir=CoreMangLib\cti\system\delegate\delegateRemoveImpl
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ConditionalAttributeConditionString.cmd_1351]
-RelativePath=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeConditionString\ConditionalAttributeConditionString.cmd
-WorkingDir=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeConditionString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ConditionalAttributeCtor.cmd_1352]
-RelativePath=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeCtor\ConditionalAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\diagnostics\conditionalattribute\ConditionalAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DllNotFoundException1.cmd_1361]
-RelativePath=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundException1\DllNotFoundException1.cmd
-WorkingDir=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundException1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DllNotFoundExceptionCtor2.cmd_1362]
-RelativePath=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor2\DllNotFoundExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DllNotFoundExceptionCtor3.cmd_1363]
-RelativePath=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor3\DllNotFoundExceptionCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\dllnotfoundexception\DllNotFoundExceptionCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleCompareTo1.cmd_1364]
-RelativePath=CoreMangLib\cti\system\double\DoubleCompareTo1\DoubleCompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleCompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleEpsilon.cmd_1365]
-RelativePath=CoreMangLib\cti\system\double\DoubleEpsilon\DoubleEpsilon.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleEpsilon
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleEquals1.cmd_1366]
-RelativePath=CoreMangLib\cti\system\double\DoubleEquals1\DoubleEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleEquals2.cmd_1367]
-RelativePath=CoreMangLib\cti\system\double\DoubleEquals2\DoubleEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToBoolean.cmd_1369]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToBoolean\DoubleIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToByte.cmd_1370]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToByte\DoubleIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToDateTime.cmd_1371]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToDateTime\DoubleIConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToDecimal.cmd_1372]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToDecimal\DoubleIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToDouble.cmd_1373]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToDouble\DoubleIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToInt16.cmd_1374]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToInt16\DoubleIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToInt32.cmd_1375]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToInt32\DoubleIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToInt64.cmd_1376]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToInt64\DoubleIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToSByte.cmd_1377]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToSByte\DoubleIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIConvertibleToSingle.cmd_1378]
-RelativePath=CoreMangLib\cti\system\double\DoubleIConvertibleToSingle\DoubleIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIsInfinity.cmd_1379]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsInfinity\DoubleIsInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIsNaN.cmd_1380]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsNaN\DoubleIsNaN.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIsNegativeInfinity.cmd_1381]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsNegativeInfinity\DoubleIsNegativeInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsNegativeInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleIsPositiveInfinity.cmd_1382]
-RelativePath=CoreMangLib\cti\system\double\DoubleIsPositiveInfinity\DoubleIsPositiveInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleIsPositiveInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleMaxValue.cmd_1383]
-RelativePath=CoreMangLib\cti\system\double\DoubleMaxValue\DoubleMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleMinValue.cmd_1384]
-RelativePath=CoreMangLib\cti\system\double\DoubleMinValue\DoubleMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleNaN.cmd_1385]
-RelativePath=CoreMangLib\cti\system\double\DoubleNaN\DoubleNaN.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleNegativeInfinity.cmd_1386]
-RelativePath=CoreMangLib\cti\system\double\DoubleNegativeInfinity\DoubleNegativeInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleNegativeInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoublePositiveInfinity.cmd_1388]
-RelativePath=CoreMangLib\cti\system\double\DoublePositiveInfinity\DoublePositiveInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoublePositiveInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleToString1.cmd_1389]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString1\DoubleToString1.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleToString2.cmd_1390]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString2\DoubleToString2.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleToString3.cmd_1391]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString3\DoubleToString3.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DoubleToString4.cmd_1392]
-RelativePath=CoreMangLib\cti\system\double\DoubleToString4\DoubleToString4.cmd
-WorkingDir=CoreMangLib\cti\system\double\DoubleToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[EnumIConvertibleToInt64.cmd_1394]
-RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToInt64\EnumIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[EnumIConvertibleToSingle.cmd_1395]
-RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToSingle\EnumIConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[EnumIConvertibleToType.cmd_1396]
-RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToType\EnumIConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[EnumIConvertibleToUint16.cmd_1397]
-RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToUint16\EnumIConvertibleToUint16.cmd
-WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToUint16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[EnumIConvertibleToUint32.cmd_1398]
-RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToUint32\EnumIConvertibleToUint32.cmd
-WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToUint32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[EnumIConvertibleToUint64.cmd_1399]
-RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToUint64\EnumIConvertibleToUint64.cmd
-WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToUint64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[FlagsAttributeCtor.cmd_1415]
-RelativePath=CoreMangLib\cti\system\flagsattribute\FlagsAttributeCtor\FlagsAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\flagsattribute\FlagsAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCCollect.cmd_1419]
-RelativePath=CoreMangLib\cti\system\gc\GCCollect\GCCollect.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCCollect
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS;GCSTRESS_EXCLUDE
-HostStyle=0
-
-[GCGetTotalMemory.cmd_1420]
-RelativePath=CoreMangLib\cti\system\gc\GCGetTotalMemory\GCGetTotalMemory.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCGetTotalMemory
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCKeepAlive.cmd_1421]
-RelativePath=CoreMangLib\cti\system\gc\GCKeepAlive\GCKeepAlive.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCKeepAlive
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCMaxGeneration.cmd_1422]
-RelativePath=CoreMangLib\cti\system\gc\GCMaxGeneration\GCMaxGeneration.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCMaxGeneration
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCReRegisterForFinalize.cmd_1423]
-RelativePath=CoreMangLib\cti\system\gc\GCReRegisterForFinalize\GCReRegisterForFinalize.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCReRegisterForFinalize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;3392;LONG_RUNNING;EXPECTED_PASS
-HostStyle=0
-
-[GCSuppressFinalize.cmd_1424]
-RelativePath=CoreMangLib\cti\system\gc\GCSuppressFinalize\GCSuppressFinalize.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCSuppressFinalize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCWaitForPendingFinalizers.cmd_1425]
-RelativePath=CoreMangLib\cti\system\gc\GCWaitForPendingFinalizers\GCWaitForPendingFinalizers.cmd
-WorkingDir=CoreMangLib\cti\system\gc\GCWaitForPendingFinalizers
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToBoolean.cmd_1582]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToBoolean\IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToByte.cmd_1583]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToByte\IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToChar.cmd_1584]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToChar\IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToDateTime.cmd_1585]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToDateTime\IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToDecimal.cmd_1586]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToDecimal\IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToDouble.cmd_1587]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToDouble\IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToInt16.cmd_1588]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToInt16\IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToInt32.cmd_1589]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToInt32\IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IConvertibleToInt64.cmd_1590]
-RelativePath=CoreMangLib\cti\system\iconvertible\IConvertibleToInt64\IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\iconvertible\IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32CompareTo1.cmd_1596]
-RelativePath=CoreMangLib\cti\system\int\Int32CompareTo1\Int32CompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32CompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32Equals1.cmd_1597]
-RelativePath=CoreMangLib\cti\system\int\Int32Equals1\Int32Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32Equals2.cmd_1598]
-RelativePath=CoreMangLib\cti\system\int\Int32Equals2\Int32Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32GetHashCode.cmd_1599]
-RelativePath=CoreMangLib\cti\system\int\Int32GetHashCode\Int32GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToBoolean.cmd_1600]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToBoolean\Int32IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToByte.cmd_1601]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToByte\Int32IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToChar.cmd_1602]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToChar\Int32IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToDateTime.cmd_1603]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToDateTime\Int32IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToDecimal.cmd_1604]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToDecimal\Int32IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToDouble.cmd_1605]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToDouble\Int32IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToInt16.cmd_1606]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToInt16\Int32IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToInt32.cmd_1607]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToInt32\Int32IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToInt64.cmd_1608]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToInt64\Int32IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToSByte.cmd_1609]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToSByte\Int32IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToSingle.cmd_1610]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToSingle\Int32IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToType.cmd_1611]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToType\Int32IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToUInt16.cmd_1612]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToUInt16\Int32IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToUInt32.cmd_1613]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToUInt32\Int32IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32IConvertibleToUInt64.cmd_1614]
-RelativePath=CoreMangLib\cti\system\int\Int32IConvertibleToUInt64\Int32IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32MaxValue.cmd_1615]
-RelativePath=CoreMangLib\cti\system\int\Int32MaxValue\Int32MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32MinValue.cmd_1616]
-RelativePath=CoreMangLib\cti\system\int\Int32MinValue\Int32MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int32ToString3.cmd_1621]
-RelativePath=CoreMangLib\cti\system\int\Int32ToString3\Int32ToString3.cmd
-WorkingDir=CoreMangLib\cti\system\int\Int32ToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16Equals1.cmd_1623]
-RelativePath=CoreMangLib\cti\system\int16\Int16Equals1\Int16Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16Equals2.cmd_1624]
-RelativePath=CoreMangLib\cti\system\int16\Int16Equals2\Int16Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16GetHashCode.cmd_1625]
-RelativePath=CoreMangLib\cti\system\int16\Int16GetHashCode\Int16GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToBoolean.cmd_1626]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToBoolean\Int16IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToByte.cmd_1627]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToByte\Int16IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToChar.cmd_1628]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToChar\Int16IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToDateTime.cmd_1629]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToDateTime\Int16IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToDecimal.cmd_1630]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToDecimal\Int16IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToDouble.cmd_1631]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToDouble\Int16IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToInt16.cmd_1632]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToInt16\Int16IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToInt32.cmd_1633]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToInt32\Int16IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToInt64.cmd_1634]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToInt64\Int16IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToSByte.cmd_1635]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToSByte\Int16IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToSingle.cmd_1636]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToSingle\Int16IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToType.cmd_1637]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToType\Int16IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToUInt16.cmd_1638]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt16\Int16IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToUInt32.cmd_1639]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt32\Int16IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16IConvertibleToUInt64.cmd_1640]
-RelativePath=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt64\Int16IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16MaxValue.cmd_1641]
-RelativePath=CoreMangLib\cti\system\int16\Int16MaxValue\Int16MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int16MinValue.cmd_1642]
-RelativePath=CoreMangLib\cti\system\int16\Int16MinValue\Int16MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\int16\Int16MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64CompareTo1.cmd_1647]
-RelativePath=CoreMangLib\cti\system\int64\Int64CompareTo1\Int64CompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64CompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64Equals1.cmd_1648]
-RelativePath=CoreMangLib\cti\system\int64\Int64Equals1\Int64Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64Equals2.cmd_1649]
-RelativePath=CoreMangLib\cti\system\int64\Int64Equals2\Int64Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64GetHashCode.cmd_1650]
-RelativePath=CoreMangLib\cti\system\int64\Int64GetHashCode\Int64GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToBoolean.cmd_1651]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToBoolean\Int64IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToByte.cmd_1652]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToByte\Int64IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToChar.cmd_1653]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToChar\Int64IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToDateTime.cmd_1654]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToDateTime\Int64IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToDecimal.cmd_1655]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToDecimal\Int64IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToDouble.cmd_1656]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToDouble\Int64IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToInt16.cmd_1657]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToInt16\Int64IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToInt32.cmd_1658]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToInt32\Int64IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToInt64.cmd_1659]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToInt64\Int64IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToSByte.cmd_1660]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToSByte\Int64IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToSingle.cmd_1661]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToSingle\Int64IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToType.cmd_1662]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToType\Int64IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToUInt16.cmd_1663]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt16\Int64IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToUInt32.cmd_1664]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt32\Int64IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64IConvertibleToUInt64.cmd_1665]
-RelativePath=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt64\Int64IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64MaxValue.cmd_1666]
-RelativePath=CoreMangLib\cti\system\int64\Int64MaxValue\Int64MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64MinValue.cmd_1667]
-RelativePath=CoreMangLib\cti\system\int64\Int64MinValue\Int64MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[Int64ToString3.cmd_1671]
-RelativePath=CoreMangLib\cti\system\int64\Int64ToString3\Int64ToString3.cmd
-WorkingDir=CoreMangLib\cti\system\int64\Int64ToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MulticastDelegateCombineImpl.cmd_1835]
-RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateCombineImpl\MulticastDelegateCombineImpl.cmd
-WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateCombineImpl
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MulticastDelegateEquals.cmd_1836]
-RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateEquals\MulticastDelegateEquals.cmd
-WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateEquals
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MulticastDelegateGetHashCode.cmd_1837]
-RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetHashCode\MulticastDelegateGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MulticastDelegateGetInvocationList.cmd_1838]
-RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetInvocationList\MulticastDelegateGetInvocationList.cmd
-WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetInvocationList
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectCtor.cmd_1857]
-RelativePath=CoreMangLib\cti\system\object\ObjectCtor\ObjectCtor.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectEquals1.cmd_1858]
-RelativePath=CoreMangLib\cti\system\object\ObjectEquals1\ObjectEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectEquals2.cmd_1859]
-RelativePath=CoreMangLib\cti\system\object\ObjectEquals2\ObjectEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectFinalize.cmd_1860]
-RelativePath=CoreMangLib\cti\system\object\ObjectFinalize\ObjectFinalize.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectFinalize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectGetHashCode.cmd_1861]
-RelativePath=CoreMangLib\cti\system\object\ObjectGetHashCode\ObjectGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectMemberwiseClone.cmd_1862]
-RelativePath=CoreMangLib\cti\system\object\ObjectMemberwiseClone\ObjectMemberwiseClone.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectMemberwiseClone
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectReferenceEquals.cmd_1863]
-RelativePath=CoreMangLib\cti\system\object\ObjectReferenceEquals\ObjectReferenceEquals.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectReferenceEquals
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ObjectToString.cmd_1864]
-RelativePath=CoreMangLib\cti\system\object\ObjectToString\ObjectToString.cmd
-WorkingDir=CoreMangLib\cti\system\object\ObjectToString
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AmbiguousMatchExceptionCtor1.cmd_1896]
-RelativePath=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor1\AmbiguousMatchExceptionCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AmbiguousMatchExceptionCtor2.cmd_1897]
-RelativePath=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor2\AmbiguousMatchExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AmbiguousMatchExceptionCtor3.cmd_1898]
-RelativePath=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor3\AmbiguousMatchExceptionCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\ambiguousmatchexception\AmbiguousMatchExceptionCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyConfigurationAttribute.cmd_1899]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttribute\AssemblyConfigurationAttribute.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttribute
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[AssemblyConfigurationAttributeCtor.cmd_1900]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttributeCtor\AssemblyConfigurationAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyconfigurationattribute\AssemblyConfigurationAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyDefaultAliasAttribute.cmd_1901]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttribute\AssemblyDefaultAliasAttribute.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttribute
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;Pri1
-HostStyle=0
-
-[AssemblyDefaultAliasAttributeCtor.cmd_1902]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttributeCtor\AssemblyDefaultAliasAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydefaultaliasattribute\AssemblyDefaultAliasAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyDelaySignAttributeCtor.cmd_1903]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeCtor\AssemblyDelaySignAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyDelaySignAttributeDelaySign.cmd_1904]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeDelaySign\AssemblyDelaySignAttributeDelaySign.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydelaysignattribute\AssemblyDelaySignAttributeDelaySign
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyDescriptionAttributeCtor.cmd_1905]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeCtor\AssemblyDescriptionAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyDescriptionAttributeDescription.cmd_1906]
-RelativePath=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeDescription\AssemblyDescriptionAttributeDescription.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblydescriptionattribute\AssemblyDescriptionAttributeDescription
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyKeyFileAttributeCtor.cmd_1907]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeCtor\AssemblyKeyFileAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyKeyFileAttributeKeyFile.cmd_1908]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeKeyFile\AssemblyKeyFileAttributeKeyFile.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeyfileattribute\AssemblyKeyFileAttributeKeyFile
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyKeyNameAttributeCtor.cmd_1909]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeCtor\AssemblyKeyNameAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyKeyNameAttributeKeyName.cmd_1910]
-RelativePath=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeKeyName\AssemblyKeyNameAttributeKeyName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblykeynameattribute\AssemblyKeyNameAttributeKeyName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyNameGetPublicKey.cmd_1911]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKey\AssemblyNameGetPublicKey.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKey
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyNameGetPublicKeyToken.cmd_1912]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKeyToken\AssemblyNameGetPublicKeyToken.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameGetPublicKeyToken
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyNameSetPublicKey.cmd_1913]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKey\AssemblyNameSetPublicKey.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKey
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyNameSetPublicKeyToken.cmd_1914]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKeyToken\AssemblyNameSetPublicKeyToken.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameSetPublicKeyToken
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyNameVersion.cmd_1915]
-RelativePath=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameVersion\AssemblyNameVersion.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblyname\AssemblyNameVersion
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyTitleAttributeCtor.cmd_1919]
-RelativePath=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeCtor\AssemblyTitleAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AssemblyTitleAttributeTitle.cmd_1920]
-RelativePath=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeTitle\AssemblyTitleAttributeTitle.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\assemblytitleattribute\AssemblyTitleAttributeTitle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ConstructorInfoConstructorName.cmd_1926]
-RelativePath=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoConstructorName\ConstructorInfoConstructorName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoConstructorName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ConstructorInfoTypeConstructorName.cmd_1927]
-RelativePath=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoTypeConstructorName\ConstructorInfoTypeConstructorName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\constructorinfo\ConstructorInfoTypeConstructorName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DefaultMemberAttributeCtor.cmd_1928]
-RelativePath=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeCtor\DefaultMemberAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DefaultMemberAttributeMemberName.cmd_1929]
-RelativePath=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeMemberName\DefaultMemberAttributeMemberName.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\defaultmemberattribute\DefaultMemberAttributeMemberName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[TargetInvocationExceptionCtor1.cmd_2299]
-RelativePath=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor1\TargetInvocationExceptionCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[TargetInvocationExceptionCtor2.cmd_2300]
-RelativePath=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor2\TargetInvocationExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetinvocationexception\TargetInvocationExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[TargetParameterCountExceptionCtor1.cmd_2301]
-RelativePath=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor1\TargetParameterCountExceptionCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[TargetParameterCountExceptionCtor2.cmd_2302]
-RelativePath=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor2\TargetParameterCountExceptionCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[TargetParameterCountExceptionCtor3.cmd_2303]
-RelativePath=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor3\TargetParameterCountExceptionCtor3.cmd
-WorkingDir=CoreMangLib\cti\system\reflection\targetparametercountexception\TargetParameterCountExceptionCtor3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ATPACtor.cmd_2339]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPACtor\ATPACtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPACtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[ATPAPropertyName.cmd_2340]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPAPropertyName\ATPAPropertyName.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\accessedthroughpropertyattribute\ATPAPropertyName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[AttributeCtor1.cmd_2341]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\compilationrelaxations\AttributeCtor1\AttributeCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\compilationrelaxations\AttributeCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CompilerGeneratedAttributeCtor.cmd_2342]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\compilergeneratedattribute\CompilerGeneratedAttributeCtor\CompilerGeneratedAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\compilergeneratedattribute\CompilerGeneratedAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[CustomConstantAttributector.cmd_2343]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\customconstantattribute\CustomConstantAttributector\CustomConstantAttributector.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\customconstantattribute\CustomConstantAttributector
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IndexerNameAttributeCtor.cmd_2344]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\indexernameattribute\IndexerNameAttributeCtor\IndexerNameAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\indexernameattribute\IndexerNameAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IVTAAssemblyName.cmd_2345]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTAAssemblyName\IVTAAssemblyName.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTAAssemblyName
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[IVTACtor.cmd_2346]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTACtor\IVTACtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\internalsvisibletoattribute\IVTACtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MethodImplOptionsNoInlining.cmd_2347]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsNoInlining\MethodImplOptionsNoInlining.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsNoInlining
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MethodImplOptionsPreserveSig.cmd_2348]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsPreserveSig\MethodImplOptionsPreserveSig.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\methodimploptions\MethodImplOptionsPreserveSig
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[RCAttrWrapNEThrows.cmd_2349]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RCAttrWrapNEThrows\RCAttrWrapNEThrows.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RCAttrWrapNEThrows
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[RuntimeCompatAttrCtor.cmd_2350]
-RelativePath=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RuntimeCompatAttrCtor\RuntimeCompatAttrCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\compilerservices\runtimecompatibilityattribute\RuntimeCompatAttrCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalConstantAttributeCtor.cmd_2352]
-RelativePath=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeCtor\DecimalConstantAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[DecimalConstantAttributeValue.cmd_2353]
-RelativePath=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeValue\DecimalConstantAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\decimalconstantattribute\DecimalConstantAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[FixedBufferAttributeCtor.cmd_2354]
-RelativePath=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeCtor\FixedBufferAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[FixedBufferAttributeElementType.cmd_2355]
-RelativePath=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeElementType\FixedBufferAttributeElementType.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeElementType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[FixedBufferAttributeLength.cmd_2356]
-RelativePath=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeLength\FixedBufferAttributeLength.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\fixedbufferattribute\FixedBufferAttributeLength
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[FieldOffsetAttributeCtor.cmd_2359]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeCtor\FieldOffsetAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[FieldOffsetAttributeValue.cmd_2360]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeValue\FieldOffsetAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\fieldoffsetattribute\FieldOffsetAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCHandleAddrOfPinnedObject_PSC.cmd_2361]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAddrOfPinnedObject_PSC\GCHandleAddrOfPinnedObject_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAddrOfPinnedObject_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCHandleAlloc1_PSC.cmd_2362]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAlloc1_PSC\GCHandleAlloc1_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleAlloc1_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCHandleFree_PSC.cmd_2363]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleFree_PSC\GCHandleFree_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleFree_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[GCHandleTarget_PSC.cmd_2364]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleTarget_PSC\GCHandleTarget_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\gchandle\GCHandleTarget_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[InAttributeCtor.cmd_2369]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\inattribute\InAttributeCtor\InAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\inattribute\InAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalSizeOf1_PSC.cmd_2372]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf1_PSC\MarshalSizeOf1_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf1_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalSizeOf2_PSC.cmd_2373]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf2_PSC\MarshalSizeOf2_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf2_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeArraySubType.cmd_2374]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeArraySubType\MarshalAsAttributeArraySubType.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeArraySubType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeCtor1.cmd_2375]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor1\MarshalAsAttributeCtor1.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeCtor2.cmd_2376]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor2\MarshalAsAttributeCtor2.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeCtor2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeMarshalCookie.cmd_2377]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalCookie\MarshalAsAttributeMarshalCookie.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalCookie
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeMarshalType.cmd_2378]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalType\MarshalAsAttributeMarshalType.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeMarshalTypeRef.cmd_2379]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalTypeRef\MarshalAsAttributeMarshalTypeRef.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeMarshalTypeRef
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeSizeConst.cmd_2380]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeConst\MarshalAsAttributeSizeConst.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeConst
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeSizeParamIndex.cmd_2381]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeParamIndex\MarshalAsAttributeSizeParamIndex.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeSizeParamIndex
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[MarshalAsAttributeValue.cmd_2382]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeValue\MarshalAsAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshalasattribute\MarshalAsAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[OutAttributeCtor.cmd_2383]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\outattribute\OutAttributeCtor\OutAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\outattribute\OutAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[PreserveSigAttributeCtor.cmd_2384]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\preservesigattribute\PreserveSigAttributeCtor\PreserveSigAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\preservesigattribute\PreserveSigAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleCtor_cti_PSC.cmd_2385]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleCtor_cti_PSC\SafeHandleCtor_cti_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleCtor_cti_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleDangerousAddRef_PSC.cmd_2386]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousAddRef_PSC\SafeHandleDangerousAddRef_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousAddRef_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleDangerousGetHandle_PSC.cmd_2387]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousGetHandle_PSC\SafeHandleDangerousGetHandle_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousGetHandle_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleDangerousRelease_PSC.cmd_2388]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousRelease_PSC\SafeHandleDangerousRelease_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousRelease_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleDispose1_PSC.cmd_2389]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose1_PSC\SafeHandleDispose1_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose1_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleDispose2_PSC.cmd_2390]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose2_PSC\SafeHandleDispose2_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose2_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleHandle_PSC.cmd_2391]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleHandle_PSC\SafeHandleHandle_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleHandle_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleIsClosed_PSC.cmd_2392]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsClosed_PSC\SafeHandleIsClosed_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsClosed_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleIsInvalid_PSC.cmd_2393]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsInvalid_PSC\SafeHandleIsInvalid_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsInvalid_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleSetHandleAsInvalid_PSC.cmd_2394]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandleAsInvalid_PSC\SafeHandleSetHandleAsInvalid_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandleAsInvalid_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SafeHandleSetHandle_PSC.cmd_2395]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandle_PSC\SafeHandleSetHandle_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandle_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StructLayoutAttributeCharSet.cmd_2396]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCharSet\StructLayoutAttributeCharSet.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCharSet
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StructLayoutAttributeCtor.cmd_2397]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCtor\StructLayoutAttributeCtor.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StructLayoutAttributePack.cmd_2398]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributePack\StructLayoutAttributePack.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributePack
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StructLayoutAttributeSize.cmd_2399]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeSize\StructLayoutAttributeSize.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeSize
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StructLayoutAttributeValue.cmd_2400]
-RelativePath=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeValue\StructLayoutAttributeValue.cmd
-WorkingDir=CoreMangLib\cti\system\runtime\interopservices\structlayoutattribute\StructLayoutAttributeValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteCompareTo2.cmd_2408]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteCompareTo2\SByteCompareTo2.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteCompareTo2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteEquals1.cmd_2409]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteEquals1\SByteEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteEquals2.cmd_2410]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteEquals2\SByteEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteGetHashCode.cmd_2411]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteGetHashCode\SByteGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToBoolean.cmd_2412]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToBoolean\SByteIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToByte.cmd_2413]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToByte\SByteIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToChar.cmd_2414]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToChar\SByteIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToDecimal.cmd_2415]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDecimal\SByteIConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToDouble.cmd_2416]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDouble\SByteIConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToInt16.cmd_2417]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt16\SByteIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToInt32.cmd_2418]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt32\SByteIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToInt64.cmd_2419]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt64\SByteIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToUInt16.cmd_2420]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt16\SByteIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToUInt32.cmd_2421]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt32\SByteIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteIConvertibleToUInt64.cmd_2422]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt64\SByteIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteMaxValue.cmd_2423]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteMaxValue\SByteMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SByteMinValue.cmd_2424]
-RelativePath=CoreMangLib\cti\system\sbyte\SByteMinValue\SByteMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\sbyte\SByteMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleEpsilon.cmd_2433]
-RelativePath=CoreMangLib\cti\system\single\SingleEpsilon\SingleEpsilon.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleEpsilon
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleIsInfinity.cmd_2435]
-RelativePath=CoreMangLib\cti\system\single\SingleIsInfinity\SingleIsInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleIsNaN.cmd_2436]
-RelativePath=CoreMangLib\cti\system\single\SingleIsNaN\SingleIsNaN.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleIsNegativeInfinity.cmd_2437]
-RelativePath=CoreMangLib\cti\system\single\SingleIsNegativeInfinity\SingleIsNegativeInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsNegativeInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleIsPositiveInfinity.cmd_2438]
-RelativePath=CoreMangLib\cti\system\single\SingleIsPositiveInfinity\SingleIsPositiveInfinity.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleIsPositiveInfinity
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleMaxValue.cmd_2439]
-RelativePath=CoreMangLib\cti\system\single\SingleMaxValue\SingleMaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleMaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleMinValue.cmd_2440]
-RelativePath=CoreMangLib\cti\system\single\SingleMinValue\SingleMinValue.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleMinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleNaN.cmd_2441]
-RelativePath=CoreMangLib\cti\system\single\SingleNaN\SingleNaN.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleNaN
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToBoolean.cmd_2444]
-RelativePath=CoreMangLib\cti\system\single\SingleToBoolean\SingleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToByte.cmd_2445]
-RelativePath=CoreMangLib\cti\system\single\SingleToByte\SingleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToChar.cmd_2446]
-RelativePath=CoreMangLib\cti\system\single\SingleToChar\SingleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToDateTime.cmd_2447]
-RelativePath=CoreMangLib\cti\system\single\SingleToDateTime\SingleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToDecimal.cmd_2448]
-RelativePath=CoreMangLib\cti\system\single\SingleToDecimal\SingleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToDouble.cmd_2449]
-RelativePath=CoreMangLib\cti\system\single\SingleToDouble\SingleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToInt16.cmd_2450]
-RelativePath=CoreMangLib\cti\system\single\SingleToInt16\SingleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToInt32.cmd_2451]
-RelativePath=CoreMangLib\cti\system\single\SingleToInt32\SingleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToInt64.cmd_2452]
-RelativePath=CoreMangLib\cti\system\single\SingleToInt64\SingleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToSByte.cmd_2453]
-RelativePath=CoreMangLib\cti\system\single\SingleToSByte\SingleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToSingle.cmd_2454]
-RelativePath=CoreMangLib\cti\system\single\SingleToSingle\SingleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToUInt16.cmd_2455]
-RelativePath=CoreMangLib\cti\system\single\SingleToUInt16\SingleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToUInt32.cmd_2456]
-RelativePath=CoreMangLib\cti\system\single\SingleToUInt32\SingleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[SingleToUInt64.cmd_2457]
-RelativePath=CoreMangLib\cti\system\single\SingleToUInt64\SingleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\single\SingleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringChars.cmd_2459]
-RelativePath=CoreMangLib\cti\system\string\StringChars\StringChars.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringChars
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringCompare9.cmd_2463]
-RelativePath=CoreMangLib\cti\system\string\StringCompare9\StringCompare9.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCompare9
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS;15381;GCSTRESS_EXCLUDE
-HostStyle=0
-
-[StringCompareOrdinal1.cmd_2464]
-RelativePath=CoreMangLib\cti\system\string\StringCompareOrdinal1\StringCompareOrdinal1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCompareOrdinal1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringCompareOrdinal2.cmd_2465]
-RelativePath=CoreMangLib\cti\system\string\StringCompareOrdinal2\StringCompareOrdinal2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCompareOrdinal2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat1.cmd_2466]
-RelativePath=CoreMangLib\cti\system\string\StringConcat1\StringConcat1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat2.cmd_2467]
-RelativePath=CoreMangLib\cti\system\string\StringConcat2\StringConcat2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat3.cmd_2468]
-RelativePath=CoreMangLib\cti\system\string\StringConcat3\StringConcat3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat4.cmd_2469]
-RelativePath=CoreMangLib\cti\system\string\StringConcat4\StringConcat4.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat4
-Expected=0
-MaxAllowedDurationSeconds=1000
-Categories=Pri1;RT;LONG_RUNNING;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat5.cmd_2470]
-RelativePath=CoreMangLib\cti\system\string\StringConcat5\StringConcat5.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat5
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat6.cmd_2471]
-RelativePath=CoreMangLib\cti\system\string\StringConcat6\StringConcat6.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat6
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat7.cmd_2472]
-RelativePath=CoreMangLib\cti\system\string\StringConcat7\StringConcat7.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat7
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringConcat8.cmd_2473]
-RelativePath=CoreMangLib\cti\system\string\StringConcat8\StringConcat8.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringConcat8
-Expected=0
-MaxAllowedDurationSeconds=1000
-Categories=Pri1;RT;LONG_RUNNING;EXPECTED_PASS
-HostStyle=0
-
-[StringCopyTo.cmd_2474]
-RelativePath=CoreMangLib\cti\system\string\StringCopyTo\StringCopyTo.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCopyTo
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringCtor5.cmd_2475]
-RelativePath=CoreMangLib\cti\system\string\StringCtor5\StringCtor5.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCtor5
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringCtorChar.cmd_2476]
-RelativePath=CoreMangLib\cti\system\string\StringCtorChar\StringCtorChar.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringCtorChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringEmpty.cmd_2477]
-RelativePath=CoreMangLib\cti\system\string\StringEmpty\StringEmpty.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEmpty
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringEquals1.cmd_2478]
-RelativePath=CoreMangLib\cti\system\string\StringEquals1\StringEquals1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringEquals2.cmd_2479]
-RelativePath=CoreMangLib\cti\system\string\StringEquals2\StringEquals2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringEquals3.cmd_2480]
-RelativePath=CoreMangLib\cti\system\string\StringEquals3\StringEquals3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringEquals6.cmd_2481]
-RelativePath=CoreMangLib\cti\system\string\StringEquals6\StringEquals6.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringEquals6
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS;15381;GCSTRESS_EXCLUDE
-HostStyle=0
-
-[StringFormat1.cmd_2482]
-RelativePath=CoreMangLib\cti\system\string\StringFormat1\StringFormat1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringFormat1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringFormat2.cmd_2483]
-RelativePath=CoreMangLib\cti\system\string\StringFormat2\StringFormat2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringFormat2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringGetEnumerator.cmd_2484]
-RelativePath=CoreMangLib\cti\system\string\StringGetEnumerator\StringGetEnumerator.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringGetEnumerator
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringGetHashCode.cmd_2485]
-RelativePath=CoreMangLib\cti\system\string\StringGetHashCode\StringGetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringGetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToBoolean.cmd_2486]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToBoolean\StringIConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToByte.cmd_2487]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToByte\StringIConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToChar.cmd_2488]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToChar\StringIConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToInt16.cmd_2489]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToInt16\StringIConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToInt32.cmd_2490]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToInt32\StringIConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToInt64.cmd_2491]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToInt64\StringIConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToSByte.cmd_2492]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToSByte\StringIConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToUInt16.cmd_2493]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToUInt16\StringIConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToUInt32.cmd_2494]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToUInt32\StringIConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIConvertibleToUInt64.cmd_2495]
-RelativePath=CoreMangLib\cti\system\string\StringIConvertibleToUInt64\StringIConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIEnumerableGetEnumerator.cmd_2496]
-RelativePath=CoreMangLib\cti\system\string\StringIEnumerableGetEnumerator\StringIEnumerableGetEnumerator.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIEnumerableGetEnumerator
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringIndexOf10.cmd_2497]
-RelativePath=CoreMangLib\cti\system\string\StringIndexOf10\StringIndexOf10.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIndexOf10
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[StringInsert.cmd_2498]
-RelativePath=CoreMangLib\cti\system\string\StringInsert\StringInsert.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringInsert
+[DelegateCombine1.cmd_1344]
+RelativePath=CoreMangLib\cti\system\delegate\DelegateCombine1\DelegateCombine1.cmd
+WorkingDir=CoreMangLib\cti\system\delegate\DelegateCombine1
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringIsNullOrEmpty.cmd_2499]
-RelativePath=CoreMangLib\cti\system\string\StringIsNullOrEmpty\StringIsNullOrEmpty.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringIsNullOrEmpty
+[DelegateCombineImpl.cmd_1345]
+RelativePath=CoreMangLib\cti\system\delegate\DelegateCombineImpl\DelegateCombineImpl.cmd
+WorkingDir=CoreMangLib\cti\system\delegate\DelegateCombineImpl
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringJoin.cmd_2500]
-RelativePath=CoreMangLib\cti\system\string\StringJoin\StringJoin.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringJoin
+[DelegateEquals1.cmd_1346]
+RelativePath=CoreMangLib\cti\system\delegate\DelegateEquals1\DelegateEquals1.cmd
+WorkingDir=CoreMangLib\cti\system\delegate\DelegateEquals1
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringJoin1.cmd_2501]
-RelativePath=CoreMangLib\cti\system\string\StringJoin1\StringJoin1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringJoin1
+[DelegateGetHashCode1.cmd_1347]
+RelativePath=CoreMangLib\cti\system\delegate\DelegateGetHashCode1\DelegateGetHashCode1.cmd
+WorkingDir=CoreMangLib\cti\system\delegate\DelegateGetHashCode1
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringJoin2.cmd_2502]
-RelativePath=CoreMangLib\cti\system\string\StringJoin2\StringJoin2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringJoin2
+[DelegateGetInvocationList1.cmd_1348]
+RelativePath=CoreMangLib\cti\system\delegate\DelegateGetInvocationList1\DelegateGetInvocationList1.cmd
+WorkingDir=CoreMangLib\cti\system\delegate\DelegateGetInvocationList1
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringLength.cmd_2503]
-RelativePath=CoreMangLib\cti\system\string\StringLength\StringLength.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringLength
+[DelegateRemove.cmd_1349]
+RelativePath=CoreMangLib\cti\system\delegate\DelegateRemove\DelegateRemove.cmd
+WorkingDir=CoreMangLib\cti\system\delegate\DelegateRemove
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringPadLeft.cmd_2504]
-RelativePath=CoreMangLib\cti\system\string\StringPadLeft\StringPadLeft.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadLeft
+[delegateRemoveImpl.cmd_1350]
+RelativePath=CoreMangLib\cti\system\delegate\delegateRemoveImpl\delegateRemoveImpl.cmd
+WorkingDir=CoreMangLib\cti\system\delegate\delegateRemoveImpl
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringPadLeft1.cmd_2505]
-RelativePath=CoreMangLib\cti\system\string\StringPadLeft1\StringPadLeft1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadLeft1
+[EnumIConvertibleToInt64.cmd_1394]
+RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToInt64\EnumIConvertibleToInt64.cmd
+WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToInt64
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringPadLeft2.cmd_2506]
-RelativePath=CoreMangLib\cti\system\string\StringPadLeft2\StringPadLeft2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadLeft2
+[EnumIConvertibleToSingle.cmd_1395]
+RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToSingle\EnumIConvertibleToSingle.cmd
+WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToSingle
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringPadRight.cmd_2507]
-RelativePath=CoreMangLib\cti\system\string\StringPadRight\StringPadRight.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadRight
+[EnumIConvertibleToType.cmd_1396]
+RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToType\EnumIConvertibleToType.cmd
+WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToType
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringPadRight1.cmd_2508]
-RelativePath=CoreMangLib\cti\system\string\StringPadRight1\StringPadRight1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadRight1
+[EnumIConvertibleToUint16.cmd_1397]
+RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToUint16\EnumIConvertibleToUint16.cmd
+WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToUint16
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringPadRight2.cmd_2509]
-RelativePath=CoreMangLib\cti\system\string\StringPadRight2\StringPadRight2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringPadRight2
+[EnumIConvertibleToUint32.cmd_1398]
+RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToUint32\EnumIConvertibleToUint32.cmd
+WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToUint32
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringRemove1.cmd_2510]
-RelativePath=CoreMangLib\cti\system\string\StringRemove1\StringRemove1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringRemove1
+[EnumIConvertibleToUint64.cmd_1399]
+RelativePath=CoreMangLib\cti\system\enum\EnumIConvertibleToUint64\EnumIConvertibleToUint64.cmd
+WorkingDir=CoreMangLib\cti\system\enum\EnumIConvertibleToUint64
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringRemove2.cmd_2511]
-RelativePath=CoreMangLib\cti\system\string\StringRemove2\StringRemove2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringRemove2
+[MulticastDelegateCombineImpl.cmd_1835]
+RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateCombineImpl\MulticastDelegateCombineImpl.cmd
+WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateCombineImpl
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringReplace1.cmd_2512]
-RelativePath=CoreMangLib\cti\system\string\StringReplace1\StringReplace1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringReplace1
+[MulticastDelegateEquals.cmd_1836]
+RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateEquals\MulticastDelegateEquals.cmd
+WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateEquals
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringReplace2.cmd_2513]
-RelativePath=CoreMangLib\cti\system\string\StringReplace2\StringReplace2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringReplace2
+[MulticastDelegateGetHashCode.cmd_1837]
+RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetHashCode\MulticastDelegateGetHashCode.cmd
+WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetHashCode
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringSplit1.cmd_2514]
-RelativePath=CoreMangLib\cti\system\string\StringSplit1\StringSplit1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringSplit1
+[MulticastDelegateGetInvocationList.cmd_1838]
+RelativePath=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetInvocationList\MulticastDelegateGetInvocationList.cmd
+WorkingDir=CoreMangLib\cti\system\multicastdelegate\MulticastDelegateGetInvocationList
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringSubString1.cmd_2515]
-RelativePath=CoreMangLib\cti\system\string\StringSubString1\StringSubString1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringSubString1
+[MarshalSizeOf1_PSC.cmd_2372]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf1_PSC\MarshalSizeOf1_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf1_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringSubString2.cmd_2516]
-RelativePath=CoreMangLib\cti\system\string\StringSubString2\StringSubString2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringSubString2
+[MarshalSizeOf2_PSC.cmd_2373]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf2_PSC\MarshalSizeOf2_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\marshal\MarshalSizeOf2_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringToCharArray.cmd_2517]
-RelativePath=CoreMangLib\cti\system\string\StringToCharArray\StringToCharArray.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringToCharArray
+[SafeHandleCtor_cti_PSC.cmd_2385]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleCtor_cti_PSC\SafeHandleCtor_cti_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleCtor_cti_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringToString1.cmd_2518]
-RelativePath=CoreMangLib\cti\system\string\StringToString1\StringToString1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringToString1
+[SafeHandleDangerousAddRef_PSC.cmd_2386]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousAddRef_PSC\SafeHandleDangerousAddRef_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousAddRef_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringTrim1.cmd_2519]
-RelativePath=CoreMangLib\cti\system\string\StringTrim1\StringTrim1.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim1
+[SafeHandleDangerousGetHandle_PSC.cmd_2387]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousGetHandle_PSC\SafeHandleDangerousGetHandle_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousGetHandle_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringTrim1b.cmd_2520]
-RelativePath=CoreMangLib\cti\system\string\StringTrim1b\StringTrim1b.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim1b
+[SafeHandleDangerousRelease_PSC.cmd_2388]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousRelease_PSC\SafeHandleDangerousRelease_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDangerousRelease_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringTrim2.cmd_2521]
-RelativePath=CoreMangLib\cti\system\string\StringTrim2\StringTrim2.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim2
+[SafeHandleDispose1_PSC.cmd_2389]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose1_PSC\SafeHandleDispose1_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose1_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringTrim3.cmd_2522]
-RelativePath=CoreMangLib\cti\system\string\StringTrim3\StringTrim3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim3
+[SafeHandleDispose2_PSC.cmd_2390]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose2_PSC\SafeHandleDispose2_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleDispose2_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringTrim4.cmd_2523]
-RelativePath=CoreMangLib\cti\system\string\StringTrim4\StringTrim4.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringTrim4
+[SafeHandleHandle_PSC.cmd_2391]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleHandle_PSC\SafeHandleHandle_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleHandle_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[StringComparerCtor.cmd_2524]
-RelativePath=CoreMangLib\cti\system\stringcompare\StringComparerCtor\StringComparerCtor.cmd
-WorkingDir=CoreMangLib\cti\system\stringcompare\StringComparerCtor
+[SafeHandleIsClosed_PSC.cmd_2392]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsClosed_PSC\SafeHandleIsClosed_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsClosed_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[AutoResetEventCtor.cmd_2640]
-RelativePath=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventCtor\AutoResetEventCtor.cmd
-WorkingDir=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventCtor
+[SafeHandleIsInvalid_PSC.cmd_2393]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsInvalid_PSC\SafeHandleIsInvalid_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleIsInvalid_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[AutoResetEventReSet.cmd_2641]
-RelativePath=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventReSet\AutoResetEventReSet.cmd
-WorkingDir=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventReSet
+[SafeHandleSetHandleAsInvalid_PSC.cmd_2394]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandleAsInvalid_PSC\SafeHandleSetHandleAsInvalid_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandleAsInvalid_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[AutoResetEventSet.cmd_2642]
-RelativePath=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventSet\AutoResetEventSet.cmd
-WorkingDir=CoreMangLib\cti\system\threading\autoresetevent\AutoResetEventSet
+[SafeHandleSetHandle_PSC.cmd_2395]
+RelativePath=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandle_PSC\SafeHandleSetHandle_PSC.cmd
+WorkingDir=CoreMangLib\cti\system\runtime\interopservices\safehandle\SafeHandleSetHandle_PSC
 Expected=0
 MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
@@ -8468,46 +4956,6 @@ MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[ManualResetEventCtor.cmd_2657]
-RelativePath=CoreMangLib\cti\system\threading\manualresetevent\ManualResetEventCtor\ManualResetEventCtor.cmd
-WorkingDir=CoreMangLib\cti\system\threading\manualresetevent\ManualResetEventCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[TimeOutInfinite.cmd_2658]
-RelativePath=CoreMangLib\cti\system\threading\timeout\TimeOutInfinite\TimeOutInfinite.cmd
-WorkingDir=CoreMangLib\cti\system\threading\timeout\TimeOutInfinite
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WaitHandleCtor.cmd_2659]
-RelativePath=CoreMangLib\cti\system\threading\waithandle\WaitHandleCtor\WaitHandleCtor.cmd
-WorkingDir=CoreMangLib\cti\system\threading\waithandle\WaitHandleCtor
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WaitHandleDispose1.cmd_2660]
-RelativePath=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose1\WaitHandleDispose1.cmd
-WorkingDir=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WaitHandleDispose3.cmd_2661]
-RelativePath=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose3\WaitHandleDispose3.cmd
-WorkingDir=CoreMangLib\cti\system\threading\waithandle\WaitHandleDispose3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
 [TypeEquals1.cmd_2693]
 RelativePath=CoreMangLib\cti\system\type\TypeEquals1\TypeEquals1.cmd
 WorkingDir=CoreMangLib\cti\system\type\TypeEquals1
@@ -8644,542 +5092,6 @@ MaxAllowedDurationSeconds=600
 Categories=Pri1;RT;EXPECTED_PASS
 HostStyle=0
 
-[UInt16CompareTo1.cmd_2731]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16CompareTo1\UInt16CompareTo1.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16CompareTo1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16Equals1.cmd_2732]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16Equals1\UInt16Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16Equals2.cmd_2733]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16Equals2\UInt16Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToBoolean.cmd_2734]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToBoolean\UInt16IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToByte.cmd_2735]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToByte\UInt16IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToChar.cmd_2736]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToChar\UInt16IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToDateTime.cmd_2737]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDateTime\UInt16IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToDecimal.cmd_2738]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDecimal\UInt16IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToDouble.cmd_2739]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDouble\UInt16IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToInt16.cmd_2740]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt16\UInt16IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToInt32.cmd_2741]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt32\UInt16IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToInt64.cmd_2742]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt64\UInt16IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToSByte.cmd_2743]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSByte\UInt16IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToSingle.cmd_2744]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSingle\UInt16IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToType.cmd_2745]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToType\UInt16IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToUInt16.cmd_2746]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt16\UInt16IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToUInt32.cmd_2747]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt32\UInt16IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16IConvertibleToUInt64.cmd_2748]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt64\UInt16IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16ToString3.cmd_2752]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16ToString3\UInt16ToString3.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16ToString3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt16ToString4.cmd_2753]
-RelativePath=CoreMangLib\cti\system\uint16\UInt16ToString4\UInt16ToString4.cmd
-WorkingDir=CoreMangLib\cti\system\uint16\UInt16ToString4
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32CompareTo2.cmd_2755]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32CompareTo2\UInt32CompareTo2.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32CompareTo2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32Equals1.cmd_2756]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32Equals1\UInt32Equals1.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32Equals1
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32Equals2.cmd_2757]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32Equals2\UInt32Equals2.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32Equals2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32GetHashCode.cmd_2758]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32GetHashCode\UInt32GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToBoolean.cmd_2759]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToBoolean\UInt32IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToByte.cmd_2760]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToByte\UInt32IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToChar.cmd_2761]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToChar\UInt32IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToDecimal.cmd_2762]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDecimal\UInt32IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToDouble.cmd_2763]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDouble\UInt32IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToInt16.cmd_2764]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt16\UInt32IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToInt32.cmd_2765]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt32\UInt32IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToInt64.cmd_2766]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt64\UInt32IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToSByte.cmd_2767]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSByte\UInt32IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToSingle.cmd_2768]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSingle\UInt32IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToType.cmd_2769]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToType\UInt32IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToUInt16.cmd_2770]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt16\UInt32IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToUInt32.cmd_2771]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt32\UInt32IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32IConvertibleToUInt64.cmd_2772]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt64\UInt32IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32MaxValue.cmd_2773]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32MaxValue\UInt32MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32MinValue.cmd_2774]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32MinValue\UInt32MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt32ToString2.cmd_2778]
-RelativePath=CoreMangLib\cti\system\uint32\UInt32ToString2\UInt32ToString2.cmd
-WorkingDir=CoreMangLib\cti\system\uint32\UInt32ToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64GetHashCode.cmd_2780]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64GetHashCode\UInt64GetHashCode.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64GetHashCode
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToBoolean.cmd_2781]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToBoolean\UInt64IConvertibleToBoolean.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToBoolean
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToByte.cmd_2782]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToByte\UInt64IConvertibleToByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToChar.cmd_2783]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToChar\UInt64IConvertibleToChar.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToChar
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToDateTime.cmd_2784]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDateTime\UInt64IConvertibleToDateTime.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDateTime
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToDecimal.cmd_2785]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDecimal\UInt64IConvertibleToDecimal.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDecimal
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToDouble.cmd_2786]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDouble\UInt64IConvertibleToDouble.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToDouble
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToInt16.cmd_2787]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt16\UInt64IConvertibleToInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToInt32.cmd_2788]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt32\UInt64IConvertibleToInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToInt64.cmd_2789]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt64\UInt64IConvertibleToInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToSByte.cmd_2790]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSByte\UInt64IConvertibleToSByte.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSByte
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToSingle.cmd_2791]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSingle\UInt64IConvertibleToSingle.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToSingle
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToType.cmd_2792]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToType\UInt64IConvertibleToType.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToType
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToUInt16.cmd_2793]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt16\UInt64IConvertibleToUInt16.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt16
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToUInt32.cmd_2794]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt32\UInt64IConvertibleToUInt32.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt32
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64IConvertibleToUInt64.cmd_2795]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt64\UInt64IConvertibleToUInt64.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64IConvertibleToUInt64
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64MaxValue.cmd_2796]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64MaxValue\UInt64MaxValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64MaxValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64MinValue.cmd_2797]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64MinValue\UInt64MinValue.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64MinValue
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[UInt64ToString2.cmd_2801]
-RelativePath=CoreMangLib\cti\system\uint64\UInt64ToString2\UInt64ToString2.cmd
-WorkingDir=CoreMangLib\cti\system\uint64\UInt64ToString2
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WeakReferenceCtor1_PSC.cmd_2826]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceCtor1_PSC\WeakReferenceCtor1_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceCtor1_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WeakReferenceCtor2b_PSC.cmd_2827]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2b_PSC\WeakReferenceCtor2b_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2b_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WeakReferenceCtor2_PSC.cmd_2828]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2_PSC\WeakReferenceCtor2_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceCtor2_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WeakReferenceIsAliveb_PSC.cmd_2829]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceIsAliveb_PSC\WeakReferenceIsAliveb_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceIsAliveb_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WeakReferenceIsAlive_PSC.cmd_2830]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceIsAlive_PSC\WeakReferenceIsAlive_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceIsAlive_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WeakReferenceTargetb_PSC.cmd_2831]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceTargetb_PSC\WeakReferenceTargetb_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceTargetb_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
-[WeakReferenceTrackResurrection_cti_PSC.cmd_2832]
-RelativePath=CoreMangLib\cti\system\weakreference\WeakReferenceTrackResurrection_cti_PSC\WeakReferenceTrackResurrection_cti_PSC.cmd
-WorkingDir=CoreMangLib\cti\system\weakreference\WeakReferenceTrackResurrection_cti_PSC
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=Pri1;RT;EXPECTED_PASS
-HostStyle=0
-
 [ASURT_99893.cmd_2833]
 RelativePath=CoreMangLib\system\buffer\ASURT_99893\ASURT_99893.cmd
 WorkingDir=CoreMangLib\system\buffer\ASURT_99893
@@ -77596,14 +73508,6 @@ MaxAllowedDurationSeconds=600
 Categories=EXPECTED_PASS;NEW;Pri1
 HostStyle=0
 
-[StringReplace3.cmd_11567]
-RelativePath=CoreMangLib\cti\system\string\StringReplace3\StringReplace3.cmd
-WorkingDir=CoreMangLib\cti\system\string\StringReplace3
-Expected=0
-MaxAllowedDurationSeconds=600
-Categories=EXPECTED_PASS;NEW;Pri1
-HostStyle=0
-
 [ArrayJagged.cmd_11569]
 RelativePath=JIT\CodeGenBringUpTests\ArrayJagged_ro\ArrayJagged_ro.cmd
 WorkingDir=JIT\CodeGenBringUpTests\ArrayJagged_ro
index 9c541f6..81b09be 100644 (file)
@@ -57,9 +57,9 @@
   <!-- Target to check the test build, to see if it looks ok. We've had several cases where a change inadvertently and drastically changes
        the set of tests that are built, and that change is unnoticed. The most common case is for a build of the Priority 1 tests
        to only build the Priority 0 tests. This target is run after a test build to verify that the basic number of tests that were
-       built is basically what was expected. When this was written, there were about 2500 Priority 0 tests and about 12270 Priority 1
-       tests (differing slightly based on platform). We currently check that the number of Priority 0 tests is greater than 2000 and
-       less than 3000, and the number of Priority 1 tests is greater than 10000.
+       built is basically what was expected. When this was written, there were about 2500 Priority 0 tests and about 10268 Priority 1
+       tests on Windows, 9976 on Ubuntu (it differs slightly based on platform). We currently check that the number of Priority 0 tests
+       is greater than 2000 and less than 3000, and the number of Priority 1 tests is greater than 9000.
   -->
   <Target Name="CheckTestBuild" DependsOnTargets="GetListOfTestCmds">
     <Error Condition="!Exists('$(XunitTestBinBase)')"
@@ -73,7 +73,7 @@
 
     <Error Condition="'$(CLRTestPriorityToBuild)' == '0' and '$(TestCount)' &lt;= 2000" Text="Unexpected test count. Expected &gt; 2000, found $(TestCount).'" />
     <Error Condition="'$(CLRTestPriorityToBuild)' == '0' and '$(TestCount)' &gt;= 3000" Text="Unexpected test count. Expected &lt; 3000, found $(TestCount).'" />
-    <Error Condition="'$(CLRTestPriorityToBuild)' == '1' and '$(TestCount)' &lt;= 10000" Text="Unexpected test count. Expected &gt; 10000, found $(TestCount).'" />
+    <Error Condition="'$(CLRTestPriorityToBuild)' == '1' and '$(TestCount)' &lt;= 9000" Text="Unexpected test count. Expected &gt; 9000, found $(TestCount).'" />
     <Error Condition="'$(CLRTestPriorityToBuild)' != '0' and '$(CLRTestPriorityToBuild)' != '1'" Text="Unknown priority $(CLRTestPriorityToBuild)" />
   </Target>
 
index a90a0ea..d1b4683 100755 (executable)
@@ -52,12 +52,20 @@ import tempfile
 import time
 import re
 import string
+import zipfile
 
 import xml.etree.ElementTree
 
 from collections import defaultdict
 from sys import platform as _platform
 
+# Version specific imports
+
+if sys.version_info.major < 3:
+    import urllib
+else:
+    import urllib.request
+
 ################################################################################
 # Argument Parser
 ################################################################################
@@ -764,6 +772,52 @@ def run_tests(host_os,
     if test_env is not None:
         os.environ["__TestEnv"] = test_env
 
+    #=====================================================================================================================================================
+    #
+    # This is a workaround needed to unblock our CI (in particular, Linux/arm and Linux/arm64 jobs) from the following failures appearing almost in every
+    # pull request (but hard to reproduce locally)
+    #
+    #   System.IO.FileLoadException: Could not load file or assembly 'Exceptions.Finalization.XUnitWrapper, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
+    #   An operation is not legal in the current state. (Exception from HRESULT: 0x80131509 (COR_E_INVALIDOPERATION))
+    #
+    # COR_E_INVALIDOPERATION comes from System.InvalidOperationException that is thrown during AssemblyLoadContext.ResolveUsingResolvingEvent
+    # when multiple threads attempt to modify an instance of Dictionary (managedAssemblyCache) during Xunit.DependencyContextAssemblyCache.LoadManagedDll call.
+    #
+    # In order to mitigate the failure we built our own xunit.console.dll with ConcurrentDictionary used for managedAssemblyCache and use this instead of
+    # the one pulled from NuGet. The exact code that got built can be found at the following fork of Xunit
+    #  * https://github.com/echesakovMSFT/xunit/tree/UseConcurrentDictionaryInDependencyContextAssemblyCache
+    #
+    # The assembly was built using Microsoft Visual Studio v15.9.0-pre.4.0 Developer Command Prompt using the following commands
+    #  1) git clone https://github.com/echesakovMSFT/xunit.git --branch UseConcurrentDictionaryInDependencyContextAssemblyCache --single-branch
+    #  2) cd xunit
+    #  3) git submodule update --init
+    #  4) powershell .\build.ps1
+    #
+    # Then file "xunit\src\xunit.console\bin\Release\netcoreapp2.0\xunit.console.dll" was archived and uploaded to the clrjit blob storage.
+    #
+    # Ideally, this code should be removed when we find a more robust way of running Xunit tests.
+    #
+    # References:
+    #  * https://github.com/dotnet/coreclr/issues/20392
+    #  * https://github.com/dotnet/coreclr/issues/20594
+    #  * https://github.com/xunit/xunit/issues/1842
+    #  * https://github.com/xunit/xunit/pull/1846
+    #
+    #=====================================================================================================================================================
+
+    print("Download and overwrite xunit.console.dll in Core_Root")
+
+    urlretrieve = urllib.urlretrieve if sys.version_info.major < 3 else urllib.request.urlretrieve
+    zipfilename = os.path.join(tempfile.gettempdir(), "xunit.console.dll.zip")
+    url = r"https://clrjit.blob.core.windows.net/xunit-console/xunit.console.dll.zip"
+    urlretrieve(url, zipfilename)
+
+    with zipfile.ZipFile(zipfilename,"r") as ziparch:
+        ziparch.extractall(core_root)
+
+    os.remove(zipfilename)
+    assert not os.path.isfile(zipfilename)
+
     # Call msbuild.
     return call_msbuild(coreclr_repo_location,
                         dotnetcli_location,
index a710d90..57b21f3 100644 (file)
@@ -290,7 +290,14 @@ def main(args):
 
     config_args = '-Release /p:OSGroup=%s /p:ArchGroup=%s' % (clr_os, arch)
 
-    command = ' '.join(('build.cmd' if Is_windows else './build.sh', config_args))
+    build_args = config_args
+
+    if not Is_windows and arch == 'arm' :
+        # We need to force clang5.0; we are building in a docker container that doesn't have
+        # clang3.9, which is currently the default used by the native build.
+        build_args += ' /p:BuildNativeClang=--clang5.0'
+
+    command = ' '.join(('build.cmd' if Is_windows else './build.sh', build_args))
     log(command)
     returncode = 0 if testing else os.system(command)
     if returncode != 0:
@@ -305,6 +312,7 @@ def main(args):
     # corefx msbuild files somewhere.
 
     fx_runtime = os.path.join(fx_root,
+                             'artifacts',
                              'bin',
                              'testhost',
                              'netcoreapp-%s-%s-%s' % (clr_os, 'Release', arch),
index f16b816..6033ed9 100644 (file)
 #
 # Notes:
 #
+# TODO: Instead of downloading and extracting the dotnet CLI, can we convert
+# to using init-tools.cmd/sh and the Tools/dotnetcli "last known good"
+# version? (This maybe should be done for format.py as well.)
+#
 # Script to automate running PMI diffs on a pull request
 #
 ##########################################################################
@@ -37,6 +41,14 @@ testing = False
 Coreclr_url = 'https://github.com/dotnet/coreclr.git'
 Jitutils_url = 'https://github.com/dotnet/jitutils.git'
 
+# The Docker file and possibly options should be hoisted out to a text file to be shared between scripts.
+
+Docker_name_arm32 = 'microsoft/dotnet-buildtools-prereqs:ubuntu-14.04-cross-e435274-20180426002420'
+Docker_opts_arm32 = '-e ROOTFS_DIR=/crossrootfs/arm -e CAC_ROOTFS_DIR=/crossrootfs/x86'
+
+Docker_name_arm64 = 'microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-cross-arm64-a3ae44b-20180315221921'
+Docker_opts_arm64 = '-e ROOTFS_DIR=/crossrootfs/arm64'
+
 # This should be factored out of build.sh
 Unix_name_map = {
     'Linux': 'Linux',
@@ -48,7 +60,7 @@ Unix_name_map = {
 }
 
 Is_windows = (os.name == 'nt')
-clr_os = 'Windows_NT' if Is_windows else Unix_name_map[os.uname()[0]]
+Clr_os = 'Windows_NT' if Is_windows else Unix_name_map[os.uname()[0]]
 
 ##########################################################################
 # Delete protocol
@@ -70,20 +82,39 @@ parser = argparse.ArgumentParser(description=description)
 # coreclr tree and build it. If base_root is passed, we'll use it, and not
 # clone or build the base.
 
-# TODO: need to fix parser so -skip_baseline_build / -skip_diffs don't take an argument
-
 parser.add_argument('-arch', dest='arch', default='x64')
 parser.add_argument('-ci_arch', dest='ci_arch', default=None)
 parser.add_argument('-build_type', dest='build_type', default='Checked')
 parser.add_argument('-base_root', dest='base_root', default=None)
 parser.add_argument('-diff_root', dest='diff_root', default=None)
 parser.add_argument('-scratch_root', dest='scratch_root', default=None)
-parser.add_argument('-skip_baseline_build', dest='skip_baseline_build', default=False)
-parser.add_argument('-skip_diffs', dest='skip_diffs', default=False)
+parser.add_argument('--skip_baseline_build', dest='skip_baseline_build', action='store_true', default=False)
+parser.add_argument('--skip_diffs', dest='skip_diffs', action='store_true', default=False)
 parser.add_argument('-target_branch', dest='target_branch', default='master')
 parser.add_argument('-commit_hash', dest='commit_hash', default=None)
 
 ##########################################################################
+# Class to change the current directory, and automatically restore the
+# directory back to what it used to be, on exit.
+##########################################################################
+
+class ChangeDir:
+    def __init__(self, dir):
+        self.dir = dir
+        self.cwd = None
+
+    def __enter__(self):
+        self.cwd = os.getcwd()
+        log('[cd] %s' % self.dir)
+        if not testing:
+            os.chdir(self.dir)
+
+    def __exit__(self, exc_type, exc_val, exc_tb):
+        log('[cd] %s' % self.cwd)
+        if not testing:
+            os.chdir(self.cwd)
+
+##########################################################################
 # Helper Functions
 ##########################################################################
 
@@ -95,8 +126,8 @@ def validate_args(args):
         (arch, ci_arch, build_type, base_root, diff_root, scratch_root, skip_baseline_build, skip_diffs, target_branch, commit_hash)
             (str, str, str, str, str, str, bool, bool, str, str)
     Notes:
-    If the arguments are valid then return them all in a tuple. If not, raise
-    an exception stating x argument is incorrect.
+        If the arguments are valid then return them all in a tuple. If not, raise
+        an exception stating x argument is incorrect.
     """
 
     arch = args.arch
@@ -143,7 +174,7 @@ def validate_args(args):
         validate_arg(diff_root, lambda item: os.path.isdir(diff_root))
 
     if scratch_root is None:
-        scratch_root = os.path.join(diff_root, '_')
+        scratch_root = os.path.join(diff_root, '_', 'pmi')
     else:
         scratch_root = os.path.abspath(scratch_root)
 
@@ -215,6 +246,27 @@ def copy_files(source_dir, target_dir):
             if not testing:
                 shutil.copy2(source_pathname, target_pathname)
 
+def run_command(command, command_env):
+    """ Run a command (process) in a given environment. stdout/stderr are output piped through.
+    Args:
+        command (array): the command to run, with components of the command as separate elements.
+        command_env (map): environment in which the command should be run
+    Returns:
+        The return code of the command.
+    """
+
+    returncode = 0
+
+    log('Invoking: %s' % (' '.join(command)))
+    if not testing:
+        proc = subprocess.Popen(command, env=command_env)
+        output,error = proc.communicate()
+        returncode = proc.returncode
+        if returncode != 0:
+            log('Return code = %s' % returncode)
+
+    return returncode
+
 ##########################################################################
 # Do baseline build:
 # 1. determine appropriate commit,
@@ -243,70 +295,59 @@ def baseline_build():
 
     # Change directory to the baseline root
 
-    cwd = os.getcwd()
-    log('[cd] %s' % baseCoreClrPath)
-    if not testing:
-        os.chdir(baseCoreClrPath)
-
-    # Set up for possible docker usage
-
-    scriptPath = '.'
-    buildOpts = ''
-    dockerCmd = ''
-    if not Is_windows and (arch == 'arm' or arch == 'arm64'):
-        # Linux arm and arm64 builds are cross-compilation builds using Docker.
-        if arch == 'arm':
-            dockerFile = 'microsoft/dotnet-buildtools-prereqs:ubuntu-14.04-cross-e435274-20180426002420'
-            dockerOpts = '-e ROOTFS_DIR=/crossrootfs/arm -e CAC_ROOTFS_DIR=/crossrootfs/x86'
-        else:
-            # arch == 'arm64'
-            dockerFile = 'microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-cross-arm64-a3ae44b-20180315221921'
-            dockerOpts = '-e ROOTFS_DIR=/crossrootfs/arm64'
+    with ChangeDir(baseCoreClrPath):
 
-        dockerCmd = 'docker run -i --rm -v %s:%s -w %s %s %s ' % (baseCoreClrPath, baseCoreClrPath, baseCoreClrPath, dockerOpts, dockerFile)
-        buildOpts = 'cross crosscomponent'
-        scriptPath = baseCoreClrPath
+        # Set up for possible docker usage
 
-    # Build a checked baseline jit 
+        scriptPath = '.'
+        buildOpts = ''
+        dockerCmd = ''
+        if not Is_windows and (arch == 'arm' or arch == 'arm64'):
+            # Linux arm and arm64 builds are cross-compilation builds using Docker.
+            if arch == 'arm':
+                dockerFile = Docker_name_arm32
+                dockerOpts = Docker_opts_arm32
+            else:
+                # arch == 'arm64'
+                dockerFile = Docker_name_arm64
+                dockerOpts = Docker_opts_arm64
 
-    if Is_windows:
-        command = 'set __TestIntermediateDir=int&&build.cmd %s checked skiptests skipbuildpackages' % arch
-    else:
-        command = '%s%s/build.sh %s checked skiptests skipbuildpackages %s' % (dockerCmd, scriptPath, arch, buildOpts)
-    log(command)
-    returncode = 0 if testing else os.system(command)
-    if returncode != 0:
-        log('ERROR: build failed')
-        return 1
-
-    # Build the layout (Core_Root) directory
+            dockerCmd = 'docker run -i --rm -v %s:%s -w %s %s %s ' % (baseCoreClrPath, baseCoreClrPath, baseCoreClrPath, dockerOpts, dockerFile)
+            buildOpts = 'cross crosscomponent'
+            scriptPath = baseCoreClrPath
 
-    # For Windows, you need to first do a restore. It's unfortunately complicated. Run:
-    #   run.cmd build -Project="tests\build.proj" -BuildOS=Windows_NT -BuildType=Checked -BuildArch=x64 -BatchRestorePackages
+        # Build a checked baseline jit 
 
-    if Is_windows:
-        command = 'run.cmd build -Project="tests\\build.proj" -BuildOS=Windows_NT -BuildType=%s -BuildArch=%s -BatchRestorePackages' % (build_type, arch)
+        if Is_windows:
+            command = 'set __TestIntermediateDir=int&&build.cmd %s checked skiptests skipbuildpackages' % arch
+        else:
+            command = '%s%s/build.sh %s checked skiptests skipbuildpackages %s' % (dockerCmd, scriptPath, arch, buildOpts)
         log(command)
         returncode = 0 if testing else os.system(command)
         if returncode != 0:
-            log('ERROR: restoring packages failed')
+            log('ERROR: build failed')
             return 1
 
-    if Is_windows:
-        command = 'tests\\runtest.cmd %s checked GenerateLayoutOnly' % arch
-    else:
-        command = '%s%s/build-test.sh %s checked generatelayoutonly' % (dockerCmd, scriptPath, arch)
-    log(command)
-    returncode = 0 if testing else os.system(command)
-    if returncode != 0:
-        log('ERROR: generating layout failed')
-        return 1
+        # Build the layout (Core_Root) directory
+        # For Windows, invoke build-test.cmd to restore packages before generating the layout.
 
-    # After baseline build, change directory back to where we started
+        if Is_windows:
+            command = 'build-test.cmd %s %s skipmanaged skipnative' % (build_type, arch)
+            log(command)
+            returncode = 0 if testing else os.system(command)
+            if returncode != 0:
+                log('ERROR: restoring packages failed')
+                return 1
 
-    log('[cd] %s' % cwd)
-    if not testing:
-        os.chdir(cwd)
+        if Is_windows:
+            command = 'tests\\runtest.cmd %s checked GenerateLayoutOnly' % arch
+        else:
+            command = '%s%s/build-test.sh %s checked generatelayoutonly' % (dockerCmd, scriptPath, arch)
+        log(command)
+        returncode = 0 if testing else os.system(command)
+        if returncode != 0:
+            log('ERROR: generating layout failed')
+            return 1
 
     return 0
 
@@ -315,18 +356,17 @@ def baseline_build():
 # 1. download dotnet CLI (needed by jitutils)
 # 2. clone jitutils repo
 # 3. build jitutils
-# 4. run PMI asm generation on baseline
-# 5. run PMI asm generation on diff
-# 6. run jit-analyze to compare baseline and diff
+# 4. run PMI asm generation on baseline and diffs
+# 5. run jit-analyze to compare baseline and diff
 ##########################################################################
 
 def do_pmi_diffs():
     global baseCoreClrPath
 
     # Setup scratch directories. Names are short to avoid path length problems on Windows.
-    dotnetcliPath = os.path.abspath(os.path.join(scratch_root, '_d'))
-    jitutilsPath = os.path.abspath(os.path.join(scratch_root, '_j'))
-    asmRootPath = os.path.abspath(os.path.join(scratch_root, '_asm'))
+    dotnetcliPath = os.path.abspath(os.path.join(scratch_root, 'cli'))
+    jitutilsPath = os.path.abspath(os.path.join(scratch_root, 'jitutils'))
+    asmRootPath = os.path.abspath(os.path.join(scratch_root, 'asm'))
 
     dotnet_tool = 'dotnet.exe' if Is_windows else 'dotnet'
 
@@ -348,12 +388,7 @@ def do_pmi_diffs():
                     temp_env["PATH"] = dotnetcliPath + os.pathsep + my_env["PATH"]
                     log('Shutting down build servers')
                     command = ["dotnet", "build-server", "shutdown"]
-                    log('Invoking: %s' % (' '.join(command)))
-                    proc = subprocess.Popen(command, env=temp_env)
-                    output,error = proc.communicate()
-                    returncode = proc.returncode
-                    if returncode != 0:
-                        log('Return code = %s' % returncode)
+                    returncode = run_command(command, temp_env)
 
                     # Try again
                     log('Trying again to remove existing tree: %s' % dotnetcliPath)
@@ -381,7 +416,7 @@ def do_pmi_diffs():
                 log('ERROR: cannot create jitutils install directory %s' % jitutilsPath)
                 return 1
             if not os.path.isdir(asmRootPath):
-                log('ERROR: cannot create diff directory %s' % asmRootPath)
+                log('ERROR: cannot create asm directory %s' % asmRootPath)
                 return 1
 
     log('dotnet CLI install directory: %s' % dotnetcliPath)
@@ -395,19 +430,26 @@ def do_pmi_diffs():
     dotnetcliUrl = ""
     dotnetcliFilename = ""
 
-    if clr_os == 'Linux':
+    if Clr_os == 'Linux' and arch == 'x64':
         dotnetcliUrl = "https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.402/dotnet-sdk-2.1.402-linux-x64.tar.gz"
-        dotnetcliFilename = os.path.join(dotnetcliPath, 'dotnetcli-jitutils.tar.gz')
-    elif clr_os == 'OSX':
+    elif Clr_os == 'Linux' and arch == 'arm':
+        dotnetcliUrl = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.4xx/dotnet-sdk-latest-linux-arm.tar.gz"
+    elif Clr_os == 'Linux' and arch == 'arm64':
+        # Use the latest (3.0) dotnet SDK. Earlier versions don't work.
+        dotnetcliUrl = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-linux-arm64.tar.gz"
+    elif Clr_os == 'OSX':
         dotnetcliUrl = "https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.402/dotnet-sdk-2.1.402-osx-x64.tar.gz"
-        dotnetcliFilename = os.path.join(dotnetcliPath, 'dotnetcli-jitutils.tar.gz')
-    elif clr_os == 'Windows_NT':
+    elif Clr_os == 'Windows_NT':
         dotnetcliUrl = "https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.402/dotnet-sdk-2.1.402-win-x64.zip"
-        dotnetcliFilename = os.path.join(dotnetcliPath, 'dotnetcli-jitutils.zip')
     else:
-        log('ERROR: unknown or unsupported OS %s' % os)
+        log('ERROR: unknown or unsupported OS (%s) architecture (%s) combination' % (Clr_os, arch))
         return 1
 
+    if Is_windows:
+        dotnetcliFilename = os.path.join(dotnetcliPath, 'dotnetcli-jitutils.zip')
+    else:
+        dotnetcliFilename = os.path.join(dotnetcliPath, 'dotnetcli-jitutils.tar.gz')
+
     log('Downloading: %s => %s' % (dotnetcliUrl, dotnetcliFilename))
 
     if not testing:
@@ -451,160 +493,117 @@ def do_pmi_diffs():
         log('ERROR: cannot clone jitutils');
         return 1
 
-    #
-    # Build jitutils, including "dotnet restore"
-    #
+    # We're going to start running dotnet CLI commands. Unfortunately, once you've done that,
+    # the dotnet CLI sticks around with a set of build server processes running. Put all this
+    # in a try/finally, and stop the build servers under any circumstance.
 
-    # Change directory to the jitutils root
+    try:
 
-    cwd = os.getcwd()
-    log('[cd] %s' % jitutilsPath)
-    if not testing:
-        os.chdir(jitutilsPath)
+        #
+        # Build jitutils, including "dotnet restore"
+        #
 
-    # Do "dotnet restore"
+        # Change directory to the jitutils root
 
-    command = ["dotnet", "restore"]
-    log('Invoking: %s' % (' '.join(command)))
-    if not testing:
-        proc = subprocess.Popen(command, env=my_env)
-        output,error = proc.communicate()
-        returncode = proc.returncode
-        if returncode != 0:
-            log('Return code = %s' % returncode)
+        with ChangeDir(jitutilsPath):
 
-    # Do build
+            # Do "dotnet restore"
 
-    command = ['build.cmd' if Is_windows else 'build.sh', '-p']
-    log('Invoking: %s' % (' '.join(command)))
-    if not testing:
-        proc = subprocess.Popen(command, env=my_env)
-        output,error = proc.communicate()
-        returncode = proc.returncode
-        if returncode != 0:
-            log('Return code = %s' % returncode)
-            log('ERROR: jitutils build failed')
-            return 1
+            command = ["dotnet", "restore"]
+            returncode = run_command(command, my_env)
 
-    jitutilsBin = os.path.join(jitutilsPath, "bin")
+            # Do build
 
-    if not testing and not os.path.isdir(jitutilsBin):
-        log("ERROR: jitutils not correctly built")
-        return 1
+            command = ['build.cmd', '-p'] if Is_windows else ['bash', './build.sh', '-p']
+            returncode = run_command(command, my_env)
+            if returncode != 0:
+                log('ERROR: jitutils build failed')
+                return 1
 
-    jitDiffPath = os.path.join(jitutilsBin, "jit-diff.dll")
-    if not testing and not os.path.isfile(jitDiffPath):
-        log("ERROR: jit-diff.dll not built")
-        return 1
+            jitutilsBin = os.path.join(jitutilsPath, "bin")
 
-    jitAnalyzePath = os.path.join(jitutilsBin, "jit-analyze.dll")
-    if not testing and not os.path.isfile(jitAnalyzePath):
-        log("ERROR: jit-analyze.dll not built")
-        return 1
+            if not testing and not os.path.isdir(jitutilsBin):
+                log("ERROR: jitutils not correctly built")
+                return 1
 
-    # Add jitutils bin to path for spawned processes
+            jitDiffPath = os.path.join(jitutilsBin, "jit-diff.dll")
+            if not testing and not os.path.isfile(jitDiffPath):
+                log("ERROR: jit-diff.dll not built")
+                return 1
 
-    log('Add %s to my PATH' % jitutilsBin)
-    my_env["PATH"] = jitutilsBin + os.pathsep + my_env["PATH"]
+            jitAnalyzePath = os.path.join(jitutilsBin, "jit-analyze.dll")
+            if not testing and not os.path.isfile(jitAnalyzePath):
+                log("ERROR: jit-analyze.dll not built")
+                return 1
 
-    # After baseline build, change directory back to where we started
+            # Add jitutils bin to path for spawned processes
 
-    log('[cd] %s' % cwd)
-    if not testing:
-        os.chdir(cwd)
+            log('Add %s to my PATH' % jitutilsBin)
+            my_env["PATH"] = jitutilsBin + os.pathsep + my_env["PATH"]
 
-    #
-    # Run PMI asm diffs
-    #
+        #
+        # Run PMI asm diffs
+        #
 
-    # We continue through many failures, to get as much asm generated as possible. But make sure we return
-    # a failure code if there are any failures.
+        # We want this script as a whole to return 0 if it succeeds (even if there are diffs) and only
+        # return non-zero if there are any fatal errors.
+        #
+        # TO DO: figure out how to differentiate fatal errors and a return code indicating there are diffs,
+        # and have the invoking netci.groovy code act differently for each case.
 
-    result = 0
+        # Generate the diffs
+        #
+        # Invoke command like:
+        #   dotnet c:\gh\jitutils\bin\jit-diff.dll diff --pmi --base --base_root f:\gh\coreclr12 --diff --diff_root f:\gh\coreclr10 --arch x64 --build Checked --tag 1 --noanalyze --output f:\output --corelib
+        #
+        # We pass --noanalyze and call jit-analyze manually. This isn't really necessary, but it does give us better output
+        # due to https://github.com/dotnet/jitutils/issues/175.
 
-    # First, generate the diffs
+        altjit_args = []
+        if ci_arch is not None and (ci_arch == 'x86_arm_altjit' or ci_arch == 'x64_arm64_altjit'):
+            altjit_args = ["--altjit", "protononjit.dll"]
 
-    # Invoke command like:
-    #   dotnet c:\gh\jitutils\bin\jit-diff.dll diff --pmi --corelib --diff --diff_root f:\gh\coreclr10 --arch x64 --build Checked --tag diff --output f:\output\diffs
-    #
-    # TODO: Fix issues when invoking this from a script:
-    # 1. There is no way to turn off the progress output
-    # 2. Make it easier to specify the exact directory you want output to go to?
-    # 3. run base and diff with a single command?
-    # 4. put base and diff in saner directory names.
+        # Over which set of assemblies should we generate asm?
+        # TODO: parameterize this
+        asm_source_args = ["--frameworks", "--benchmarks"]
 
-    altjit_args = []
-    if ci_arch is not None and (ci_arch == 'x86_arm_altjit' or ci_arch == 'x64_arm64_altjit'):
-        altjit_args = ["--altjit", "protononjit.dll"]
+        command = ["dotnet", jitDiffPath, "diff", "--pmi", "--base", "--base_root", baseCoreClrPath, "--diff", "--diff_root", diff_root, "--arch", arch, "--build", build_type, "--tag", "1", "--noanalyze", "--output", asmRootPath] + asm_source_args + altjit_args
+        returncode = run_command(command, my_env)
 
-    # Over which set of assemblies should we generate asm?
-    # TODO: parameterize this
-    asm_source_args = ["--corelib"]
-    # asm_source_args = ["--frameworks"]
+        # We ignore the return code: it is non-zero if there are any diffs. If there are fatal errors here, we will miss them.
+        # Question: does jit-diff distinguish between non-zero fatal error code and the existence of diffs?
 
-    command = ["dotnet", jitDiffPath, "diff", "--pmi", "--diff", "--diff_root", diff_root, "--arch", arch, "--build", build_type, "--tag", "diff", "--output", asmRootPath] + asm_source_args + altjit_args
-    log('Invoking: %s' % (' '.join(command)))
-    if not testing:
-        proc = subprocess.Popen(command, env=my_env)
-        output,error = proc.communicate()
-        returncode = proc.returncode
-        if returncode != 0:
-            log('Return code = %s' % returncode)
-            result = 1
-
-    # Did we get any diffs?
-
-    diffOutputDir = os.path.join(asmRootPath, "diff", "diff")
-    if not testing and not os.path.isdir(diffOutputDir):
-        log("ERROR: diff asm not generated")
-        return 1
-
-    # Next, generate the baseline asm
-
-    command = ["dotnet", jitDiffPath, "diff", "--pmi", "--base", "--base_root", baseCoreClrPath, "--arch", arch, "--build", build_type, "--tag", "base", "--output", asmRootPath] + asm_source_args + altjit_args
-    log('Invoking: %s' % (' '.join(command)))
-    if not testing:
-        proc = subprocess.Popen(command, env=my_env)
-        output,error = proc.communicate()
-        returncode = proc.returncode
-        if returncode != 0:
-            log('Return code = %s' % returncode)
-            result = 1
+        # Did we get any diffs?
 
-    # Did we get any diffs?
+        baseOutputDir = os.path.join(asmRootPath, "1", "base")
+        if not testing and not os.path.isdir(baseOutputDir):
+            log("ERROR: base asm not generated")
+            return 1
 
-    baseOutputDir = os.path.join(asmRootPath, "base", "base")
-    if not testing and not os.path.isdir(baseOutputDir):
-        log("ERROR: base asm not generated")
-        return 1
+        diffOutputDir = os.path.join(asmRootPath, "1", "diff")
+        if not testing and not os.path.isdir(diffOutputDir):
+            log("ERROR: diff asm not generated")
+            return 1
 
-    # Do the jit-analyze comparison:
-    #   dotnet c:\gh\jitutils\bin\jit-analyze.dll --base f:\output\diffs\base\diff --recursive --diff f:\output\diffs\diff\diff
+        # Do the jit-analyze comparison:
+        #   dotnet c:\gh\jitutils\bin\jit-analyze.dll --base f:\output\diffs\1\base --recursive --diff f:\output\diffs\1\diff
 
-    command = ["dotnet", jitAnalyzePath, "--base", baseOutputDir, "--diff", diffOutputDir]
-    log('Invoking: %s' % (' '.join(command)))
-    if not testing:
-        proc = subprocess.Popen(command, env=my_env)
-        output,error = proc.communicate()
-        returncode = proc.returncode
+        command = ["dotnet", jitAnalyzePath, "--recursive", "--base", baseOutputDir, "--diff", diffOutputDir]
+        returncode = run_command(command, my_env)
         if returncode != 0:
-            log('Return code = %s' % returncode)
+            # This is not a fatal error.
             log('Compare: %s %s' % (baseOutputDir, diffOutputDir))
 
-    # Shutdown the dotnet build servers before cleaning things up
-    # TODO: make this shutdown happen anytime after we've run any 'dotnet' commands. I.e., try/finally style.
+    finally:
 
-    log('Shutting down build servers')
-    command = ["dotnet", "build-server", "shutdown"]
-    log('Invoking: %s' % (' '.join(command)))
-    if not testing:
-        proc = subprocess.Popen(command, env=my_env)
-        output,error = proc.communicate()
-        returncode = proc.returncode
-        if returncode != 0:
-            log('Return code = %s' % returncode)
+        # Shutdown the dotnet build servers before cleaning things up
+        # TODO: make this shutdown happen anytime after we've run any 'dotnet' commands. I.e., try/finally style.
+
+        log('Shutting down build servers')
+        command = ["dotnet", "build-server", "shutdown"]
+        returncode = run_command(command, my_env)
 
-    return result
+    return 0
 
 ##########################################################################
 # Main
@@ -632,7 +631,7 @@ def main(args):
     diff_layout_root = os.path.join(diff_root,
                                     'bin',
                                     'tests',
-                                    '%s.%s.%s' % (clr_os, arch, build_type),
+                                    '%s.%s.%s' % (Clr_os, arch, build_type),
                                     'Tests',
                                     'Core_Root')
 
@@ -656,7 +655,7 @@ def main(args):
     if base_root is None:
         # Setup scratch directories. Names are short to avoid path length problems on Windows.
         # No need to create this directory now, as the "git clone" will do it later.
-        baseCoreClrPath = os.path.abspath(os.path.join(scratch_root, '_c'))
+        baseCoreClrPath = os.path.abspath(os.path.join(scratch_root, 'base'))
     else:
         baseCoreClrPath = os.path.abspath(base_root)
         if not testing and not os.path.isdir(baseCoreClrPath):
@@ -675,7 +674,7 @@ def main(args):
     base_layout_root = os.path.join(baseCoreClrPath,
                                     'bin',
                                     'tests',
-                                    '%s.%s.%s' % (clr_os, arch, build_type),
+                                    '%s.%s.%s' % (Clr_os, arch, build_type),
                                     'Tests',
                                     'Core_Root')
 
index 6d0afc4..877c061 100644 (file)
@@ -245,19 +245,8 @@ fi
       </PropertyGroup>
       <PropertyGroup>
       <_CLRTestRunFile Condition="'$(CLRTestIsHosted)'=='true'">"$CORE_ROOT/corerun"</_CLRTestRunFile>
-      <BashCLRTestLaunchCmds><![CDATA[
-if [ -z "$DoLink" -a ! -z "$RunningIlasmRoundTrip" ];
-then
-  echo $(_CLRTestRunFile) $(TargetAssemblyName) $CLRTestExecutionArguments
-  $(_CLRTestRunFile) $(TargetAssemblyName) $CLRTestExecutionArguments
-  if [  $? -ne $CLRTestExpectedExitCode ]
-  then
-    echo END EXECUTION OF IL{D}ASM BINARY - FAILED $? vs $CLRTestExpectedExitCode
-    echo FAILED
-    exit 1
-  fi
-fi
-      ]]></BashCLRTestLaunchCmds>
+      
+      <BashCLRTestLaunchCmds>$(BashIlrtTestLaunchCmds)</BashCLRTestLaunchCmds>
 
       <BashCLRTestLaunchCmds Condition="'$(CLRTestKind)' == 'BuildAndRun'">
     <![CDATA[
index 1b1d36e..34a2e21 100644 (file)
@@ -79,16 +79,28 @@ IF NOT "%COMPlus_GCStress%"=="" (
       <BatchCLRTestEnvironmentCompatibilityCheck Condition="'$(JitOptimizationSensitive)' == 'true'">
     <![CDATA[
 $(BatchCLRTestEnvironmentCompatibilityCheck)
-IF "%COMPlus_JitStress%"=="" IF "%COMPlus_JitStressRegs%"=="" IF "%COMPlus_JITMinOpts%"=="" IF "%COMPlus_TailcallStress%"=="" IF "%COMPlus_TieredCompilation%"=="" goto :Compatible1
+REM JitOptimizationSensitive includes our set of tests which cannot run under:
+REM     JitMinOpts=1
+REM     JitStress=*
+REM     JitStressRegs=*
+REM     TailcallStress=1
+REM
+REM TieredCompilation will use minopts. Therefore it is also included in this
+REM set. Unlike the rest, TieredCompilation=0 should run the JitOptimizationSensitive
+REM tests. The following cannot run the test.
+REN
+REM     TieredCompilation=1
+REM     TieredCompilation=
+IF "%COMPlus_JitStress%"=="" IF "%COMPlus_JitStressRegs%"=="" IF "%COMPlus_JITMinOpts%"=="" IF "%COMPlus_TailcallStress%"=="" goto :Compatible
   ECHO SKIPPING EXECUTION BECAUSE ONE OR MORE OF (COMPlus_JitStress, COMPlus_JitStressRegs, COMPlus_JITMinOpts, COMPlus_TailcallStress, COMPlus_TieredCompilation) IS SET
   popd
   Exit /b 0
-:Compatible1
-IF "%COMPlus_TieredCompilation%"=="0" goto :Compatible2
+:Compatible
+IF "%COMPlus_TieredCompilation%"=="0" goto :TieredCompilationDisabledCorrectly
   ECHO SKIPPING EXECUTION BECAUSE COMPlus_TieredCompilation has not been disabled and this test is marked JitOptimizationSensitive
   popd
   Exit /b 0
-:Compatible2
+:TieredCompilationDisabledCorrectly
       ]]></BatchCLRTestEnvironmentCompatibilityCheck>
       <BatchCLRTestEnvironmentCompatibilityCheck Condition="'$(HeapVerifyIncompatible)' == 'true'"><![CDATA[
 $(BatchCLRTestEnvironmentCompatibilityCheck)
index 1dd872c..61e7155 100644 (file)
@@ -68,9 +68,13 @@ if defined RunningJitDisasm (
     </PropertyGroup>
   </Target>
 
+  <PropertyGroup>
+    <IlrtTestKind Condition="'$(IlrtTestKind)' == ''">$(CLRTestKind)</IlrtTestKind>
+  </PropertyGroup>
+
   <Target
       Name="GetIlasmRoundTripBashScript"
-      Returns="$(IlasmRoundTripBashScript)">
+      Returns="$(IlasmRoundTripBashScript);$(BashIlrtTestLaunchCmds)">
     <PropertyGroup>
       <InputAssemblyName Condition="'$(CLRTestKind)' == 'RunOnly'">$([MSBuild]::MakeRelative($(OutputPath), $(_CLRTestToRunFileFullPath)).Replace("\","/"))</InputAssemblyName>
       <InputAssemblyName Condition="'$(CLRTestKind)' == 'BuildAndRun'">$(MSBuildProjectName).exe</InputAssemblyName>
@@ -106,6 +110,22 @@ then
 fi
         ]]>
       </IlasmRoundTripBashScript>
+      
+      <BashIlrtTestLaunchCmds Condition="'$(IlrtTestKind)' != 'BuildOnly'">
+        <![CDATA[
+if [ -z "$DoLink" -a ! -z "$RunningIlasmRoundTrip" ];
+then
+  echo $(_CLRTestRunFile) $(TargetAssemblyName) $CLRTestExecutionArguments
+  $(_CLRTestRunFile) $(TargetAssemblyName) $CLRTestExecutionArguments
+  if [  $? -ne $CLRTestExpectedExitCode ]
+  then
+    echo END EXECUTION OF IL{D}ASM BINARY - FAILED $? vs $CLRTestExpectedExitCode
+    echo FAILED
+    exit 1
+  fi
+fi
+        ]]>
+      </BashIlrtTestLaunchCmds>
     </PropertyGroup>
   </Target>
 
@@ -142,7 +162,7 @@ IF NOT DEFINED DoLink (
 )
         ]]>
       </IlasmRoundTripBatchScript>
-      <BatchIlrtTestLaunchCmds><![CDATA[
+      <BatchIlrtTestLaunchCmds Condition="'$(IlrtTestKind)' != 'BuildOnly'"><![CDATA[
 IF NOT DEFINED DoLink (
   if defined RunningIlasmRoundTrip (
     ECHO %LAUNCHER% $(TargetAssemblyName) %CLRTestExecutionArguments% %Host_Args%
index 826e741..34cd360 100644 (file)
@@ -77,9 +77,9 @@ error_t TP_scat_s(LPWSTR strDestination, size_t sizeInWords, LPCWSTR strSource)
     return TP_scpy_s(strEnd, sizeInWords - ((strEnd - strDestination) / sizeof(WCHAR)), strSource);
 }
 
-int TP_slen(LPWSTR str)
+size_t TP_slen(LPCWSTR str)
 {
-    int len;
+    size_t len;
 
     if (NULL == str) return 0;
 
@@ -113,7 +113,7 @@ int TP_scmp_s(LPCSTR str1, LPCSTR str2)
     return (*str1 > *str2) ? 1 : -1;
 }
 
-int TP_wcmp_s(LPWSTR str1, LPWSTR str2)
+int TP_wcmp_s(LPCWSTR str1, LPCWSTR str2)
 {
     // < 0 str1 less than str2
     // 0  str1 identical to str2
index aa96483..64b9c80 100644 (file)
@@ -36,7 +36,7 @@ typedef int BOOL;
 typedef WCHAR *LPWSTR, *PWSTR;
 typedef const WCHAR *LPCWSTR, *PCWSTR;
 
-typedef long HRESULT;
+typedef int HRESULT;
 #define LONGLONG long long
 #define ULONGLONG unsigned LONGLONG
 typedef unsigned long ULONG, *PULONG;
@@ -125,9 +125,9 @@ typedef ULONG_PTR DWORD_PTR;
 //
 error_t TP_scpy_s(LPWSTR strDestination, size_t sizeInWords, LPCWSTR strSource);
 error_t TP_scat_s(LPWSTR strDestination, size_t sizeInWords, LPCWSTR strSource);
-int TP_slen(LPWSTR str);
+size_t TP_slen(LPCWSTR str);
 int TP_scmp_s(LPCSTR str1, LPCSTR str2);
-int TP_wcmp_s(LPWSTR str1, LPWSTR str2);
+int TP_wcmp_s(LPCWSTR str1, LPCWSTR str2);
 error_t TP_getenv_s(size_t* pReturnValue, LPWSTR buffer, size_t sizeInWords, LPCWSTR varname);
 error_t TP_putenv_s(LPTSTR name, LPTSTR value);
 void TP_ZeroMemory(LPVOID buffer, size_t sizeInBytes);
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanCompareTo_Boolean.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanCompareTo_Boolean.csproj
deleted file mode 100644 (file)
index 64a0b6e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleancompareto_boolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanEquals_Boolean.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanEquals_Boolean.csproj
deleted file mode 100644 (file)
index 96a7099..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleanequals_boolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanEquals_Object.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanEquals_Object.csproj
deleted file mode 100644 (file)
index 08af15e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleanequals_object.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanFalseString.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanFalseString.csproj
deleted file mode 100644 (file)
index a961159..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleanfalsestring.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanGetHashCode.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanGetHashCode.csproj
deleted file mode 100644 (file)
index 7d9ee67..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleangethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 173fd05..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToByte.csproj
deleted file mode 100644 (file)
index 4cfbeaa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToChar.csproj
deleted file mode 100644 (file)
index f839fd0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index 6ff2366..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 7f34a1a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToDouble.csproj
deleted file mode 100644 (file)
index b6ed4ea..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt16.csproj
deleted file mode 100644 (file)
index a583550..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt32.csproj
deleted file mode 100644 (file)
index b2fc7a5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToInt64.csproj
deleted file mode 100644 (file)
index ca0bf95..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToSByte.csproj
deleted file mode 100644 (file)
index 5ec308c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToSingle.csproj
deleted file mode 100644 (file)
index e1f45d9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToType.csproj
deleted file mode 100644 (file)
index 4ce697b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index c6af1eb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index cfc9c5b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanIConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 41b55b7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleaniconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanToString.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanToString.csproj
deleted file mode 100644 (file)
index 7c40081..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleantostring.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/BooleanTrueString.csproj b/tests/src/CoreMangLib/cti/system/boolean/BooleanTrueString.csproj
deleted file mode 100644 (file)
index 2921489..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="booleantruestring.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleancompareto_boolean.cs b/tests/src/CoreMangLib/cti/system/boolean/booleancompareto_boolean.cs
deleted file mode 100644 (file)
index 7378d55..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanCompareTo_Boolean
-{
-
-    public static int Main()
-    {
-        BooleanCompareTo_Boolean testCase = new BooleanCompareTo_Boolean();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.CompareTo(Boolean)");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-                       Boolean b0 = false;
-            Boolean b1 = false;
-            if (b0.CompareTo(b1) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect false.CompareTo(false) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = false;
-            Boolean b1 = true;
-            if (b0.CompareTo(b1) >= 0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect false.CompareTo(true) < 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            Boolean b1 = false;
-            if (b0.CompareTo(b1) <= 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "expect true.CompareTo(false) > 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            Boolean b1 = true;
-            if (b0.CompareTo(b1) != 0)
-            {
-                TestLibrary.TestFramework.LogError("004", "expect true.CompareTo(true) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleanequals_boolean.cs b/tests/src/CoreMangLib/cti/system/boolean/booleanequals_boolean.cs
deleted file mode 100644 (file)
index 5db0ce6..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanEquals_Boolean
-{
-
-    public static int Main()
-    {
-        BooleanEquals_Boolean testCase = new BooleanEquals_Boolean();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.Equals(Boolean)");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = false;
-            Boolean b1 = false;
-            if (!b0.Equals(b1))
-            {
-                TestLibrary.TestFramework.LogError("001", "expect false.Equals(false) == true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = false;
-            Boolean b1 = true;
-            if (b0.Equals(b1))
-            {
-                TestLibrary.TestFramework.LogError("002", "expect false.Equals(true) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            Boolean b1 = false;
-            if (b0.Equals(b1))
-            {
-                TestLibrary.TestFramework.LogError("003", "expect true.Equals(false) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            Boolean b1 = true;
-            if (!b0.Equals(b1))
-            {
-                TestLibrary.TestFramework.LogError("004", "expect true.CompareTo(true) == true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleanequals_object.cs b/tests/src/CoreMangLib/cti/system/boolean/booleanequals_object.cs
deleted file mode 100644 (file)
index f7964bc..0000000
+++ /dev/null
@@ -1,228 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanEquals_Object
-{
-
-    public static int Main()
-    {
-        BooleanEquals_Object testCase = new BooleanEquals_Object();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.Equals(Object)");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = false;
-            Boolean b1 = false;
-            if (!b0.Equals(b1 as Object))
-            {
-                TestLibrary.TestFramework.LogError("001", "expect false.Equals(false as object) == true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = false;
-            Boolean b1 = true;
-            if (b0.Equals(b1 as Object))
-            {
-                TestLibrary.TestFramework.LogError("002", "expect false.Equals(true as object) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            Boolean b1 = false;
-            if (b0.Equals(b1 as Object))
-            {
-                TestLibrary.TestFramework.LogError("003", "expect true.Equals(false as object) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            Boolean b1 = true;
-            if (!b0.Equals(b1 as Object))
-            {
-                TestLibrary.TestFramework.LogError("004", "expect true.Equals(true as object) == true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = false;
-            if (b0.Equals(null))
-            {
-                TestLibrary.TestFramework.LogError("005", "expect false.Equals(null) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            if (b0.Equals(null))
-            {
-                TestLibrary.TestFramework.LogError("006", "expect true.Equals(null) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        try
-        {
-            Boolean b0 = true;
-            if (b0.Equals(1))
-            {
-                TestLibrary.TestFramework.LogError("007", "expect true.Equals(1) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        try
-        {
-            if (false.Equals(0))
-            {
-                TestLibrary.TestFramework.LogError("008", "expect false.Equals(0) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        try
-        {
-            if (false.Equals(Single.NaN))
-            {
-                TestLibrary.TestFramework.LogError("009", "expect false.Equals(Single.NaN) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("009", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleanfalsestring.cs b/tests/src/CoreMangLib/cti/system/boolean/booleanfalsestring.cs
deleted file mode 100644 (file)
index db32bf6..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanFalseString
-{
-    const string FALSE_STRING = "False";
-
-    public static int Main()
-    {
-        BooleanFalseString testCase = new BooleanFalseString();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.FalseString");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if (Boolean.FalseString != FALSE_STRING)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect Boolean.FalseString == \"False\" ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleangethashcode.cs b/tests/src/CoreMangLib/cti/system/boolean/booleangethashcode.cs
deleted file mode 100644 (file)
index 6cfbb83..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanGetHashCode
-{
-
-    public static int Main()
-    {
-        BooleanGetHashCode testCase = new BooleanGetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.GetHashCode");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if (true.GetHashCode() != 1)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect true.GetHashCode() == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if (false.GetHashCode() != 0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect false.GetHashCode() == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoboolean.cs
deleted file mode 100644 (file)
index 3c11233..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertableToBoolean
-{
-    #region MainEntry
-    public static int Main()
-    {
-        BooleanIConvertableToBoolean testCase = new BooleanIConvertableToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToBoolean");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #endregion
-
-    #region Run Cases
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-    #endregion
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (true as IConvertible).ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToBoolean(null) == true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (false as IConvertible).ToBoolean(null) != false)
-            {
-                TestLibrary.TestFramework.LogError("002", "(false as IConvertible).ToBoolean(null) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletobyte.cs
deleted file mode 100644 (file)
index 7c54236..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToByte
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToByte testCase = new BooleanIConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToByte");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if( (true as IConvertible).ToByte(null) != (byte)1)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToByte(null) == (byte)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (false as IConvertible).ToByte(null) != (byte)0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToByte(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletochar.cs
deleted file mode 100644 (file)
index 32b51d7..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToChar
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToChar testCase = new BooleanIConvertibleToChar();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToChar");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            char v = (true as IConvertible).ToChar(null);
-            TestLibrary.TestFramework.LogError("001", 
-                String.Format("expected a InvalidCastException on (true as IConvertible).ToChar(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch(InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            char v = (false as IConvertible).ToChar(null);
-            TestLibrary.TestFramework.LogError("002",
-                String.Format("expected a InvalidCastException on (false as IConvertible).ToChar(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal; 
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodatetime.cs
deleted file mode 100644 (file)
index d8fc128..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToDateTime
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToDateTime testCase = new BooleanIConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToDateTime");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            DateTime v = (true as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("001",
-                String.Format("expected a InvalidCastException on (true as IConvertible).ToDateTime(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal; 
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            DateTime v = (false as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("002",
-                String.Format("expected a InvalidCastException on (false as IConvertible).ToDateTime(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodecimal.cs
deleted file mode 100644 (file)
index a85136b..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Boolean.IConvertible.ToDecimal
-/// </summary>
-public class BooleanIConvertibleToDecimal
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToDecimal testCase = new BooleanIConvertibleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToDecimal");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((true as IConvertible).ToDecimal(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToDecimal(null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((false as IConvertible).ToDecimal(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToDecimal(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletodouble.cs
deleted file mode 100644 (file)
index ea8df43..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Boolean.IConvertible.ToDouble
-/// </summary>
-public class BooleanIConvertibleToDouble
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToDouble testCase = new BooleanIConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToDouble");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((true as IConvertible).ToDouble(null) != 1.0)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToDouble(null) == 1.0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((false as IConvertible).ToDouble(null) != 0.0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToDouble(null) == 0.0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint16.cs
deleted file mode 100644 (file)
index 961230a..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToInt16
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToInt16 testCase = new BooleanIConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToInt16");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (true as IConvertible).ToInt16(null) != (short)1 )
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToInt16(null) == (short)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (false as IConvertible).ToInt16(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToInt16(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint32.cs
deleted file mode 100644 (file)
index a8da69f..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToInt32
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToInt32 testCase = new BooleanIConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToInt32");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (true as IConvertible).ToInt32(null) != 1 )
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToInt32(null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (false as IConvertible).ToInt32(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToInt32(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletoint64.cs
deleted file mode 100644 (file)
index 06994d0..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToInt64
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToInt64 testCase = new BooleanIConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToInt64");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (true as IConvertible).ToInt64(null) != 1L)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToInt64(null) == 1L");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (false as IConvertible).ToInt64(null) != 0L )
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToInt64(null) == 0L");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletosbyte.cs
deleted file mode 100644 (file)
index 873731a..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToSByte
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToSByte testCase = new BooleanIConvertibleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToSByte");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((true as IConvertible).ToSByte(null) != (sbyte)1)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToSByte(null) == (sbyte)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((false as IConvertible).ToSByte(null) != (sbyte)0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToSByte(null) == (sbyte)0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletosingle.cs
deleted file mode 100644 (file)
index 49478d7..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Boolean.IConvertible.ToSingle
-/// </summary>
-public class BooleanIConvertibleToSingle
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToSingle testCase = new BooleanIConvertibleToSingle();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToSingle");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((true as IConvertible).ToSingle(null) != 1.0f)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToSingle(null) == 1.0f");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((false as IConvertible).ToSingle(null) != 0.0f)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToSingle(null) == 0.0f");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletotype.cs
deleted file mode 100644 (file)
index 146664f..0000000
+++ /dev/null
@@ -1,478 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-class MyTestClass
-{
-    public MyTestClass()
-    {
-        this.m_value = false;
-    }
-
-    public MyTestClass(bool value)
-    {
-        this.m_value = value;
-    }
-
-    bool m_value;
-};
-
-public class BooleanIConvertibleToType
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToType testCase = new BooleanIConvertibleToType();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToType");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-
-        return retVal;
-    }
-
-    #region Positive test cases
-    /// <summary>
-    /// convert to int
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (int)(true as IConvertible).ToType(typeof(int), null) != 1 )
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (int)(true as IConvertible).ToType(typeof(int), null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to uint
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((uint)(true as IConvertible).ToType(typeof(uint), null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (uint)(true as IConvertible).ToType(typeof(uint), null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    
-    /// <summary>
-    /// convert to long
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((long)(false as IConvertible).ToType(typeof(long), null) != (long)0)
-            {
-                TestLibrary.TestFramework.LogError("003", "expect (long)(false as IConvertible).ToType(typeof(long), null) == (long)0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to ulong
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((ulong)(false as IConvertible).ToType(typeof(ulong), null) != (ulong)0)
-            {
-                TestLibrary.TestFramework.LogError("004", "expect (ulong)(false as IConvertible).ToType(typeof(ulong), null) == (ulong)0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to short
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((short)(true as IConvertible).ToType(typeof(short), null) != (short)1)
-            {
-                TestLibrary.TestFramework.LogError("005", "expect (short)(true as IConvertible).ToType(typeof(short), null) == (short)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to ushort
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((ushort)(false as IConvertible).ToType(typeof(ushort), null) != (ushort)0)
-            {
-                TestLibrary.TestFramework.LogError("006", "expect (ushort)(false as IConvertible).ToType(typeof(ushort), null) == (ushort)0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to byte
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((byte)(true as IConvertible).ToType(typeof(byte), null) != (byte)1)
-            {
-                TestLibrary.TestFramework.LogError("007", "expect (byte)(true as IConvertible).ToType(typeof(byte), null) == (byte)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to sbyte
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((sbyte)(true as IConvertible).ToType(typeof(sbyte), null) != (sbyte)1)
-            {
-                TestLibrary.TestFramework.LogError("008", "expect (sbyte)(true as IConvertible).ToType(typeof(sbyte), null) == (sbyte)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to bool
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((bool)(true as IConvertible).ToType(typeof(Boolean), null) != true)
-            {
-                TestLibrary.TestFramework.LogError("009", "expect (bool)(true as IConvertible).ToType(typeof(Boolean), null) == true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("009", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    
-    /// <summary>
-    /// convert to Object
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        try
-        {
-            object v = (true as IConvertible).ToType(typeof(Object), null);
-            if ( v.GetType() != typeof(Boolean) )
-            {
-                TestLibrary.TestFramework.LogError("010.1", "expect (true as IConvertible).ToType(typeof(Object), null).GetType() == typeof(Boolean)");
-                retVal = false;
-            }
-
-            if ((bool)v != true)
-            {
-                TestLibrary.TestFramework.LogError("0010.2", "expect (bool)(true as IConvertible).ToType(typeof(Object), null) == true");
-                retVal = false;
-            }
-            
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// convert to float
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((float)(true as IConvertible).ToType(typeof(float), null) != 1.0f)
-            {
-                TestLibrary.TestFramework.LogError("011.1", "expect (float)(true as IConvertible).ToType(typeof(float), null) == 1.0f");
-                retVal = false;
-            }
-            if ((float)(false as IConvertible).ToType(typeof(float), null) != 0.0f)
-            {
-                TestLibrary.TestFramework.LogError("011.1", "expect (float)(false as IConvertible).ToType(typeof(float), null) == 0.0f");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("011", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    
-    /// <summary>
-    /// convert to double
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((double)(true as IConvertible).ToType(typeof(double), null) != 1.0)
-            {
-                TestLibrary.TestFramework.LogError("012.1", "expect (double)(true as IConvertible).ToType(typeof(double), null) == 1.0");
-                retVal = false;
-            }
-            if ((double)(false as IConvertible).ToType(typeof(double), null) != 0.0)
-            {
-                TestLibrary.TestFramework.LogError("012.1", "expect (double)(false as IConvertible).ToType(typeof(double), null) == 0.0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// convert to decimal
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest13()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((decimal)(true as IConvertible).ToType(typeof(decimal), null) != (decimal)1.0)
-            {
-                TestLibrary.TestFramework.LogError("013.1", "expect (decimal)(true as IConvertible).ToType(typeof(decimal), null) == (decimal)1.0");
-                retVal = false;
-            }
-            if ((decimal)(false as IConvertible).ToType(typeof(decimal), null) != (decimal)0.0)
-            {
-                TestLibrary.TestFramework.LogError("013.1", "expect (decimal)(false as IConvertible).ToType(typeof(decimal), null) == (decimal)0.0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("013", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-
-    #region Negative test cases
-
-    /// <summary>
-    /// convert to char and expcet InvalidCastException
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            char v = (char)(true as IConvertible).ToType(typeof(Char), null);
-            TestLibrary.TestFramework.LogError("001",
-                String.Format("expected a InvalidCastException on (true as IConvertible).ToType(typeof(Char), null) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to DateTime and expcet InvalidCastException
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            DateTime v = (DateTime)(true as IConvertible).ToType(typeof(DateTime), null);
-            TestLibrary.TestFramework.LogError("002",
-                String.Format("expected a InvalidCastException on (true as IConvertible).ToType(typeof(DateTime), null) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    /// <summary>
-    /// convert to MyTestClass and expcet InvalidCastException
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        try
-        {
-            MyTestClass v = (MyTestClass)(true as IConvertible).ToType(typeof(MyTestClass), null);
-            TestLibrary.TestFramework.LogError("003",
-                String.Format("expected a InvalidCastException on (true as IConvertible).ToType(typeof(MyTestClass), null) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint16.cs
deleted file mode 100644 (file)
index e7d6acf..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToUInt16
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToUInt16 testCase = new BooleanIConvertibleToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToUInt16");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (true as IConvertible).ToUInt16(null) != (ushort)1 )
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToUInt16(null) == (ushort)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((false as IConvertible).ToUInt16(null) != (ushort)0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToUInt16(null) == (ushort)0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint32.cs
deleted file mode 100644 (file)
index 8d2dabf..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToUInt32
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToUInt32 testCase = new BooleanIConvertibleToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToUInt32");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (true as IConvertible).ToUInt32(null) != 1 )
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToUInt32(null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((false as IConvertible).ToUInt32(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToUInt32(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletouint64.cs
deleted file mode 100644 (file)
index f677d55..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanIConvertibleToInt64
-{
-
-    public static int Main()
-    {
-        BooleanIConvertibleToInt64 testCase = new BooleanIConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.IConvertible.ToInt64");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if ( (true as IConvertible).ToUInt64(null) != 1 )
-            {
-                TestLibrary.TestFramework.LogError("001", "expect (true as IConvertible).ToUInt64(null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if ((false as IConvertible).ToUInt64(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect (false as IConvertible).ToUInt64(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleantostring.cs b/tests/src/CoreMangLib/cti/system/boolean/booleantostring.cs
deleted file mode 100644 (file)
index b51a5f2..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Boolean.ToString()
-/// </summary>
-public class BooleanToString
-{
-    const string cTRUE = "True";
-    const string cFALSE = "False";
-
-    #region Main Entry
-    public static int Main()
-    {
-        BooleanToString testCase = new BooleanToString();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.ToString");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #endregion
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if (true.ToString() != cTRUE)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect true.ToString() != \"True\"");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        try
-        {
-            if (false.ToString() != cFALSE)
-            {
-                TestLibrary.TestFramework.LogError("002", "expect false.ToString() != \"False\"");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/boolean/booleantruestring.cs b/tests/src/CoreMangLib/cti/system/boolean/booleantruestring.cs
deleted file mode 100644 (file)
index ddcaa4a..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class BooleanTrueString
-{
-    const string TRUE_STRING = "True";
-    public static int Main()
-    {
-        BooleanTrueString testCase = new BooleanTrueString();
-
-        TestLibrary.TestFramework.BeginTestCase("Boolean.TrueString");
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            if (Boolean.TrueString != TRUE_STRING)
-            {
-                TestLibrary.TestFramework.LogError("001", "expect Boolean.TrueString == \"True\" ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteEquals1.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteEquals1.csproj
deleted file mode 100644 (file)
index 18d32fc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteequals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteEquals2.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteEquals2.csproj
deleted file mode 100644 (file)
index 8645690..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteequals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteGetHashCode.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteGetHashCode.csproj
deleted file mode 100644 (file)
index 9466775..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="bytegethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index a237f14..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToByte.csproj
deleted file mode 100644 (file)
index bdd64af..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToChar.csproj
deleted file mode 100644 (file)
index e8b3d12..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index 6ac75f7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index c32172a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToDouble.csproj
deleted file mode 100644 (file)
index 398a0c4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt16.csproj
deleted file mode 100644 (file)
index 97b0444..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 5a64d21..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToInt64.csproj
deleted file mode 100644 (file)
index d08aae6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToSByte.csproj
deleted file mode 100644 (file)
index 280b8f6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToSingle.csproj
deleted file mode 100644 (file)
index da14456..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToType.csproj
deleted file mode 100644 (file)
index c4b35b4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index 213d32f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index 6fe09e8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteIConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 4d3d4a8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteiconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteMaxValue.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteMaxValue.csproj
deleted file mode 100644 (file)
index 239bbb4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="bytemaxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteMinValue.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteMinValue.csproj
deleted file mode 100644 (file)
index 850a9ee..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="byteminvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteToString2.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteToString2.csproj
deleted file mode 100644 (file)
index 8f1603e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="bytetostring2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteToString3.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteToString3.csproj
deleted file mode 100644 (file)
index fb25a58..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="bytetostring3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/ByteToString4.csproj b/tests/src/CoreMangLib/cti/system/byte/ByteToString4.csproj
deleted file mode 100644 (file)
index b5c4307..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="bytetostring4.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteequals1.cs b/tests/src/CoreMangLib/cti/system/byte/byteequals1.cs
deleted file mode 100644 (file)
index 24874bf..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// System.Byte.Equals(System.Byte)
-/// </summary>
-public class ByteEquals1
-{
-    public static int Main(string[] args)
-    {
-        ByteEquals1 equal1 = new ByteEquals1();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.Equals(System.Byte)...");
-
-        if (equal1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify byte1 is less than byte2...");
-
-        try
-        {
-            Byte byte1 = 20;
-            Byte byte2 = 30;
-
-            if (byte1.Equals(byte2))
-            {
-                TestLibrary.TestFramework.LogError("001", "The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify byte1 is larger than byte2...");
-
-        try
-        {
-            Byte byte1 = 30;
-            Byte byte2 = 20;
-
-            if (byte1.Equals(byte2))
-            {
-                TestLibrary.TestFramework.LogError("003", "The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify byte1 is equal to byte2...");
-
-        try
-        {
-            Byte byte1 = 20;
-            Byte byte2 = 20;
-
-            if (!byte1.Equals(byte2))
-            {
-                TestLibrary.TestFramework.LogError("005", "The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify Byte instance compare to itself...");
-
-        try
-        {
-            Byte byte1 = 20;
-
-            if (!byte1.Equals(byte1))
-            {
-                TestLibrary.TestFramework.LogError("007", "The result of compare is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify Byte instance compare to Int32 instance when they have the same values...");
-
-        try
-        {
-            Byte byte1 = 20;
-            Int32 int1 = 20;
-
-            if (byte1.Equals(int1))
-            {
-                TestLibrary.TestFramework.LogError("009","The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteequals2.cs b/tests/src/CoreMangLib/cti/system/byte/byteequals2.cs
deleted file mode 100644 (file)
index 1ac0286..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-
-
-/// <summary>
-/// System.Byte,Equals(System.Object)
-/// </summary>
-public class ByteEquals2
-{
-    public static int Main(string[] args)
-    {
-        ByteEquals2 equal2 = new ByteEquals2();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.Equals(System.Object)...");
-
-        if (equal2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify byte1 is less than byte2...");
-
-        try
-        {
-            Byte byte1 = 20;
-            object byte2 = (Byte)30;
-
-            if (byte1.Equals(byte2))
-            {
-                TestLibrary.TestFramework.LogError("001", "The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify byte1 is larger than byte2...");
-
-        try
-        {
-            Byte byte1 = 30;
-            object byte2 = (Byte)20;
-
-            if (byte1.Equals(byte2))
-            {
-                TestLibrary.TestFramework.LogError("003", "The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify byte1 is equal to byte2...");
-
-        try
-        {
-            Byte byte1 = 20;
-            object byte2 = (Byte)20;
-
-            if (!byte1.Equals(byte2))
-            {
-                TestLibrary.TestFramework.LogError("005", "The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify Byte instance compare to itself...");
-
-        try
-        {
-            Byte byte1 = 20;
-
-            if (!byte1.Equals((object)byte1))
-            {
-                TestLibrary.TestFramework.LogError("007", "The result of compare is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify Byte instance compare to Int32 instance when they have the same values...");
-
-        try
-        {
-            Byte byte1 = 20;
-            Int32 int1 = 20;
-
-            if (byte1.Equals((object)int1))
-            {
-                TestLibrary.TestFramework.LogError("009", "The compare result is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/bytegethashcode.cs b/tests/src/CoreMangLib/cti/system/byte/bytegethashcode.cs
deleted file mode 100644 (file)
index 2123066..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-
-/// <summary>
-/// System.Byte.GetHashCode
-/// </summary>
-public class ByteGetHashCode
-{
-    public static int Main(string[] args)
-    {
-        ByteGetHashCode hashCode = new ByteGetHashCode();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.GetHashCode()...");
-
-        if (hashCode.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify hashCode of two Byte instance should be different...");
-
-        try
-        {
-            Byte byte1;
-            Byte byte2;
-            do
-            {
-                byte1 = TestLibrary.Generator.GetByte(-55);
-                byte2 = TestLibrary.Generator.GetByte(-55);
-            }while(byte1 == byte2);
-
-            if (byte1.GetHashCode() == byte2.GetHashCode())
-            {
-                TestLibrary.TestFramework.LogError("001","The hashcode should be different!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002","Unexcepted exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify hashCode should be changed when value is modified...");
-
-        try
-        {
-            Byte byte1 = TestLibrary.Generator.GetByte(-55);
-            int hashcode1 = byte1.GetHashCode();
-            //Don't generate a second random number, since the new one could have the same hashcode.
-            byte1 = (byte)(byte1 + 1);
-            int hashcode2 = byte1.GetHashCode();
-
-            if (hashcode1 == hashcode2)
-            {
-                TestLibrary.TestFramework.LogError("003","The hashcode should not be equal!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004","Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify hashcode when two instance have the same reference...");
-
-        try
-        {
-            Byte byte1 = TestLibrary.Generator.GetByte(-55);
-            Byte byte2 = byte1;
-            int hashcode1 = byte1.GetHashCode();
-            int hashcode2 = byte2.GetHashCode();
-
-            if (hashcode1 != hashcode2)
-            {
-                TestLibrary.TestFramework.LogError("005","The hashcode should be equal!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006","Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginTestCase("Verify hashcode when create Byte instance assigned to null...");
-
-        try
-        {
-            Byte? byte1 = null;
-            int hashcode = byte1.GetHashCode();
-
-            if (hashcode != 0)
-            {
-                TestLibrary.TestFramework.LogError("007","The hashcode is not zero!");
-                retVal = false;
-            }
-            
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008","Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoboolean.cs
deleted file mode 100644 (file)
index 0961567..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-using System.Globalization;
-
-
-public class ByteIConvertibleToBoolean
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToBoolean toBoolean = new ByteIConvertibleToBoolean();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToBoolean(System.IFormatProvider)...");
-
-        if (toBoolean.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-       
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify the bool instance is false when the value of byte is zero...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            bool toBool = ((IConvertible)myByte).ToBoolean(numberFormat);
-
-            if (toBool)
-            {
-                TestLibrary.TestFramework.LogError("001", "the value of bool should be false!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002","Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify the bool instance is true when the value of byte is non-zero...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            bool toBool = ((IConvertible)myByte).ToBoolean(numberFormat);
-
-            if (!toBool)
-            {
-                TestLibrary.TestFramework.LogError("003", "the value of bool should be true!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004","Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify the bool instance is true when the value of byte is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            bool toBool = ((IConvertible)myByte).ToBoolean(numberFormat);
-
-            if (!toBool)
-            {
-                TestLibrary.TestFramework.LogError("005", "the value of bool should be true!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletobyte.cs
deleted file mode 100644 (file)
index 8318708..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.Iconvertible.ToByte(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToByte
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToByte toByte = new ByteIConvertibleToByte();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToByte(System.IFormatProvider)...");
-
-        if (toByte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-        
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Byte conVertByte = ((IConvertible)myByte).ToByte(numberFormat);
-            if (conVertByte != myByte)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Byte conVertByte = ((IConvertible)myByte).ToByte(numberFormat);
-
-            if (conVertByte != myByte)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Byte conVertByte = ((IConvertible)myByte).ToByte(numberFormat);
-
-            if (myByte != conVertByte)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Byte conVertByte = ((IConvertible)myByte).ToByte(numberFormat);
-
-            if (myByte != conVertByte)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Byte conVertByte = ((IConvertible)myByte).ToByte(numberFormat);
-
-            if (myByte != conVertByte)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletochar.cs
deleted file mode 100644 (file)
index 1c2a762..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToChar(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToChar
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToChar toChar = new ByteIConvertibleToChar();
-        TestLibrary.TestFramework.BeginScenario("Testing System.Byte.Iconvertible.ToChar(System.IFormatProvider)...");
-
-        if (toChar.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Char conVertChar = ((IConvertible)myByte).ToChar(numberFormat);
-
-            if (Convert.ToInt32(conVertChar) != 128)
-            {
-                TestLibrary.TestFramework.LogError("001", "Convert to char is not correct!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Char conVertChar = ((IConvertible)myByte).ToChar(numberFormat);
-
-            if (Convert.ToInt32(conVertChar) != 10)
-            {
-                TestLibrary.TestFramework.LogError("003", "Convert to char is not correct!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Char conVertChar = ((IConvertible)myByte).ToChar(numberFormat);
-
-            if (Convert.ToInt32(conVertChar) != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "Convert to char is not correct!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Char conVertChar = ((IConvertible)myByte).ToChar(numberFormat);
-
-            if (Convert.ToInt32(conVertChar) != 255)
-            {
-                TestLibrary.TestFramework.LogError("007", "Convert to char is not correct!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Char conVertChar = ((IConvertible)myByte).ToChar(numberFormat);
-
-            if (Convert.ToInt32(conVertChar) != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "Convert to char is not correct!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodatetime.cs
deleted file mode 100644 (file)
index a1449fa..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-/// <summary>
-/// System.Byte.IConvertible.ToDateTime(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToDateTime
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToDateTime toDateTime = new ByteIConvertibleToDateTime();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToDateTime(System.IFormatProvider)...");
-
-        if (toDateTime.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert Byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            DateTime conVertDateTime = ((IConvertible)myByte).ToDateTime(numberFormat);
-
-            TestLibrary.TestFramework.LogError("001", "No exception occurs!");
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            DateTime conVertDateTime = ((IConvertible)myByte).ToDateTime(numberFormat);
-
-            TestLibrary.TestFramework.LogError("003", "No exception occurs!");
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            DateTime conVertDateTime = ((IConvertible)myByte).ToDateTime(numberFormat);
-
-            TestLibrary.TestFramework.LogError("005", "No exception occurs!");
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            DateTime conVertDateTime = ((IConvertible)myByte).ToDateTime(numberFormat);
-
-            TestLibrary.TestFramework.LogError("007", "No exception occurs!");
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            DateTime conVertDateTime = ((IConvertible)myByte).ToDateTime(numberFormat);
-
-            TestLibrary.TestFramework.LogError("009", "No exception occurs!");
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        { 
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodecimal.cs
deleted file mode 100644 (file)
index fee740d..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToDecimal(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToDecimal
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToDecimal toDecimal = new ByteIConvertibleToDecimal();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToDecimal(System.IFormatProvider)...");
-
-        if (toDecimal.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Decimal toDecimal = ((IConvertible)myByte).ToDecimal(numberFormat);
-
-            if (toDecimal != 128)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Decimal conVertDecimal = ((IConvertible)myByte).ToDecimal(numberFormat);
-
-            if (conVertDecimal != 10)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Decimal conVertDecimal = ((IConvertible)myByte).ToDecimal(numberFormat);
-
-            if (conVertDecimal != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Decimal conVertDecimal = ((IConvertible)myByte).ToDecimal(numberFormat);
-
-            if (conVertDecimal != 255)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Decimal conVertDecimal = ((IConvertible)myByte).ToDecimal(numberFormat);
-
-            if (conVertDecimal != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletodouble.cs
deleted file mode 100644 (file)
index 6ff339d..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToDecimal(System.IFormatProvide)
-/// </summary>
-public class ByteIConvertibleToDouble
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToDouble toDouble = new ByteIConvertibleToDouble();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToDouble(System.IFormatProvide)...");
-
-        if (toDouble.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Double conVertDouble = ((IConvertible)myByte).ToDouble(numberFormat);
-
-            if (conVertDouble != 128.0)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Double conVertDouble = ((IConvertible)myByte).ToDouble(numberFormat);
-
-            if (conVertDouble != 10.0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Double conVertDouble = ((IConvertible)myByte).ToDouble(numberFormat);
-
-            if (conVertDouble != 123.0)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Double conVertDouble = ((IConvertible)myByte).ToDouble(numberFormat);
-
-            if (conVertDouble != 255.0)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Double conVertDouble = ((IConvertible)myByte).ToDouble(numberFormat);
-
-            if (conVertDouble != 0.0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint16.cs
deleted file mode 100644 (file)
index 12e4ba8..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToInt16(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToInt16
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToInt16 toInt16 = new ByteIConvertibleToInt16();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToInt16(System.IFormatProvider)...");
-
-        if (toInt16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Int16 conVertInt16 = ((IConvertible)myByte).ToInt16(numberFormat);
-
-            if (conVertInt16 != 128)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int16 conVertInt16 = ((IConvertible)myByte).ToInt16(numberFormat);
-
-            if (conVertInt16 != 10)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Int16 conVertInt16 = ((IConvertible)myByte).ToInt16(numberFormat);
-
-            if (conVertInt16 != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int16 conVertInt16 = ((IConvertible)myByte).ToInt16(numberFormat);
-
-            if (conVertInt16 != 255)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int16 conVertInt16 = ((IConvertible)myByte).ToInt16(numberFormat);
-
-            if (conVertInt16 != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint32.cs
deleted file mode 100644 (file)
index ff21b24..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToInt32(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToInt32
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToInt32 toInt32 = new ByteIConvertibleToInt32();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToInt32(System.IFormatProvider)...");
-
-        if (toInt32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Int32 conVertInt32 = ((IConvertible)myByte).ToInt32(numberFormat);
-
-            if (conVertInt32 != 128)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int32 conVertInt32 = ((IConvertible)myByte).ToInt32(numberFormat);
-
-            if (conVertInt32 != 10)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Int32 conVertInt32 = ((IConvertible)myByte).ToInt32(numberFormat);
-
-            if (conVertInt32 != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int32 conVertInt32 = ((IConvertible)myByte).ToInt32(numberFormat);
-
-            if (conVertInt32 != 255)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int32 conVertInt32 = ((IConvertible)myByte).ToInt32(numberFormat);
-
-            if (conVertInt32 != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletoint64.cs
deleted file mode 100644 (file)
index fd080b5..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToInt64(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToInt64
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToInt64 toInt64 = new ByteIConvertibleToInt64();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToInt64(System.IFormatProvider)...");
-
-        if (toInt64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Int64 conVertInt64 = ((IConvertible)myByte).ToInt64(numberFormat);
-
-            if (conVertInt64 != 128L)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int64 conVertInt64 = ((IConvertible)myByte).ToInt64(numberFormat);
-
-            if (conVertInt64 != 10L)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Int64 conVertInt64 = ((IConvertible)myByte).ToInt64(numberFormat);
-
-            if (conVertInt64 != 123L)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int64 conVertInt64 = ((IConvertible)myByte).ToInt64(numberFormat);
-
-            if (conVertInt64 != 255L)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Int64 conVertInt64 = ((IConvertible)myByte).ToInt64(numberFormat);
-
-            if (conVertInt64 != 0L)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletosbyte.cs
deleted file mode 100644 (file)
index b369133..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToSByte(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToSByte
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToSByte toSByte = new ByteIConvertibleToSByte();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToSByte(System.IFormatProvider)");
-
-        if (toSByte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus64";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            SByte sByte = ((IConvertible)myByte).ToSByte(numberFormat);
-
-            if (sByte != 64)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@64";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            SByte sByte = ((IConvertible)myByte).ToSByte(numberFormat);
-
-            if (sByte != 64)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            SByte sByte = ((IConvertible)myByte).ToSByte(numberFormat);
-
-            if (sByte != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            SByte sByte = ((IConvertible)myByte).ToSByte(numberFormat);
-
-            if (sByte != 127)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            SByte sByte = ((IConvertible)myByte).ToSByte(numberFormat);
-
-            if (sByte != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletosingle.cs
deleted file mode 100644 (file)
index 0a3c6ea..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.Tosingle(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToSingle
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToSingle toSingle = new ByteIConvertibleToSingle();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToSingle(System.IFormatProvider)...");
-
-        if (toSingle.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Single conVertSingle = ((IConvertible)myByte).ToSingle(numberFormat);
-
-            if (conVertSingle != 128.0)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Single conVertSingle = ((IConvertible)myByte).ToSingle(numberFormat);
-
-            if (conVertSingle != 10.0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            Single conVertSingle = ((IConvertible)myByte).ToSingle(numberFormat);
-
-            if (conVertSingle != 123.0)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Single conVertSingle = ((IConvertible)myByte).ToSingle(numberFormat);
-
-            if (conVertSingle != 255.0)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            Single conVertSingle = ((IConvertible)myByte).ToSingle(numberFormat);
-
-            if (conVertSingle != 0.0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletotype.cs
deleted file mode 100644 (file)
index e507c19..0000000
+++ /dev/null
@@ -1,561 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-using System.Globalization;
-
-public class MyClass
-{
-    private int m_value = 0;
-
-    public MyClass()
-    {
-        this.m_value = 0;
-    }
-
-    public MyClass(int value)
-    {
-        this.m_value = value;
-    }
-}
-
-/// <summary>
-/// System.Byte.IConvertible.ToType(System.Type,System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToType
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToType toType = new ByteIConvertibleToType();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToType(System.Type,System.IFormatProvider)...");
-
-        if (toType.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-        retVal = PosTest14() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        //retVal = NegTest3() && retVal;
-
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set and type is Boolean...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            object conVertObj = ((IConvertible)myByte).ToType(typeof(Boolean),numberFormat);
-
-            if (conVertObj.ToString() != "True")
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set and type is Byte...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertObj = ((IConvertible)myByte).ToType(typeof(Byte),numberFormat);
-
-            if (conVertObj.ToString() != "10")
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set and type is decimal...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            object conVertObj = ((IConvertible)myByte).ToType(typeof(Decimal),numberFormat);
-
-            if (conVertObj.ToString() != "123")
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue and type is double...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertObj = ((IConvertible)myByte).ToType(typeof(Double),numberFormat);
-
-            if (conVertObj.ToString() != "255")
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue and type is single...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertSingle = ((IConvertible)myByte).ToType(typeof(Single),numberFormat);
-
-            if (conVertSingle.ToString() != "0")
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Verify byteString is the middle value and type is Int16...");
-
-        try
-        {
-            string byteString = "@128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertInt16 = ((IConvertible)myByte).ToType(typeof(Int16), numberFormat);
-
-            if (conVertInt16.ToString() != "128")
-            {
-                TestLibrary.TestFramework.LogError("011", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Verify byteString is the middle value and type is Int32...");
-
-        try
-        {
-            string byteString = "@128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertInt32 = ((IConvertible)myByte).ToType(typeof(Int32), numberFormat);
-
-            if (conVertInt32.ToString() != "128")
-            {
-                TestLibrary.TestFramework.LogError("013", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest8: Verify byteString is the middle value and type is Int64...");
-
-        try
-        {
-            string byteString = "@128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertInt64 = ((IConvertible)myByte).ToType(typeof(Int64), numberFormat);
-
-            if (conVertInt64.ToString() != "128")
-            {
-                TestLibrary.TestFramework.LogError("015", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Verify byteString is the valid value for SByte and type is SByte...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertSByte = ((IConvertible)myByte).ToType(typeof(SByte), numberFormat);
-
-            if (conVertSByte.ToString() != "127")
-            {
-                TestLibrary.TestFramework.LogError("017", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest10: Verify byteString is the valid value for UInt16 and type is UInt16...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertUInt16 = ((IConvertible)myByte).ToType(typeof(UInt16), numberFormat);
-
-            if (conVertUInt16.ToString() != "127")
-            {
-                TestLibrary.TestFramework.LogError("019", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest11: Verify byteString is the valid value for UInt32 and type is UInt32...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertUInt32 = ((IConvertible)myByte).ToType(typeof(UInt32), numberFormat);
-
-            if (conVertUInt32.ToString() != "127")
-            {
-                TestLibrary.TestFramework.LogError("021", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest12: Verify byteString is the valid value for UInt32 and type is UInt64...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertUInt64 = ((IConvertible)myByte).ToType(typeof(UInt64), numberFormat);
-
-            if (conVertUInt64.ToString() != "127")
-            {
-                TestLibrary.TestFramework.LogError("023", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("024", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest13()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest13: Verify byteString is the valid value and type is object...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertOBj = ((IConvertible)myByte).ToType(typeof(Object), numberFormat);
-
-            if (conVertOBj.ToString() != "127")
-            {
-                TestLibrary.TestFramework.LogError("025", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("026", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest14()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest14: Verify the type is char...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertChar = ((IConvertible)myByte).ToType(typeof(Char), numberFormat);
-
-            if (conVertChar.ToString() != "\7f")
-            {
-                TestLibrary.TestFramework.LogError("027", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("028", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Verify InvalidCastException is thrown when type is DateTime...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertDateTime = ((IConvertible)myByte).ToType(typeof(DateTime), numberFormat);
-
-            if (conVertDateTime.ToString() != "127")
-            {
-                TestLibrary.TestFramework.LogError("101", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (InvalidCastException)
-        { 
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Verify InvalidCastException is thrown when type is customer defined...");
-
-        try
-        {
-            string byteString = "@127";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            object conVertMyClass = ((IConvertible)myByte).ToType(typeof(MyClass), numberFormat);
-
-            if (conVertMyClass.ToString() != "127")
-            {
-                TestLibrary.TestFramework.LogError("101", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint16.cs
deleted file mode 100644 (file)
index c7c1f2f..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToUInt16
-/// </summary>
-public class ByteIConvertibleToUInt16
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToUInt16 toUInt16 = new ByteIConvertibleToUInt16();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToUInt16(System.IFormatProvider)...");
-
-        if (toUInt16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            UInt16 conVertUInt16 = ((IConvertible)myByte).ToUInt16(numberFormat);
-
-            if (conVertUInt16 != 128)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt16 conVertUInt16 = ((IConvertible)myByte).ToUInt16(numberFormat);
-
-            if (conVertUInt16 != 10)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            UInt16 conVertUInt16 = ((IConvertible)myByte).ToUInt16(numberFormat);
-
-            if (conVertUInt16 != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt16 conVertUInt16 = ((IConvertible)myByte).ToUInt16(numberFormat);
-
-            if (conVertUInt16 != 255)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt16 conVertUInt16 = ((IConvertible)myByte).ToUInt16(numberFormat);
-
-            if (conVertUInt16 != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint32.cs
deleted file mode 100644 (file)
index c7e2d82..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToUInt32(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToUInt32
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToUInt32 toUInt32 = new ByteIConvertibleToUInt32();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToUInt32(System.IFormatProvider)");
-
-        if (toUInt32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 128)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 10)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 255)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/byte/byteiconvertibletouint64.cs
deleted file mode 100644 (file)
index f3e36b2..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.IConvertible.ToUInt64(System.IFormatProvider)
-/// </summary>
-public class ByteIConvertibleToUInt64
-{
-    public static int Main(string[] args)
-    {
-        ByteIConvertibleToUInt64 toUInt64 = new ByteIConvertibleToUInt64();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToUInt64(System.IFormatProvider)...");
-
-        if (toUInt64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify convert byte value when positiveSign is set...");
-
-        try
-        {
-            string byteString = "plus128";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.PositiveSign = "plus";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 128)
-            {
-                TestLibrary.TestFramework.LogError("001", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify convert byte value when CurrencySymbol is set...");
-
-        try
-        {
-            string byteString = "@10";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 10)
-            {
-                TestLibrary.TestFramework.LogError("003", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify NumberGroupSeparator of format provider is set...");
-
-        try
-        {
-            string byteString = "1_2_3";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.NumberGroupSeparator = "_";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 123)
-            {
-                TestLibrary.TestFramework.LogError("005", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify byteString is maxValue...");
-
-        try
-        {
-            string byteString = "@255";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 255)
-            {
-                TestLibrary.TestFramework.LogError("007", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify byteString is minValue...");
-
-        try
-        {
-            string byteString = "@0";
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numberFormat = culture.NumberFormat;
-            numberFormat.CurrencySymbol = "@";
-
-            Byte myByte = Byte.Parse(byteString, NumberStyles.Currency | NumberStyles.Number, numberFormat);
-            UInt32 conVertUInt32 = ((IConvertible)myByte).ToUInt32(numberFormat);
-
-            if (conVertUInt32 != 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "The convert byte is not equal to original!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/bytemaxvalue.cs b/tests/src/CoreMangLib/cti/system/byte/bytemaxvalue.cs
deleted file mode 100644 (file)
index fc7f3c3..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// System.Byte.MaxValue
-/// </summary>
-public class ByteMaxValue
-{
-    public static int Main(string[] args)
-    {
-        ByteMaxValue maxValue = new ByteMaxValue();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.MaxValue property...");
-
-        if (maxValue.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-
-        return retVal; 
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify the MaxValue of Byte is 255...");
-
-        try
-        {
-            Byte max = Byte.MaxValue;
-
-            if (max != 255)
-            {
-                TestLibrary.TestFramework.LogError("001","The MaxValue of Byte is not 255!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002","Unexpected exception occurs: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify using number larger than MaxValue to create Byte instance...");
-
-        try
-        {
-            int beyondMax = 256;
-            Byte beyondByte = (Byte)beyondMax;
-
-            if (beyondByte != beyondMax % 256)
-            {
-                TestLibrary.TestFramework.LogError("003","The converting is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004","Unexpected exception occurs: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            return retVal;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/byteminvalue.cs b/tests/src/CoreMangLib/cti/system/byte/byteminvalue.cs
deleted file mode 100644 (file)
index 512e301..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// System.Byte.MinValue
-/// </summary>
-public class ByteMinValue
-{
-    public static int Main(string[] args)
-    {
-        ByteMinValue minValue = new ByteMinValue();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte,MinValue property...");
-
-        if (minValue.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-
-        return retVal; 
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify the MinValue of Byte is zero...");
-
-        try
-        {
-            Byte min = Byte.MinValue;
-
-            if (min != 0)
-            {
-                TestLibrary.TestFramework.LogError("001","The MinValue of Byte is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002","Unexpected exception occurs: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Verify using negtive number to create Byte instance...");
-
-        try
-        {
-            int beyondMax = -1;
-            Byte beyondByte = (Byte)beyondMax;
-
-            if (beyondByte != (beyondMax+256) % 256)
-            {
-                TestLibrary.TestFramework.LogError("003", "The converting is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            return retVal;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/bytetostring2.cs b/tests/src/CoreMangLib/cti/system/byte/bytetostring2.cs
deleted file mode 100644 (file)
index 41b8dd0..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.ToString(System.IFormatProvider)
-/// </summary>
-public class ByteToString2
-{
-    public static int Main(string[] args)
-    {
-        ByteToString2 toString2 = new ByteToString2();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.ToString(System.IFormatProvider)...");
-
-        if (toString2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify NumberGroupSeparator of provider is _");
-
-        try
-        {
-            Byte myByte = 128;
-            
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.NumberGroupSizes = new int[] { 1 };
-            numInfo.NumberGroupSeparator = "_";
-            numInfo.NumberDecimalDigits = 0;
-
-            string myByteString = myByte.ToString(numInfo);
-            if (myByteString != "128")
-            {
-                TestLibrary.TestFramework.LogError("001","The byte string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002","Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify NumberGroupSeparator of provider is _");
-
-        try
-        {
-            Byte myByte = 128;
-
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.CurrencySymbol = "$";
-            numInfo.CurrencyDecimalDigits = 0;
-
-            string myByteString = myByte.ToString(numInfo);
-            if (myByteString != "128")
-            {
-                TestLibrary.TestFramework.LogError("003", "The byte string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify PositiveSign of provider is plus...");
-
-        try
-        {
-            Byte myByte = 128;
-
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.PositiveSign = "plus";
-            numInfo.NumberDecimalDigits = 0;
-
-            string myByteString = myByte.ToString("N",numInfo);
-            if (myByteString != "128")
-            {
-                TestLibrary.TestFramework.LogError("005", "The byte string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/bytetostring3.cs b/tests/src/CoreMangLib/cti/system/byte/bytetostring3.cs
deleted file mode 100644 (file)
index 28fde5c..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-using System.Globalization;
-using TestLibrary;
-
-/// <summary>
-/// System.Byte.ToString3(System.String)
-/// </summary>
-public class ByteToString3
-{
-    public static int Main(string[] args)
-    {
-        ByteToString3 toString3 = new ByteToString3();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.ToString(System.String)...");
-
-        if (toString3.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-                //For "X", The result string isn't affected by the formatting information of the current NumberFormatInfo
-
-                //For "C"
-                // CurrencyPositivePattern, CurrencySymbol, CurrencyDecimalDigits, CurrencyDecimalSeparator, CurrencyGroupSeparator, CurrencyGroupSizes.
-                // Not consider NegativeSign and CurrencyNegativePattern for Byte
-                nfi.CurrencyDecimalDigits = 3;          //Default: 2
-                nfi.CurrencyDecimalSeparator = ",";     //Default: ","
-                nfi.CurrencyGroupSeparator = ".";       //Default: "."
-                nfi.CurrencyGroupSizes = new int[] { 2 };  //Default: new int[]{3}
-                //nfi.NegativeSign = "-";
-                //nfi.CurrencyNegativePattern = 0;
-                nfi.CurrencyPositivePattern = 1;        //Default: 0
-                nfi.CurrencySymbol = "USD";             //Default: "$" 
-
-                //For "D"
-                // NegativeSign isn't taken care of consideration for Byte
-
-                //For "E"
-                // PositiveSign, and NumberDecimalSeparator. Not consider NegativeSign for Byte. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-
-                //For "F"
-                // NumberDecimalDigits, and NumberDecimalSeparator. Not consider NegativeSign for Byte.
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-
-                //For "N"
-                // NumberGroupSizes, NumberGroupSeparator, NumberDecimalSeparator and NumberDecimalDigits. Not considfer NumberNegativePattern and NegativeSign for Byte
-                nfi.NumberGroupSizes = new int[] { 2 }; //Default: 3
-                nfi.NumberGroupSeparator = "#";         //Default: ","
-
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        retVal &= VerifyToString("PostTest1", 128, "X", "80");
-        retVal &= VerifyToString("PostTest2", 128, "D", "128");
-
-        TestLibrary.Utilities.CurrentCulture = CustomCulture;
-
-        retVal &= VerifyToString("PostTest3", 128, "C", "1.28,000USD");
-        retVal &= VerifyToString("PostTest4, default", 128, "E", "1,280000E++002");
-        retVal &= VerifyToString("PostTest4, 4digits", 128, "E4", "1,2800E++002");
-        retVal &= VerifyToString("PostTest5", 128, "F", "128,000");
-        retVal &= VerifyToString("PostTest6", 128, "N", "1#28,000");
-
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture;
-
-        return retVal;
-    }
-
-    private bool VerifyToString(String id, Byte myByte, String format, String expected)
-    {
-        try
-        {
-            String actual = myByte.ToString(format);
-            if (actual != expected)
-            {
-                TestLibrary.TestFramework.LogError(id + "_001", "Expected: " + expected + " Actual: " + actual);
-                return false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(id + "_002", "Unexpected exception occurs: " + e);
-            return false;
-        }
-        return true;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/byte/bytetostring4.cs b/tests/src/CoreMangLib/cti/system/byte/bytetostring4.cs
deleted file mode 100644 (file)
index 8e1f204..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-
-/// <summary>
-/// System.Byte.ToString(System.String,System.IFormatProvider)
-/// </summary>
-public class ByteToString4
-{
-    public static int Main(string[] args)
-    {
-        ByteToString4 toString4 = new ByteToString4();
-        TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.ToString(System.String,System.IFormatProvider)...");
-
-        if (toString4.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify NumberGroupSeparator of provider is _ and format string is N");
-
-        try
-        {
-            Byte myByte = 128;
-
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.NumberGroupSizes = new int[] { 1 };
-            numInfo.NumberGroupSeparator = "_";
-            numInfo.NumberDecimalDigits = 0;
-
-            string myByteString = myByte.ToString("N",numInfo);
-            if (myByteString != "1_2_8")
-            {
-                TestLibrary.TestFramework.LogError("001", "The byte string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify CurrencySymbol of provider is $ and format string is C...");
-
-        try
-        {
-            Byte myByte = 128;
-
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.CurrencySymbol = "$";
-            numInfo.CurrencyDecimalDigits = 0;
-
-            string myByteString = myByte.ToString("C",numInfo);
-            if (myByteString != "$128")
-            {
-                TestLibrary.TestFramework.LogError("003", "The currency string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify X format convert hex string...");
-
-        try
-        {
-            Byte myByte = 128;
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.PositiveSign = "plus";
-            string myByteString = myByte.ToString("X",numInfo);
-
-            if (myByteString != "80")
-            {
-                TestLibrary.TestFramework.LogError("005", "The hex string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify D format convert decimal string...");
-
-        try
-        {
-            Byte myByte = 128;
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.PositiveSign = "plus";
-            string myByteString = myByte.ToString("D", numInfo);
-
-            if (myByteString != "128")
-            {
-                TestLibrary.TestFramework.LogError("007", "The decimal string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Verify E format convert exponential format string...");
-
-        try
-        {
-            Byte myByte = 128;
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.PositiveSign = "plus";
-            string myByteString = myByte.ToString("E", numInfo);
-
-            if (myByteString != "1.280000Eplus002")
-            {
-                TestLibrary.TestFramework.LogError("009", "The exponential string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Verify F format convert Fixed-point string...");
-
-        try
-        {
-            Byte myByte = 128;
-            CultureInfo culture = new CultureInfo("");
-            NumberFormatInfo numInfo = culture.NumberFormat;
-            numInfo.PositiveSign = "plus";
-            string myByteString = myByte.ToString("F", numInfo);
-
-            if (myByteString != "128.00")
-            {
-                TestLibrary.TestFramework.LogError("011", "The Fixed-point string is wrong!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/char/CharCompateTo1.csproj b/tests/src/CoreMangLib/cti/system/char/CharCompateTo1.csproj
deleted file mode 100644 (file)
index 6fccaa5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charcompateto1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharEquals1.csproj b/tests/src/CoreMangLib/cti/system/char/CharEquals1.csproj
deleted file mode 100644 (file)
index 351d50c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charequals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharEquals2.csproj b/tests/src/CoreMangLib/cti/system/char/CharEquals2.csproj
deleted file mode 100644 (file)
index 3a48077..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charequals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharGetHashCode.csproj b/tests/src/CoreMangLib/cti/system/char/CharGetHashCode.csproj
deleted file mode 100644 (file)
index 9657bd8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chargethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 00a978c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToByte.csproj
deleted file mode 100644 (file)
index b15d4f3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToChar.csproj
deleted file mode 100644 (file)
index 927142f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index 8c1b359..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 5ed4ac4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToDouble.csproj
deleted file mode 100644 (file)
index 5d36326..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt16.csproj
deleted file mode 100644 (file)
index a343191..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 832f636..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 51a3592..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToSByte.csproj
deleted file mode 100644 (file)
index 09575ef..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToSingle.csproj
deleted file mode 100644 (file)
index 0569f76..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToType.csproj
deleted file mode 100644 (file)
index 4d4a3dc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index a688065..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index 9b86b67..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/char/CharIConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 98e2ecc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsControl1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsControl1.csproj
deleted file mode 100644 (file)
index 56e61cf..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariscontrol1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsControl2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsControl2.csproj
deleted file mode 100644 (file)
index 1052c9f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariscontrol2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsDigit1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsDigit1.csproj
deleted file mode 100644 (file)
index 63b3cb7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisdigit1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsDigit2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsDigit2.csproj
deleted file mode 100644 (file)
index 0c22e7d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisdigit2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsLetter1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsLetter1.csproj
deleted file mode 100644 (file)
index 127f8e9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisletter1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsLetter2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsLetter2.csproj
deleted file mode 100644 (file)
index 6413944..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisletter2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsLetterOrDigit1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsLetterOrDigit1.csproj
deleted file mode 100644 (file)
index 9438ae8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisletterordigit1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsLetterOrDigit2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsLetterOrDigit2.csproj
deleted file mode 100644 (file)
index 62a89a6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisletterordigit2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsLower1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsLower1.csproj
deleted file mode 100644 (file)
index 997701f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charislower1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsLower2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsLower2.csproj
deleted file mode 100644 (file)
index 9aa39fa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charislower2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsNumber1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsNumber1.csproj
deleted file mode 100644 (file)
index 1b3d3fa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisnumber1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsNumber2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsNumber2.csproj
deleted file mode 100644 (file)
index 3c0fb8d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisnumber2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsPunctuation2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsPunctuation2.csproj
deleted file mode 100644 (file)
index f1f7364..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charispunctuation2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsSeparator1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsSeparator1.csproj
deleted file mode 100644 (file)
index cfaf100..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisseparator1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsSeparator2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsSeparator2.csproj
deleted file mode 100644 (file)
index ba1bbcc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisseparator2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsSurrogate1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsSurrogate1.csproj
deleted file mode 100644 (file)
index de1ff68..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charissurrogate1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsSurrogate2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsSurrogate2.csproj
deleted file mode 100644 (file)
index 813ca8b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charissurrogate2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsSurrogatePair1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsSurrogatePair1.csproj
deleted file mode 100644 (file)
index 0e3063a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charissurrogatepair1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsSurrogatePair2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsSurrogatePair2.csproj
deleted file mode 100644 (file)
index 8486527..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charissurrogatepair2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsSymbol1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsSymbol1.csproj
deleted file mode 100644 (file)
index d0c3d8e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charissymbol1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsUpper1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsUpper1.csproj
deleted file mode 100644 (file)
index 26775f4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisupper1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsUpper2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsUpper2.csproj
deleted file mode 100644 (file)
index e231631..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charisupper2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsWhiteSpace1.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsWhiteSpace1.csproj
deleted file mode 100644 (file)
index 0736e11..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariswhitespace1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharIsWhiteSpace2.csproj b/tests/src/CoreMangLib/cti/system/char/CharIsWhiteSpace2.csproj
deleted file mode 100644 (file)
index 2a2c188..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chariswhitespace2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharMaxValue.csproj b/tests/src/CoreMangLib/cti/system/char/CharMaxValue.csproj
deleted file mode 100644 (file)
index 5507e2a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charmaxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharMinValue.csproj b/tests/src/CoreMangLib/cti/system/char/CharMinValue.csproj
deleted file mode 100644 (file)
index 1417622..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charminvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharToString1.csproj b/tests/src/CoreMangLib/cti/system/char/CharToString1.csproj
deleted file mode 100644 (file)
index b4696a4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chartostring1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/CharToString2.csproj b/tests/src/CoreMangLib/cti/system/char/CharToString2.csproj
deleted file mode 100644 (file)
index c8800e9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="chartostring2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charcompateto1.cs b/tests/src/CoreMangLib/cti/system/char/charcompateto1.cs
deleted file mode 100644 (file)
index 7c55ae9..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.CompareTo(Char)  
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Compares this instance to a specified Char object and returns an indication of their relative values.  
-/// </summary>
-public class CharCompareTo
-{
-    public static int Main()
-    {
-        CharCompareTo testObj = new CharCompareTo();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.CompareTo(Char)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = @"PosTest1: char.MaxValue vs '\uFFFF'";
-        string errorDesc;
-
-        const char c_MAX_CHAR = '\uFFFF';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MaxValue;
-            bool result = 0 == actualChar.CompareTo(c_MAX_CHAR);
-            if (!result)
-            {
-                errorDesc = "Char.MaxValue is not " + c_MAX_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = @"PosTest2: char.MinValue vs '\u0000'";
-        string errorDesc;
-
-        const char c_MIN_CHAR = '\u0000';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MinValue;
-            bool result = 0 == actualChar.CompareTo(c_MIN_CHAR);
-            if (!result)
-            {
-                errorDesc = "char.MinValue is not " + c_MIN_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: char.MaxValue vs char.MinValue";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            int expectedValue = (int) char.MaxValue - (int)char.MinValue;
-            int actualValue = char.MaxValue.CompareTo(char.MinValue);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = @"char.MaxValue('\uFFFF') should be greater than char.MinValue('\u0000'), but not be less";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: comparison of two random charaters";
-        string errorDesc;
-
-        char chA, chB;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            chA = TestLibrary.Generator.GetChar(-55);
-            chB = TestLibrary.Generator.GetChar(-55);
-            int expectedValue = (int)chA - (int)chB;
-            int actualValue = chA.CompareTo(chB);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("The comparison result of character \'\\u{0:x}\' against character \'\\u{1:x}\' is not 0x{2:x} as expected: Actual(0x{3:x})",
-                    (int)chA, (int)chB, (Int16)expectedValue, (Int16)actualValue);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charequals1.cs b/tests/src/CoreMangLib/cti/system/char/charequals1.cs
deleted file mode 100644 (file)
index b491080..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.Equals(Char)  
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Returns a value indicating whether this instance is equal to the specified Char object.   
-/// </summary>
-public class CharEquals
-{
-    public static int Main()
-    {
-        CharEquals testObj = new CharEquals();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.Equals(Char)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = @"PosTest1: char.MaxValue vs '\uFFFF'";
-        string errorDesc;
-
-        const char c_MAX_CHAR = '\uFFFF';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MaxValue;
-            bool result = actualChar.Equals(c_MAX_CHAR);
-            if (!result)
-            {
-                errorDesc = "Char.MaxValue is not " + c_MAX_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = @"PosTest2: char.MinValue vs '\u0000'";
-        string errorDesc;
-
-        const char c_MIN_CHAR = '\u0000';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MinValue;
-            bool result = actualChar.Equals(c_MIN_CHAR);
-            if (!result)
-            {
-                errorDesc = "char.MinValue is not " + c_MIN_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: char.MaxValue vs char.MinValue";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            bool expectedValue = false;
-            bool actualValue = char.MaxValue.Equals(char.MinValue);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = @"char.MaxValue('\uFFFF') does not equal char.MinValue('\u0000')";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: equality of two random charaters";
-        string errorDesc;
-
-        char chA, chB;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            chA = TestLibrary.Generator.GetChar(-55);
-            chB = TestLibrary.Generator.GetChar(-55);
-            bool expectedValue = (int)chA == (int)chB;
-            bool actualValue = chA.Equals(chB);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("The equality of character \'\\u{0:x}\' against character \'\\u{1:x}\' is not {2} as expected: Actual({3})",
-                    (int)chA, (int)chB, expectedValue, actualValue);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charequals2.cs b/tests/src/CoreMangLib/cti/system/char/charequals2.cs
deleted file mode 100644 (file)
index 2c4d7de..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.Equals(Object)  
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Returns a value indicating whether this instance is equal to the specified Char object.   
-/// </summary>
-public class CharEquals
-{
-    public static int Main()
-    {
-        CharEquals testObj = new CharEquals();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.Equals(Object)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = @"PosTest1: char.MaxValue vs '\uFFFF'";
-        string errorDesc;
-
-        const char c_MAX_CHAR = '\uFFFF';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MaxValue;
-            object obj = c_MAX_CHAR;
-            bool result = actualChar.Equals(obj);
-            if (!result)
-            {
-                errorDesc = "Char.MaxValue is not " + c_MAX_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = @"PosTest2: char.MinValue vs '\u0000'";
-        string errorDesc;
-
-        const char c_MIN_CHAR = '\u0000';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MinValue;
-            object obj = c_MIN_CHAR;
-            bool result = actualChar.Equals(obj);
-            if (!result)
-            {
-                errorDesc = "char.MinValue is not " + c_MIN_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: char.MaxValue vs char.MinValue";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            bool expectedValue = false;
-            object obj = char.MinValue;
-            bool actualValue = char.MaxValue.Equals(obj);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = @"char.MaxValue('\uFFFF') does not equal char.MinValue('\u0000')";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: equality of two random charaters";
-        string errorDesc;
-
-        char chA, chB;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            chA = TestLibrary.Generator.GetChar(-55);
-            chB = TestLibrary.Generator.GetChar(-55);
-            object obj = chB;
-            bool expectedValue = (int)chA == (int)chB;
-            bool actualValue = chA.Equals(obj);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("The equality of character \'\\u{0:x}\' against character \'\\u{1:x}\' is not {2} as expected: Actual({3})",
-                    (int)chA, (int)chB, expectedValue, actualValue);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: char vs 32-bit integer value";
-        string errorDesc;
-
-        char chA;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            chA = TestLibrary.Generator.GetChar(-55);
-            object obj = (int)chA;
-            bool expectedValue = false;
-            bool actualValue = chA.Equals(obj);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("The equality of character \'\\u{0:x}\' against 32-bit integer {1:x} is not {2} as expected: Actual({3})",
-                    (int)chA, (int)obj, expectedValue, actualValue);
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chargethashcode.cs b/tests/src/CoreMangLib/cti/system/char/chargethashcode.cs
deleted file mode 100644 (file)
index 0cea6e0..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.GetHashCode()
-/// Returns the hash code for this instance.  
-/// </summary>
-public class CharGetHashCode
-{
-    public static int Main()
-    {
-        CharGetHashCode testObj = new CharGetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.GetHashCode()");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: char.MaxValue";
-        string errorDesc;
-
-        int expectedValue;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            expectedValue = (int)char.MaxValue | ((int)char.MaxValue << 16);
-            actualValue = char.MaxValue.GetHashCode();
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Hash code of char.MaxValue is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: char.MinValue";
-        string errorDesc;
-
-        int expectedValue;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            expectedValue = (int)char.MinValue | ((int)char.MinValue << 16);
-            actualValue = char.MinValue.GetHashCode();
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Hash code of char.MinValue is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: random character value";
-        string errorDesc;
-
-        int expectedValue;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char ch = TestLibrary.Generator.GetChar(-55);
-            expectedValue = (int)ch | ((int)ch << 16);
-            actualValue = ch.GetHashCode();
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("Hash code of \'\\u{0:x}\' is not {1} as expected: Actual({2})", (int)ch, expectedValue, actualValue);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletoboolean.cs
deleted file mode 100644 (file)
index 52706df..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.System.IConvertible.ToBoolean(IFormatProvider)
-/// This method supports the .NET Framework infrastructure and is not intended to be used
-/// directly from your code. 
-/// Note: This conversion is not supported. Attempting to do so throws an InvalidCastException. 
-/// </summary>
-public class CharIConvertibleToBoolean
-{
-    public static int Main()
-    {
-        CharIConvertibleToBoolean testObj = new CharIConvertibleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToBoolean(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-    #region Negative tests
-    //InvalidCastException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Random character";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToBoolean(null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc +=  string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletobyte.cs
deleted file mode 100644 (file)
index 43a7c26..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToByte(IFormatProvider)
-/// Converts the value of the current Char object to an 8-bit unsigned integer. 
-/// </summary>
-public class CharIConvertibleToByte
-{
-    public static int Main()
-    {
-        CharIConvertibleToByte testObj = new CharIConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToByte(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random valid character from 0 to Byte.MaxValue";
-        string errorDesc;
-
-        Byte expectedValue;
-        Byte actualValue;
-        char ch;
-        expectedValue = TestLibrary.Generator.GetByte(-55);
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToByte(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("Byte value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative tests
-    //bug
-    //OverflowException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Character with integer value greater than Byte.MaxValue";
-        string errorDesc;
-
-        UInt16 iValue;
-        char ch;
-        iValue = (UInt16)(Byte.MaxValue + 1 +
-            TestLibrary.Generator.GetInt32(-55) & (UInt16.MaxValue - byte.MaxValue));
-        ch = (char)iValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToByte(null);
-
-            errorDesc = "OverflowException is not thrown as expected.";
-            errorDesc +=  string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletochar.cs
deleted file mode 100644 (file)
index 5fc2869..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToChar(IFormatProvider)
-/// Return the current char object.
-/// </summary>
-public class CharIConvertibleToChar
-{
-    public static int Main()
-    {
-        CharIConvertibleToChar testObj = new CharIConvertibleToChar();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.Tochar(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random character between 0 and \\uFFFF";
-        string errorDesc;
-
-        char expectedChar = TestLibrary.Generator.GetChar(-55);
-        char actualChar;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = expectedChar;
-            actualChar = converter.ToChar(null);
-            
-            if (actualChar != expectedChar)
-            {
-                errorDesc = string.Format("Character is not \\u{0:x} as expected: Actual(\\u{1:x}", 
-                                                        (int)expectedChar, (int)actualChar);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: Char.MaxValue";
-        string errorDesc;
-
-        char expectedChar = char.MaxValue;
-        char actualChar;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = expectedChar;
-            actualChar = converter.ToChar(null);
-
-            if (actualChar != expectedChar)
-            {
-                errorDesc = string.Format("Character is not \\u{0:x} as expected: Actual(\\u{1:x}",
-                                                        (int)expectedChar, (int)actualChar);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: Char.MinValue";
-        string errorDesc;
-
-        char expectedChar = char.MinValue;
-        char actualChar;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = expectedChar;
-            actualChar = converter.ToChar(null);
-
-            if (actualChar != expectedChar)
-            {
-                errorDesc = string.Format("Character is not \\u{0:x} as expected: Actual(\\u{1:x}",
-                                                        (int)expectedChar, (int)actualChar);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletodatetime.cs
deleted file mode 100644 (file)
index 798dd85..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToDateTime(IFormatProvider)
-/// This method supports the .NET Framework infrastructure and is not intended to be 
-/// used directly from your code. 
-/// Note   This conversion is not supported. Attempting to do so throws an InvalidCastException. 
-/// </summary>
-public class CharIConvertibleToDateTime
-{
-    public static int Main()
-    {
-        CharIConvertibleToDateTime testObj = new CharIConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToDateTime(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Negative tests
-    //InvalidCastException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Random character";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToDateTime(null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Random character to datetime in culture-independent format";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            DateTimeFormatInfo dtf = new DateTimeFormatInfo();
-            converter.ToDateTime(dtf);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletodecimal.cs
deleted file mode 100644 (file)
index 48566ef..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToDecimal(IFormatProvider)
-/// Note   This conversion is not supported. Attempting to do so throws an InvalidCastException. 
-/// </summary>
-public class CharIConvertibleToDecimal
-{
-    public static int Main()
-    {
-        CharIConvertibleToDecimal testObj = new CharIConvertibleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToDecimal(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Negative tests
-    //InvalidCastException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Random character";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToDecimal(null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Random character to datetime in culture-independent format";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            DateTimeFormatInfo dtf = new DateTimeFormatInfo();
-            converter.ToDecimal(dtf);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletodouble.cs
deleted file mode 100644 (file)
index 5c343ca..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.System.IConvertible.ToDouble(IFormatProvider)
-/// Note   This conversion is not supported. Attempting to do so throws an InvalidCastException. 
-/// </summary>
-public class CharIConvertibleToDouble
-{
-    public static int Main()
-    {
-        CharIConvertibleToDouble testObj = new CharIConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToDouble(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Negative tests
-    //InvalidCastException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Random character";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToDouble(null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletoint16.cs
deleted file mode 100644 (file)
index cf815d9..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization; //for number format info
-
-/// <summary>
-/// Char.System.IConvertible.ToInt16(IFormatProvider)
-/// Converts the value of the current Char object to an 16-bit signed integer. 
-/// </summary>
-public class CharIConvertibleToInt16
-{
-    public static int Main()
-    {
-        CharIConvertibleToInt16 testObj = new CharIConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToInt16(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("");
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random valid character from 0 to Int16.MaxValue";
-        string errorDesc;
-
-        Int16 expectedValue;
-        Int16 actualValue;
-        char ch;
-        expectedValue = TestLibrary.Generator.GetInt16(-55);
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToInt16(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("Int16 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //bug
-    //overflow exception
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "NegTest1: Random valid character from Int16.MaxValue + 1 to UInt16.MaxValue";
-
-        UInt16 ui;
-        Int16 expectedValue;
-        Int16 actualValue;
-        char ch;
-        ui = (UInt16)(Int16.MaxValue +  1 + 
-                           TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue - Int16.MaxValue));
-        ch = (char)ui;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedValue = (Int16)ui;
-            actualValue = converter.ToInt16(numberFormat);
-
-            TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, c_TEST_DESC);
-            TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, "Exception expected");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-            // expected
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, c_TEST_DESC);
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletoint32.cs
deleted file mode 100644 (file)
index 2972214..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToInt32(IFormatProvider)
-/// Converts the value of the current Char object to an 32-bit signed integer. 
-/// </summary>
-public class CharIConvertibleToInt32
-{
-    public static int Main()
-    {
-        CharIConvertibleToInt32 testObj = new CharIConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToInt32(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random valid character from 0 to UInt16.MaxValue";
-        string errorDesc;
-
-        int expectedValue;
-        int actualValue;
-        char ch;
-        expectedValue = TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue +  1);
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToInt32(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("Int32 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletoint64.cs
deleted file mode 100644 (file)
index bded972..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToInt64(IFormatProvider)
-/// Converts the value of the current Char object to an 64-bit signed integer. 
-/// </summary>
-public class CharIConvertibleToInt64
-{
-    public static int Main()
-    {
-        CharIConvertibleToInt64 testObj = new CharIConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToInt64(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random valid character from 0 to UInt16.MaxValue";
-        string errorDesc;
-
-        Int64 expectedValue;
-        Int64 actualValue;
-        char ch;
-        expectedValue = TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue +  1);
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToInt64(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("Int64 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletosbyte.cs
deleted file mode 100644 (file)
index e0f6746..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToSByte(IFormatProvider)
-/// Converts the value of the current Char object to an 8-bit signed integer. 
-/// </summary>
-public class CharIConvertibleToSByte
-{
-    public static int Main()
-    {
-        CharIConvertibleToSByte testObj = new CharIConvertibleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToSByte(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random valid character from 0 to SByte.MaxValue";
-        string errorDesc;
-
-        SByte expectedValue;
-        SByte actualValue;
-        char ch;
-        expectedValue = (sbyte)(TestLibrary.Generator.GetByte(-55) % (sbyte.MaxValue + 1));
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToSByte(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("SByte value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative tests
-    //bug
-    //OverflowException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Character with integer value greater than SByte.MaxValue";
-        string errorDesc;
-
-        UInt16 iValue;
-        char ch;
-        // we need a UInt16 between (SByte.MaxValue + 1) and (UInt16.MaxValue)
-        int rangeSize = UInt16.MaxValue - (SByte.MaxValue + 1);
-        int rawRandom = TestLibrary.Generator.GetInt32(-55);
-        iValue = (UInt16)((rawRandom % rangeSize) +
-            (SByte.MaxValue + 1));
-
-        ch = (char)iValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToSByte(null);
-
-            errorDesc = "OverflowException is not thrown as expected.";
-            errorDesc +=  string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletosingle.cs
deleted file mode 100644 (file)
index 678f27b..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.System.IConvertible.ToSingle(IFormatProvider)
-/// Note   This conversion is not supported. Attempting to do so throws an InvalidCastException. 
-/// </summary>
-public class CharIConvertibleToDouble
-{
-    public static int Main()
-    {
-        CharIConvertibleToDouble testObj = new CharIConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToSingle(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Negative tests
-    //InvalidCastException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Random character";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToSingle(null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletotype.cs
deleted file mode 100644 (file)
index 91596dc..0000000
+++ /dev/null
@@ -1,675 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToType(Type, IFormatProvider)
-/// Converts the value of the current Char object to an object of the specified type using 
-/// the specified IFormatProvider object. 
-/// </summary>
-public class CharIConvertibleToType
-{
-    public static int Main()
-    {
-        CharIConvertibleToType testObj = new CharIConvertibleToType();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToType(Type, IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-        retVal = NegTest6() && retVal;
-        retVal = NegTest7() && retVal;
-        retVal = NegTest8() && retVal;
-       retVal = NegTest9() && retVal;
-       retVal = NegTest10() && retVal;
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Conversion to byte";
-        string errorDesc;
-
-        byte b;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        b = TestLibrary.Generator.GetByte(-55);
-        ch = (char)b;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = b;
-            actualObj = converter.ToType(typeof(byte), numberFormat);
-            
-            if (((byte)expectedObj != (byte)actualObj) || !(actualObj is byte))
-            {
-                errorDesc = string.Format("Byte value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: Conversion to sbyte";
-        string errorDesc;
-
-        sbyte sb;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        sb = (sbyte)(TestLibrary.Generator.GetByte(-55) % (sbyte.MaxValue + 1));
-        ch = (char)sb;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = sb;
-            actualObj = converter.ToType(typeof(sbyte), numberFormat);
-
-            if (((sbyte)expectedObj != (sbyte)actualObj) || !(actualObj is sbyte))
-            {
-                errorDesc = string.Format("SByte value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: Conversion to Int16";
-        string errorDesc;
-
-        Int16 i;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        i = (Int16)(TestLibrary.Generator.GetInt32(-55) % (Int16.MaxValue + 1));
-        ch = (char)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(Int16), numberFormat);
-
-            if (((Int16)expectedObj != (Int16)actualObj) || !(actualObj is Int16))
-            {
-                errorDesc = string.Format("Int16 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: Conversion to UInt16";
-        string errorDesc;
-
-        UInt16 i;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        i = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        ch = (char)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(UInt16), numberFormat);
-
-            if (((UInt16)expectedObj != (UInt16)actualObj) || !(actualObj is UInt16))
-            {
-                errorDesc = string.Format("UInt16 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P005";
-        const string c_TEST_DESC = "PosTest5: Conversion to Int32";
-        string errorDesc;
-
-        int i;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        i = TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1);
-        ch = (char)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(int), numberFormat);
-
-            if (((int)expectedObj != (int)actualObj) || !(actualObj is int))
-            {
-                errorDesc = string.Format("Int32 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P006";
-        const string c_TEST_DESC = "PosTest6: Conversion to UInt32";
-        string errorDesc;
-
-        UInt32 i;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        i = (UInt32)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        ch = (char)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(UInt32), numberFormat);
-
-            if (((UInt32)expectedObj != (UInt32)actualObj) || !(actualObj is UInt32))
-            {
-                errorDesc = string.Format("UInt32 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P007";
-        const string c_TEST_DESC = "PosTest7: Conversion to Int64";
-        string errorDesc;
-
-        Int64 i;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        i = TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1);
-        ch = (char)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(Int64), numberFormat);
-
-            if (((Int64)expectedObj != (Int64)actualObj) || !(actualObj is Int64))
-            {
-                errorDesc = string.Format("Int64 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P008";
-        const string c_TEST_DESC = "PosTest8: Conversion to UInt64";
-        string errorDesc;
-
-        UInt64 i;
-        object expectedObj;
-        object actualObj;
-        char ch;
-        i = (UInt64)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        ch = (char)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(UInt64), numberFormat);
-
-            if (((UInt64)expectedObj != (UInt64)actualObj) || !(actualObj is UInt64))
-            {
-                errorDesc = string.Format("UInt64 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("015" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("016" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P009";
-        const string c_TEST_DESC = "PosTest9: Conversion to char";
-        string errorDesc;
-
-        object expectedObj;
-        object actualObj;
-        char ch;
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-
-            expectedObj = ch;
-            actualObj = converter.ToType(typeof(char), null);
-
-            if (((char)expectedObj != (char)actualObj) || !(actualObj is char))
-            {
-                errorDesc = string.Format("char value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("017" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("018" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P010";
-        const string c_TEST_DESC = "PosTest10: Conversion to string";
-        string errorDesc;
-
-        object expectedObj;
-        object actualObj;
-        char ch;
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-
-            expectedObj = new string(ch, 1);
-            actualObj = converter.ToType(typeof(string), null);
-
-            if (((string)expectedObj != (string)actualObj) || !(actualObj is string))
-            {
-                errorDesc = string.Format("string value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("019" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("020" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: type is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToType(null, null);
-
-            errorDesc = "ArgumentNullException is not thrown as expected.";
-            errorDesc +=  string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("021" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (ArgumentNullException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError("022" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //InvalidCastException
-    public bool NegTest2()
-    {
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: type is boolean";
-
-        return this.DoInvalidCastTest(c_TEST_ID, c_TEST_DESC, "023", "024", typeof(bool));
-    }
-
-    public bool NegTest3()
-    {
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: type is double";
-
-        return this.DoInvalidCastTest(c_TEST_ID, c_TEST_DESC, "025", "026", typeof(double));
-    }
-
-    public bool NegTest4()
-    {
-        const string c_TEST_ID = "N004";
-        const string c_TEST_DESC = "NegTest4: type is single";
-
-        return this.DoInvalidCastTest(c_TEST_ID, c_TEST_DESC, "027", "028", typeof(Single));
-    }
-
-    public bool NegTest5()
-    {
-        const string c_TEST_ID = "N005";
-        const string c_TEST_DESC = "NegTest5: type is DateTime";
-
-        return this.DoInvalidCastTest(c_TEST_ID, c_TEST_DESC, "029", "030", typeof(DateTime));
-    }
-
-    public bool NegTest6()
-    {
-        const string c_TEST_ID = "N006";
-        const string c_TEST_DESC = "NegTest6: type is Decimal";
-
-        return this.DoInvalidCastTest(c_TEST_ID, c_TEST_DESC, "031", "032", typeof(Decimal));
-    }
-
-    public bool NegTest7()
-    {
-        const string c_TEST_ID = "N007";
-        const string c_TEST_DESC = "NegTest7: type is Decimal";
-
-        return this.DoInvalidCastTest(c_TEST_ID, c_TEST_DESC, "033", "034", typeof(Decimal));
-    }
-
-    //bug
-    //OverflowException
-    public bool NegTest8()
-    {
-        const string c_TEST_ID = "N008";
-        const string c_TEST_DESC = "NegTest8: Value is too large for destination type";
-        return this.DoOverflowTest(c_TEST_ID, c_TEST_DESC, "035", typeof(Int16), Int16.MaxValue);
-    }
-
-    public bool NegTest9()
-    {
-        const string c_TEST_ID = "N009";
-        const string c_TEST_DESC = "NegTest9: Value is too large for destination type";
-
-        return this.DoOverflowTest(c_TEST_ID, c_TEST_DESC, "036", typeof(byte), byte.MaxValue);
-    }
-
-    public bool NegTest10()
-    {
-        const string c_TEST_ID = "N010";
-        const string c_TEST_DESC = "NegTest10: Value is too large for destination type";
-
-        return this.DoOverflowTest(c_TEST_ID, c_TEST_DESC, "037", typeof(sbyte), sbyte.MaxValue);
-    }
-    #endregion
-
-    #region Helper methods for negative tests
-    private bool DoInvalidCastTest(string testId,
-                                                string testDesc,
-                                                string errorNum1,
-                                                string errorNum2,
-                                                Type destType)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToType(destType, null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    private bool DoOverflowTest(string testId,
-                                            string testDesc,
-                                            string errorNum,
-                                            Type destType,
-                                            int destTypeMaxValue)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        int i;
-        char ch;
-        i = destTypeMaxValue + 1 +
-             TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue - destTypeMaxValue);
-        ch = (char)i;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            IConvertible converter = ch;
-            converter.ToType(destType, null);
-           TestLibrary.TestFramework.LogError(errorNum + "TestId-" +testId,
-               "No OverflowException thrown when expected");
-           retVal = false;
-        }
-       catch (OverflowException)
-       {
-           TestLibrary.TestFramework.LogInformation("Caught expected overflow.");
-       }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError(errorNum + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletouint16.cs
deleted file mode 100644 (file)
index ecd2fef..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToUInt16(IFormatProvider)
-/// Converts the value of the current Char object to an 16-bit unsigned integer. 
-/// </summary>
-public class CharIConvertibleToUInt16
-{
-    public static int Main()
-    {
-        CharIConvertibleToUInt16 testObj = new CharIConvertibleToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToUInt16(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random character";
-        string errorDesc;
-
-        UInt16 expectedValue;
-        UInt16 actualValue;
-        char ch;
-        expectedValue = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue +  1));
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToUInt16(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("UInt16 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletouint32.cs
deleted file mode 100644 (file)
index 1c86897..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToUInt32(IFormatProvider)
-/// Converts the value of the current Char object to an 32-bit unsigned integer. 
-/// </summary>
-public class CharIConvertibleToUInt32
-{
-    public static int Main()
-    {
-        CharIConvertibleToUInt32 testObj = new CharIConvertibleToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToUInt32(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random character.";
-        string errorDesc;
-
-        UInt32 expectedValue;
-        UInt32 actualValue;
-        char ch;
-        expectedValue = (UInt32)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToUInt32(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("UInt32 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/char/chariconvertibletouint64.cs
deleted file mode 100644 (file)
index 30eca02..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// Char.System.IConvertible.ToUInt64(IFormatProvider)
-/// Converts the value of the current Char object to an 64-bit unsigned integer. 
-/// </summary>
-public class CharIConvertibleToUInt64
-{
-    public static int Main()
-    {
-        CharIConvertibleToUInt64 testObj = new CharIConvertibleToUInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.System.IConvertible.ToUInt32(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random character.";
-        string errorDesc;
-
-        UInt64 expectedValue;
-        UInt64 actualValue;
-        char ch;
-        expectedValue = (UInt64)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        ch = (char)expectedValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = ch;
-
-            actualValue = converter.ToUInt64(numberFormat);
-            
-            if (actualValue != expectedValue)
-            {
-                errorDesc = string.Format("UInt64 value of character \\u{0:x} is not ", (int)ch);
-                errorDesc += expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariscontrol1.cs b/tests/src/CoreMangLib/cti/system/char/chariscontrol1.cs
deleted file mode 100644 (file)
index 9e30672..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsControl(Char)
-/// Indicates whether the specified Unicode character is categorized as a control character. 
-/// </summary>
-public class CharIsControl
-{
-    public static int Main()
-    {
-        CharIsControl testObj = new CharIsControl();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.GetUnicodeCategory(Char)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positve tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-
-        return this.DoTest("PosTest1: Non control character.",
-                                  "P001", "001", "002", ch,
-                                  false);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate the character for validate
-        char ch = '\n';
-
-        return this.DoTest("PosTest2: Control character.",
-                                  "P002", "003", "004", ch,
-                                  true);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsControl(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to control characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to  control characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariscontrol2.cs b/tests/src/CoreMangLib/cti/system/char/chariscontrol2.cs
deleted file mode 100644 (file)
index ed26361..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsControl(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a control character. 
-/// </summary>
-public class CharIsControl
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    public static int Main()
-    {
-        CharIsControl testObj = new CharIsControl();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsControl(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positve tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-
-        return this.DoTest("PosTest1: Non control character.",
-                                  "P001", "001", "002", ch,
-                                  false);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate the character for validate
-        char ch = '\n';
-
-        return this.DoTest("PosTest2: Control character.",
-                                  "P002", "003", "004", ch,
-                                  true);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = new string(ch, 1);
-            bool actualResult = char.IsControl(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to control characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to  control characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsControl(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsControl(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsControl(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisdigit1.cs b/tests/src/CoreMangLib/cti/system/char/charisdigit1.cs
deleted file mode 100644 (file)
index 7d1609b..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsDigit(Char)  
-/// Indicates whether the specified Unicode character is categorized as a decimal digit. 
-/// </summary>
-public class CharIsDigit
-{
-    private static readonly char[] r_decimalDigits = 
-    {
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
-    };
-
-    public static int Main()
-    {
-        CharIsDigit testObj = new CharIsDigit();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsDigit(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_decimalDigits.Length;
-        char ch = r_decimalDigits[index];
-
-        return this.DoTest("PosTest1: Random decimal digit character (0-9).",
-                                  "P001", "001", "002", ch,
-                                  true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest2: Non decimal digit character.",
-                                  "P002", "003", "004", ch,
-                                  false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsDigit(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to decimal digit characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to decimal digit characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisdigit2.cs b/tests/src/CoreMangLib/cti/system/char/charisdigit2.cs
deleted file mode 100644 (file)
index bd2efe1..0000000
+++ /dev/null
@@ -1,228 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsDigit(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a decimal digit character. 
-/// </summary>
-public class CharIsDigit
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    private static readonly char[] r_decimalDigits = 
-    {
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
-    };
-
-    public static int Main()
-    {
-        CharIsDigit testObj = new CharIsDigit();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsDigit(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_decimalDigits.Length;
-        char ch = r_decimalDigits[index];
-
-        return this.DoTest("PosTest1: Random decimal digit character (0-9).",
-                                  "P001", "001", "002", ch,
-                                  true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest2: Non decimal digit character.", 
-                                  "P002", "003", "004", ch,
-                                  false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = new string(ch, 1);
-            bool actualResult = char.IsDigit(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to decimal digit characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to decimal digit characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", (int)ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsDigit(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsDigit(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsDigit(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisletter1.cs b/tests/src/CoreMangLib/cti/system/char/charisletter1.cs
deleted file mode 100644 (file)
index 5a0e554..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsLetter(Char)  
-/// Indicates whether the specified Unicode character is categorized as a letter. 
-/// </summary>
-public class CharIsLetter
-{
-    public static int Main()
-    {
-        CharIsLetter testObj = new CharIsLetter();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsLetter(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Letter character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharNumber(-55);
-        return this.DoTest("PosTest2: Non letter character.", 
-                                  "P002", "003", "004", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsLetter(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to letter characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to letter characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisletter2.cs b/tests/src/CoreMangLib/cti/system/char/charisletter2.cs
deleted file mode 100644 (file)
index 2dc0b7e..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsLetter(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a letter character. 
-/// </summary>
-public class CharIsLetter
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    public static int Main()
-    {
-        CharIsLetter testObj = new CharIsLetter();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsLetter(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Letter character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharNumber(-55);
-        return this.DoTest("PosTest2: Non letter character.",
-                                  "P002", "003", "004", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsLetter(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to letter characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to letter characters.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsLetter(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsLetter(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsLetter(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisletterordigit1.cs b/tests/src/CoreMangLib/cti/system/char/charisletterordigit1.cs
deleted file mode 100644 (file)
index 7d48d1c..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization; //for UnicodeCategory enumeration
-
-/// <summary>
-/// Char.IsLetterOrDigit(Char)  
-/// Indicates whether the specified Unicode character is categorized as a letter or decimal digit. 
-/// </summary>
-public class CharIsLetterOrDigit
-{
-    private static readonly char[] r_decimalDigits = 
-    {
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
-    };
-
-    public static int Main()
-    {
-        CharIsLetterOrDigit testObj = new CharIsLetterOrDigit();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsLetterOrDigit(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Letter character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_decimalDigits.Length;
-        char ch = r_decimalDigits[index];
-
-        return this.DoTest("PosTest2: Decimal digit character.", 
-                                  "P002", "003", "004", ch, true);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non  character for validate
-        char ch = '\n';
-
-        return this.DoTest("PosTest3: Not decimal digit nor letter character.",
-                                  "P003", "005", "006", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsLetterOrDigit(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to letter or decimal digit characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to letter or decimal digit characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisletterordigit2.cs b/tests/src/CoreMangLib/cti/system/char/charisletterordigit2.cs
deleted file mode 100644 (file)
index 34df969..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsLetterOrDigit(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a letter or decimal digit character. 
-/// </summary>
-public class CharIsLetterOrDigit
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    private static readonly char[] r_decimalDigits = 
-    {
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
-    };
-
-    public static int Main()
-    {
-        CharIsLetterOrDigit testObj = new CharIsLetterOrDigit();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsLetterOrDigit(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Letter character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_decimalDigits.Length;
-        char ch = r_decimalDigits[index];
-
-        return this.DoTest("PosTest2: Decimal digit character.",
-                                  "P002", "003", "004", ch, true);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non  character for validate
-        char ch = '\n';
-
-        return this.DoTest("PosTest3: Not decimal digit nor letter character.",
-                                  "P003", "005", "006", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsLetterOrDigit(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to letter or decimal digit characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to letter or decimal digit characters.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsLetterOrDigit(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsLetterOrDigit(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsLetterOrDigit(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charislower1.cs b/tests/src/CoreMangLib/cti/system/char/charislower1.cs
deleted file mode 100644 (file)
index c7e2551..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsLower(Char)  
-/// Indicates whether the specified Unicode character is categorized as a lowercase letter. 
-/// </summary>
-public class CharIsLower
-{
-    public static int Main()
-    {
-        CharIsLower testObj = new CharIsLower();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsLower(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Lowercase letter character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = 'A';
-        return this.DoTest("PosTest2: Uppercase letter character.", 
-                                  "P002", "003", "004", ch, false);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharNumber(-55);
-        return this.DoTest("PosTest3: Non letter character.",
-                                  "P003", "005", "006", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsLower(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to lowercase letter characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to lowercase letter characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charislower2.cs b/tests/src/CoreMangLib/cti/system/char/charislower2.cs
deleted file mode 100644 (file)
index d18358a..0000000
+++ /dev/null
@@ -1,228 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsLower(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a lowercase letter character. 
-/// </summary>
-public class CharIsLower
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    public static int Main()
-    {
-        CharIsLower testObj = new CharIsLower();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsLower(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Lowercase letter character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = 'A';
-        return this.DoTest("PosTest2: Uppercase letter character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharNumber(-55);
-        return this.DoTest("PosTest3: Non letter character.",
-                                  "P003", "005", "006", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsLower(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to lowercase letter characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to lowercase letter characters.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsLower(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsLower(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsLower(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is \\u{0:x}", str[index]);
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisnumber1.cs b/tests/src/CoreMangLib/cti/system/char/charisnumber1.cs
deleted file mode 100644 (file)
index 40c9c54..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsNumber(Char)  
-/// Indicates whether the specified Unicode character is categorized as a number. 
-/// </summary>
-public class CharIsNumber
-{
-    private static readonly char[] r_decimalDigits = 
-    {
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
-    };
-
-    public static int Main()
-    {
-        CharIsNumber testObj = new CharIsNumber();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsNumber(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_decimalDigits.Length;
-        char ch = r_decimalDigits[index];
-
-        return this.DoTest("PosTest1: Number character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = 'A';
-        return this.DoTest("PosTest2: Non-number character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsNumber(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to number.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to number.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisnumber2.cs b/tests/src/CoreMangLib/cti/system/char/charisnumber2.cs
deleted file mode 100644 (file)
index 9419f0f..0000000
+++ /dev/null
@@ -1,227 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsNumber(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a number. 
-/// </summary>
-public class CharIsNumber
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    private static readonly char[] r_decimalDigits = 
-    {
-        '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
-    };
-
-    public static int Main()
-    {
-        CharIsNumber testObj = new CharIsNumber();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsNumber(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_decimalDigits.Length;
-        char ch = r_decimalDigits[index];
-
-        return this.DoTest("PosTest1: Number character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = 'A';
-        return this.DoTest("PosTest2: Non-number character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = new string(ch, 1);
-            bool actualResult = char.IsNumber(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to number.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to number.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsNumber(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsNumber(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsNumber(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charispunctuation2.cs b/tests/src/CoreMangLib/cti/system/char/charispunctuation2.cs
deleted file mode 100644 (file)
index cd08e1d..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsPunctuation(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a punctuation. 
-/// </summary>
-public class CharIsPunctuation
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    public static int Main()
-    {
-        CharIsPunctuation testObj = new CharIsPunctuation();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsPunctuation(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate a character for validate
-        char ch = '"';
-
-        return this.DoTest("PosTest1: Punctuation character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non punctuation character for validate
-        char ch = 'A';
-        return this.DoTest("PosTest2: Non-punctuation character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = new string(ch ,1);
-            bool actualResult = char.IsPunctuation(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to punctuation.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to punctuation.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsPunctuation(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsPunctuation(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsPunctuation(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisseparator1.cs b/tests/src/CoreMangLib/cti/system/char/charisseparator1.cs
deleted file mode 100644 (file)
index 56c6ba4..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsSeparator(Char)  
-/// Indicates whether the specified Unicode character is categorized as a separator. 
-/// </summary>
-public class CharIsSeparator
-{
-    public static int Main()
-    {
-        CharIsSeparator testObj = new CharIsSeparator();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSeparator(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = ' '; //space character
-
-        return this.DoTest("PosTest1: Separator character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non separator character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest2: Non-separator character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsSeparator(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to separator.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to separator.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisseparator2.cs b/tests/src/CoreMangLib/cti/system/char/charisseparator2.cs
deleted file mode 100644 (file)
index 7d1eee9..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsSeparator(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a separator. 
-/// </summary>
-public class CharIsSeparator
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    public static int Main()
-    {
-        CharIsSeparator testObj = new CharIsSeparator();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsSeparator(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = ' '; //space character
-
-        return this.DoTest("PosTest1: Separator character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non separator character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest2: Non-separator character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = new string(ch, 1);
-            bool actualResult = char.IsSeparator(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to separator.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to separator.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsSeparator(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsSeparator(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsSeparator(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charissurrogate1.cs b/tests/src/CoreMangLib/cti/system/char/charissurrogate1.cs
deleted file mode 100644 (file)
index 13ab7d6..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsSurrogate(Char)  
-/// Indicates whether the specified Unicode character is categorized as a surrogate. 
-/// </summary>
-public class CharIsSurrogate
-{
-    private const char c_HIGH_SURROGATE_START = '\ud800';
-    private const char c_HIGH_SURROGATE_END = '\udbff';
-    private const char c_LOW_SURROGATE_START = '\udc00';
-    private const char c_LOW_SURROGATE_END = '\udfff';
-
-    public static int Main()
-    {
-        CharIsSurrogate testObj = new CharIsSurrogate();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSurrogate(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        char ch;
-        //Generate a low surrogate character for validate
-        int count = (int)c_LOW_SURROGATE_END - (int)c_LOW_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        ch = (char)((int)c_LOW_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest1: Low surrogate character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        char ch;
-        //Generate a hign surrogate character for validate
-        int count = (int)c_HIGH_SURROGATE_END - (int)c_HIGH_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        ch = (char)((int)c_HIGH_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest2: Hign surrogate character.",
-                                  "P002", "003", "004", ch, true);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non surrogate character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest3: Non-surrogate character.",
-                                  "P003", "005", "006", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsSurrogate(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to surrogate.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to surrogate.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charissurrogate2.cs b/tests/src/CoreMangLib/cti/system/char/charissurrogate2.cs
deleted file mode 100644 (file)
index e6bb988..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsSurrogate(Char)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a surrogate.
-/// </summary>
-public class CharIsSurrogate
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    private const char c_HIGH_SURROGATE_START = '\ud800';
-    private const char c_HIGH_SURROGATE_END = '\udbff';
-    private const char c_LOW_SURROGATE_START = '\udc00';
-    private const char c_LOW_SURROGATE_END = '\udfff';
-
-    public static int Main()
-    {
-        CharIsSurrogate testObj = new CharIsSurrogate();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSurrogate(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        
-        char ch;
-        //Generate a low surrogate character for validate
-        int count = (int)c_LOW_SURROGATE_END - (int)c_LOW_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        ch = (char)((int)c_LOW_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest1: Low surrogate character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        char ch;
-        //Generate a hign surrogate character for validate
-        int count = (int)c_HIGH_SURROGATE_END - (int)c_HIGH_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        ch = (char)((int)c_HIGH_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest2: Hign surrogate character.",
-                                  "P002", "003", "004", ch, true);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non surrogate character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest3: Non-surrogate character.",
-                                  "P003", "005", "006", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = new string(ch, 1);
-            bool actualResult = char.IsSurrogate(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to surrogate.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to surrogate.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsSurrogate(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsSurrogate(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsSurrogate(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charissurrogatepair1.cs b/tests/src/CoreMangLib/cti/system/char/charissurrogatepair1.cs
deleted file mode 100644 (file)
index fb76d2e..0000000
+++ /dev/null
@@ -1,194 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsSurrogatePair(char, char)
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Indicates whether the two specified Char objects form a surrogate pair. 
-/// </summary>
-public class CharIsSurrogatePair
-{
-    private const char c_HIGH_SURROGATE_START = '\ud800';
-    private const char c_HIGH_SURROGATE_END = '\udbff';
-    private const char c_LOW_SURROGATE_START = '\udc00';
-    private const char c_LOW_SURROGATE_END = '\udfff';
-
-    public static int Main()
-    {
-        CharIsSurrogatePair testObj = new CharIsSurrogatePair();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSurrogatePair(Char, char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        char chA;
-        char chB;
-        //Generate a high surrogate character for validate
-        int count = (int)c_HIGH_SURROGATE_END - (int)c_HIGH_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chA = (char)((int)c_HIGH_SURROGATE_START + offset);
-
-        //Generate a character not low surrogate for validate
-        count = (int)c_LOW_SURROGATE_END - (int)c_LOW_SURROGATE_START + 1;
-        offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chB = (char)((int)c_LOW_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest1: First character is high surrogate, and the second is low surrogate",
-                                  "P001", "001", "002", chA, chB, true);
-    }
-
-    public bool PosTest2()
-    {
-        char chA;
-        char chB;
-        //Generate a high surrogate character for validate
-        int count = (int)c_HIGH_SURROGATE_END - (int)c_HIGH_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chA = (char)((int)c_HIGH_SURROGATE_START + offset);
-
-        //Generate a character not low surrogate for validate
-        int i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chB = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_LOW_SURROGATE_START));
-        }
-        else
-        {
-            chB = (char)((int)c_LOW_SURROGATE_END + 1 + 
-                TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_LOW_SURROGATE_END));
-        }
-
-        return this.DoTest("PosTest2: First character is high surrogate, but the second is not low surrogate",
-                                  "P002", "003", "004", chA, chB, false);
-    }
-
-    public bool PosTest3()
-    {
-        char chA;
-        char chB;
-        //Generate a character not high surrogate for validate
-        int i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chA = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_HIGH_SURROGATE_START));
-        }
-        else
-        {
-            chA = (char)((int)c_HIGH_SURROGATE_END + 1 +
-                   TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_HIGH_SURROGATE_END));
-        }
-
-        //Generate a low surrogate character for validate
-        int count = (int)c_LOW_SURROGATE_END - (int)c_LOW_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chB = (char)((int)c_LOW_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest2: Second character is low surrogate, but the first is not high surrogate",
-                                  "P003", "005", "006", chA, chB, false);
-    }
-
-    public bool PosTest4()
-    {
-        char chA;
-        char chB;
-        //Generate a character not high surrogate for validate
-        int i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chA = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_HIGH_SURROGATE_START));
-        }
-        else
-        {
-            chA = (char)((int)c_HIGH_SURROGATE_END + 1 +
-                   TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_HIGH_SURROGATE_END));
-        }
-
-        //Generate a character not low surrogate for validate
-        i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chB = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_LOW_SURROGATE_START));
-        }
-        else
-        {
-            chB = (char)((int)c_LOW_SURROGATE_END + 1 +
-                TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_LOW_SURROGATE_END));
-        }
-
-        return this.DoTest("PosTest2: Both the first character and the second are invalid",
-                                  "P004", "007", "008", chA, chB, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char chA, 
-                                char chB,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsSurrogatePair(chA, chB);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} and \\u{1:x} should belong to surrogate pair.", (int)chA, (int)chB);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character  \\u{0:x} and \\u{1:x} does not belong to surrogate pair.", (int)chA, (int)chB);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x} and \\u{1:x}", chA, chB);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charissurrogatepair2.cs b/tests/src/CoreMangLib/cti/system/char/charissurrogatepair2.cs
deleted file mode 100644 (file)
index 8fb09d1..0000000
+++ /dev/null
@@ -1,310 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsSurrogatePair(string, index)
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Indicates whether two adjacent Char objects at a specified position in a string form a surrogate pair. 
-/// </summary>
-public class CharIsSurrogatePair
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    private const char c_HIGH_SURROGATE_START = '\ud800';
-    private const char c_HIGH_SURROGATE_END = '\udbff';
-    private const char c_LOW_SURROGATE_START = '\udc00';
-    private const char c_LOW_SURROGATE_END = '\udfff';
-
-    public static int Main()
-    {
-        CharIsSurrogatePair testObj = new CharIsSurrogatePair();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSurrogatePair(string, index)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        char chA;
-        char chB;
-        //Generate a high surrogate character for validate
-        int count = (int)c_HIGH_SURROGATE_END - (int)c_HIGH_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chA = (char)((int)c_HIGH_SURROGATE_START + offset);
-
-        //Generate a character not low surrogate for validate
-        count = (int)c_LOW_SURROGATE_END - (int)c_LOW_SURROGATE_START + 1;
-        offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chB = (char)((int)c_LOW_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest1: First character is high surrogate, and the second is low surrogate",
-                                  "P001", "001", "002", chA, chB, true);
-    }
-
-    public bool PosTest2()
-    {
-        char chA;
-        char chB;
-        //Generate a high surrogate character for validate
-        int count = (int)c_HIGH_SURROGATE_END - (int)c_HIGH_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chA = (char)((int)c_HIGH_SURROGATE_START + offset);
-
-        //Generate a character not low surrogate for validate
-        int i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chB = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_LOW_SURROGATE_START));
-        }
-        else
-        {
-            chB = (char)((int)c_LOW_SURROGATE_END + 1 + 
-                TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_LOW_SURROGATE_END));
-        }
-
-        return this.DoTest("PosTest2: First character is high surrogate, but the second is not low surrogate",
-                                  "P002", "003", "004", chA, chB, false);
-    }
-
-    public bool PosTest3()
-    {
-        char chA;
-        char chB;
-        //Generate a character not high surrogate for validate
-        int i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chA = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_HIGH_SURROGATE_START));
-        }
-        else
-        {
-            chA = (char)((int)c_HIGH_SURROGATE_END + 1 +
-                   TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_HIGH_SURROGATE_END));
-        }
-
-        //Generate a low surrogate character for validate
-        int count = (int)c_LOW_SURROGATE_END - (int)c_LOW_SURROGATE_START + 1;
-        int offset = TestLibrary.Generator.GetInt32(-55) % count;
-        chB = (char)((int)c_LOW_SURROGATE_START + offset);
-
-        return this.DoTest("PosTest2: Second character is low surrogate, but the first is not high surrogate",
-                                  "P003", "005", "006", chA, chB, false);
-    }
-
-    public bool PosTest4()
-    {
-        char chA;
-        char chB;
-        //Generate a character not high surrogate for validate
-        int i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chA = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_HIGH_SURROGATE_START));
-        }
-        else
-        {
-            chA = (char)((int)c_HIGH_SURROGATE_END + 1 +
-                   TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_HIGH_SURROGATE_END));
-        }
-
-        //Generate a character not low surrogate for validate
-        i = TestLibrary.Generator.GetInt32(-55) & 0x00000001;
-        if (0 == i)
-        {
-            chB = (char)(TestLibrary.Generator.GetInt32(-55) % ((int)c_LOW_SURROGATE_START));
-        }
-        else
-        {
-            chB = (char)((int)c_LOW_SURROGATE_END + 1 +
-                TestLibrary.Generator.GetInt32(-55) % ((int)char.MaxValue - (int)c_LOW_SURROGATE_END));
-        }
-
-        return this.DoTest("PosTest2: Both the first character and the second are invalid",
-                                  "P004", "007", "008", chA, chB, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char chA, 
-                                char chB,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = string.Empty + chA + chB;
-            bool actualResult = char.IsSurrogatePair(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} and \\u{1:x} should belong to surrogate pair.", (int)chA, (int)chB);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character  \\u{0:x} and \\u{1:x} does not belong to surrogate pair.", (int)chA, (int)chB);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x} and \\u{1:x}", chA, chB);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsPunctuation(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsPunctuation(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsPunctuation(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charissymbol1.cs b/tests/src/CoreMangLib/cti/system/char/charissymbol1.cs
deleted file mode 100644 (file)
index 62a913d..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsSymbol(Char)  
-/// Indicates whether the specified Unicode character is categorized as a symbol. 
-/// </summary>
-public class CharIsSymbol
-{
-    public static int Main()
-    {
-        CharIsSymbol testObj = new CharIsSymbol();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSymbol(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = '+';
-
-        return this.DoTest("PosTest1: Symbol character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non separator character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest2: Non-symbol character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsSymbol(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to symbol.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to symbol.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisupper1.cs b/tests/src/CoreMangLib/cti/system/char/charisupper1.cs
deleted file mode 100644 (file)
index 2a7b234..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsUpper(Char)  
-/// Indicates whether the specified Unicode character is categorized as a uppercase letter. 
-/// </summary>
-public class CharIsUpper
-{
-    public static int Main()
-    {
-        CharIsUpper testObj = new CharIsUpper();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsUpper(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Lowercase letter character",
-                                  "P001", "001", "002", ch, false);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = 'A';
-        return this.DoTest("PosTest2: Uppercase letter character.", 
-                                  "P002", "003", "004", ch, true);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharNumber(-55);
-        return this.DoTest("PosTest3: Non letter character.",
-                                  "P003", "005", "006", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsUpper(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to uppercase letter characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to uppercase letter characters.", (int)ch);
-                }
-                
-                TestLibrary.TestFramework.LogError(errorNum1+ " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charisupper2.cs b/tests/src/CoreMangLib/cti/system/char/charisupper2.cs
deleted file mode 100644 (file)
index 44bfdc5..0000000
+++ /dev/null
@@ -1,228 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// char.IsUpper(string, int)  
-/// Indicates whether the character at the specified position in a specified string is categorized 
-/// as a uppercase letter character. 
-/// </summary>
-public class CharIsUpper
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    public static int Main()
-    {
-        CharIsUpper testObj = new CharIsUpper();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: char.IsUpper(string, int)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negaitive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        char ch = 'a';
-
-        return this.DoTest("PosTest1: Lowercase letter character",
-                                  "P001", "001", "002", ch, false);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non  character for validate
-        char ch = 'A';
-        return this.DoTest("PosTest2: Uppercase letter character.",
-                                  "P002", "003", "004", ch, true);
-    }
-
-    public bool PosTest3()
-    {
-        //Generate a non  character for validate
-        char ch = TestLibrary.Generator.GetCharNumber(-55);
-        return this.DoTest("PosTest3: Non letter character.",
-                                  "P003", "005", "006", ch, false);
-    }
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsUpper(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to uppercase letter characters.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to uppercase letter characters.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsUpper(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsUpper(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsUpper(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariswhitespace1.cs b/tests/src/CoreMangLib/cti/system/char/chariswhitespace1.cs
deleted file mode 100644 (file)
index 98506af..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsWhiteSpace(Char)  
-/// Indicates whether the specified Unicode character is categorized as a whitespace. 
-/// </summary>
-public class CharIsWhiteSpace
-{
-    private static readonly char[] r_whiteSpaceChars =
-    {
-        (char)0x0009, (char)0x000A, (char)0x000B, (char)0x000C, (char)0x000D, 
-        (char)0x0020, 
-        (char)0x0085, (char)0x00A0,
-        (char)0x1680, (char)0x180E, //compatibility with desktop
-        (char)0x2000, (char)0x2001, (char)0x2002, (char)0x2003, (char)0x2004, (char)0x2005, 
-        (char)0x2006, (char)0x2007, (char)0x2008, (char)0x2009, (char)0x200A, //(char)0x200B,
-        (char)0x2028, (char)0x2029,
-        (char)0x202F, (char)0x205F, //compatibility with desktop
-        (char)0x3000, //(char)0xFEFF
-    };
-
-    public static int Main()
-    {
-        CharIsWhiteSpace testObj = new CharIsWhiteSpace();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsWhiteSpace(Char)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_whiteSpaceChars.Length;
-        char ch = r_whiteSpaceChars[index];
-
-        return this.DoTest("PosTest1: Whitespace character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non separator character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest2: Non-whitespace character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            bool actualResult = char.IsWhiteSpace(ch);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to whitespace.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to whitespace.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chariswhitespace2.cs b/tests/src/CoreMangLib/cti/system/char/chariswhitespace2.cs
deleted file mode 100644 (file)
index 883a44e..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.IsWhiteSpace(string, int)  
-/// Indicates whether the character at specifed position in a specified string is categorized 
-/// as a whitespace. 
-/// </summary>
-public class CharIsWhiteSpace
-{
-    private const int c_MIN_STR_LEN = 2;
-    private const int c_MAX_STR_LEN = 256;
-
-    private static readonly char[] r_whiteSpaceChars =
-    {
-        (char)0x0009, (char)0x000A, (char)0x000B, (char)0x000C, (char)0x000D, 
-        (char)0x0020, 
-        (char)0x0085, (char)0x00A0,
-        (char)0x1680, (char)0x180E, //compatibility with desktop
-        (char)0x2000, (char)0x2001, (char)0x2002, (char)0x2003, (char)0x2004, (char)0x2005, 
-        (char)0x2006, (char)0x2007, (char)0x2008, (char)0x2009, (char)0x200A, //(char)0x200B,
-        (char)0x2028, (char)0x2029,
-        (char)0x202F, (char)0x205F, //compatibility with desktop
-        (char)0x3000, //(char)0xFEFF
-    };
-
-    public static int Main()
-    {
-        CharIsWhiteSpace testObj = new CharIsWhiteSpace();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.IsWhiteSpace(string ,int)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-    #region Positive tests
-    public bool PosTest1()
-    {
-        //Generate the character for validate
-        int index = TestLibrary.Generator.GetInt32(-55) % r_whiteSpaceChars.Length;
-        char ch = r_whiteSpaceChars[index];
-
-        return this.DoTest("PosTest1: Whitespace character",
-                                  "P001", "001", "002", ch, true);
-    }
-
-    public bool PosTest2()
-    {
-        //Generate a non separator character for validate
-        char ch = TestLibrary.Generator.GetCharLetter(-55);
-        return this.DoTest("PosTest2: Non-whitespace character.",
-                                  "P002", "003", "004", ch, false);
-    }
-
-    #endregion
-
-    #region Helper method for positive tests
-    private bool DoTest(string testDesc,
-                                string testId,
-                                string errorNum1,
-                                string errorNum2,
-                                char ch,
-                                bool expectedResult)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            string str = new string(ch, 1);
-            bool actualResult = char.IsWhiteSpace(str, 0);
-            if (expectedResult != actualResult)
-            {
-                if (expectedResult)
-                {
-                    errorDesc = string.Format("Character \\u{0:x} should belong to whitespace.", (int)ch);
-                }
-                else
-                {
-                    errorDesc = string.Format("Character \\u{0:x} does not belong to whitespace.", (int)ch);
-                }
-
-                TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nCharacter is \\u{0:x}", ch);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: String is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            index = TestLibrary.Generator.GetInt32(-55);
-            char.IsWhiteSpace(null, index);
-            errorDesc = "ArgumentNullException is not thrown as expected, index is " + index;
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e + "\n Index is " + index;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentOutOfRangeException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: Index is too great.";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = str.Length + TestLibrary.Generator.GetInt16(-55);
-            index = str.Length;
-            char.IsWhiteSpace(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Index is a negative value";
-        string errorDesc;
-
-        string str = string.Empty;
-        int index = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LEN, c_MAX_STR_LEN);
-            index = -1 * (TestLibrary.Generator.GetInt16(-55));
-            char.IsWhiteSpace(str, index);
-            errorDesc = "ArgumentOutOfRangeException is not thrown as expected";
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe string is {0}, and the index is {1}", str, index);
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charmaxvalue.cs b/tests/src/CoreMangLib/cti/system/char/charmaxvalue.cs
deleted file mode 100644 (file)
index 37e038a..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.MaxValue Field  
-/// Represents the largest possible value of a Char. This field is constant. 
-/// </summary>
-public class CharMaxValue
-{
-    public static int Main()
-    {
-        CharMaxValue testObj = new CharMaxValue();
-
-        TestLibrary.TestFramework.BeginTestCase("for field: Char.MaxValue");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: ";
-        string errorDesc;
-
-        const char c_MAX_CHAR = '\uFFFF';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MaxValue;
-            if (actualChar != c_MAX_CHAR)
-            {
-                errorDesc = "Field char.MaxValue is not " + c_MAX_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/charminvalue.cs b/tests/src/CoreMangLib/cti/system/char/charminvalue.cs
deleted file mode 100644 (file)
index 42a785c..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.MinValue Field  
-/// Represents the largest possible value of a Char. This field is constant. 
-/// </summary>
-public class CharMinValue
-{
-    public static int Main()
-    {
-        CharMinValue testObj = new CharMinValue();
-
-        TestLibrary.TestFramework.BeginTestCase("for field: Char.MinValue");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: ";
-        string errorDesc;
-
-        const char c_MIN_CHAR = '\u0000';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char actualChar = char.MinValue;
-            if (actualChar != c_MIN_CHAR)
-            {
-                errorDesc = "Field char.MinValue is not " + c_MIN_CHAR + " as expected: Actual(" + actualChar + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chartostring1.cs b/tests/src/CoreMangLib/cti/system/char/chartostring1.cs
deleted file mode 100644 (file)
index 88eedc6..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.ToString()  
-/// Converts the value of this instance to its equivalent string representation. 
-/// </summary>
-public class CharToString
-{
-    public static int Main()
-    {
-        CharToString testObj = new CharToString();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.ToString()");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random character";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char ch = TestLibrary.Generator.GetChar(-55);
-            string expectedStr = new string(ch, 1);
-            string actualStr = ch.ToString();
-            if (actualStr != expectedStr)
-            {
-                errorDesc = string.Format("String representation of character \\u{0:x} is not the value ", (int)ch);
-                errorDesc += string.Format("{0} as expected: actual({1})", expectedStr, actualStr);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/char/chartostring2.cs b/tests/src/CoreMangLib/cti/system/char/chartostring2.cs
deleted file mode 100644 (file)
index ae5990b..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Char.ToString(char)  
-/// Converts the value of this instance to its equivalent string representation. 
-/// </summary>
-public class CharToString
-{
-    public static int Main()
-    {
-        CharToString testObj = new CharToString();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: Char.ToString(char)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Random character";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char ch = TestLibrary.Generator.GetChar(-55);
-            string expectedStr = new string(ch, 1);
-            string actualStr = char.ToString(ch);
-            if (actualStr != expectedStr)
-            {
-                errorDesc = string.Format("String representation of character \\u{0:x} is not the value ", (int)ch);
-                errorDesc += string.Format("{0} as expected: actual({1})", expectedStr, actualStr);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorCurrent.csproj b/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorCurrent.csproj
deleted file mode 100644 (file)
index 1802322..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charenumeratorcurrent.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorIEnumeratorCurrent.csproj b/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorIEnumeratorCurrent.csproj
deleted file mode 100644 (file)
index ed64d88..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charenumeratorienumeratorcurrent.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorIEnumgetCurrent.csproj b/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorIEnumgetCurrent.csproj
deleted file mode 100644 (file)
index 9e67c1e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charenumeratorienumgetcurrent.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorMoveNext.csproj b/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorMoveNext.csproj
deleted file mode 100644 (file)
index af616b8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charenumeratormovenext.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorReset.csproj b/tests/src/CoreMangLib/cti/system/charenumerator/CharEnumeratorReset.csproj
deleted file mode 100644 (file)
index cb89690..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="charenumeratorreset.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorcurrent.cs b/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorcurrent.cs
deleted file mode 100644 (file)
index b3372a6..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-public class CharEnumeratorCurrent
-{
-    const int minLength = 1;
-    const int maxLength = 10;
-
-    public static int Main(string[] args)
-    {
-        CharEnumeratorCurrent ceCurrent = new CharEnumeratorCurrent();
-        TestLibrary.TestFramework.BeginScenario("Testing System.CharEnumerator.Current property...");
-
-        if (ceCurrent.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("");
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        //retVal = NegTest1() && retVal;
-        //retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the current show the correct element when index is valid...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            charEnu.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charEnu.MoveNext();
-                if (charEnu.Current != strCopy[i])
-                {
-                    TestLibrary.TestFramework.LogError("001", "Current show the wrong element when index is valid!!");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unecpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// Check Current element when index is -1
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check Current element when index is -1...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            charEnu.Reset();
-            char charTest = charEnu.Current;
-
-            TestLibrary.TestFramework.LogError("003", "No exception occurs!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is throw after fetch current with -1 index!");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// Check Current element when index is length+1
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check Current element when index is length+1...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            charEnu.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charEnu.MoveNext();
-                if (charEnu.Current != strCopy[i])
-                {
-                    TestLibrary.TestFramework.LogError("005", "Current show the wrong element!");
-                    retVal = false;
-                }
-            }
-            charEnu.MoveNext();
-            char charTest = charEnu.Current;
-
-            TestLibrary.TestFramework.LogError("006", "No exception occurs when fetch current out of range!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is thrown after fetch current out of range");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007", "Unexpected exception occurs: " + e);
-            return retVal;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorienumeratorcurrent.cs b/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorienumeratorcurrent.cs
deleted file mode 100644 (file)
index 832d577..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-public class CharEnumeratorIEnumeratorCurrent
-{
-    const int minLength = 1;
-    const int maxLength = 10;
-
-    public static int Main(string[] args)
-    {
-        CharEnumeratorIEnumeratorCurrent ceIEnumCurrent =
-            new CharEnumeratorIEnumeratorCurrent();
-
-        TestLibrary.TestFramework.BeginScenario("System.CharEnumerator.IEnumerator.Current...");
-
-        if (ceIEnumCurrent.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("");
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check IENumerator.Current show the correct element when index is valid...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            System.Collections.IEnumerator charIEnum = (System.Collections.IEnumerator)((System.Collections.IEnumerable)str).GetEnumerator();
-            charIEnum.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charIEnum.MoveNext();
-                if (!charIEnum.Current.Equals(strCopy[i]))
-                {
-                    TestLibrary.TestFramework.LogError("001","IENumerator.Current show the wrong element when index is valid!");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unecpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the first index...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            System.Collections.IEnumerator charIEnum = (System.Collections.IEnumerator)((System.Collections.IEnumerable)str).GetEnumerator();
-            charIEnum.Reset();
-            char charTest = (char)charIEnum.Current;
-
-            TestLibrary.TestFramework.LogError("003", "No exception occurs!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is throw after fetch IEnumerator.Current with -1 index!");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the last index...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            System.Collections.IEnumerator charIEnum = (System.Collections.IEnumerator)((System.Collections.IEnumerable)str).GetEnumerator();
-            charIEnum.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charIEnum.MoveNext();
-                if (!charIEnum.Current.Equals(strCopy[i]))
-                {
-                    TestLibrary.TestFramework.LogError("005", "IEnumerator.Current show the wrong element!");
-                    retVal = false;
-                }
-            }
-            charIEnum.MoveNext();
-            char charTest = (char)charIEnum.Current;
-
-            TestLibrary.TestFramework.LogError("006", "No exception occurs when fetch IEnumerator.Current out of range!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is thrown after fetch IEnumerator.Current out of range");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007", "Unexpected exception occurs: " + e);
-            return retVal;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorienumgetcurrent.cs b/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorienumgetcurrent.cs
deleted file mode 100644 (file)
index a1d87f0..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-
-
-/// <summary>
-/// I have no ideas about the different between IEnumerator.Current and IEnumerator.get_Current
-/// </summary>
-public class CharEnumeratorIEnumgetCurrent
-{
-    const int minLength = 1;
-    const int maxLength = 10;
-
-    public static int Main(string[] args)
-    {
-        CharEnumeratorIEnumgetCurrent ceIEumget_Current =
-            new CharEnumeratorIEnumgetCurrent();
-
-        TestLibrary.TestFramework.BeginScenario("System.CharEnumerator.IEnumerator.get_Current method...");
-
-        if (ceIEumget_Current.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0; 
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("");
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check IENumerator.get_Current show the correct element when index is valid...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            System.Collections.Generic.IEnumerator<Char> charIEnum = (System.Collections.Generic.IEnumerator<Char>)((System.Collections.Generic.IEnumerable<Char>)str).GetEnumerator();
-            charIEnum.Reset();
-            
-            for (int i = 0; i < str.Length; i++)
-            {
-                charIEnum.MoveNext();
-                if (!charIEnum.Current.Equals(strCopy[i]))
-                {
-                    TestLibrary.TestFramework.LogError("001", "IENumerator.get_Current show the wrong element when index is valid!");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unecpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the first index...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            System.Collections.Generic.IEnumerator<Char> charIEnum = (System.Collections.Generic.IEnumerator<Char>)((System.Collections.Generic.IEnumerable<Char>)str).GetEnumerator();
-            charIEnum.Reset();
-            char charTest = (char)charIEnum.Current;
-
-            TestLibrary.TestFramework.LogError("003", "No exception occurs!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is throw after fetch IEnumerator.get_Current with -1 index!");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the last index...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            System.Collections.Generic.IEnumerator<Char> charIEnum = (System.Collections.Generic.IEnumerator<Char>)((System.Collections.Generic.IEnumerable<Char>)str).GetEnumerator();
-            charIEnum.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charIEnum.MoveNext();
-                if (!charIEnum.Current.Equals(strCopy[i]))
-                {
-                    TestLibrary.TestFramework.LogError("005", "IEnumerator.get_Current show the wrong element!");
-                    retVal = false;
-                }
-            }
-            charIEnum.MoveNext();
-            char charTest = (char)charIEnum.Current;
-
-            TestLibrary.TestFramework.LogError("006", "No exception occurs when fetch IEnumerator.Current out of range!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is thrown after fetch IEnumerator.Current out of range");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007", "Unexpected exception occurs: " + e);
-            return retVal;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratormovenext.cs b/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratormovenext.cs
deleted file mode 100644 (file)
index 4603ffd..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-public class CharEnumeratorMoveNext
-{
-    const int minLength = 1;
-    const int maxLength = 10;
-
-    public static int Main(string[] args)
-    {
-        CharEnumeratorMoveNext ceMove = new CharEnumeratorMoveNext();
-        TestLibrary.TestFramework.BeginScenario("Testing CharEnumerator.MoveNext method...");
-
-        if (ceMove.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("");
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        //retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check MoveNext method return valid value...");
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            for (int i = 0; i < str.Length; i++)
-            {
-                if (!charEnu.MoveNext())
-                {
-                    TestLibrary.TestFramework.LogError("001", "MoveNext method does not return a valid value when index within range!");
-                    retVal = false;
-                }
-            }
-
-            if (charEnu.MoveNext())
-            {
-                TestLibrary.TestFramework.LogError("002", "MoveNext should return false when index is out of range!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("Check MoveNext method could pass the correct index...");
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charEnu.MoveNext();
-                if (charEnu.Current != strCopy[i])
-                {
-                    TestLibrary.TestFramework.LogError("004", "MoveNext method does not navigate to correct index!");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005", "Unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// New added scenario: Execute MoveNext method for several times after index to to max+1,verify it always return false
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check MoveNext method return valid value...");
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            for (int i = 0; i < str.Length; i++)
-            {
-                if (!charEnu.MoveNext())
-                {
-                    TestLibrary.TestFramework.LogError("001", "MoveNext method does not return a valid value when index within range!");
-                    retVal = false;
-                }
-            }
-
-            //Execute MoveNext method for several times after index to to max+1,verify it always return false
-            for (int j = 0; j < str.Length; j++)
-            {
-                if (charEnu.MoveNext())
-                {
-                    TestLibrary.TestFramework.LogError("001", "MoveNext method does not return a valid value when index within range!");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorreset.cs b/tests/src/CoreMangLib/cti/system/charenumerator/charenumeratorreset.cs
deleted file mode 100644 (file)
index 4256858..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-public class CharEnumeratorReset
-{
-    const int minLength = 1;
-    const int maxLength = 10;
-
-    public static int Main(string[] args)
-    {
-        CharEnumeratorReset ceReset = new CharEnumeratorReset();
-        TestLibrary.TestFramework.BeginScenario("Testing System.CharEnumerator.Reset method...");
-
-        if (ceReset.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("");
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the index point to the right position after execute reset method...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            charEnu.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charEnu.MoveNext();
-                if (charEnu.Current != strCopy[i])
-                {
-                    TestLibrary.TestFramework.LogError("001", "Reset method can't nevigate to the correct position!");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unecpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// new added scenario: Check the index point to the right position when index is not at beginning and then execute reset method...
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the index point to the right position when index is not at beginning and then execute reset method...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charEnu.MoveNext();
-                if (charEnu.Current != strCopy[i])
-                {
-                    TestLibrary.TestFramework.LogError("008", "Reset method can't nevigate to the correct position!");
-                    retVal = false;
-                }
-            }
-            charEnu.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charEnu.MoveNext();
-                if (charEnu.Current != strCopy[i])
-                {
-                    TestLibrary.TestFramework.LogError("009", "Reset method can't nevigate to the correct position!");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unecpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the first index after execute reset method...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            charEnu.Reset();
-            char charTest = charEnu.Current;
-
-            TestLibrary.TestFramework.LogError("003", "No exception occurs!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is throw after fetch current with -1 index!");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        String str = TestLibrary.Generator.GetString(-55, true, minLength, maxLength);
-        TestLibrary.TestFramework.BeginScenario("Check the last index after traverse the whole enumerator...");
-        char[] strCopy = new char[str.Length];
-        str.CopyTo(0, strCopy, 0, str.Length);
-
-        try
-        {
-            IEnumerator<Char> charEnu = ((IEnumerable<Char>)str).GetEnumerator();
-            charEnu.Reset();
-            for (int i = 0; i < str.Length; i++)
-            {
-                charEnu.MoveNext();
-                if (charEnu.Current != strCopy[i])
-                {
-                    TestLibrary.TestFramework.LogError("005", "Reset method can't nevigate to the correct position!");
-                    retVal = false;
-                }
-            }
-            charEnu.MoveNext();
-            char charTest = charEnu.Current;
-
-            TestLibrary.TestFramework.LogError("006", "No exception occurs when fetch current out of range!");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-            TestLibrary.TestFramework.LogInformation("InvalidOperationException is thrown after fetch current out of range");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007", "Unexpected exception occurs: " + e);
-            return retVal;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimaFloor.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimaFloor.csproj
deleted file mode 100644 (file)
index cefc66e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimafloor.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalAdd.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalAdd.csproj
deleted file mode 100644 (file)
index fecb876..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaladd.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCompare.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCompare.csproj
deleted file mode 100644 (file)
index 6f6164a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalcompare.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor1.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor1.csproj
deleted file mode 100644 (file)
index 8c24ae1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor2.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor2.csproj
deleted file mode 100644 (file)
index 98b6718..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor3.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor3.csproj
deleted file mode 100644 (file)
index 1011f11..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor4.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor4.csproj
deleted file mode 100644 (file)
index 711c032..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor4.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor5.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor5.csproj
deleted file mode 100644 (file)
index 5f90239..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor5.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor6.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor6.csproj
deleted file mode 100644 (file)
index 4367039..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor6.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor7.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor7.csproj
deleted file mode 100644 (file)
index 2ceb0d9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor7.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor8.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalCtor8.csproj
deleted file mode 100644 (file)
index 1e0605c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalctor8.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalDivide.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalDivide.csproj
deleted file mode 100644 (file)
index 12f9585..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaldivide.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalEquals1.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalEquals1.csproj
deleted file mode 100644 (file)
index 4bda6f6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalequals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalEquals2.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalEquals2.csproj
deleted file mode 100644 (file)
index aab0594..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalequals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalEquals3.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalEquals3.csproj
deleted file mode 100644 (file)
index b8c0b9c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalequals3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalGetBits.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalGetBits.csproj
deleted file mode 100644 (file)
index 6d92bf7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalgetbits.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalMaxValue.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalMaxValue.csproj
deleted file mode 100644 (file)
index f3700f1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalmaxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalMinValue.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalMinValue.csproj
deleted file mode 100644 (file)
index 6b266e3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalminvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalMinusOne.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalMinusOne.csproj
deleted file mode 100644 (file)
index bcbb9bd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalminusone.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalMultiply.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalMultiply.csproj
deleted file mode 100644 (file)
index 63eb0bb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalmultiply.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalNegate.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalNegate.csproj
deleted file mode 100644 (file)
index c3ec06b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalnegate.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalOne.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalOne.csproj
deleted file mode 100644 (file)
index 4c2b9a9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalone.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalSubtract.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalSubtract.csproj
deleted file mode 100644 (file)
index 3f3ba78..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalsubtract.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToBoolean.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToBoolean.csproj
deleted file mode 100644 (file)
index 555e6d1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToByte.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToByte.csproj
deleted file mode 100644 (file)
index 516899d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToByte1.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToByte1.csproj
deleted file mode 100644 (file)
index e5113fc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltobyte1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToChar.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToChar.csproj
deleted file mode 100644 (file)
index af2d864..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToDateTime.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToDateTime.csproj
deleted file mode 100644 (file)
index 657d1ed..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToDecimal.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToDecimal.csproj
deleted file mode 100644 (file)
index c580870..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToDouble.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToDouble.csproj
deleted file mode 100644 (file)
index 6c8f803..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToInt16.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToInt16.csproj
deleted file mode 100644 (file)
index 6ef3f8f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToInt32.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToInt32.csproj
deleted file mode 100644 (file)
index 599c3d6..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-
-    <!-- Test unsupported outside of windows -->
-    <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
-    <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToInt64.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToInt64.csproj
deleted file mode 100644 (file)
index d3739f1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToSByte.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToSByte.csproj
deleted file mode 100644 (file)
index 7457498..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToSingle.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToSingle.csproj
deleted file mode 100644 (file)
index 83bb708..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToString1.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToString1.csproj
deleted file mode 100644 (file)
index a332553..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltostring1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToString2.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToString2.csproj
deleted file mode 100644 (file)
index 13872fb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltostring2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToString3.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToString3.csproj
deleted file mode 100644 (file)
index ce4a197..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltostring3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToString4.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToString4.csproj
deleted file mode 100644 (file)
index 00274f3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltostring4.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt16.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt16.csproj
deleted file mode 100644 (file)
index a2f66ae..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt32.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt32.csproj
deleted file mode 100644 (file)
index 9076e96..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt64.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalToUInt64.csproj
deleted file mode 100644 (file)
index 591e5f0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalTruncate.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalTruncate.csproj
deleted file mode 100644 (file)
index 3bd524f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimaltruncate.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/DecimalZero.csproj b/tests/src/CoreMangLib/cti/system/decimal/DecimalZero.csproj
deleted file mode 100644 (file)
index e041612..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalzero.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimafloor.cs b/tests/src/CoreMangLib/cti/system/decimal/decimafloor.cs
deleted file mode 100644 (file)
index c6f9937..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///Floor(System.Decimal)
-/// </summary>
-public class DecimaFloor
-{
-    #region const
-    private const int SEEDVALUE = 2;
-    private const int EQUALVALUE = 1;
-    private const int ZEROVALUE = 0;
-    private const Double RAND_DOUBLE_POSITIVE = 101.111;
-    private const Double RAND_DOUBLE_NEGTIVE = -101.111;
-    private const int RAND_DOUBLE_INT = 101;
-    #endregion
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:  If d doesn't have a fractional part, d is returned unchanged.");
-
-        try
-        {
-            int myInt = TestLibrary.Generator.GetInt32(-55);
-            Decimal myDecimal1 = new decimal(myInt);
-            Decimal returnValue = Decimal.Floor(myDecimal1);
-            if (returnValue != myDecimal1)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling Floor method should return " + myDecimal1);
-                retVal = false;
-            }
-
-         }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:  If d has a fractional part, the next whole Decimal number toward negative infinity that is less than d.and the decimal comes from single.");
-
-        try
-        {
-            Single mySingle = TestLibrary.Generator.GetSingle(-55);
-            Decimal myDecimal1 = new decimal(mySingle);
-            Decimal returnValue = Decimal.Floor(myDecimal1);
-            if (returnValue != ZEROVALUE)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling Floor method should return " + ZEROVALUE);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:  If d has a fractional part, the next whole Decimal number toward negative infinity that is less than d.and the decimal comes from double.");
-
-        try
-        {
-            Double myDouble = TestLibrary.Generator.GetDouble(-55);
-            Decimal myDecimal1 = new decimal(myDouble);
-            Decimal returnValue = Decimal.Floor(myDecimal1);
-            if (returnValue != ZEROVALUE)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Calling Floor method should return " + ZEROVALUE);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4:  If d has a fractional part, the next whole Decimal number toward negative infinity that is less than d.Positive Value.");
-
-        try
-        {
-          
-            Decimal myDecimal1 = new decimal(RAND_DOUBLE_POSITIVE);
-            Decimal returnValue = Decimal.Floor(myDecimal1);
-            if (returnValue != RAND_DOUBLE_INT)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "Calling Floor method should return " + RAND_DOUBLE_INT);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5:  If d has a fractional part, the next whole Decimal number toward negative infinity that is less than d. Negitive value ");
-
-        try
-        {
-          
-            Decimal myDecimal1 = new decimal(RAND_DOUBLE_NEGTIVE);
-            Decimal returnValue = Decimal.Floor(myDecimal1);
-            if (returnValue != -RAND_DOUBLE_INT-1)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "Calling Floor method should return " + (-RAND_DOUBLE_INT - 1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimaFloor test = new DecimaFloor();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimaFloor");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-   
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaladd.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaladd.cs
deleted file mode 100644 (file)
index 48cc905..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.Add(Decimal,Decimal)
-/// </summary>
-public class DecimalAdd
-{
-
-    public static int Main()
-    {
-        DecimalAdd dAdd = new DecimalAdd();
-        TestLibrary.TestFramework.BeginTestCase("for Method:System.Decimal.Add(Decimal,Decimal)");
-
-        if (dAdd.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify two params both are plus...";
-        const string c_TEST_ID = "P001";
-
-        Decimal dec1 = 12345.678m;
-        Decimal dec2 = 87654.321m;
-        Decimal resDec = 99999.999m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = Decimal.Add(dec1, dec2); ;
-            if (decimalValue != resDec)
-            {
-                string errorDesc = "Value is not " + resDec.ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify a  param is zero...";
-        const string c_TEST_ID = "P003";
-
-        Decimal dec1 = 623512345.678m;
-        Decimal dec2 = 0m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = Decimal.Add(dec1, dec2); ;
-            if (decimalValue != dec1)
-            {
-                string errorDesc = "Value is not " + dec1.ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3:Verify a  param is negative  ";
-        const string c_TEST_ID = "P003";
-
-        Decimal dec1 = 87654.321234m;
-        Decimal dec2 = -12345.678321m;
-        Decimal resDec = 75308.642913m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = Decimal.Add(dec1, dec2); ;
-            if (decimalValue != resDec)
-            {
-                string errorDesc = "Value is not " + resDec.ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest4:Verify two params both are negative...";
-        const string c_TEST_ID = "P004";
-
-        Decimal dec1 = -87654.321234m;
-        Decimal dec2 = -12345.678321m;
-        Decimal resDec = -99999.999555m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = Decimal.Add(dec1, dec2); ;
-            if (decimalValue != resDec)
-            {
-                string errorDesc = "Value is not " + resDec.ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-    #region NegativeTesting
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest1:Verify the sum of two  larger than Decimal.MaxValue";
-        const string c_TEST_ID = "N001";
-
-        Decimal dec1 = Decimal.MaxValue;
-        Decimal dec2 = 12345.678321m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = Decimal.Add(dec1,dec2);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "OverflowException is not thrown as expected ." + "\n parame value is " + dec1.ToString() + " and " + dec2.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalcompare.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalcompare.cs
deleted file mode 100644 (file)
index f16e23c..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.Compare(Decimal,Decimal)
-/// </summary>
-public class DecimalCompare
-{
-
-    public static int Main()
-    {
-        DecimalCompare dCompare = new DecimalCompare();
-        TestLibrary.TestFramework.BeginTestCase("for Method:System.Decimal.DecimalCompare(Decimal,Decimal)");
-
-        if (dCompare.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-
-        return retVal;
-
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify two decimal both are plus...";
-        const string c_TEST_ID = "P001";
-
-        Decimal dec1 = 12345.678m;
-        Decimal dec2 = 87654.321m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            int result = Decimal.Compare(dec1, dec2);
-            if (result>0)
-            {
-                string errorDesc = "Value is not  less than zero  as expected: Actual (" + result.ToString()+")";
-                errorDesc += GetDataString(dec1, dec2);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(dec1, dec2));
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify two  decimal are  equal...";
-        const string c_TEST_ID = "P002";
-
-        Decimal dec1 = 623512345.678m;
-        Decimal dec2 = 623512345.678m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            int result = Decimal.Compare(dec1, dec2); ;
-            if (result != 0)
-            {
-                string errorDesc = "Value is not zero  as expected: Actual (" + result.ToString()+")";
-                errorDesc += GetDataString(dec1, dec2);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(dec1, dec2));
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3:Verify a  decimal is negative...";
-        const string c_TEST_ID = "P003";
-
-        Decimal dec1 = 87654.321234m;
-        Decimal dec2 = -12345.678321m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            int result = Decimal.Compare(dec1, dec2); ;
-            if (result < 0)
-            {
-                string errorDesc = "Value is not  greater than zero  as expected: Actual (" + result.ToString() + ")";
-                errorDesc += GetDataString(dec1, dec2);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(dec1, dec2));
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest4:Verify two decimal both are negative...";
-        const string c_TEST_ID = "P004";
-
-        Decimal dec1 = -87654.321234m;
-        Decimal dec2 = -12345.678321m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            int result = Decimal.Compare(dec1, dec2); ;
-            if (result >0)
-            {
-                string errorDesc = "Value is not less than zero  as expected: Actual (" + result.ToString() + ")";
-                errorDesc += GetDataString(dec1, dec2);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(dec1, dec2));
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest5:Verify a decimal is zero...";
-        const string c_TEST_ID = "P005";
-
-        Decimal dec1 = -87654.321234m;
-        Decimal dec2 = 0m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            int result = Decimal.Compare(dec1, dec2);
-            if (result > 0)
-            {
-                string errorDesc = "Value is not less than zero  as expected: Actual (" + result.ToString() + ")";
-                errorDesc += GetDataString(dec1, dec2);
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(dec1, dec2));
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest6:Verify a decimal is Decimal.MinValue...";
-        const string c_TEST_ID = "P006";
-
-        Decimal dec1 = -87654.321234m;
-        Decimal dec2 = Decimal.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            int result = Decimal.Compare(dec1, dec2);
-            if (result < 0)
-            {
-                string errorDesc = "Value is not greater than zero  as expected: Actual (" + result.ToString() + ")";
-                errorDesc += GetDataString(dec1, dec2);
-                TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(dec1, dec2));
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest7:Verify a decimal is Decimal.MaxValue...";
-        const string c_TEST_ID = "P007";
-
-        Decimal dec1 = 87654.321234m;
-        Decimal dec2 = Decimal.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            int result = Decimal.Compare(dec1, dec2);
-            if (result > 0)
-            {
-                string errorDesc = "Value is not less than zero  as expected: Actual (" + result.ToString() + ")";
-                errorDesc += GetDataString(dec1, dec2);
-                TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(dec1, dec2));
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-    #region Helper methords for testing
-    private string GetDataString(Decimal dec1, Decimal dec2)
-    {
-        string str;
-        str = string.Format("\n[decimal1 value]\n  {0}", dec1.ToString());
-        str += string.Format("\n[decimal2 value]\n {0}", dec2.ToString());
-
-        return str;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor1.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor1.cs
deleted file mode 100644 (file)
index 515d328..0000000
+++ /dev/null
@@ -1,263 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(Double)
-/// </summary>
-public class DecimalCtor1
-{
-
-    public static int Main()
-    {
-        DecimalCtor1 dCtor1 = new DecimalCtor1();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(Double)");
-
-        if (dCtor1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the param is a random double ";
-        const string c_TEST_ID = "P001";
-
-        Double dValue = TestLibrary.Generator.GetDouble(-55);
-        while (dValue > Convert.ToDouble(Decimal.MaxValue) || dValue < Convert.ToDouble(Decimal.MinValue))
-        {
-            dValue = TestLibrary.Generator.GetDouble(-55);
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != Convert.ToDecimal(dValue))
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is "+ dValue.ToString() ;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify the param is 0 ";
-        const string c_TEST_ID = "P002";
-
-        Double dValue = 0;
-        
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != 0m)
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + dValue.ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Testing
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest1:Verify the param is larger than Decimal.MaxValue";
-        const string c_TEST_ID = "N001";
-
-        double dValue = 1.2345678901234567E+35;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is "+dValue.ToString());
-            retVal = false;
-        }
-        catch(OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-     public bool NegTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest2:Verify the param is less than Decimal.MinValue";
-        const string c_TEST_ID = "N002";
-
-        double dValue = -1.2345678901234567E+35;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is "+dValue.ToString());
-            retVal = false;
-        }
-        catch(OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest3:Verify the param is Double.NaN";
-        const string c_TEST_ID = "N003";
-
-        double dValue = Double.NaN;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest4:Verify the param is Double.PositiveInfinity";
-        const string c_TEST_ID = "N004";
-
-        double dValue = Double.PositiveInfinity;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest5()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest5:Verify the param is Double.NegativeInfinity";
-        const string c_TEST_ID = "N005";
-
-        double dValue = Double.NegativeInfinity;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor2.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor2.cs
deleted file mode 100644 (file)
index 0444a71..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(System.Int32)
-/// </summary>
-public class DecimalCtor2
-{
-
-    public static int Main()
-    {
-        DecimalCtor2 dCtor2 = new DecimalCtor2();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(System.Int32)");
-
-        if (dCtor2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the param is a random Int32 ";
-        const string c_TEST_ID = "P001";
-
-        System.Int32  int32Value = TestLibrary.Generator.GetInt32(-55);
-        
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(int32Value);
-            if (decimalValue != Convert.ToDecimal(int32Value))
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + int32Value.ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify the param is 0 ";
-        const string c_TEST_ID = "P002";
-
-        Double dValue = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != 0m)
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + dValue.ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-   
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor3.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor3.cs
deleted file mode 100644 (file)
index 0a999ae..0000000
+++ /dev/null
@@ -1,275 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(Int32,Int32,Int32,Boolean,Byte)
-/// </summary>
-public class DecimalCtor3
-{
-
-    public static int Main()
-    {
-        DecimalCtor3 dCtor3 = new DecimalCtor3();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(Int32,Int32,Int32,Boolean,Byte)");
-
-        if (dCtor3.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the isNagetive is true... ";
-        const string c_TEST_ID = "P001";
-
-        int low = TestLibrary.Generator.GetInt32(-55);
-        int mid = TestLibrary.Generator.GetInt32(-55);
-        int hi = TestLibrary.Generator.GetInt32(-55);
-        bool isNagetive = true;
-        Byte scale = TestLibrary.Generator.GetByte(-55);
-
-        while (scale > 28)
-        {
-            scale = TestLibrary.Generator.GetByte(-55);
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(low, mid, hi, isNagetive, scale);
-            int[]   arrInt = Decimal.GetBits(decimalValue);
-
-            if (arrInt[0] != low)
-            {
-                string errorDesc = "lo Value is not " +low.ToString() +" as expected: param is " + arrInt[0].ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            if (arrInt[1] != mid)
-            {
-                string errorDesc = "mid Value is not " + mid.ToString() + " as expected: param is " + arrInt[1].ToString();
-                TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            if (arrInt[2] != hi)
-            {
-                string errorDesc = "hi Value is not " + hi.ToString() + " as expected: param is " + arrInt[2].ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-            if (isNagetive)
-            {
-                if (decimalValue > 0m)
-                {
-                    string errorDesc = "created decimal object should  is less than 0 ";
-                    TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-                    retVal = false;
-                }
-
-            }
-            else
-            {
-                if (decimalValue < 0m)
-                {
-                    string errorDesc = "created decimal object should  is larger than 0 ";
-                    TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                    retVal = false;
-                }
-            }
-
-            string subLast;
-            int resScale;
-            int index = decimalValue.ToString().IndexOf(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator);
-            if (index != -1)
-            {
-                subLast = decimalValue.ToString().Substring(index);
-                resScale = subLast.Length - 1;
-            }
-            else
-            {
-                resScale = 0;
-            }
-
-            if (Convert.ToInt64(scale) != resScale)
-            {
-                string errorDesc = "scale Value is not " + scale.ToString() + " as expected: actual<" + resScale.ToString() + ">";
-                TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify the isNagetive is false... ";
-        const string c_TEST_ID = "P002";
-
-        int low = TestLibrary.Generator.GetInt32(-55);
-        int mid = TestLibrary.Generator.GetInt32(-55);
-        int hi = TestLibrary.Generator.GetInt32(-55);
-        bool isNagetive = false;
-        Byte scale = TestLibrary.Generator.GetByte(-55);
-
-        while (scale > 28)
-        {
-            scale = TestLibrary.Generator.GetByte(-55);
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(low, mid, hi, isNagetive, scale);
-            int[] arrInt = Decimal.GetBits(decimalValue);
-
-            if (arrInt[0] != low)
-            {
-                string errorDesc = "lo Value is not " + low.ToString() + " as expected: param is " + arrInt[0].ToString();
-                TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            if (arrInt[1] != mid)
-            {
-                string errorDesc = "mid Value is not " + mid.ToString() + " as expected: param is " + arrInt[1].ToString();
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            if (arrInt[2] != hi)
-            {
-                string errorDesc = "hi Value is not " + hi.ToString() + " as expected: param is " + arrInt[2].ToString();
-                TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-            if (isNagetive)
-            {
-                if (decimalValue > 0m)
-                {
-                    string errorDesc = "created decimal object should  is less than 0 ";
-                    TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-                    retVal = false;
-                }
-
-            }
-            else
-            {
-                if (decimalValue < 0m)
-                {
-                    string errorDesc = "created decimal object should  is larger than 0 ";
-                    TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-                    retVal = false;
-                }
-            }
-
-            string subLast;
-            int resScale;
-            int index = decimalValue.ToString().IndexOf(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator);
-            if (index != -1)
-            {
-                subLast = decimalValue.ToString().Substring(index);
-                resScale = subLast.Length - 1;
-            }
-            else 
-            {
-                resScale=0;
-            }
-            
-
-            if (Convert.ToInt64(scale) != resScale)
-            {
-                string errorDesc = "scale Value is not " + scale.ToString() + " as expected: actual<" + resScale.ToString() + ">";
-                TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Testing
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest1:Verify the scale is larger than 28";
-        const string c_TEST_ID = "N001";
-
-        int low = TestLibrary.Generator.GetInt32(-55);
-        int mid = TestLibrary.Generator.GetInt32(-55);
-        int hi = TestLibrary.Generator.GetInt32(-55);
-        bool isNagetive = false;
-        Byte scale = TestLibrary.Generator.GetByte(-55);
-
-        while (scale < 28)
-        {
-            scale = TestLibrary.Generator.GetByte(-55);
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(low,mid,hi,isNagetive,scale);
-            TestLibrary.TestFramework.LogError("015" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected ." + "\n scale value is " + scale.ToString());
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor4.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor4.cs
deleted file mode 100644 (file)
index 21f815b..0000000
+++ /dev/null
@@ -1,206 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(Int32[])
-/// </summary>
-public class DecimalCtor4
-{
-
-    public static int Main()
-    {
-        DecimalCtor4 dCtor4 = new DecimalCtor4();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(Int32[])");
-
-        if (dCtor4.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the top 3 param are  random Int32... ";
-        const string c_TEST_ID = "P001";
-
-        int low = TestLibrary.Generator.GetInt32(-55);
-        int mid = TestLibrary.Generator.GetInt32(-55);
-        int hi = TestLibrary.Generator.GetInt32(-55);
-        int flags = 0x1C0000;
-        int[] arrInt ={low, mid, hi, flags};
-
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(arrInt);
-            int[] arrBits = Decimal.GetBits(decimalValue);
-
-            if (arrBits[0] != low)
-            {
-                string errorDesc = "lo Value is not " + low.ToString() + " as expected: param is " + arrInt[0].ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            if (arrBits[1] != mid)
-            {
-                string errorDesc = "mid Value is not " + mid.ToString() + " as expected: param is " + arrInt[1].ToString();
-                TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            if (arrBits[2] != hi)
-            {
-                string errorDesc = "hi Value is not " + hi.ToString() + " as expected: param is " + arrInt[2].ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            if (arrBits[3] != flags)
-            {
-                string errorDesc = "flags Value is not " + flags.ToString() + " as expected: param is " + arrInt[3].ToString();
-                TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-   
-    #endregion
-
-    #region Nagetive Testing
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest1:Verify the param is a null reference";
-        const string c_TEST_ID = "N001";
-
-        int[] bits = null;
-
-        
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(bits);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "ArgumentNullException is not thrown as expected ." );
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest2:the bits's length is not 4...";
-        const string c_TEST_ID = "N002";
-
-        int low = TestLibrary.Generator.GetInt32(-55);
-        int mid = TestLibrary.Generator.GetInt32(-55);
-        int hi = TestLibrary.Generator.GetInt32(-55);
-        int flag = TestLibrary.Generator.GetInt32(-55);
-        int[] bits ={ low, mid, hi, flag,low };
-
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(bits);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." );
-            retVal = false;
-        }
-        catch (ArgumentException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest3:Verfiy the decimal value in bits is not valid.";
-        const string c_TEST_ID = "N003";
-
-        int low = TestLibrary.Generator.GetInt32(-55);
-        int mid = TestLibrary.Generator.GetInt32(-55);
-        int hi = TestLibrary.Generator.GetInt32(-55);
-        int flag = 0x1C0001;
-        int[] bits ={ low, mid, hi, flag};
-
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(bits);
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected .");
-            retVal = false;
-        }
-        catch (ArgumentException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor5.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor5.cs
deleted file mode 100644 (file)
index 2c8bd1f..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(System.Int64)
-/// </summary>
-public class DecimalCtor5
-{
-
-    public static int Main()
-    {
-        DecimalCtor5 dCtor5 = new DecimalCtor5();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(System.Int64)");
-
-        if (dCtor5.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the param is a random Int64... ";
-        const string c_TEST_ID = "P001";
-
-        long value = TestLibrary.Generator.GetInt64(-55);
-
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(value);
-
-            if (decimalValue != Convert.ToDecimal(value))
-            {
-                string errorDesc = "Value is not " + Convert.ToDecimal(value).ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-           
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify the param is zero... ";
-        const string c_TEST_ID = "P002";
-
-        long value = 0;
-
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(value);
-
-            if (decimalValue != Convert.ToDecimal(value))
-            {
-                string errorDesc = "Value is not " + Convert.ToDecimal(value).ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3:Verify the param is long.MaxValue... ";
-        const string c_TEST_ID = "P003";
-
-        long value = long.MaxValue;
-
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(value);
-
-            if (decimalValue != Convert.ToDecimal(value))
-            {
-                string errorDesc = "Value is not " + Convert.ToDecimal(value).ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest4:Verify the param is long.MinValue... ";
-        const string c_TEST_ID = "P004";
-
-        long value = long.MinValue;
-
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(value);
-
-            if (decimalValue != Convert.ToDecimal(value))
-            {
-                string errorDesc = "Value is not " + Convert.ToDecimal(value).ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor6.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor6.cs
deleted file mode 100644 (file)
index cd7e805..0000000
+++ /dev/null
@@ -1,308 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(Single)
-/// </summary>
-public class DecimalCtor6
-{
-
-    public static int Main()
-    {
-        DecimalCtor6 dCtor6 = new DecimalCtor6();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(Single)");
-
-        if (dCtor6.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the param is a random float ";
-        const string c_TEST_ID = "P001";
-
-        float dValue = TestLibrary.Generator.GetSingle(-55);
-        while (dValue > Convert.ToSingle(Decimal.MaxValue) || dValue < Convert.ToSingle(Decimal.MinValue))
-        {
-            dValue = TestLibrary.Generator.GetSingle(-55);
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != Convert.ToDecimal(dValue))
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + dValue.ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify the param is 0.00 ";
-        const string c_TEST_ID = "P002";
-
-        float dValue = 0.00F;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != 0m)
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + dValue.ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3:Verify the param is 1.23456789E-25F ";
-        const string c_TEST_ID = "P003";
-
-        float dValue = 1.23456789E-25F;
-        Decimal resDec = 0.0000000000000000000000001235m;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != resDec)
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + resDec.ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Testing
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest1:Verify the param is larger than Decimal.MaxValue";
-        const string c_TEST_ID = "N001";
-
-        float dValue = Convert.ToSingle(Decimal.MaxValue);
-
-        float addValue = TestLibrary.Generator.GetSingle(-55);
-        while (addValue <= 0)
-        {
-            addValue = TestLibrary.Generator.GetSingle(-55);
-        }
-        dValue += addValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n parame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest2:Verify the param is less than Decimal.MinValue";
-        const string c_TEST_ID = "N002";
-
-        float dValue = Convert.ToSingle(Decimal.MinValue);
-
-        float addValue = TestLibrary.Generator.GetSingle(-55);
-        while (addValue <= 0)
-        {
-            addValue = TestLibrary.Generator.GetSingle(-55);
-        }
-        dValue -= addValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest3:Verify the param is Single.NaN";
-        const string c_TEST_ID = "N003";
-
-        Single dValue = Single.NaN;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest4:Verify the param is Single.PositiveInfinity";
-        const string c_TEST_ID = "N004";
-
-        Single dValue = Single.PositiveInfinity;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest5()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "NegTest5:Verify the param is Single.NegativeInfinity";
-        const string c_TEST_ID = "N005";
-
-        Single dValue = Single.NegativeInfinity;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected ." + "\n arame value is " + dValue.ToString());
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor7.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor7.cs
deleted file mode 100644 (file)
index 7de1774..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(System.UInt32)
-/// </summary>
-public class DecimalCtor7
-{
-
-    public static int Main()
-    {
-        DecimalCtor7 dCtor7 = new DecimalCtor7();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(System.UInt32)");
-        
-        if (dCtor7.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the param is a random UInt32 ";
-        const string c_TEST_ID = "P001";
-
-        System.UInt32 uint32Value = Convert.ToUInt32(TestLibrary.Generator.GetInt32(-55));
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(uint32Value);
-            if (decimalValue != Convert.ToDecimal(uint32Value))
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + uint32Value.ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify the param is UInt32.MinValue(0) ";
-        const string c_TEST_ID = "P002";
-
-        UInt32 dValue = UInt32.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != Convert.ToDecimal(dValue))
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + dValue.ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-     public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3:Verify the param is UInt32.MaxValue ";
-        const string c_TEST_ID = "P003";
-
-        UInt32 dValue = UInt32.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != Convert.ToDecimal(dValue))
-            {
-                string errorDesc = "Value is not " + decimalValue.ToString() + " as expected: param is " + dValue.ToString();
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalctor8.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalctor8.cs
deleted file mode 100644 (file)
index fd26edf..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.ctor(System.UInt64)
-/// </summary>
-public class DecimalCtor8
-{
-
-    public static int Main()
-    {
-        DecimalCtor8 dCtor8 = new DecimalCtor8();
-        TestLibrary.TestFramework.BeginTestCase("for Constructor:System.Decimal.Ctor(System.UInt64)");
-
-        if (dCtor8.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the param is a random UInt64 ";
-        const string c_TEST_ID = "P001";
-
-        System.UInt64 uint64Value = Convert.ToUInt64(TestLibrary.Generator.GetInt64(-55));
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(uint64Value);
-            if (decimalValue != Convert.ToDecimal(uint64Value))
-            {
-                string errorDesc = "Value is not " + Convert.ToDecimal(uint64Value).ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2:Verify the param is UInt64.MinValue(0) ";
-        const string c_TEST_ID = "P002";
-
-        UInt64 dValue = UInt64.MinValue;
-        Decimal resValue = 0m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != resValue)
-            {
-                string errorDesc = "Value is not " + resValue.ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3:Verify the param is UInt64.MaxValue ";
-        const string c_TEST_ID = "P003";
-
-        UInt64 dValue = UInt64.MaxValue;
-        Decimal resValue = 18446744073709551615m;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-            Decimal decimalValue = new Decimal(dValue);
-            if (decimalValue != resValue)
-            {
-                string errorDesc = "Value is not " + resValue.ToString() + " as expected: param is " + decimalValue.ToString();
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaldivide.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaldivide.cs
deleted file mode 100644 (file)
index b83ecaf..0000000
+++ /dev/null
@@ -1,249 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Divide(System.Decimal,System.Decimal)
-/// </summary>
-public class DecimalDivide
-{
-    #region const
-    private const int SEEDVALUE = 2;
-    private const int EQUALVALUE = 1;
-    private const int ZEROVALUE = 0;
-    #endregion
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Calling Devide method and the dividend is a random decimal,divisor is defined as Seed.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55) / SEEDVALUE);
-            Decimal myDecimal2 = new decimal(SEEDVALUE);
-            Decimal returnValue = Decimal.Divide(myDecimal1 * SEEDVALUE, myDecimal2);
-            if (returnValue != myDecimal1)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Calling Devide method should return " + myDecimal1);
-                retVal = false;
-            }
-          
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Calling Devide method and the dividend 0.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(ZEROVALUE / SEEDVALUE);
-            Decimal myDecimal2 = new decimal(SEEDVALUE);
-            Decimal returnValue = Decimal.Divide(ZEROVALUE, myDecimal2);
-            if (returnValue != ZEROVALUE)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "Calling Devide method should return " + ZEROVALUE);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Calling Devide method and the dividend is Int32.MaxValue or Int32.MinValue.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(Int32.MaxValue / SEEDVALUE);
-            Decimal myDecimal2 = new decimal(SEEDVALUE);
-            Decimal returnValue = Decimal.Divide(myDecimal1 * SEEDVALUE, myDecimal2);
-            if (returnValue != myDecimal1)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Calling Devide method should return " + myDecimal1);
-                retVal = false;
-            }
-            myDecimal1 = new decimal(Int32.MinValue / SEEDVALUE);
-            myDecimal2 = new decimal(SEEDVALUE);
-            returnValue = Decimal.Divide(myDecimal1 * SEEDVALUE, myDecimal2);
-            if (returnValue != myDecimal1)
-            {
-                TestLibrary.TestFramework.LogError("003.2", "Calling Devide method should return " + myDecimal1);
-                retVal = false;
-            }
-
-            myDecimal1 = new decimal(Int32.MinValue);
-            myDecimal2 = new decimal(Int32.MinValue);
-            returnValue = Decimal.Divide(myDecimal1 , myDecimal2);
-            if (returnValue != EQUALVALUE)
-            {
-                TestLibrary.TestFramework.LogError("003.3", "Calling Devide method should return " + EQUALVALUE);
-                retVal = false;
-            }
-
-            myDecimal1 = new decimal(Int32.MaxValue);
-            myDecimal2 = new decimal(Int32.MaxValue);
-            returnValue = Decimal.Divide(myDecimal1, myDecimal2);
-            if (returnValue != EQUALVALUE)
-            {
-                TestLibrary.TestFramework.LogError("003.4", "Calling Devide method should return " + EQUALVALUE);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: d2 is zero.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55) );
-            Decimal myDecimal2 = new decimal(ZEROVALUE);
-            Decimal returnValue = Decimal.Divide(ZEROVALUE, myDecimal2);
-            TestLibrary.TestFramework.LogError("101.1", "DivideByZeroException should be caught.");
-            retVal = false;
-         }
-        catch (DivideByZeroException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: The return value (that is, the quotient) is  greater than MaxValue.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(Int32.MaxValue);
-            Decimal myDecimal2 = new decimal(1e-020);
-            Decimal returnValue = Decimal.Divide(myDecimal1, myDecimal2);
-            TestLibrary.TestFramework.LogError("102.1", "OverflowException should be caught.");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest3: The return value (that is, the quotient) is less than MinValue .");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(Int32.MinValue);
-            Decimal myDecimal2 = new decimal(1e-020);
-            Decimal returnValue = Decimal.Divide(myDecimal1, myDecimal2);
-            TestLibrary.TestFramework.LogError("103.1", "OverflowException should be caught.");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("103.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalDivide test = new DecimalDivide();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalDivide");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalequals1.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalequals1.cs
deleted file mode 100644 (file)
index e3a97d0..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///Equals(System.Decimal)
-/// </summary>
-public class DecimalEquals1
-{
-    #region const
-    private const int SEEDVALUE = 2;
-    private const int EQUALVALUE = 1;
-    private const int ZEROVALUE = 0;
-    #endregion
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-       
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: compare to itself.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-
-            if (!myDecimal1.Equals(myDecimal1))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling Equals method should return true" );
-                retVal = false;
-            }
-
-            myDecimal1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-
-            if (!myDecimal1.Equals(myDecimal1))
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Calling Equals method should return true");
-                retVal = false;
-            }
-            myDecimal1 = new decimal(TestLibrary.Generator.GetDouble(-55));
-
-            if (!myDecimal1.Equals(myDecimal1))
-            {
-                TestLibrary.TestFramework.LogError("001.3", "Calling Equals method should return true");
-                retVal = false;
-            }
-         }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare to difference value.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-            Decimal myDecimal2 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            if (myDecimal1.Equals(myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling Equals method should return false." );
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare to difference value.");
-
-        try
-        {
-
-            int myInt = TestLibrary.Generator.GetInt32(-55);
-            Decimal myDecimal1 = new decimal(myInt);
-            Decimal myDecimal2 = new decimal(myInt);
-            if (!myDecimal1.Equals(myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Calling Equals method should return true.");
-                retVal = false;
-            }
-            Single mySingle = TestLibrary.Generator.GetSingle(-55);
-            myDecimal1 = new decimal(mySingle);
-            myDecimal2 = new decimal(mySingle);
-            if (!myDecimal1.Equals(myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("003.2", "Calling Equals method should return true.");
-                retVal = false;
-            }
-            double myDouble = TestLibrary.Generator.GetDouble(-55);
-            myDecimal1 = new decimal(myDouble);
-            myDecimal2 = new decimal(myDouble);
-            if (!myDecimal1.Equals(myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("003.3", "Calling Equals method should return true.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalEquals1 test = new DecimalEquals1();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalEquals1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalequals2.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalequals2.cs
deleted file mode 100644 (file)
index 646d657..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///Equals(System.Decimal,System.Decimal)
-/// </summary>
-public class DecimalEquals2
-{
-    #region const
-    private const int SEEDVALUE = 2;
-    private const int EQUALVALUE = 1;
-    private const int ZEROVALUE = 0;
-    #endregion
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-       
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: compare to itself.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-
-            if (!Decimal.Equals(myDecimal1, myDecimal1))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling Equals method should return true" );
-                retVal = false;
-            }
-
-            myDecimal1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-
-            if (!Decimal.Equals(myDecimal1, myDecimal1))
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Calling Equals method should return true");
-                retVal = false;
-            }
-            myDecimal1 = new decimal(TestLibrary.Generator.GetDouble(-55));
-
-            if (!Decimal.Equals(myDecimal1, myDecimal1))
-            {
-                TestLibrary.TestFramework.LogError("001.3", "Calling Equals method should return true");
-                retVal = false;
-            }
-         }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare to difference value.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-            Decimal myDecimal2 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            if (Decimal.Equals(myDecimal1, myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling Equals method should return false." );
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare to difference value.");
-
-        try
-        {
-
-            int myInt = TestLibrary.Generator.GetInt32(-55);
-            Decimal myDecimal1 = new decimal(myInt);
-            Decimal myDecimal2 = new decimal(myInt);
-            if (!Decimal.Equals(myDecimal1, myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Calling Equals method should return true.");
-                retVal = false;
-            }
-            Single mySingle = TestLibrary.Generator.GetSingle(-55);
-            myDecimal1 = new decimal(mySingle);
-            myDecimal2 = new decimal(mySingle);
-            if (!Decimal.Equals(myDecimal1, myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("003.2", "Calling Equals method should return true.");
-                retVal = false;
-            }
-            double myDouble = TestLibrary.Generator.GetDouble(-55);
-            myDecimal1 = new decimal(myDouble);
-            myDecimal2 = new decimal(myDouble);
-            if (!Decimal.Equals(myDecimal1, myDecimal2))
-            {
-                TestLibrary.TestFramework.LogError("003.3", "Calling Equals method should return true.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalEquals2 test = new DecimalEquals2();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalEquals2");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalequals3.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalequals3.cs
deleted file mode 100644 (file)
index 637b2d3..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///Equals(System.Object)
-/// </summary>
-public class DecimalEquals3
-{
-    #region const
-    private const int SEEDVALUE = 2;
-    private const int EQUALVALUE = 1;
-    private const int ZEROVALUE = 0;
-    #endregion
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-       
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: compare to itself.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-            object myValue = myDecimal1;
-            if (!myDecimal1.Equals(myValue))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling Equals method should return true" );
-                retVal = false;
-            }
-
-            myDecimal1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            myValue = myDecimal1;
-            if (!myDecimal1.Equals(myValue))
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Calling Equals method should return true");
-                retVal = false;
-            }
-            myDecimal1 = new decimal(TestLibrary.Generator.GetDouble(-55));
-            myValue = myDecimal1;
-            if (!myDecimal1.Equals(myValue))
-            {
-                TestLibrary.TestFramework.LogError("001.3", "Calling Equals method should return true");
-                retVal = false;
-            }
-         }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare to difference value.");
-
-        try
-        {
-
-            Decimal myDecimal1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-            Decimal myDecimal2 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            object myValue = myDecimal2;
-            if (myDecimal1.Equals(myValue))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling Equals method should return false." );
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare to difference value.");
-
-        try
-        {
-
-            int myInt = TestLibrary.Generator.GetInt32(-55);
-            Decimal myDecimal1 = new decimal(myInt);
-            Decimal myDecimal2 = new decimal(myInt);
-            object myValue = myDecimal2;
-            if (!myDecimal1.Equals(myValue))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Calling Equals method should return true.");
-                retVal = false;
-            }
-            Single mySingle = TestLibrary.Generator.GetSingle(-55);
-            myDecimal1 = new decimal(mySingle);
-            myDecimal2 = new decimal(mySingle);
-            myValue = myDecimal2;
-            if (!myDecimal1.Equals(myValue))
-            {
-                TestLibrary.TestFramework.LogError("003.2", "Calling Equals method should return true.");
-                retVal = false;
-            }
-            double myDouble = TestLibrary.Generator.GetDouble(-55);
-            myDecimal1 = new decimal(myDouble);
-            myDecimal2 = new decimal(myDouble);
-            myValue = myDecimal2;
-            if (!myDecimal1.Equals(myValue))
-            {
-                TestLibrary.TestFramework.LogError("003.3", "Calling Equals method should return true.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalEquals3 test = new DecimalEquals3();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalEquals3");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalgetbits.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalgetbits.cs
deleted file mode 100644 (file)
index beefaed..0000000
Binary files a/tests/src/CoreMangLib/cti/system/decimal/decimalgetbits.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalmaxvalue.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalmaxvalue.cs
deleted file mode 100644 (file)
index 6c30e57..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.MaxValue
-/// </summary>
-public class DecimalMaxValue
-{
-    private const string c_STRMAX = "79228162514264337593543950335";
-
-    public static int Main()
-    {
-        DecimalMaxValue dMaxValue = new DecimalMaxValue();
-        TestLibrary.TestFramework.BeginTestCase("for Field:System.Decimal.MaxValue");
-
-        if (dMaxValue.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the Decimal.MaxValue  is equal to 79228162514264337593543950335";
-        const string c_TEST_ID = "P001";
-
-        Decimal dMax = Convert.ToDecimal(c_STRMAX);
-        
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-
-            if (Decimal.MaxValue != dMax)
-            {
-                string errorDesc = "Value is not " + dMax.ToString() + " as expected: Actual(" + Decimal.MaxValue.ToString() + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-   
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalminusone.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalminusone.cs
deleted file mode 100644 (file)
index 0f11925..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.MinusOne
-/// </summary>
-public class DecimalMinusOne
-{
-
-    public static int Main()
-    {
-        DecimalMinusOne dMinusOne = new DecimalMinusOne();
-        TestLibrary.TestFramework.BeginTestCase("for Field:System.Decimal.MinusOne");
-
-        if (dMinusOne.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the Decimal.MinusOne is equal -1";
-        const string c_TEST_ID = "P001";
-
-        Decimal dMinusOne = Convert.ToDecimal(-1);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-
-            if (Decimal.MinusOne != dMinusOne)
-            {
-                string errorDesc = "Value is not " + dMinusOne.ToString() + " as expected: Actual(" + Decimal.MinusOne.ToString() + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalminvalue.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalminvalue.cs
deleted file mode 100644 (file)
index f14498d..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.MinValue
-/// </summary>
-public class DecimalMinValue
-{
-    private const string c_STRMIN = "-79228162514264337593543950335";
-
-    public static int Main()
-    {
-        DecimalMinValue dMinValue = new DecimalMinValue();
-        TestLibrary.TestFramework.BeginTestCase("for Field:System.Decimal.MinValue");
-
-        if (dMinValue.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the Decimal.MinValue  is equal to -79228162514264337593543950335";
-        const string c_TEST_ID = "P001";
-
-        Decimal dMin = Convert.ToDecimal(c_STRMIN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-
-            if (Decimal.MinValue != dMin)
-            {
-                string errorDesc = "Value is not " + dMin.ToString() + " as expected: Actual(" + Decimal.MinValue.ToString() + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalmultiply.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalmultiply.cs
deleted file mode 100644 (file)
index dd9bf43..0000000
Binary files a/tests/src/CoreMangLib/cti/system/decimal/decimalmultiply.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalnegate.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalnegate.cs
deleted file mode 100644 (file)
index f43057f..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// Negate(System.Decimal)
-/// </summary>
-public class DecimalNegate
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-       
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Calling Negate method.");
-
-        try
-        {
-            Decimal m1 = new decimal(TestLibrary.Generator.GetDouble(-55));
-            Decimal expectValue = -m1;
-            Decimal actualValue = Decimal.Negate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Negate should  return " + expectValue);
-                retVal = false;
-            }
-
-
-            m1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-            expectValue = -m1;
-            actualValue = Decimal.Negate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Negate should  return " + expectValue);
-                retVal = false;
-            }
-
-            m1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            expectValue = -m1;
-            actualValue = Decimal.Negate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.3", "Negate should  return " + expectValue);
-                retVal = false;
-            }
-
-            m1 = -1000m;
-            expectValue =1000m;
-            actualValue = Decimal.Negate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.4", "Negate should  return " + expectValue);
-                retVal = false;
-            }
-
-
-         
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-   
-    #endregion
-   
-    #endregion
-
-    public static int Main()
-    {
-        DecimalNegate test = new DecimalNegate();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalNegate");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #region private method
-    public TypeCode GetExpectValue(Decimal myValue)
-    {
-        return TypeCode.Decimal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalone.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalone.cs
deleted file mode 100644 (file)
index a64efca..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.One
-/// </summary>
-public class DecimalOne
-{
-
-    public static int Main()
-    {
-        DecimalOne dOne = new DecimalOne();
-        TestLibrary.TestFramework.BeginTestCase("for Field:System.Decimal.One");
-
-        if (dOne.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the Decimal One is equal to 1";
-        const string c_TEST_ID = "P001";
-
-        Decimal dOne = Convert.ToDecimal(1);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-
-            if (Decimal.One != dOne)
-            {
-                string errorDesc = "Value is not " + dOne.ToString() + " as expected: Actual(" + Decimal.One.ToString() + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalsubtract.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalsubtract.cs
deleted file mode 100644 (file)
index 1d8f836..0000000
Binary files a/tests/src/CoreMangLib/cti/system/decimal/decimalsubtract.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltoboolean.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltoboolean.cs
deleted file mode 100644 (file)
index 94c5731..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToBoolean(System.IFormatProvider)
-/// </summary>
-public class DecimalToBoolean
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random Decimal.");
-
-        try
-        {
-            Decimal i1 =new decimal( TestLibrary.Generator.GetSingle(-55));
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToBoolean  should return " + actualValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check Decimal which is the MaxValue and MinValue.");
-
-        try
-        {
-            Decimal i1 = Decimal.MaxValue;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToBoolean  should return " + actualValue);
-                retVal = false;
-            }
-            i1 = Decimal.MinValue;
-            actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToBoolean  should return " + actualValue);
-                retVal = false;
-            }
-          
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a decimal which is  -123456789.");
-
-        try
-        {
-            Decimal i1 = -123456789m;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToBoolean  should return " + actualValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check a Decimal which is  123.45e+6.");
-
-        try
-        {
-            Decimal i1 = (Decimal)123.45e+6;
-           CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "ToBoolean  should return " + actualValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Check a Decimal which is  -.123.");
-
-        try
-        {
-            Decimal i1 = (Decimal)(-.123);
-           CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "ToBoolean return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Check a Decimal which is  +123.");
-
-        try
-        {
-            Decimal i1 = (Decimal)(+123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("006.1", "ToBoolean return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToBoolean test = new DecimalToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToBoolean");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltobyte.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltobyte.cs
deleted file mode 100644 (file)
index 19d8869..0000000
+++ /dev/null
@@ -1,200 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToByte(System.IFormatProvider)
-/// </summary>
-public class DecimalToByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random Decimal.");
-
-        try
-        {
-            Decimal i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte expectVaule;
-            if (i1 > 0.5m)
-                expectVaule = 1;
-            else
-                expectVaule = 0;
-            byte actualValue = ((IConvertible)i1).ToByte(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToByte mix match: Expected(" + expectVaule +") Actual("+actualValue+")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is  byte.MaxValue and byte.MinValue.");
-
-        try
-        {
-            Decimal i1 = byte.MaxValue;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte expectVaule = byte.MaxValue;
-            byte actualValue = ((IConvertible)i1).ToByte(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToByte should  return " + expectVaule);
-                retVal = false;
-            }
-
-            i1 = byte.MinValue;
-            expectVaule = byte.MinValue;
-            actualValue = ((IConvertible)i1).ToByte(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToByte should  return " + expectVaule);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: value is  greater than Byte.MaxValue.");
-
-        try
-        {
-            Decimal i1 = byte.MaxValue + 1m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte actualValue = ((IConvertible)i1).ToByte(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "OverflowException should be caught. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: value is less than Byte.MinValue.");
-
-        try
-        {
-            Decimal i1 = byte.MinValue - 1m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte actualValue = ((IConvertible)i1).ToByte(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "OverflowException should be caught. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToByte test = new DecimalToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #region private method
-    private bool VerifyHelper(Decimal i1, string errorno)
-    {
-        bool retVal = true;
-
-        try
-        {
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte actualValue = ((IConvertible)i1).ToByte(myCulture);
-            TestLibrary.TestFramework.LogError(errorno, "OverflowException should be caught. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(errorno + ".0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltobyte1.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltobyte1.cs
deleted file mode 100644 (file)
index f80d5b4..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///ToByte(System.Decimal)
-/// </summary>
-public class DecimalToByte1
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random Decimal.");
-
-        try
-        {
-            byte b = (byte)(TestLibrary.Generator.GetInt32(-55) % 256);
-            Decimal i1 = (Decimal)(b + new decimal(TestLibrary.Generator.GetSingle(-55)));
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte expectVaule = b;
-            byte actualValue = Decimal.ToByte(i1);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToByte should  return " + expectVaule + " Actual: " + actualValue);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is  byte.MaxValue and byte.MinValue.");
-
-        try
-        {
-            Decimal i1 = byte.MaxValue;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte expectVaule = byte.MaxValue;
-            byte actualValue = Decimal.ToByte(i1);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToByte should  return " + expectVaule);
-                retVal = false;
-            }
-
-            i1 = byte.MinValue;
-            expectVaule = byte.MinValue;
-            actualValue = Decimal.ToByte(i1);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToByte should  return " + expectVaule);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: value is  greater than Byte.MaxValue.");
-
-        try
-        {
-            Decimal i1 = byte.MaxValue + 1m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte actualValue = Decimal.ToByte(i1);
-            TestLibrary.TestFramework.LogError("101.1", "OverflowException should be caught. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: value is less than Byte.MinValue.");
-
-        try
-        {
-            Decimal i1 = byte.MinValue - 1m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte actualValue = Decimal.ToByte(i1);
-            TestLibrary.TestFramework.LogError("102.1", "OverflowException should be caught. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToByte1 test = new DecimalToByte1();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToByte1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #region private method
-    private bool VerifyHelper(Decimal i1, string errorno)
-    {
-        bool retVal = true;
-
-        try
-        {
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            byte actualValue = Decimal.ToByte(i1);
-            TestLibrary.TestFramework.LogError(errorno, "OverflowException should be caught. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(errorno + ".0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltochar.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltochar.cs
deleted file mode 100644 (file)
index 96ce7c3..0000000
Binary files a/tests/src/CoreMangLib/cti/system/decimal/decimaltochar.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltodatetime.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltodatetime.cs
deleted file mode 100644 (file)
index 53aa601..0000000
Binary files a/tests/src/CoreMangLib/cti/system/decimal/decimaltodatetime.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltodecimal.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltodecimal.cs
deleted file mode 100644 (file)
index cfa4fec..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToDecimal(System.IFormatProvider)
-/// </summary>
-public class DecimalToDecimal
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-      
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random Decimal.");
-
-        try
-        {
-            Decimal i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            Decimal expectVaule = i1;
-            Decimal actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToDecimal should  return " + expectVaule);
-                retVal = false;
-            }
-
-
-            i1 = new decimal(TestLibrary.Generator.GetInt32(-55));
-            expectVaule = i1;
-            actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "ToDecimal should  return " + expectVaule);
-                retVal = false;
-            }
-
-
-            i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            expectVaule = i1;
-            actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("001.3", "ToDecimal should  return " + expectVaule);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is  byte.MaxValue and byte.MinValue.");
-
-        try
-        {
-            Decimal i1 = Decimal.MaxValue;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            Decimal expectVaule = Decimal.MaxValue;
-            Decimal actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToDecimal should  return " + expectVaule);
-                retVal = false;
-            }
-
-            i1 = Decimal.MinValue;
-            expectVaule = Decimal.MinValue;
-            actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToDecimal should  return " + expectVaule);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToDecimal test = new DecimalToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToDecimal");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #region private method
-    private bool VerifyHelper(Decimal i1, string errorno)
-    {
-        bool retVal = true;
-
-        try
-        {
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            Decimal actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            TestLibrary.TestFramework.LogError(errorno, "OverflowException should be caught. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(errorno + ".0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltodouble.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltodouble.cs
deleted file mode 100644 (file)
index 37b020d..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToDouble(System.IFormatProvider)
-/// </summary>
-public class DecimalToDouble
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-            Decimal d1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            double actualValue = ((IConvertible)d1).ToDouble(myCulture);
-            double expectValue = (double)d1;
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToDouble should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is  the  Decimal.MaxValue and Decimal.MinValue.");
-
-        try
-        {
-            Decimal i1 = Decimal.MaxValue;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            Double actualValue = ((IConvertible)i1).ToDouble(myCulture);
-            Double expectValue = (double)i1;
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToDouble should return " + expectValue);
-                retVal = false;
-            }
-
-            i1 = Decimal.MinValue;
-            actualValue = ((IConvertible)i1).ToDouble(myCulture);
-            expectValue = (double)i1;
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToDouble should return " + expectValue);
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToDouble test = new DecimalToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToDouble");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltoint16.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltoint16.cs
deleted file mode 100644 (file)
index 93ff98c..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToInt16(System.IFormatProvider)
-/// </summary>
-public class DecimalToInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-            Decimal i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            short expectValue = 0;
-            if (i1 > 0.5m)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToInt16 should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is  -123.");
-
-        try
-        {
-            Decimal i1 = short.MaxValue;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            if (actualValue != short.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToInt16  return failed. ");
-                retVal = false;
-            }
-
-            i1 = short.MinValue;
-            actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            if (actualValue != short.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToInt16  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a Decimal which is  >Int16.MaxValue.");
-
-        try
-        {
-            Decimal i1 = Int16.MaxValue +1m;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "OverflowException should be caught.");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a Decimal which is  <Int16.MinValue.");
-
-        try
-        {
-            Decimal i1 = Int16.MinValue - 1m;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToInt16  return failed. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToInt16 test = new DecimalToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltoint32.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltoint32.cs
deleted file mode 100644 (file)
index 727b19a..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToInt32(System.IFormatProvider)
-/// </summary>
-public class DecimalToInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-            Decimal i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            int expectValue = 0;
-            if (i1 > 0.5m)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToInt32 should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is  -123.");
-
-        try
-        {
-            Decimal i1 = int.MaxValue;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            if (actualValue != int.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToInt32  return failed. ");
-                retVal = false;
-            }
-
-            i1 = int.MinValue;
-            actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            if (actualValue != int.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToInt32  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a Decimal which is  >Int32.MaxValue.");
-
-        try
-        {
-            Decimal i1 = Int32.MaxValue +1m;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "OverflowException should be caught.");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a Decimal which is  <Int32.MinValue.");
-
-        try
-        {
-            Decimal i1 = Int32.MinValue - 1m;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToInt32  return failed. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToInt32 test = new DecimalToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltoint64.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltoint64.cs
deleted file mode 100644 (file)
index bfdeb06..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToInt64(System.IFormatProvider)
-/// </summary>
-public class DecimalToInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-            Decimal i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            long expectValue = 0;
-            if (i1 > 0.5m)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            long actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToInt64 should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is  Int64.MaxValue and Int64.MinValue.");
-
-        try
-        {
-            Decimal i1 = Int64.MaxValue;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            long actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            if (actualValue != Int64.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToInt64  return failed. ");
-                retVal = false;
-            }
-
-            i1 = Int64.MinValue;
-            actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            if (actualValue != Int64.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToInt64  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a Decimal which is  >Int64.MaxValue.");
-
-        try
-        {
-            Decimal i1 = Int64.MaxValue +1m;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            Int64 actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "OverflowException should be caught.");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a Decimal which is  <Int64.MinValue.");
-
-        try
-        {
-            Decimal i1 = Int64.MinValue - 1m;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            Int64 actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToInt64  return failed. ");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToInt64 test = new DecimalToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltosbyte.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltosbyte.cs
deleted file mode 100644 (file)
index 43cde3d..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToSByte(System.IFormatProvider)
-/// </summary>
-public class DecimalToSByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-            Decimal i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-            int expectValue = 0;
-            if (i1 > 0.5m)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToSByte  should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a Decimal which is   sbyte.MaxValue and  sbyte.MinValue.");
-
-        try
-        {
-            Decimal i1 = sbyte.MaxValue;
-            CultureInfo myCulture =CultureInfo.InvariantCulture;
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            if (actualValue != sbyte.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToSByte  return failed. ");
-                retVal = false;
-            }
-
-            i1 = sbyte.MinValue;
-            actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            if (actualValue != sbyte.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToSByte  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-  
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a Decimal which is  >SByte.MaxValue.");
-
-        try
-        {
-
-            Decimal i1 = SByte.MaxValue + 1.0m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToSByte  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a Decimal which is  <SByte.MinValue.");
-
-        try
-        {
-            Decimal i1 = SByte.MinValue - 1.0m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToSByte  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToSByte test = new DecimalToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToSByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltosingle.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltosingle.cs
deleted file mode 100644 (file)
index 276645d..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToSingle(System.IFormatProvider)
-/// </summary>
-public class DecimalToSingle
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Decimal i1 = new decimal(TestLibrary.Generator.GetSingle(-55));
-
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            Single actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            Single expectValue = (Single)i1;
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToSingle should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -9999.999.");
-
-        try
-        {
-            Decimal i1 = -9999.999m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            Single actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            Single expectValue = -9999.999f;
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToSingle should return " + expectValue);
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToSingle test = new DecimalToSingle();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToSingle");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltostring1.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltostring1.cs
deleted file mode 100644 (file)
index 49999d5..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-using System.Globalization;
-/// <summary>
-/// ToString
-/// </summary>
-public class DecimalToString1
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Calling ToString method.");
-
-        try
-        {
-            decimal d1 = 11111.111m;
-            CultureInfo myCulture=CultureInfo.CurrentCulture ;
-            string seperator=myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue="11111"+seperator+"111";
-            string actualValue = d1.ToString();
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToString should return "+expectValue);
-                retVal = false;
-            }
-            d1 = -11111.111m;
-            expectValue = "-11111" + seperator + "111";
-            actualValue = d1.ToString();
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Calling ToString method and the value is Decimal.MaxValue and Decimal.MinValue.");
-
-        try
-        {
-            decimal d1 = Decimal.MaxValue;
-            CultureInfo myCulture = CultureInfo.CurrentCulture;
-            string seperator = myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue = "79228162514264337593543950335";
-            string actualValue = d1.ToString();
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-            d1 = Decimal.MinValue;
-            expectValue = "-79228162514264337593543950335";
-            actualValue = d1.ToString();
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Calling ToString method,the decimal has a long fractional digits.");
-
-        try
-        {
-            int exponent = 28;
-            decimal d1 = 1e-28m;
-            CultureInfo myCulture = CultureInfo.CurrentCulture;
-            string seperator = myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue = "0" + seperator;
-            for (int i = 1; i < exponent; i++)
-            {
-                expectValue += "0";
-            }
-            expectValue = expectValue + "1";
-            string actualValue = d1.ToString();
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-          
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    
-    
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToString1 test = new DecimalToString1();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToString1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltostring2.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltostring2.cs
deleted file mode 100644 (file)
index aa8d58f..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-using System.Globalization;
-/// <summary>
-/// ToString(System.IFormatProvider)
-/// </summary>
-public class DecimalToString2
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Calling ToString method.");
-
-        try
-        {
-            decimal d1 = 11111.111m;
-            CultureInfo myCulture=CultureInfo.InvariantCulture ;
-            string seperator=myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue="11111"+seperator+"111";
-            string actualValue = d1.ToString(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToString should return "+expectValue);
-                retVal = false;
-            }
-            d1 = -11111.111m;
-            expectValue = "-11111" + seperator + "111";
-            actualValue = d1.ToString(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Calling ToString method and the value is Decimal.MaxValue and Decimal.MinValue.");
-
-        try
-        {
-            decimal d1 = Decimal.MaxValue;
-            CultureInfo myCulture = CultureInfo.CurrentCulture;
-            string seperator = myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue = "79228162514264337593543950335";
-            string actualValue = d1.ToString(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-            d1 = Decimal.MinValue;
-            expectValue = "-79228162514264337593543950335";
-            actualValue = d1.ToString(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Calling ToString method,the decimal has a long fractional digits.");
-
-        try
-        {
-            int exponent = 28;
-            decimal d1 = 1e-28m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            string seperator = myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue = "0" + seperator;
-            for (int i = 1; i < exponent; i++)
-            {
-                expectValue += "0";
-            }
-            expectValue = expectValue + "1";
-            string actualValue = d1.ToString(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-          
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    
-    
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToString2 test = new DecimalToString2();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToString2");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltostring3.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltostring3.cs
deleted file mode 100644 (file)
index 2211388..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-using System.Globalization;
-/// <summary>
-///ToString(System.String)
-/// </summary>
-public class DecimalToString3
-{
-    #region privates
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-                
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NumberDecimalDigits = 2;
-                nfi.PositiveSign = "+";     
-                nfi.NegativeSign = "-";
-                nfi.NumberDecimalSeparator = ".";
-
-                //For "N"
-                //NegativeSign, NumberNegativePattern, NumberGroupSizes, NumberGroupSeparator, NumberDecimalSeparator, NumberDecimalDigits
-                nfi.NumberNegativePattern = 1;
-                nfi.NumberGroupSizes = new int[]{3};
-                nfi.NumberGroupSeparator = ",";
-                
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        TestLibrary.Utilities.CurrentCulture = CustomCulture; 
-        
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture; 
-        
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Calling ToString method,format string is G.");
-
-        try
-        {
-            decimal d1 = 11111.111m;
-            CultureInfo myCulture = CultureInfo.CurrentCulture;
-            string seperator = myCulture.NumberFormat.NumberDecimalSeparator;
-            string expectValue = "11111" + seperator + "111";
-            string actualValue = d1.ToString("G9");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-            d1 = -11111.1234567891m;
-            expectValue = "-11111" + seperator + "1235";
-            actualValue = d1.ToString("G9");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1";
-            actualValue = d1.ToString("G1");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.3", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1" + seperator + "1235";
-            actualValue = d1.ToString("G5");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.4", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Calling ToString method,format string is N.");
-
-        try
-        {
-            decimal d1 = 11111.111m;
-            CultureInfo myCulture = CultureInfo.CurrentCulture;
-            string seperator = myCulture.NumberFormat.NumberDecimalSeparator;
-            string expectValue = "11" + myCulture.NumberFormat.NumberGroupSeparator + "111" + seperator + "111000000";
-            string actualValue = d1.ToString("N9");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-            d1 = -11111.1234567891m;
-            expectValue = "-11" + myCulture.NumberFormat.NumberGroupSeparator + "111" + seperator + "123456789";
-            actualValue = d1.ToString("N9");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1" + seperator + "1";
-            actualValue = d1.ToString("N1");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.3", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1" + seperator + "12346";
-            actualValue = d1.ToString("N5");
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.4", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToString3 test = new DecimalToString3();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToString3");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltostring4.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltostring4.cs
deleted file mode 100644 (file)
index 3ce0148..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-using System.Globalization;
-/// <summary>
-/// ToString(System.String,System.IFormatProvider)
-/// </summary>
-public class DecimalToString4
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Calling ToString method,format string is G.");
-
-        try
-        {
-            decimal d1 = 11111.111m;
-            CultureInfo myCulture=CultureInfo.InvariantCulture ;
-            string seperator=myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue="11111"+seperator+"111";
-            string actualValue = d1.ToString("G9", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToString should return "+expectValue);
-                retVal = false;
-            }
-            d1 = -11111.1234567891m;
-            expectValue = "-11111" + seperator + "1235";
-            actualValue = d1.ToString("G9", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1" ;
-            actualValue = d1.ToString("G1", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.3", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1" + seperator + "1235";
-            actualValue = d1.ToString("G5", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.4", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Calling ToString method,format string is N.");
-
-        try
-        {
-            decimal d1 = 11111.111m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            string seperator = myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue = "11" + myCulture.NumberFormat.NumberGroupSeparator + "111" + seperator + "111000000";
-            string actualValue = d1.ToString("N9", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-            d1 = -11111.1234567891m;
-            expectValue = "-11" + myCulture.NumberFormat.NumberGroupSeparator + "111" + seperator + "123456789";
-            actualValue = d1.ToString("N9", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1" + seperator + "1";
-            actualValue = d1.ToString("N1", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.3", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = -1.1234567891m;
-            expectValue = "-1" + seperator + "12346";
-            actualValue = d1.ToString("N5", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("002.4", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Calling ToString method,format string is C.");
-
-        try
-        {
-            decimal d1 = 11111.111m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            string seperator = myCulture.NumberFormat.CurrencyDecimalSeparator;
-            string expectValue = myCulture.NumberFormat.CurrencySymbol + "11" + myCulture.NumberFormat.NumberGroupSeparator + "111" + seperator + "111000000";
-            string actualValue = d1.ToString("C9", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToString should return " + expectValue);
-                retVal = false;
-            }
-            d1 = 11111.1234567891m;
-            expectValue = myCulture.NumberFormat.CurrencySymbol + "11" + myCulture.NumberFormat.NumberGroupSeparator + "111" + seperator + "123456789";
-            actualValue = d1.ToString("C9", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("003.2", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = 1.1234567891m;
-            expectValue = myCulture.NumberFormat.CurrencySymbol + "1" + seperator + "1";
-            actualValue = d1.ToString("C1", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("003.3", "ToString should return " + expectValue);
-                retVal = false;
-            }
-
-            d1 = 1.1234567891m;
-            expectValue = myCulture.NumberFormat.CurrencySymbol + "1" + seperator + "12346";
-            actualValue = d1.ToString("C5", myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("003.4", "ToString should return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    
-    
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToString4 test = new DecimalToString4();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToString4");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltouint16.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltouint16.cs
deleted file mode 100644 (file)
index 268bace..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToUInt16(System.IFormatProvider)
-/// </summary>
-public class DecimalToUInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-            Decimal i1 = new decimal (TestLibrary.Generator.GetSingle(-55));
-            short expectValue = 0;
-            if (i1 > 0.5m)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            ushort actualValue = ((IConvertible)i1).ToUInt16(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToUInt16  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a Decimal which is  >UInt16.MaxValue.");
-
-        try
-        {
-            Decimal i1 = UInt16.MaxValue + 1m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            ushort actualValue = ((IConvertible)i1).ToUInt16(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToUInt16  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a Decimal which is  <UInt16.MinValue.");
-
-        try
-        {
-            Decimal i1 = UInt16.MinValue - 1m;
-            CultureInfo myCulture = CultureInfo.InvariantCulture;
-            ushort actualValue = ((IConvertible)i1).ToUInt16(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToUInt16  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToUInt16 test = new DecimalToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToUInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltouint32.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltouint32.cs
deleted file mode 100644 (file)
index 5e52c45..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToUInt32(System.IFormatProvider)
-/// </summary>
-public class DecimalToUInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-           Decimal i1 = new decimal (TestLibrary.Generator.GetSingle(-55));
-            short expectValue = 0;
-            if (i1 > 0.5m)
-                expectValue = 1;
-            else
-                expectValue = 0;
-           CultureInfo myCulture = CultureInfo.InvariantCulture;
-            uint actualValue = ((IConvertible)i1).ToUInt32(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToUInt32  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a Decimal which is  >UInt32.MaxValue.");
-
-        try
-        {
-            Decimal i1 = UInt32.MaxValue + 1.0m;
-           CultureInfo myCulture = CultureInfo.InvariantCulture;
-            uint actualValue = ((IConvertible)i1).ToUInt32(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToUInt32  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a Decimal which is  <UInt32.MinValue.");
-
-        try
-        {
-            Decimal i1 = UInt32.MinValue - 1.0m;
-           CultureInfo myCulture = CultureInfo.InvariantCulture;
-            uint actualValue = ((IConvertible)i1).ToUInt32(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToUInt32  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToUInt32 test = new DecimalToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToUInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltouint64.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltouint64.cs
deleted file mode 100644 (file)
index 7c8b411..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToUInt64(System.IFormatProvider)
-/// </summary>
-public class DecimalToUInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random Decimal.");
-
-        try
-        {
-           Decimal i1 = new decimal (TestLibrary.Generator.GetSingle(-55));
-            ulong expectValue = 0;
-            if (i1 > 0.5m)
-                expectValue = 1;
-            else
-                expectValue = 0;
-           CultureInfo myCulture = CultureInfo.InvariantCulture;
-            ulong actualValue = ((IConvertible)i1).ToUInt64(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToUInt64  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a Decimal which is  >UInt64.MaxValue.");
-
-        try
-        {
-            Decimal i1 = UInt64.MaxValue + 1.0m;
-           CultureInfo myCulture = CultureInfo.InvariantCulture;
-            ulong actualValue = ((IConvertible)i1).ToUInt64(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToUInt64  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a Decimal which is  <UInt64.MinValue.");
-
-        try
-        {
-            Decimal i1 = UInt64.MinValue - 1.0m;
-           CultureInfo myCulture = CultureInfo.InvariantCulture;
-            ulong actualValue = ((IConvertible)i1).ToUInt64(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToUInt64  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DecimalToUInt64 test = new DecimalToUInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalToUInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimaltruncate.cs b/tests/src/CoreMangLib/cti/system/decimal/decimaltruncate.cs
deleted file mode 100644 (file)
index 02e46ca..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// Truncate(System.Decimal)
-/// </summary>
-public class DecimalTruncate
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-       
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Calling Truncate method.");
-
-        try
-        {
-            Decimal m1 =new decimal(TestLibrary.Generator.GetSingle(-55));
-            Decimal expectValue = 0m;
-            Decimal actualValue = Decimal.Truncate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Truncate should  return " + expectValue);
-                retVal = false;
-            }
-
-
-            m1 = 123.456789m;
-            expectValue = 123m;
-            actualValue = Decimal.Truncate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Truncate should  return " + expectValue);
-                retVal = false;
-            }
-      
-
-
-            m1 = -123.456789m;
-            expectValue = -123m;
-            actualValue = Decimal.Truncate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.3", "Truncate should  return " + expectValue);
-                retVal = false;
-            }
-
-            m1 = -9999999999.9999999999m;
-            expectValue = -9999999999m;
-            actualValue = Decimal.Truncate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.4", "Truncate should  return " + expectValue);
-                retVal = false;
-            }
-            m1 = Decimal.MaxValue;
-            expectValue = Decimal.MaxValue;
-            actualValue = Decimal.Truncate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.5", "Truncate should  return " + expectValue);
-                retVal = false;
-            }
-
-            m1 = Decimal.MinValue;
-            expectValue = Decimal.MinValue;
-            actualValue = Decimal.Truncate(m1);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.6", "Truncate should  return " + expectValue);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-    
-    
-    #endregion
-
-    public static int Main()
-    {
-        DecimalTruncate test = new DecimalTruncate();
-
-        TestLibrary.TestFramework.BeginTestCase("DecimalTruncate");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #region private method
-    public TypeCode GetExpectValue(Decimal myValue)
-    {
-        return TypeCode.Decimal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/decimal/decimalzero.cs b/tests/src/CoreMangLib/cti/system/decimal/decimalzero.cs
deleted file mode 100644 (file)
index ceaf974..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.Decimal.Zero
-/// </summary>
-public class DecimalZero
-{
-
-    public static int Main()
-    {
-        DecimalZero dZero = new DecimalZero();
-        TestLibrary.TestFramework.BeginTestCase("for Field:System.Decimal.Zero");
-
-        if (dZero.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1:Verify the Decimal Zero is equal to 0";
-        const string c_TEST_ID = "P001";
-
-        Decimal dZero = Convert.ToDecimal(0);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        try
-        {
-
-            if (Decimal.Zero != dZero)
-            {
-                string errorDesc = "Value is not " + dZero.ToString() + " as expected: Actual(" + Decimal.Zero.ToString() + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-
-        return retVal;
-    }
-
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/delegate/DelegateABI.csproj b/tests/src/CoreMangLib/cti/system/delegate/DelegateABI.csproj
deleted file mode 100644 (file)
index bc57f8a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="delegateabi.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/delegate/TestForOtherAssembly.csproj b/tests/src/CoreMangLib/cti/system/delegate/TestForOtherAssembly.csproj
deleted file mode 100644 (file)
index 1bd583d..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>SharedLibrary</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="testforotherassembly.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="../../../../Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/delegate/delegateabi.cs b/tests/src/CoreMangLib/cti/system/delegate/delegateabi.cs
deleted file mode 100644 (file)
index e13ccaf..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using System;
-
-namespace ClassLibrary
-{
-    public class test
-    {
-        public delegate float FloatTest(float a);
-
-        static float testfloat(float a)
-        {
-            if(a != -1.1f)
-            {
-                throw new Exception();
-            }
-            return -2.2f;
-        }
-
-        public delegate int IntTest(int a);
-
-        static int testint(int a)
-        {
-           if(a != -1)
-           {
-                throw new Exception();
-           }
-           return -2;
-        }
-
-       static int Main(string[] args)
-       {
-            try
-            {
-                IntTest inttest = testint;
-                int r = inttest(-1);
-                if (r != -2)
-                {
-                    Console.WriteLine("FAIL - int return value mismatch");
-                    return 101;
-                }
-            }
-            catch (Exception)
-            {
-                Console.WriteLine("FAIL - int argument value mismatch");
-                return 102;
-            }
-            try
-            {
-                FloatTest floattest = testfloat;
-                float r = floattest(-1.1f);
-                if (r != -2.2f)
-                {
-                    Console.WriteLine("FAIL - float return value mismatch");
-                    return 103;
-                }
-            }
-            catch (Exception)
-            {
-                Console.WriteLine("FAIL - float argument value mismatch");
-                return 104;
-            }
-            return 100;
-       }
-   }
-}
diff --git a/tests/src/CoreMangLib/cti/system/delegate/testforotherassembly.cs b/tests/src/CoreMangLib/cti/system/delegate/testforotherassembly.cs
deleted file mode 100644 (file)
index 11a25da..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Security;
-
-namespace OtherAssemblyTest
-{
-    public class TestOtherAssemblyClass
-    {
-
-        static internal void MethodF(string s)
-        {
-            Console.WriteLine("Static internal method MethodE on TestOtherAssemblyClass:  s = {0}", s);
-        }
-        private void MethodH(string s)
-        {
-            Console.WriteLine("instance private method MethodE on TestOtherAssemblyClass:  s = {0}", s);
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/ConditionalAttributeConditionString.csproj b/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/ConditionalAttributeConditionString.csproj
deleted file mode 100644 (file)
index b45226b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="conditionalattributeconditionstring.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/ConditionalAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/ConditionalAttributeCtor.csproj
deleted file mode 100644 (file)
index 764be45..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="conditionalattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/conditionalattributeconditionstring.cs b/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/conditionalattributeconditionstring.cs
deleted file mode 100644 (file)
index 15b0374..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Diagnostics;
-
-/// <summary>
-/// ConditionalAttribute.ConditionString(v-yaduoj)
-/// </summary>
-public class ConditionalAttributeConditionString
-{
-    public static int Main()
-    {
-        ConditionalAttributeConditionString testObj = new ConditionalAttributeConditionString();
-
-        TestLibrary.TestFramework.BeginTestCase("for property: ConditionalAttribute.ConditionString");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Get unempty ConditionString";
-        string errorDesc;
-
-        string expectedCondition;
-        string actualCondition;
-        expectedCondition = "CLR_Test_Case";
-        ConditionalAttribute conditionalAtt = new ConditionalAttribute(expectedCondition);
-        
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualCondition = conditionalAtt.ConditionString;
-            if (actualCondition != expectedCondition)
-            {
-                errorDesc = "The value of property ConditionString of instance of class ConditionalAttribute is not " +
-                            "the value \"" + expectedCondition + "\" as expected: Actually\"" + actualCondition +
-                            "\"";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: Get empty ConditionString";
-        string errorDesc;
-
-        string expectedCondition;
-        string actualCondition;
-        expectedCondition = string.Empty;
-        ConditionalAttribute conditionalAtt = new ConditionalAttribute(expectedCondition);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualCondition = conditionalAtt.ConditionString;
-            if (actualCondition != expectedCondition)
-            {
-                errorDesc = "The value of property ConditionString of instance of class ConditionalAttribute is not " +
-                            "the value string.Empty as expected: Actually\"" + actualCondition +
-                            "\"";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: Get null reference ConditionString";
-        string errorDesc;
-
-        string expectedCondition;
-        string actualCondition;
-        expectedCondition = null;
-        ConditionalAttribute conditionalAtt = new ConditionalAttribute(expectedCondition);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualCondition = conditionalAtt.ConditionString;
-            if (actualCondition != expectedCondition)
-            {
-                errorDesc = "The value of property ConditionString of instance of class ConditionalAttribute is not " +
-                            "the value null reference as expected: Actually\"" + actualCondition +
-                            "\"";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/conditionalattributector.cs b/tests/src/CoreMangLib/cti/system/diagnostics/conditionalattribute/conditionalattributector.cs
deleted file mode 100644 (file)
index 322b6f0..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Diagnostics;
-
-/// <summary>
-/// ConditionalAttribute(string)(v-yaduoj)
-/// </summary>
-public class ConditionalAttributeCtor
-{
-    public static int Main()
-    {
-        ConditionalAttributeCtor testObj = new ConditionalAttributeCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for constructor: ConditionalAttribute(string)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Intinalize the conditional attribute using not empty string.";
-        string errorDesc;
-
-        string conditionalString;
-
-        conditionalString = "CLR_API_Test";
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ConditionalAttribute conditionalAtt = new ConditionalAttribute(conditionalString);
-            if (conditionalAtt.ConditionString != conditionalString)
-            {
-                errorDesc = string.Format("Faile to initialize the conditional attribute using string \"{0}\"", conditionalString);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: Intinalize the conditional attribute using string.Empty.";
-        string errorDesc;
-
-        string conditionalString;
-
-        conditionalString = string.Empty;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ConditionalAttribute conditionalAtt = new ConditionalAttribute(conditionalString);
-            if (conditionalAtt.ConditionString != conditionalString)
-            {
-                errorDesc = "Failed to initialize the conditional attribute using an empty string(string.Empty)";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: Intinalize the conditional attribute using a null reference.";
-        string errorDesc;
-
-        string conditionalString;
-
-        conditionalString = null;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ConditionalAttribute conditionalAtt = new ConditionalAttribute(conditionalString);
-            if (conditionalAtt.ConditionString != conditionalString)
-            {
-                errorDesc = "Failed to initialize the conditional attribute using a null reference";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundException1.csproj b/tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundException1.csproj
deleted file mode 100644 (file)
index 42b2200..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="dllnotfoundexception1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundExceptionCtor2.csproj b/tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundExceptionCtor2.csproj
deleted file mode 100644 (file)
index fa5ebae..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="dllnotfoundexceptionctor2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundExceptionCtor3.csproj b/tests/src/CoreMangLib/cti/system/dllnotfoundexception/DllNotFoundExceptionCtor3.csproj
deleted file mode 100644 (file)
index 8907af9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="dllnotfoundexceptionctor3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexception1.cs b/tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexception1.cs
deleted file mode 100644 (file)
index 2a4bfbe..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-///<summary>
-///System.DllNotFoundException.Ctor()
-///</summary>
-
-public class DllNotFoundExceptionCtor
-{
-
-    public static int Main()
-    {
-        DllNotFoundExceptionCtor testObj = new DllNotFoundExceptionCtor();
-        TestLibrary.TestFramework.BeginTestCase("for constructor of System.DllNotFoundException");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-
-    #region Positive Test Logic
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Create a instance of DllNotFoundException");
-        try
-        {
-            DllNotFoundException dbz = new DllNotFoundException();
-
-            if (dbz == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexceptionctor2.cs b/tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexceptionctor2.cs
deleted file mode 100644 (file)
index 2414439..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-///<summary>
-///System.DllNotFoundException.Ctor(String)
-///</summary>
-
-public class DllNotFoundExceptionCtor
-{
-
-    public static int Main()
-    {
-        DllNotFoundExceptionCtor testObj = new DllNotFoundExceptionCtor();
-        TestLibrary.TestFramework.BeginTestCase("for constructor of System.DllNotFoundException");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-
-
-    #region Positive Test Logic
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        String errMessage = TestLibrary.Generator.GetString(-55, false, 1, 255);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Create a instance of DllNotFoundException");
-        try
-        {
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage);
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        String errMessage = TestLibrary.Generator.GetString(-55, false, 1, 255);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Determine the error message is changed or not when the exception is thown out");
-        try
-        {
-
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage);
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("003", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-            else
-            {
-                retVal = false;
-                throw dnfe;
-            }
-        }
-        catch (DllNotFoundException dE)
-        {
-            retVal = true;
-            if (!dE.Message.Equals(errMessage))
-            {
-                TestLibrary.TestFramework.LogError("004", "ExpectedValue(Message Not Be Changed) !=ActualValue(Message Be Changed)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        String errMessage = String.Empty;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Determine the method with Empty String");
-        try
-        {
-
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage);
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("006", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-            else
-            {
-                retVal = false;
-                throw dnfe;
-            }
-        }
-        catch (DllNotFoundException dE)
-        {
-            retVal = true;
-            if (!dE.Message.Equals(errMessage))
-            {
-                TestLibrary.TestFramework.LogError("007", "ExpectedValue(Message Not Be Changed) !=ActualValue(Message Be Changed)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        String errMessage = TestLibrary.Generator.GetString(-55, false,256,512);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Determine the method with Long String");
-        try
-        {
-
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage);
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("009", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-            else
-            {
-                retVal = false;
-                throw dnfe;
-            }
-        }
-        catch (DllNotFoundException dE)
-        {
-            retVal = true;
-            if (!dE.Message.Equals(errMessage))
-            {
-                TestLibrary.TestFramework.LogError("010", "ExpectedValue(Message Not Be Changed) !=ActualValue(Message Be Changed)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("011", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexceptionctor3.cs b/tests/src/CoreMangLib/cti/system/dllnotfoundexception/dllnotfoundexceptionctor3.cs
deleted file mode 100644 (file)
index 5fae346..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-///<summary>
-///System.DllNotFoundException.Ctor(String,Exception)
-///</summary>
-
-public class DllNotFoundExceptionCtor
-{
-
-    public static int Main()
-    {
-        DllNotFoundExceptionCtor testObj = new DllNotFoundExceptionCtor();
-        TestLibrary.TestFramework.BeginTestCase("for constructor of System.DllNotFoundException");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-
-    #region Positive Test Logic
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        String errMessage = TestLibrary.Generator.GetString(-55, false, 1, 255);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Create a instance of DllNotFoundException");
-        try
-        {
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage, new Exception());
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        String errMessage = TestLibrary.Generator.GetString(-55, false, 1, 255);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Determine the error message is changed or not when the exception is thown out");
-        try
-        {
-
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage, new Exception());
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("003", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-            else
-            {
-                retVal = false;
-                throw dnfe;
-            }
-        }
-        catch (DllNotFoundException dE)
-        {
-            retVal = true;
-            if (!dE.Message.Equals(errMessage))
-            {
-                TestLibrary.TestFramework.LogError("004", "ExpectedValue(Message Not Be Changed) !=ActualValue(Message Be Changed)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        String errMessage = String.Empty;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Determine the method with Empty String");
-        try
-        {
-
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage, new Exception());
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("006", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-            else
-            {
-                retVal = false;
-                throw dnfe;
-            }
-        }
-        catch (DllNotFoundException dE)
-        {
-            retVal = true;
-            if (!dE.Message.Equals(errMessage))
-            {
-                TestLibrary.TestFramework.LogError("007", "ExpectedValue(Message Not Be Changed) !=ActualValue(Message Be Changed)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        String errMessage = TestLibrary.Generator.GetString(-55, false, 256, 512);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Determine the method with Long String");
-        try
-        {
-
-            DllNotFoundException dnfe = new DllNotFoundException(errMessage, new Exception());
-
-            if (dnfe == null)
-            {
-                TestLibrary.TestFramework.LogError("009", "ExpectedValue(not null) !=ActualValue(null)");
-                retVal = false;
-            }
-            else
-            {
-                retVal = false;
-                throw dnfe;
-            }
-        }
-        catch (DllNotFoundException dE)
-        {
-            retVal = true;
-            if (!dE.Message.Equals(errMessage))
-            {
-                TestLibrary.TestFramework.LogError("010", "ExpectedValue(Message Not Be Changed) !=ActualValue(Message Be Changed)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("011", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleCompareTo1.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleCompareTo1.csproj
deleted file mode 100644 (file)
index dd169a9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doublecompareto1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleEpsilon.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleEpsilon.csproj
deleted file mode 100644 (file)
index 80c2d0e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleepsilon.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleEquals1.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleEquals1.csproj
deleted file mode 100644 (file)
index 8ccb697..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleequals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleEquals2.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleEquals2.csproj
deleted file mode 100644 (file)
index 2ba8c4d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleequals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 95202b5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToByte.csproj
deleted file mode 100644 (file)
index fe9fd59..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index dd89766..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 92b9954..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToDouble.csproj
deleted file mode 100644 (file)
index 301eaa6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt16.csproj
deleted file mode 100644 (file)
index e705ae6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 153bc54..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 38b02be..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToSByte.csproj
deleted file mode 100644 (file)
index 10bcd4b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIConvertibleToSingle.csproj
deleted file mode 100644 (file)
index 3550e62..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleiconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIsInfinity.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIsInfinity.csproj
deleted file mode 100644 (file)
index daeb217..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleisinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIsNaN.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIsNaN.csproj
deleted file mode 100644 (file)
index e1522f9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleisnan.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIsNegativeInfinity.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIsNegativeInfinity.csproj
deleted file mode 100644 (file)
index 0e4bc3d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleisnegativeinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleIsPositiveInfinity.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleIsPositiveInfinity.csproj
deleted file mode 100644 (file)
index 19d6f98..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleispositiveinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleMaxValue.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleMaxValue.csproj
deleted file mode 100644 (file)
index 756eafe..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doublemaxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleMinValue.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleMinValue.csproj
deleted file mode 100644 (file)
index 71e7f42..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubleminvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleNaN.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleNaN.csproj
deleted file mode 100644 (file)
index 036f968..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doublenan.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleNegativeInfinity.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleNegativeInfinity.csproj
deleted file mode 100644 (file)
index a109638..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doublenegativeinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoublePositiveInfinity.csproj b/tests/src/CoreMangLib/cti/system/double/DoublePositiveInfinity.csproj
deleted file mode 100644 (file)
index a823508..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doublepositiveinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleToString1.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleToString1.csproj
deleted file mode 100644 (file)
index 83478d4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubletostring1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleToString2.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleToString2.csproj
deleted file mode 100644 (file)
index ada157d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubletostring2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleToString3.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleToString3.csproj
deleted file mode 100644 (file)
index 8d2ca59..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubletostring3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/DoubleToString4.csproj b/tests/src/CoreMangLib/cti/system/double/DoubleToString4.csproj
deleted file mode 100644 (file)
index 463ea9f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="doubletostring4.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/double/doublecompareto1.cs b/tests/src/CoreMangLib/cti/system/double/doublecompareto1.cs
deleted file mode 100644 (file)
index dae337f..0000000
+++ /dev/null
@@ -1,260 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// CompareTo(System.Double)
-/// </summary>
-public class DoubleCompareTo1
-{
-    public static int Main()
-    {
-        DoubleCompareTo1 test = new DoubleCompareTo1();
-        TestLibrary.TestFramework.BeginTestCase("DoubleCompareTo1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure the return value of CompareTo(System.Double) is less than zero when the instance is less than System.Double.");
-
-        try
-        {
-            Random random = new Random(-55);
-            Double d1, d2;
-            do
-            {
-                d1 = random.NextDouble();
-                d2 = random.NextDouble();
-            }
-            while (d1 >= d2);
-            if (d1.CompareTo(d2) >= 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The return value of CompareTo(System.Double) is not less than zero when the instance is less than System.Double!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Ensure the return value of CompareTo(System.Double) is less than zero when this instance is not a number (NaN) and System.Double is a number.");
-
-        try
-        {
-            Random random = new Random(-55);
-            Double randomDouble;
-            do
-            {
-                randomDouble = random.NextDouble();
-            }
-            while (Double.IsNaN(randomDouble) == true);
-
-            if (Double.NaN.CompareTo(randomDouble) >= 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The return value of CompareTo(System.Double) is not less than zero when this instance is not a number (NaN) and System.Double is a number!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Ensure the return value of CompareTo(System.Double) equal to zero when this instance equals to System.Double.");
-
-        try
-        {
-            Random random = new Random(-55);
-            Double d1, d2;
-            d1 = random.NextDouble();
-            d2 = d1;
-
-            if (d1.CompareTo(d2) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The return value of CompareTo(System.Double) does not equal to zero when this instance equals to System.Double!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Ensure the return value of CompareTo(System.Double) equal to zero when both this instance and value are NaN.");
-
-        try
-        {
-            Double d1 = 0.0;
-            long myl1 = 0;
-            myl1 = myl1 | 0x7ff0000000000001;
-            byte[] mybytes1 = { 0, 0, 0, 0, 0, 0, 0, 0 };
-            mybytes1 = BitConverter.GetBytes(myl1);
-            d1 = BitConverter.ToDouble(mybytes1, 0);
-
-            Double d2 = 0.0;
-            long myl2 = 0;
-            myl2 = myl2 | 0x7ff0000000000002;
-            byte[] mybytes2 = { 0, 0, 0, 0, 0, 0, 0, 0 };
-            mybytes2 = BitConverter.GetBytes(myl2);
-            d2 = BitConverter.ToDouble(mybytes2, 0);
-
-            if (d1.CompareTo(d2) != 0)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "The return value of CompareTo(System.Double) does not equal to zero when both this instance and value are NaN!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Ensure the return value of CompareTo(System.Double) equal to zero when both this instance and value are PositiveInfinity.");
-
-        try
-        {
-            Double zero = 0.0;
-
-            if ((1 / zero).CompareTo(2 / zero) != 0)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "The return value of CompareTo(System.Double) does not equal to zero when both this instance and value are PositiveInfinity!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Ensure the return value of CompareTo(System.Double) is greater than zero when the instance is greater than System.Double.");
-
-        try
-        {
-            Random random = new Random(-55);
-            Double d1, d2;
-            do
-            {
-                d1 = random.NextDouble();
-                d2 = random.NextDouble();
-            }
-            while (d1 <= d2);
-            if (d1.CompareTo(d2) <= 0)
-            {
-                TestLibrary.TestFramework.LogError("006.1", "The return value of CompareTo(System.Double) is not greater than zero when the instance is greater than System.Double!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Ensure the return value of CompareTo(System.Double) is greater than zero when this instance is a number and System.Double is not a number.");
-
-        try
-        {
-            Random random = new Random(-55);
-            Double randomDouble;
-            do
-            {
-                randomDouble = random.NextDouble();
-            }
-            while (Double.IsNaN(randomDouble) == true);
-
-            if (randomDouble.CompareTo(Double.NaN) <= 0)
-            {
-                TestLibrary.TestFramework.LogError("007.1", "The return value of CompareTo(System.Double) is not greater than zero when this instance is a number and System.Double is not a number!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleepsilon.cs b/tests/src/CoreMangLib/cti/system/double/doubleepsilon.cs
deleted file mode 100644 (file)
index 9f29ccf..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// Epsilon
-/// </summary>
-public class DoubleEpsilon
-{
-    public static int Main()
-    {
-        DoubleEpsilon test = new DoubleEpsilon();
-        TestLibrary.TestFramework.BeginTestCase("DoubleEpsilon");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure Epsilon equals 4.94065645841247e-324");
-
-        try
-        {
-            if (Double.Epsilon.CompareTo(4.94065645841247e-324) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Epsilon does not equal 4.94065645841247e-324!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleequals1.cs b/tests/src/CoreMangLib/cti/system/double/doubleequals1.cs
deleted file mode 100644 (file)
index 39e8fdc..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Equals(System.Double)
-/// </summary>
-
-public class DoubleEquals1
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Double value equals with Equals(Double).");
-
-        try
-        {
-            Double d1 = new Random(-55).NextDouble();
-            Double d2 = d1;
-
-            if (!d1.Equals(d2))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Method Double.Equals(Double) Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify Double value not equals with Equals(Double).");
-
-        try
-        {
-            Random random = new Random(-55);
-            Double d1,d2;
-            do
-            {
-                d1 = random.NextDouble();
-                d2 = random.NextDouble();
-            }
-            while (d1 == d2);
-
-            if (d1.Equals(d2))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Method Double.Equals(Double) Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DoubleEquals1 test = new DoubleEquals1();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleEquals1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleequals2.cs b/tests/src/CoreMangLib/cti/system/double/doubleequals2.cs
deleted file mode 100644 (file)
index 81295be..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Equals(System.Object)
-/// </summary>
-
-public class DoubleEquals2
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Double value equals with Equals(Object).");
-
-        try
-        {
-            Double d = new Random(-55).NextDouble();
-            Object obj = (Object)d;
-
-            if (!d.Equals(obj))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Method Double.Equals(Object) Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify Double value not equals with Equals(Object).");
-
-        try
-        {
-            Random random = new Random(-55);
-            Double d1, d2;
-            do
-            {
-                d1 = random.NextDouble();
-                d2 = random.NextDouble();
-            }
-            while (d1 == d2);
-
-            Object obj = (Object)d2;
-
-            if (d1.Equals(obj))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Method Double.Equals(Object) Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DoubleEquals2 test = new DoubleEquals2();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleEquals2");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoboolean.cs
deleted file mode 100644 (file)
index 9b82415..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class DoubleIConvertibleToBoolean
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random Double to boolean");
-
-        try
-        {
-            Double i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetDouble(-55);
-            }
-
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("001.1", String.Format("The Double {0} to boolean is not true as expected ", i1));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Zero to boolean  ");
-
-        try
-        {
-            Double i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToBoolean(null) != false)
-            {
-                TestLibrary.TestFramework.LogError("002.1", String.Format("The Double {0} to boolean is not false as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: convert negative number to boolean  ");
-
-        try
-        {
-            Double i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("003.1", String.Format("The Double {0} to boolean is not true as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToBoolean test = new DoubleIConvertibleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToBoolean");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletobyte.cs
deleted file mode 100644 (file)
index 5c4e03a..0000000
+++ /dev/null
@@ -1,255 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// DoubleIConvertibleToByte
-/// </summary>
-
-public class DoubleIConvertibleToByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Double( <= 0.5 ) to byte");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 > 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToByte(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random Double( > 0.5 ) to byte");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 <= 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToByte(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.1", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert ByteMaxValue");
-
-        try
-        {
-            Double i1 = (Double)Byte.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The result is not the value as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert zero to byte ");
-
-        try
-        {
-            Double i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert a negative byte Double to Byte ");
-
-        try
-        {
-            Double i1 = 0;
-            while (i1 == 0)
-                i1 = (Double)TestLibrary.Generator.GetByte(-55);
-
-            IConvertible Icon1 = (IConvertible)(-i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("101.1", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert Double to Byte ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 <= 255)
-                i1 = (Int32)TestLibrary.Generator.GetInt32(-55);
-
-            IConvertible Icon1 = (IConvertible)((Double)i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("102.1", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest3: Check the border value ");
-
-        try
-        {
-            Double i1 = 256D;
-            IConvertible Icon1 = (IConvertible)(i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("103.1", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("103.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToByte test = new DoubleIConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodatetime.cs
deleted file mode 100644 (file)
index 1ae796f..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToDateTime(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToDateTime
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        try
-        {
-            Double d = TestLibrary.Generator.GetDouble(-55);
-            DateTime v = (d as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("001",
-                String.Format("expected a InvalidCastException on (d as IConvertible).ToDateTime(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-            retVal = true;
-            return retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToDateTime test = new DoubleIConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToDateTime");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodecimal.cs
deleted file mode 100644 (file)
index 22157ec..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToDecimal(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToDecimal
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a Double to Decimal.");
-
-        try
-        {
-            Double d = TestLibrary.Generator.GetDouble();
-            IConvertible i = (IConvertible)d;
-            Decimal dm = i.ToDecimal(null);
-            
-            String dmString = dm.ToString();
-            //truncate one more precision digit to get rid off precision difference
-            dmString = dmString.Substring(0, dmString.Length - 1);
-
-            if (!d.ToString().Contains(dmString))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result " + dmString + " is not correct as expected: " + d);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to decimal");
-
-        try
-        {
-            Double d = 0;
-            IConvertible i = (IConvertible)d;
-            decimal dm = i.ToDecimal(null);
-            if (d.ToString() != dm.ToString())
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check OverflowException");
-
-        try
-        {
-            Double d = Double.MaxValue;
-            IConvertible i = (IConvertible)d;
-            decimal dm = i.ToDecimal(null);
-
-            TestLibrary.TestFramework.LogError("001.1", "The OverflowException is not thrown.");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check OverflowException");
-
-        try
-        {
-            Double d = Double.MinValue;
-            IConvertible i = (IConvertible)d;
-            decimal dm = i.ToDecimal(null);
-
-            TestLibrary.TestFramework.LogError("002.1", "The OverflowException is not thrown.");
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToDecimal test = new DoubleIConvertibleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToDecimal");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletodouble.cs
deleted file mode 100644 (file)
index 3b33c2d..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToDouble(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToDouble
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random double to double.");
-
-        try
-        {
-            Double d1 = TestLibrary.Generator.GetDouble(-55);
-            IConvertible i = d1 as IConvertible;
-            Double d2 = i.ToDouble(null);
-
-            if (d1 != d2)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result is not correct as expected.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Zero to double.");
-
-        try
-        {
-            Double d1 = 0.00D;
-            IConvertible i = d1 as IConvertible;
-            Double d2 = i.ToDouble(null);
-
-            if (d1 != d2)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not correct as expected.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Double.MaxValue to double.");
-
-        try
-        {
-            Double d1 = Double.MaxValue;
-            IConvertible i = d1 as IConvertible;
-            Double d2 = i.ToDouble(null);
-
-            if (d1 != d2)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The result is not correct as expected.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Random.MinValue to double.");
-
-        try
-        {
-            Double d1 = Double.MinValue;
-            IConvertible i = d1 as IConvertible;
-            Double d2 = i.ToDouble(null);
-
-            if (d1 != d2)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "The result is not correct as expected.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToDouble test = new DoubleIConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToDouble");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint16.cs
deleted file mode 100644 (file)
index 3a1e5a2..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToInt16(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Double( <= 0.5 ) to int16");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 > 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToInt16(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random Double( > 0.5 ) to int16");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 <= 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToInt16(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.1", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert zero to int16 ");
-
-        try
-        {
-            Double i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt16(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert (double)int16.MaxValue to int16 ");
-
-        try
-        {
-            Double i1 = (Double)Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt16(null) != Int16.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Convert (double)int16.MinValue to int16 ");
-
-        try
-        {
-            Double i1 = (Double)Int16.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt16(null) != Int16.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToInt16 test = new DoubleIConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint32.cs
deleted file mode 100644 (file)
index 60db60e..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToInt32(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Double( <= 0.5 ) to int32");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 > 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToInt32(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random Double( > 0.5 ) to int32");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 <= 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToInt32(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.1", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert zero to int32 ");
-
-        try
-        {
-            Double i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert (double)int32.MaxValue to int32 ");
-
-        try
-        {
-            Double i1 = (Double)Int32.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != Int32.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Convert (double)int32.MinValue to int32 ");
-
-        try
-        {
-            Double i1 = (Double)Int32.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != Int32.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToInt32 test = new DoubleIConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletoint64.cs
deleted file mode 100644 (file)
index 04668fe..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToInt64(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Double( <= 0.5 ) to int64");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 > 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToInt64(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random Double( > 0.5 ) to int64");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 <= 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToInt64(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.1", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert zero to int64 ");
-
-        try
-        {
-            Double i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt64(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToInt64 test = new DoubleIConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletosbyte.cs
deleted file mode 100644 (file)
index b3352d5..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToSByte(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToSByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Double( <= 0.5 ) to sbyte");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 > 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToSByte(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random Double( > 0.5 ) to sbyte");
-
-        try
-        {
-            Double i1;
-            do
-                i1 = (Double)TestLibrary.Generator.GetDouble(-55);
-            while (i1 <= 0.5D);
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToSByte(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.1", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert zero to sbyte ");
-
-        try
-        {
-            Double i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToSByte(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert (double)SByte.MaxValue to sbyte.");
-
-        try
-        {
-            Double i1 = (Double)SByte.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToSByte(null) != SByte.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Convert (double)SByte.MinValue to sbyte.");
-
-        try
-        {
-            Double i1 = (Double)SByte.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToSByte(null) != SByte.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToSByte test = new DoubleIConvertibleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToSByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/double/doubleiconvertibletosingle.cs
deleted file mode 100644 (file)
index ba83d7b..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToSingle(System.IFormatProvider)
-/// </summary>
-
-public class DoubleIConvertibleToSingle
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random positive Double to single");
-
-        try
-        {
-
-            Single s = TestLibrary.Generator.GetSingle(-55);
-            Double i1 = (Double)s;
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToSingle(null) != s)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random negtive Double to single");
-
-        try
-        {
-
-            Single s = -TestLibrary.Generator.GetSingle(-55);
-            Double i1 = (Double)s;
-
-            IConvertible Icon1 = (IConvertible)i1;
-
-            if (Icon1.ToSingle(null) != s)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert zero to single ");
-
-        try
-        {
-            Double i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToSingle(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert (double)Single.MaxValue to single.");
-
-        try
-        {
-            Double i1 = (Double)Single.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToSingle(null) != Single.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Convert (double)Single.MinValue to single.");
-
-        try
-        {
-            Double i1 = (Double)Single.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToSingle(null) != Single.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "The result is not expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIConvertibleToSingle test = new DoubleIConvertibleToSingle();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIConvertibleToSingle");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleisinfinity.cs b/tests/src/CoreMangLib/cti/system/double/doubleisinfinity.cs
deleted file mode 100644 (file)
index 7648b55..0000000
+++ /dev/null
@@ -1,186 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// IsInfinity(System.Double)
-/// </summary>
-
-public class DoubleIsInfinity
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify IsInfinity when value is PositiveInfinity.");
-
-        try
-        {
-            Double d;
-            do
-                d = TestLibrary.Generator.GetDouble(-55);
-            while (d == 0);
-
-            if (true != Double.IsInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "IsInfinity Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify IsInfinity when value is NegativeInfinity.");
-
-        try
-        {
-            Double d;
-            do
-                d = -TestLibrary.Generator.GetDouble(-55);
-            while (d == 0);
-
-            if (true != Double.IsInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "IsInfinity Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify IsInfinity when d is zero.");
-
-        try
-        {
-            Double d = 0.00D;
-
-            if (false != Double.IsInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "IsInfinity Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify IsInfinity when d is a const.");
-
-        try
-        {
-            Double d = -TestLibrary.Generator.GetDouble(-55);
-
-            if (false != Double.IsInfinity(d))
-            {
-                TestLibrary.TestFramework.LogError("004.1", "IsInfinity Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIsInfinity test = new DoubleIsInfinity();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIsInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleisnan.cs b/tests/src/CoreMangLib/cti/system/double/doubleisnan.cs
deleted file mode 100644 (file)
index 2287a88..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// IsNaN(System.Double)
-/// </summary>
-
-public class DoubleIsNaN
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Double.IsNaN true.");
-
-        try
-        {
-            Double zero = 0.00D;
-
-            if (Double.IsNaN(0 / zero) == false)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Double.IsNaN Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify Double.IsNaN false.");
-
-        try
-        {
-            Double d1,d2;
-            do
-            {
-                d1 = TestLibrary.Generator.GetDouble(-55);
-                d2 = TestLibrary.Generator.GetDouble(-55);
-            }
-            while (d1 * d2 == 0);
-
-            if (Double.IsNaN(d1 / d2) == true)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Double.IsNaN Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIsNaN test = new DoubleIsNaN();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIsNaN");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleisnegativeinfinity.cs b/tests/src/CoreMangLib/cti/system/double/doubleisnegativeinfinity.cs
deleted file mode 100644 (file)
index da1a830..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// IsNegativeInfinity(System.Double)
-/// </summary>
-
-public class DoubleIsNegativeInfinity
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest2() && retVal;
-
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Method IsNegativeInfinity when Double is Negative value.");
-
-        try
-        {
-            Double d;
-            do
-                d = -TestLibrary.Generator.GetDouble(-55);
-            while (d == 0);
-
-            if (!Double.IsNegativeInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Method IsNegativeInfinity(System.Double) Err.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Method IsNegativeInfinity when Double is Positive value.");
-
-        try
-        {
-            Double d;
-            do
-                d = TestLibrary.Generator.GetDouble(-55);
-            while (d == 0);
-
-            if (Double.IsNegativeInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Method IsNegativeInfinity(System.Double) Err.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Method IsNegativeInfinity when Double is zero value.");
-
-        try
-        {
-            Double d = 0.00D;
-
-            if (Double.IsNegativeInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Method IsNegativeInfinity(System.Double) Err.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIsNegativeInfinity test = new DoubleIsNegativeInfinity();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIsNegativeInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleispositiveinfinity.cs b/tests/src/CoreMangLib/cti/system/double/doubleispositiveinfinity.cs
deleted file mode 100644 (file)
index 80cdd67..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// IsPositiveInfinity(System.Double)
-/// </summary>
-
-public class DoubleIsPositiveInfinity
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Method IsPositiveInfinity when Double is Positive value.");
-
-        try
-        {
-            Double d;
-            do
-                d = TestLibrary.Generator.GetDouble(-55);
-            while (d == 0);
-
-            if (!Double.IsPositiveInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Method IsPositiveInfinity(System.Double) Err.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Method IsPositiveInfinity when Double is Negative value.");
-
-        try
-        {
-            Double d;
-            do
-                d = -TestLibrary.Generator.GetDouble(-55);
-            while (d == 0);
-
-            if (Double.IsPositiveInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Method IsPositiveInfinity(System.Double) Err.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Method IsPositiveInfinity when Double is zero value.");
-
-        try
-        {
-            Double d = 0.00D;
-
-            if (Double.IsPositiveInfinity(d / 0))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Method IsPositiveInfinity(System.Double) Err.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        DoubleIsPositiveInfinity test = new DoubleIsPositiveInfinity();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleIsPositiveInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doublemaxvalue.cs b/tests/src/CoreMangLib/cti/system/double/doublemaxvalue.cs
deleted file mode 100644 (file)
index b0a4a9d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// MaxValue
-/// </summary>
-public class DoubleMaxValue
-{
-    public static int Main()
-    {
-        DoubleMaxValue test = new DoubleMaxValue();
-        TestLibrary.TestFramework.BeginTestCase("DoubleMaxValue");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure MaxValue equals +1.79769313486232e308");
-
-        try
-        {                                   
-            if (Double.MaxValue.CompareTo(+1.7976931348623157E+308) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "MaxValue does not equal +1.79769313486232e308!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubleminvalue.cs b/tests/src/CoreMangLib/cti/system/double/doubleminvalue.cs
deleted file mode 100644 (file)
index b012bff..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-// v-jinfw
-// Does not build
-
-using System;
-using System.Collections;
-
-/// <summary>
-/// MinValue
-/// </summary>
-public class DoubleMinValue
-{
-    public static int Main()
-    {
-        DoubleMinValue test = new DoubleMinValue();
-        TestLibrary.TestFramework.BeginTestCase("DoubleMinValue");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure MinValue equals -1.79769313486232e308");
-
-        try
-        {
-            if (Double.MinValue.CompareTo(-1.7976931348623157E+308) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "MinValue does not equal -1.79769313486232e308!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doublenan.cs b/tests/src/CoreMangLib/cti/system/double/doublenan.cs
deleted file mode 100644 (file)
index 907b82c..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// NaN
-/// </summary>
-public class DoubleNaN
-{
-    public static int Main()
-    {
-        DoubleNaN test = new DoubleNaN();
-        TestLibrary.TestFramework.BeginTestCase("DoubleNaN");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure NaN is not a number");
-
-        try
-        {
-            if (Double.IsNaN(Double.NaN) != true)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "NaN is a number!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doublenegativeinfinity.cs b/tests/src/CoreMangLib/cti/system/double/doublenegativeinfinity.cs
deleted file mode 100644 (file)
index 89a65dd..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// NegativeInfinity
-/// </summary>
-public class DoubleNegativeInfinity
-{
-    public static int Main()
-    {
-        DoubleNegativeInfinity test = new DoubleNegativeInfinity();
-        TestLibrary.TestFramework.BeginTestCase("DoubleNegativeInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure NegativeInfinity is negative infinity.");
-
-        try
-        {
-            if (Double.IsNegativeInfinity(Double.NegativeInfinity) != true)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "NegativeInfinity is not negative infinity!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Ensure NegativeInfinity is negative infinity after adding with a double value.");
-
-        Double randomDouble = new Random(-55).NextDouble();
-        try
-        {
-            if (Double.IsNegativeInfinity(Double.NegativeInfinity + randomDouble) != true)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "NegativeInfinity is not negative infinity after adding with a double value!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doublepositiveinfinity.cs b/tests/src/CoreMangLib/cti/system/double/doublepositiveinfinity.cs
deleted file mode 100644 (file)
index 0d5aba3..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// PositiveInfinity
-/// </summary>
-public class DoublePositiveInfinity
-{
-    public static int Main()
-    {
-        DoublePositiveInfinity test = new DoublePositiveInfinity();
-        TestLibrary.TestFramework.BeginTestCase("DoublePositiveInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure PositiveInfinity is positive infinity.");
-
-        try
-        {
-            if (Double.IsPositiveInfinity(Double.PositiveInfinity) != true)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "PositiveInfinity is not positive infinity!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Ensure PositiveInfinity is positive infinity after adding with a double value.");
-
-        Double randomDouble = new Random(-55).NextDouble();
-        try
-        {
-            if (Double.IsPositiveInfinity(Double.PositiveInfinity + randomDouble) != true)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "PositiveInfinity is not positive infinity after adding with a double value!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubletostring1.cs b/tests/src/CoreMangLib/cti/system/double/doubletostring1.cs
deleted file mode 100644 (file)
index 31eed60..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// ToString()
-/// </summary>
-
-public class DoubleToString1
-{
-    public static int Main()
-    {
-        DoubleToString1 test = new DoubleToString1();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleToString1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        TestLibrary.Utilities.CurrentCulture = CustomCulture;
-
-        retVal &= VerifyToString("PostTest0", Double.NaN, "NaN");
-        retVal &= VerifyToString("PosTest1", 0.123456789123456789123D, "0,123456789123457");
-        retVal &= VerifyToString("PosTest2", 0.123456789123459789123D, "0,12345678912346");
-        retVal &= VerifyToString("PosTest3", 0.123456789123000009123D, "0,123456789123");
-        
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture;
-
-        return retVal;
-    }
-
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NegativeSign = "@";                 //Default: "-"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-                nfi.NaNSymbol = "NaN";
-
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-
-    private bool VerifyToString(String id, Double myDouble, String expected)
-    {
-        try
-        {
-            String actual = myDouble.ToString();
-            if (actual != expected)
-            {
-                TestLibrary.TestFramework.LogError(id + "_001", "Expected: " + expected + " Actual: " + actual);
-                return false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(id + "_002", "Unexpected exception occurs: " + e);
-            return false;
-        }
-        return true;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubletostring2.cs b/tests/src/CoreMangLib/cti/system/double/doubletostring2.cs
deleted file mode 100644 (file)
index ba8f3c6..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// ToString(System.IFormatProvider)
-/// </summary>
-
-public class DoubleToString1
-{
-    private static NumberFormatInfo nfi;
-
-    public static void InitializeIFormatProvider()
-    {
-        nfi = new CultureInfo("en-US").NumberFormat;
-        //For "G"
-        // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-        nfi.NumberDecimalDigits = 2;            //Default: 2
-        nfi.PositiveSign = "+";                //Default: "+"
-        nfi.NegativeSign = "-";                 //Default: "-"
-        nfi.NumberDecimalSeparator = ".";       //Default: "."
-        nfi.NaNSymbol = "NaN";
-    }
-
-    public static int Main()
-    {
-        InitializeIFormatProvider();
-        DoubleToString1 test = new DoubleToString1();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleToString1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure the String decimal part will be rounded to 15 digits when the Double decimal part is longer than 15.");
-
-        try
-        {
-            Double d1 = 0.123456789123456789123D;
-            String s1 = d1.ToString(nfi);
-            if (s1 != "0.123456789123457")
-            {
-                TestLibrary.TestFramework.LogError("P01.1", "The String decimal part is not rounded to 15 digits when the Double decimal part is longer than 15!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("P01.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Ensure the suffix zero will be discarded in String after Double decimal part is rounded (become zero after carry).");
-
-        try
-        {
-            Double d1 = 0.123456789123459789123D;
-            String s1 = d1.ToString(nfi);
-            if (s1 != "0.12345678912346")
-            {
-                TestLibrary.TestFramework.LogError("P02.1", "The suffix zero is not discarded in String after Double decimal part is rounded (become zero after carry)!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("P02.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Ensure the suffix zero will be discarded in String after Double decimal part is rounded (original zero).");
-
-        try
-        {
-            Double d1 = 0.123456789123000009123D;
-            String s1 = d1.ToString(nfi);
-            if (s1 != "0.123456789123")
-            {
-                TestLibrary.TestFramework.LogError("P03.1", "The suffix zero is not discarded in String after Double decimal part is rounded (original zero)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("P03.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Ensure the result will be correct when Double is NaN.");
-
-        try
-        {
-            Double d1 = Double.NaN;
-            String s1 = d1.ToString(nfi);
-            if (s1 != "NaN")
-            {
-                TestLibrary.TestFramework.LogError("P04.1", "The result is not correct when Double is NaN!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("P04.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubletostring3.cs b/tests/src/CoreMangLib/cti/system/double/doubletostring3.cs
deleted file mode 100644 (file)
index 9df90c9..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-using TestLibrary;
-
-/// <summary>
-/// ToString(System.String)
-/// </summary>
-
-public class DoubleToString3
-{
-    public static int Main()
-    {
-        DoubleToString3 test = new DoubleToString3();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleToString3");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-                
-                //For "E"
-                // PositiveSign, NegativeSign, and NumberDecimalSeparator. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NegativeSign = "@";                 //Default: "-"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-                nfi.NaNSymbol = "NaN";
-
-                //For "R"
-                // NegativeSign, NumberDecimalSeparator and PositiveSign
-                
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        
-        TestLibrary.Utilities.CurrentCulture = CustomCulture;
-        retVal &= VerifyToString("PostTestG1", Double.NaN, "G", "NaN");
-        retVal &= VerifyToString("PostTestG2", 0.123456789123456789123D, "G", "0,123456789123457");
-        retVal &= VerifyToString("PostTestG3", 0.123456789123459789D, "G", "0,12345678912346");
-        retVal &= VerifyToString("PostTestG4", 0.123456789123000009123D, "G", "0,123456789123");
-
-        retVal &= VerifyToString("PostTestR1", Double.NaN, "R", "NaN");
-        retVal &= VerifyToString("PostTestR2", 0.123456789123456789123D, "R", "0,12345678912345678");
-        retVal &= VerifyToString("PostTestR3", 0.123456789123459789D, "R", "0,1234567891234598");
-        retVal &= VerifyToString("PostTestR4", 0.123456789123000009123D, "R", "0,12345678912300001");
-
-        retVal &= VerifyToString("PostTestE1", Double.NaN, "E", "NaN");
-        retVal &= VerifyToString("PostTestE2", 0.123456789123456789123D, "E", "1,234568E@001");
-        retVal &= VerifyToString("PostTestE3", 0.123456789123459789D, "E", "1,234568E@001");
-        retVal &= VerifyToString("PostTestE4", 0.123456789123000009123D, "E", "1,234568E@001");
-        
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal &= NegTest1();
-
-        return retVal;
-    }
-
-    private bool VerifyToString(String id, Double myDouble, String format, String expected)
-    {
-        try
-        {
-            String actual = myDouble.ToString(format);
-            if (actual != expected)
-            {
-                TestLibrary.TestFramework.LogError(id + "_001", "Expected: " + expected + " Actual: " + actual);
-                return false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(id + "_002", "Unexpected exception occurs: " + e);
-            return false;
-        }
-        return true;
-    }
-
-    private bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: FormatException should be thrown when the format string is invalid.");
-
-        try
-        {
-            Double d1 = 0.123456009123000009123D;
-            String s1 = d1.ToString("H");
-            TestLibrary.TestFramework.LogError("N01.1", "FormatException is not thrown when the format string is invalid!");
-            retVal = false;
-        }
-        catch (FormatException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N01.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/double/doubletostring4.cs b/tests/src/CoreMangLib/cti/system/double/doubletostring4.cs
deleted file mode 100644 (file)
index 45df986..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-using TestLibrary;
-
-/// <summary>
-/// ToString(System.String,System.IFormatProvider)
-/// </summary>
-
-public class DoubleToString3
-{
-    private static CultureInfo ci = new CultureInfo("en-US");
-    private static NumberFormatInfo nfi = ci.NumberFormat;
-
-    public static int Main()
-    {
-        DoubleToString3 test = new DoubleToString3();
-
-        TestLibrary.TestFramework.BeginTestCase("DoubleToString3");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    private NumberFormatInfo customNFI = null;
-
-    private NumberFormatInfo CustomNFI
-    {
-        get
-        {
-            if (null == customNFI)
-            {
-                customNFI = new CultureInfo(CultureInfo.CurrentCulture.Name).NumberFormat;
-                //For "E"
-                // PositiveSign, NegativeSign, and NumberDecimalSeparator. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                customNFI.PositiveSign = "++";                //Default: "+"
-                customNFI.NegativeSign = "@";                 //Default: "-"
-                customNFI.NumberDecimalSeparator = ",";       //Default: "."
-                
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                customNFI.NumberDecimalDigits = 3;            //Default: 2
-                customNFI.NaNSymbol = "NaN";
-
-                //For "R"
-                // NegativeSign, NumberDecimalSeparator and PositiveSign
-            }
-            return customNFI;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal &= VerifyToString("PostTestG1", Double.NaN, "G", "NaN");
-        retVal &= VerifyToString("PostTestG2", 0.123456789123456789123D, "G", "0,123456789123457");
-        retVal &= VerifyToString("PostTestG3", 0.123456789123459789D, "G", "0,12345678912346");
-        retVal &= VerifyToString("PostTestG4", 0.123456789123000009123D, "G", "0,123456789123");
-                
-        retVal &= VerifyToString("PostTestR1", Double.NaN, "R", "NaN");
-        retVal &= VerifyToString("PostTestR2", 0.123456789123456789123D, "R", "0,12345678912345678");
-        retVal &= VerifyToString("PostTestR3", 0.123456789123459789D, "R", "0,1234567891234598");
-        retVal &= VerifyToString("PostTestR4", 0.123456789123000009123D, "R", "0,12345678912300001");
-
-        retVal &= VerifyToString("PostTestE1", Double.NaN, "E", "NaN");
-        retVal &= VerifyToString("PostTestE2", 0.123456789123456789123D, "E", "1,234568E@001");
-        retVal &= VerifyToString("PostTestE3", 0.123456789123459789D, "E", "1,234568E@001");
-        retVal &= VerifyToString("PostTestE4", 0.123456789123000009123D, "E", "1,234568E@001");
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal &= NegTest1();
-
-        return retVal;
-    }
-
-    private bool VerifyToString(String id, Double myDouble, String format, String expected)
-    {
-        try
-        {
-            String actual = myDouble.ToString(format, CustomNFI);
-            if (actual != expected)
-            {
-                TestLibrary.TestFramework.LogError(id + "_001", "Expected: " + expected + " Actual: " + actual);
-                return false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(id + "_002", "Unexpected exception occurs: " + e);
-            return false;
-        }
-        return true;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: FormatException should be thrown when the format string is invalid.");
-
-        try
-        {
-            Double d1 = 0.123456009123000009123D;
-            String s1 = d1.ToString("H", nfi);
-            TestLibrary.TestFramework.LogError("N01.1", "FormatException is not thrown when the format string is invalid!");
-            retVal = false;
-        }
-        catch (FormatException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N01.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/flagsattribute/FlagsAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/flagsattribute/FlagsAttributeCtor.csproj
deleted file mode 100644 (file)
index 5ec669d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="flagsattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/flagsattribute/flagsattributector.cs b/tests/src/CoreMangLib/cti/system/flagsattribute/flagsattributector.cs
deleted file mode 100644 (file)
index 24447a0..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// ctor
-/// </summary>
-
-public class FlagsAttributeCtor
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Ctor.");
-
-        try
-        {
-            FlagsAttribute fa = new FlagsAttribute();
-
-            if (fa == null)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Ctor Err !");
-                retVal = false;
-                return retVal;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        FlagsAttributeCtor test = new FlagsAttributeCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("FlagsAttributeCtor");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/gc/GCCollect.csproj b/tests/src/CoreMangLib/cti/system/gc/GCCollect.csproj
deleted file mode 100644 (file)
index ab20a3e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gccollect.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/gc/GCGetTotalMemory.csproj b/tests/src/CoreMangLib/cti/system/gc/GCGetTotalMemory.csproj
deleted file mode 100644 (file)
index 2cdaffa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gcgettotalmemory.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/gc/GCKeepAlive.csproj b/tests/src/CoreMangLib/cti/system/gc/GCKeepAlive.csproj
deleted file mode 100644 (file)
index 06682a3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gckeepalive.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/gc/GCMaxGeneration.csproj b/tests/src/CoreMangLib/cti/system/gc/GCMaxGeneration.csproj
deleted file mode 100644 (file)
index 57d7db4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gcmaxgeneration.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/gc/GCReRegisterForFinalize.csproj b/tests/src/CoreMangLib/cti/system/gc/GCReRegisterForFinalize.csproj
deleted file mode 100644 (file)
index 552978c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gcreregisterforfinalize.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/gc/GCSuppressFinalize.csproj b/tests/src/CoreMangLib/cti/system/gc/GCSuppressFinalize.csproj
deleted file mode 100644 (file)
index e564b6d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gcsuppressfinalize.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/gc/GCWaitForPendingFinalizers.csproj b/tests/src/CoreMangLib/cti/system/gc/GCWaitForPendingFinalizers.csproj
deleted file mode 100644 (file)
index 98d68ad..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gcwaitforpendingfinalizers.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/gc/gccollect.cs b/tests/src/CoreMangLib/cti/system/gc/gccollect.cs
deleted file mode 100644 (file)
index c7209bb..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class TestClass
-{
-    private const int c_SIZE_OF_ARRAY = 1024;
-    private byte[] m_Bytes;
-
-    public TestClass()
-    {
-        m_Bytes = new byte[c_SIZE_OF_ARRAY];
-        TestLibrary.Generator.GetBytes(-55, m_Bytes);
-    }
-}
-
-/// <summary>
-/// Collect
-/// </summary>
-public class GCCollect
-{
-    #region Private Fields
-    private const int c_MAX_GARBAGE_COUNT = 1000;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Collect to reclaim memories");
-
-        try
-        {
-            MakeSomeGarbage();
-            long beforeCollect = GC.GetTotalMemory(false);
-
-            GC.Collect();
-            long afterCollect = GC.GetTotalMemory(true);
-
-            if (beforeCollect <= afterCollect)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "GC.Collect does not work");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLE] beforeCollect = " + beforeCollect + ", afterCollect = " + afterCollect);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCCollect test = new GCCollect();
-
-        TestLibrary.TestFramework.BeginTestCase("GCCollect");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Methods
-    private static void MakeSomeGarbage()
-    {
-        for (int i = 0; i < c_MAX_GARBAGE_COUNT; ++i)
-        {
-            TestClass c = new TestClass();
-        }
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/gc/gcgettotalmemory.cs b/tests/src/CoreMangLib/cti/system/gc/gcgettotalmemory.cs
deleted file mode 100644 (file)
index f5cca25..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// GetTotalMemory(System.Boolean)
-/// </summary>
-public class GCGetTotalMemory
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call GetTotalMemory with forceFullCollection set to false");
-
-        try
-        {
-            long result = GC.GetTotalMemory(false);
-
-            if (result == 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling GetTotalMemory with forceFullCollection set to false returns 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call GetTotalMemory with forceFullCollection set to true");
-
-        try
-        {
-            long result = GC.GetTotalMemory(true);
-
-            if (result == 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling GetTotalMemory with forceFullCollection set to true returns 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCGetTotalMemory test = new GCGetTotalMemory();
-
-        TestLibrary.TestFramework.BeginTestCase("GCGetTotalMemory");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/gc/gckeepalive.cs b/tests/src/CoreMangLib/cti/system/gc/gckeepalive.cs
deleted file mode 100644 (file)
index c8aa542..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class TestClass
-{
-    public static int m_TestInt = 1;
-
-    ~TestClass()
-    {
-        m_TestInt--;
-    }
-}
-
-/// <summary>
-/// KeepAlive(System.Object)
-/// </summary>
-public class GCKeepAlive
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call KeepAlive to prevent an object to be GCed");
-
-        try
-        {
-            TestClass tc = new TestClass();
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-            GC.Collect();
-
-            if (TestClass.m_TestInt != 1)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling KeepAlive can not prevent an object to be GCed");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLE] TestClass.m_TestInt = " + TestClass.m_TestInt);
-                retVal = false;
-            }
-            GC.KeepAlive(tc);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCKeepAlive test = new GCKeepAlive();
-
-        TestLibrary.TestFramework.BeginTestCase("GCKeepAlive");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/gc/gcmaxgeneration.cs b/tests/src/CoreMangLib/cti/system/gc/gcmaxgeneration.cs
deleted file mode 100644 (file)
index 54e1ca1..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// MaxGeneration
-/// </summary>
-public class GCMaxGeneration
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call MaxGeneration to get the max generation the system current supports");
-
-        try
-        {
-            int gen = GC.MaxGeneration;
-
-            if (gen == 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Call MaxGeneration to get the max generation the system current supports returns 0");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLE] gen = " + gen);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCMaxGeneration test = new GCMaxGeneration();
-
-        TestLibrary.TestFramework.BeginTestCase("GCMaxGeneration");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/gc/gcreregisterforfinalize.cs b/tests/src/CoreMangLib/cti/system/gc/gcreregisterforfinalize.cs
deleted file mode 100644 (file)
index 7a41aa7..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-public class TestClass
-{
-    public const int c_DEFAULT_VALUE = 2;
-    public static int m_TestInt = c_DEFAULT_VALUE;
-
-    private bool m_hasFinalized = false;
-
-    ~TestClass()
-    {
-        m_TestInt--;
-
-        if (!m_hasFinalized)
-        {
-            m_hasFinalized = true;
-            GC.ReRegisterForFinalize(this);
-        }
-    }
-}
-
-public class TestClass1
-{
-    public const int c_DEFAULT_VALUE = 2;
-    public static int m_TestInt = c_DEFAULT_VALUE;
-
-    ~TestClass1()
-    {
-        m_TestInt--;
-    }
-}
-
-/// <summary>
-/// ReRegisterForFinalize(System.Object)
-/// </summary>
-public class GCReRegisterForFinalize
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call ReRegisterForFinalize to register the Finalizer for twice");
-
-        try
-        {
-            PosTest1Worker();
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-            GC.Collect();
-
-            // Call the Finalizer second time
-            GC.WaitForPendingFinalizers();
-            GC.Collect();
-
-            if (TestClass.m_TestInt != 0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling ReRegisterForFinalize has no effect");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLE] TestClass.m_TestInt = " + TestClass.m_TestInt);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    [MethodImplAttribute(MethodImplOptions.NoInlining)]
-    public void PosTest1Worker()
-    {
-        TestClass tc = new TestClass();
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call ReRegisterForFinalize to register the Finalizer for twice with the caller is not the current object");
-
-        try
-        {
-            PosTest2Worker();
-
-            GC.Collect();
-            // Call the Finalizer second time
-            GC.WaitForPendingFinalizers();
-            GC.Collect();
-
-            if (TestClass1.m_TestInt != 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling ReRegisterForFinalize has no effect");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLE] TestClass1.m_TestInt = " + TestClass1.m_TestInt);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    [MethodImplAttribute(MethodImplOptions.NoInlining)]
-    public void PosTest2Worker()
-    {
-        TestClass1 tc = new TestClass1();
-
-        GC.Collect();
-        GC.WaitForPendingFinalizers();
-       GC.ReRegisterForFinalize(tc);
-    }   
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: ArgumentNullException should be thrown when obj is a null reference");
-
-        try
-        {
-            GC.ReRegisterForFinalize(null);
-
-            TestLibrary.TestFramework.LogError("101.1", "ArgumentNullException is not thrown when obj is a null reference");
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCReRegisterForFinalize test = new GCReRegisterForFinalize();
-
-        TestLibrary.TestFramework.BeginTestCase("GCReRegisterForFinalize");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/gc/gcsuppressfinalize.cs b/tests/src/CoreMangLib/cti/system/gc/gcsuppressfinalize.cs
deleted file mode 100644 (file)
index 84aa313..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-public class TestClass
-{
-    public const int c_DEFAULT_VALUE = 1;
-    public static int m_TestInt = c_DEFAULT_VALUE;
-
-    ~TestClass()
-    {
-        m_TestInt--;
-    }
-}
-
-/// <summary>
-/// SuppressFinalize(System.Object)
-/// </summary>
-public class GCSuppressFinalize
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call SuppressFinalize should prevent an object's finalizer is called during GC");
-
-        try
-        {
-            TestClass.m_TestInt = TestClass.c_DEFAULT_VALUE;
-
-            PosTest1Worker();
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-            GC.Collect();
-
-            if (TestClass.m_TestInt != TestClass.c_DEFAULT_VALUE)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling SuppressFinalize does not prevent an object's finalizer is called during GC");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] TestClass.m_TestInt = " + TestClass.m_TestInt);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    [MethodImplAttribute(MethodImplOptions.NoInlining)]
-    public void PosTest1Worker()
-    {
-        TestClass tc = new TestClass();
-        GC.SuppressFinalize(tc);
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call SuppressFinalize should prevent an object's finalizer is called during GC and then you can re-register is to finalizer calling queue");
-
-        try
-        {
-            TestClass.m_TestInt = TestClass.c_DEFAULT_VALUE;
-
-            PosTest2Worker();
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-            GC.Collect();
-
-            if (TestClass.m_TestInt != 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling SuppressFinalize prevents an object's finalizer is called during GC, but then call ReRegisterForFinalize method takes no effect");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] TestClass.m_TestInt = " + TestClass.m_TestInt);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    [MethodImplAttribute(MethodImplOptions.NoInlining)]
-    public void PosTest2Worker()
-    {
-        TestClass tc = new TestClass();
-        GC.SuppressFinalize(tc);
-        GC.ReRegisterForFinalize(tc);
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: ArgumentNullException should be thrown when obj is a null reference ");
-
-        try
-        {
-            GC.SuppressFinalize(null);
-
-            TestLibrary.TestFramework.LogError("101.1", "ArgumentNullException is not thrown when obj is a null reference");
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCSuppressFinalize test = new GCSuppressFinalize();
-
-        TestLibrary.TestFramework.BeginTestCase("GCSuppressFinalize");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/gc/gcwaitforpendingfinalizers.cs b/tests/src/CoreMangLib/cti/system/gc/gcwaitforpendingfinalizers.cs
deleted file mode 100644 (file)
index bcc0261..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-using System.Runtime.CompilerServices;
-
-public class TestClass
-{
-    GCWaitForPendingFinalizers creator;
-
-    public TestClass(GCWaitForPendingFinalizers _creator)
-    {
-        creator = _creator;
-    }
-
-    ~TestClass()
-    {
-        creator.f_TestClassFinalizerExecuted = true;
-    }
-}
-
-/// <summary>
-/// WaitForPendingFinalizers
-/// </summary>
-public class GCWaitForPendingFinalizers
-{
-    public bool f_TestClassFinalizerExecuted = false;
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call WaitForPendingFinalizers should wait all finalizer are called");
-
-        try
-        {
-            PosTest1Worker();
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            if (!f_TestClassFinalizerExecuted)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Call WaitForPendingFinalizers does not wait for finalizer");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    [MethodImplAttribute(MethodImplOptions.NoInlining)]
-    public void PosTest1Worker()
-    {
-        TestClass tc = new TestClass(this);
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCWaitForPendingFinalizers test = new GCWaitForPendingFinalizers();
-
-        TestLibrary.TestFramework.BeginTestCase("GCWaitForPendingFinalizers");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 0e8fcd2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToByte.csproj
deleted file mode 100644 (file)
index e0661b6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToChar.csproj
deleted file mode 100644 (file)
index a476f19..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index 8e6a0e9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 65a9df0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToDouble.csproj
deleted file mode 100644 (file)
index ea4a2b0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt16.csproj
deleted file mode 100644 (file)
index 83e5ea6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 684bad8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/iconvertible/IConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 9dd766a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="iconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoboolean.cs
deleted file mode 100644 (file)
index 88329cf..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class IConvertibleToBoolean
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method ToBoolean of interface IConvertible when value is true.");
-
-        try
-        {
-            if ((true as IConvertible).ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (true as IConvertible).ToBoolean(null) == true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify method ToBoolean of interface IConvertible when value is false.");
-
-
-        try
-        {
-            if ((false as IConvertible).ToBoolean(null) != false)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect (false as IConvertible).ToBoolean(null) == false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToBoolean test = new IConvertibleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToBoolean");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletobyte.cs
deleted file mode 100644 (file)
index c5e96a3..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class IConvertibleToByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method ToByte of interface IConvertible when value is true.");
-
-        try
-        {
-            if ((true as IConvertible).ToByte(null) != (byte)1)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (true as IConvertible).ToByte(null) == (byte)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify method ToByte of interface IConvertible when value is false.");
-
-        try
-        {
-            if ((false as IConvertible).ToByte(null) != (byte)0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect (false as IConvertible).ToByte(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToByte test = new IConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletochar.cs
deleted file mode 100644 (file)
index 94ca55a..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class IConvertibleToChar
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        //retVal = PosTest1() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    //public bool PosTest1()
-    //{
-    //    bool retVal = true;
-
-    //    // Add your scenario description here
-    //    TestLibrary.TestFramework.BeginScenario("PosTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Verify method ToChar of interface IConvertible when value is true.");
-
-        try
-        {
-            char v = (true as IConvertible).ToChar(null);
-            TestLibrary.TestFramework.LogError("101.1",
-                String.Format("expected a InvalidCastException on (true as IConvertible).ToChar(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Verify method ToChar of interface IConvertible when value is false.");
-
-        try
-        {
-            char v = (false as IConvertible).ToChar(null);
-            TestLibrary.TestFramework.LogError("102.1",
-                String.Format("expected a InvalidCastException on (false as IConvertible).ToChar(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToChar test = new IConvertibleToChar();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToChar");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodatetime.cs
deleted file mode 100644 (file)
index 0238375..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class IConvertibleToDateTime
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        //retVal = PosTest1() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    //public bool PosTest1()
-    //{
-    //    bool retVal = true;
-
-    //    // Add your scenario description here
-    //    TestLibrary.TestFramework.BeginScenario("PosTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Verify method ToDateTime of interface IConvertible when value is true.");
-
-        try
-        {
-            DateTime v = (true as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("101.1",
-                String.Format("expected a InvalidCastException on (true as IConvertible).ToDateTime(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Verify method ToDateTime of interface IConvertible when value is false.");
-
-        try
-        {
-            DateTime v = (false as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("102.1",
-                String.Format("expected a InvalidCastException on (false as IConvertible).ToDateTime(null)) but got {0}", v));
-            retVal = false;
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToDateTime test = new IConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToDateTime");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodecimal.cs
deleted file mode 100644 (file)
index eb63f03..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class IConvertibleToDecimal
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method ToDateTime of interface IConvertible when value is true.");
-
-        try
-        {
-            if ((true as IConvertible).ToDecimal(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (true as IConvertible).ToDecimal(null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify method ToDateTime of interface IConvertible when value is false.");
-
-        try
-        {
-            if ((false as IConvertible).ToDecimal(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect (false as IConvertible).ToDecimal(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToDecimal test = new IConvertibleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToDecimal");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletodouble.cs
deleted file mode 100644 (file)
index 360a733..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// ToDouble [v-jianq]
-/// </summary>
-
-public class IConvertibleToDouble
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method ToDouble of interface IConvertible when value is true.");
-
-        try
-        {
-            if ((true as IConvertible).ToDouble(null) != 1.0)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (true as IConvertible).ToDouble(null) == 1.0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify method ToDouble of interface IConvertible when value is false.");
-
-        try
-        {
-            if ((false as IConvertible).ToDouble(null) != 0.0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect (false as IConvertible).ToDouble(null) == 0.0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToDouble test = new IConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToDouble");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint16.cs
deleted file mode 100644 (file)
index c730531..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// ToInt16 [v-jianq]
-/// </summary>
-
-public class IConvertibleToInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method ToInt16 of interface IConvertible when value is true.");
-
-        try
-        {
-            if ((true as IConvertible).ToInt16(null) != (short)1)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (true as IConvertible).ToInt16(null) == (short)1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify method ToInt16 of interface IConvertible when value is false.");
-
-        try
-        {
-            if ((false as IConvertible).ToInt16(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect (false as IConvertible).ToInt16(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToInt16 test = new IConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint32.cs
deleted file mode 100644 (file)
index dfdba24..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// ToInt32 [v-jianq]
-/// </summary>
-
-public class IConvertibleToInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method ToInt32 of interface IConvertible when value is true.");
-
-        try
-        {
-            if ((true as IConvertible).ToInt32(null) != 1)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (true as IConvertible).ToInt32(null) == 1");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify method ToInt32 of interface IConvertible when value is false.");
-
-        try
-        {
-            if ((false as IConvertible).ToInt32(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect (false as IConvertible).ToInt32(null) == 0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToInt32 test = new IConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/iconvertible/iconvertibletoint64.cs
deleted file mode 100644 (file)
index f10ad06..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// ToInt64 [v-jianq]
-/// </summary>
-
-public class IConvertibleToInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method ToInt64 of interface IConvertible when value is true.");
-
-        try
-        {
-            if ((true as IConvertible).ToInt64(null) != 1L)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (true as IConvertible).ToInt64(null) == 1L");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify method ToInt64 of interface IConvertible when value is false.");
-
-        try
-        {
-            if ((false as IConvertible).ToInt64(null) != 0L)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect (false as IConvertible).ToInt64(null) == 0L");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        IConvertibleToInt64 test = new IConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("IConvertibleToInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32CompareTo1.csproj b/tests/src/CoreMangLib/cti/system/int/Int32CompareTo1.csproj
deleted file mode 100644 (file)
index 0c8cfa1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32compareto1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32Equals1.csproj b/tests/src/CoreMangLib/cti/system/int/Int32Equals1.csproj
deleted file mode 100644 (file)
index 51631d3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32equals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32Equals2.csproj b/tests/src/CoreMangLib/cti/system/int/Int32Equals2.csproj
deleted file mode 100644 (file)
index 2545a50..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32equals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32GetHashCode.csproj b/tests/src/CoreMangLib/cti/system/int/Int32GetHashCode.csproj
deleted file mode 100644 (file)
index 5de51dd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32gethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 5c3a2fd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToByte.csproj
deleted file mode 100644 (file)
index e468c99..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToChar.csproj
deleted file mode 100644 (file)
index 128ff13..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index b9d32bb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index adff9bc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToDouble.csproj
deleted file mode 100644 (file)
index d3cfd7f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt16.csproj
deleted file mode 100644 (file)
index a3748c6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 8dc0b37..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 60a0c46..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToSByte.csproj
deleted file mode 100644 (file)
index 2bb2f28..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToSingle.csproj
deleted file mode 100644 (file)
index 2a993b7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToType.csproj
deleted file mode 100644 (file)
index 1ca13ba..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index 6eb59a8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index 84cb815..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/int/Int32IConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 700acc0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32iconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32MaxValue.csproj b/tests/src/CoreMangLib/cti/system/int/Int32MaxValue.csproj
deleted file mode 100644 (file)
index 8d7901d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32maxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32MinValue.csproj b/tests/src/CoreMangLib/cti/system/int/Int32MinValue.csproj
deleted file mode 100644 (file)
index c9560ed..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32minvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/Int32ToString3.csproj b/tests/src/CoreMangLib/cti/system/int/Int32ToString3.csproj
deleted file mode 100644 (file)
index 23ea9ea..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int32tostring3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32compareto1.cs b/tests/src/CoreMangLib/cti/system/int/int32compareto1.cs
deleted file mode 100644 (file)
index ace0006..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32CompareTo1
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: set the parameter to int32MaxValue");
-
-        try
-        {
-            Int32 intCase = Int32.MaxValue;
-            if (intCase.CompareTo(Int32.MaxValue) != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", " CompareTo method works incorrectly");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare to a less int");
-
-        try
-        {
-            Int32 intCase = TestLibrary.Generator.GetInt32(-55);
-            if(intCase == Int32.MinValue)
-                intCase = intCase+1; // To avoid the intCase = Int32.MinValue
-
-            if (intCase.CompareTo(Int32.MinValue) <= 0)
-            {
-                TestLibrary.TestFramework.LogError("003", " CompareTo method works incorrectly");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare to a big int");
-
-        try
-        {
-            Int32 intCase1 = TestLibrary.Generator.GetInt32(-55); 
-            while (intCase1 == Int32.MaxValue)
-            {
-                intCase1 = TestLibrary.Generator.GetInt32(-55);
-            }
-           
-            int intCase2 = intCase1 + 1;
-           
-            if (intCase1.CompareTo(intCase2) >= 0)
-            {
-                TestLibrary.TestFramework.LogError("005", " CompareTo method works incorrectly");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32CompareTo1 test = new Int32CompareTo1();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32CompareTo1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32equals1.cs b/tests/src/CoreMangLib/cti/system/int/int32equals1.cs
deleted file mode 100644 (file)
index 78ec6f3..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.Equals(System.Int32)
-public class Int32Equals1
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]"); 
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Test random number ");
-
-        try
-        {
-            Int32 i1, i2;
-            i1 = i2 = TestLibrary.Generator.GetInt32(-55);
-            if (!i1.Equals(i2))
-            {
-                TestLibrary.TestFramework.LogError("001", String.Format("equal two equal number {0} did not return true", i2));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Test two different number");
-
-        try
-        {
-            
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            Int32 i2;
-            if (i1 == Int32.MaxValue)
-            {
-                i2 = i1-1;
-            }
-            else
-            {
-                i2 = i1+1;
-            }
-            if (i1.Equals(i2))
-            {
-
-                TestLibrary.TestFramework.LogError("003", String.Format("compare two number which is not equal did not return false: {0} and {1}",i1,i2 ));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Test 0 equals 0 ");
-
-        try
-        {
-            Int32 i1, i2;
-            i1 = i2 = 0;
-            if (!i1.Equals(i2))
-            {
-                TestLibrary.TestFramework.LogError("005", "0!=0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32Equals1 test = new Int32Equals1();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32Equals1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32equals2.cs b/tests/src/CoreMangLib/cti/system/int/int32equals2.cs
deleted file mode 100644 (file)
index 8202de6..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.Equals(System.Object)
-public class Int32Equals2
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: test two random Int32");
-
-        try
-        {
-            Int32 o1;
-            object o2 = o1 = TestLibrary.Generator.GetInt32(-55);
-            if (!o1.Equals(o2))
-            {
-                TestLibrary.TestFramework.LogError("001", "Equal error , random number: " + o1);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: test 0 = 0");
-
-        try
-        {
-            Int32 o1 = 0;
-            object o2 = 0;
-            if (!o1.Equals(o2))
-            {
-                TestLibrary.TestFramework.LogError("003", "Equal error 0 = 0  ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: test Int32.MaxValue");
-
-        try
-        {
-            Int32 o1 = Int32.MaxValue;
-            object o2 = Int32.MaxValue;
-            if (!o1.Equals(o2))
-            {
-                TestLibrary.TestFramework.LogError("005", "Equal error Int32.MaxValue ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: test Int32.MinValue");
-
-        try
-        {
-            Int32 o1 = Int32.MinValue;
-            object o2 = Int32.MinValue;
-            if (!o1.Equals(o2))
-            {
-                TestLibrary.TestFramework.LogError("007", "Equal error Int32.MinValue ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: test two different value");
-
-        try
-        {
-            Int32 o1 = 0;
-            object o2 = o1 + 1;
-
-            if (o1.Equals(o2))
-            {
-                TestLibrary.TestFramework.LogError("009", "Equal two different value get a true, error");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: test other parameter ");
-
-        try
-        {
-            double f1 = 3.00;
-            Int32 i1 = 3;
-            if (i1.Equals(f1))
-            {
-                TestLibrary.TestFramework.LogError("011", "different kind parameters is not equal");
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32Equals2 test = new Int32Equals2();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32Equals2");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32gethashcode.cs b/tests/src/CoreMangLib/cti/system/int/int32gethashcode.cs
deleted file mode 100644 (file)
index 486b6f3..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32GetHashCode
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check that if the return value is equal to the int32 ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            Int32 i2 = i1.GetHashCode();
-            if (i1 != i2)
-            {
-                TestLibrary.TestFramework.LogError("001", "int32.gethashcode is not equal to the int32 itself : " + i1);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        Int32GetHashCode test = new Int32GetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32GetHashCode");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoboolean.cs
deleted file mode 100644 (file)
index 8235b3b..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//system.Int32.System.IConvertibleToBoolean
-public class Int32IConvertibleToBoolean
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random int32 to boolean  ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("001", String.Format("The int32 {0} to boolean is not true as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Zero to boolean  ");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToBoolean(null) != false)
-            {
-                TestLibrary.TestFramework.LogError("003", String.Format("The int32 {0} to boolean is not false as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: convert negative number to boolean  ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("005", String.Format("The int32 {0} to boolean is not true as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToBoolean test = new Int32IConvertibleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToBoolean");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletobyte.cs
deleted file mode 100644 (file)
index c4c7cc0..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.System.IConvertibleToByte
-public class Int32IConvertibleToByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int32 to byte ");
-
-        try
-        {
-            Int32 i1 = (Int32)TestLibrary.Generator.GetByte(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert ByteMaxValue to byte ");
-
-        try
-        {
-            Int32 i1 = (Int32)Byte.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Convert zero to byte ");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert a negative byte int32 to Byte ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetByte(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("101", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert int32 to Byte ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 <= 255)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("103", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest3: Check the border value ");
-
-        try
-        {
-            Int32 i1 = 256;
-            IConvertible Icon1 = (IConvertible)(i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("105", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("106", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToByte test = new Int32IConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletochar.cs
deleted file mode 100644 (file)
index 8ee6bc4..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32IConvertibleToChar
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random (Int32)char to char ");
-
-        try
-        {
-            Int32 i1 = (Int32)TestLibrary.Generator.GetChar(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            char c1 = Icon1.ToChar(null);
-            if (c1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to char ");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            char c1 = Icon1.ToChar(null);
-            if (c1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the border value of char ");
-
-        try
-        {
-            Int32 i1 = 65535;
-            IConvertible Icon1 = (IConvertible)i1;
-            char c1 = Icon1.ToChar(null);
-            if (c1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert a negative int32 to char");
-
-        try
-        {
-            Int32 i1 = (Int32)TestLibrary.Generator.GetChar(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            char c1 = Icon1.ToChar(null);
-            TestLibrary.TestFramework.LogError("101", "OverflowException was not thrown as expected  ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert a int32 which is bigger than char to char ");
-
-        try
-        {
-            Int32 i1 = 65536;
-            IConvertible Icon1 = (IConvertible)i1;
-            char c1 = Icon1.ToChar(null);
-            TestLibrary.TestFramework.LogError("103", "OverflowException was not thrown as expected  ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToChar test = new Int32IConvertibleToChar();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToChar");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletodatetime.cs
deleted file mode 100644 (file)
index 2927dee..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32IConvertibleToDateTime
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert an random int32 to DateTime ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            DateTime d1 = Icon1.ToDateTime(null);
-            TestLibrary.TestFramework.LogError("101", "The InvalidCastException was not thrown as expected");
-            retVal = false;
-
-        }
-        catch (System.InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert zero to DateTime ");
-
-        try
-        {
-            Int32 i1 = 0;
-            DateTime d1 = (i1 as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("103", "The InvalidCastException was not thrown as expected");
-            retVal = false;
-
-        }
-        catch (System.InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToDateTime test = new Int32IConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToDateTime");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletodecimal.cs
deleted file mode 100644 (file)
index 0abc45b..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32IConvertibleToDecimal
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random int32 to Decimal ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to decimal");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the border value Int32MaxValue");
-
-        try
-        {
-            Int32 i1 = Int32.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the border value Int32MinValue");
-
-        try
-        {
-            Int32 i1 = Int32.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToDecimal test = new Int32IConvertibleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToDecimal");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletodouble.cs
deleted file mode 100644 (file)
index d517b94..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.IConvertibleToDouble(System.IFormatProvider)
-public class Int32IConvertibleToDouble
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int to double");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a zero to double");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert a negative int to double");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToDouble(null) != (-i1))
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the boundary value1");
-
-        try
-        {
-            Int32 i1 = Int32.MaxValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Check the boundary value2");
-
-        try
-        {
-            Int32 i1 = Int32.MinValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("009", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToDouble test = new Int32IConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToDouble");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint16.cs
deleted file mode 100644 (file)
index 7ec1c5a..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.ConvertibleToInt16(System.IFormatProvider)
-public class Int32IConvertibleToInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a Int32 to int16");
-
-        try
-        {
-            int i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToInt16(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a negative int32 to int16");
-
-        try
-        {
-            int i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToInt16(null) != (-i1))
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert zero to int16");
-
-        try
-        {
-            int i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToInt16(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert a Int32 which is bigger than int16 to Int16 ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 <= 32767)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToInt16(null) != i1)
-            {
-            }
-            TestLibrary.TestFramework.LogError("101", "An overflowException was not thrown as expected ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check the boundary value ");
-
-        try
-        {
-            Int32 i1 = (Int32)(Int16.MinValue - 1);
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToInt16(null) != i1)
-            {
-            }
-            TestLibrary.TestFramework.LogError("103", "An overflowException was not thrown as expected ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToInt16 test = new Int32IConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint32.cs
deleted file mode 100644 (file)
index 66adc0b..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32IConvertibleToInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check the int32.MaxValue ");
-
-        try
-        {
-            Int32 i1 = Int32.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Check Int32.MinValue ");
-
-        try
-        {
-            Int32 i1 = Int32.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Check zero ");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check a random Int32 number ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("007", string.Format("The result is not the value {0} as expected", i1));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToInt32 test = new Int32IConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletoint64.cs
deleted file mode 100644 (file)
index e1be7bb..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32IConvertibleToInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check a random int32 to int64");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt64(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check zero");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt64(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToInt64 test = new Int32IConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletosbyte.cs
deleted file mode 100644 (file)
index 29c70f0..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32IConvertibleToSByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int32 to sbyte ");
-
-        try
-        {
-            int i1 = 200;
-            while (i1 > 127)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetByte(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to sbyte ");
-
-        try
-        {
-            int i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert a negative int32 to sbyte ");
-
-        try
-        {
-            int i1 = 200;
-            while (i1 > 127)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetByte(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToSByte(null) != (-i1))
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the boundary value");
-
-        try
-        {
-
-            Int32 i1 = (Int32)sbyte.MinValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != (i1))
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 <= 127)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToInt16(null) != i1)
-            {
-            }
-            TestLibrary.TestFramework.LogError("101", "An overflowException was not thrown as expected ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToSByte test = new Int32IConvertibleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToSByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletosingle.cs
deleted file mode 100644 (file)
index 158d6cd..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32IConvertibleToSingle
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int32 to single ");
-
-        try
-        {
-            int i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSingle(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to single ");
-
-        try
-        {
-            int i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSingle(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert a negative int32 to single ");
-
-        try
-        {
-            int i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = (Int32)TestLibrary.Generator.GetByte(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToSingle(null) != (-i1))
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the boundary value");
-
-        try
-        {
-
-            Int32 i1 = Int32.MinValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSingle(null) != (i1))
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToSingle test = new Int32IConvertibleToSingle();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToSingle");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletotype.cs
deleted file mode 100644 (file)
index 0991cde..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.System.IConvertible.ToType(System.Type,System.IFormatProvider)
-public class Int32IConvertibleToType
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int32 to String ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            string s1 = Icon1.ToType(typeof(System.String), null) as string;
-            if (s1 != i1.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected.The random number is :" + i1.ToString());
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random Int32 to Boolean ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)i1;
-            bool s1 = (bool)Icon1.ToType(typeof(System.Boolean), null);
-            if (s1 != true)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.The random number is :" + i1.ToString());
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int32 i1 = Int32.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            long s1 = (long)Icon1.ToType(typeof(System.Int64), null);
-            if (s1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert \'-0\' to char ");
-
-        try
-        {
-            Int32 i1 = -0;
-            IConvertible Icon1 = (IConvertible)i1;
-            char s1 = (char)Icon1.ToType(typeof(System.Char), null);
-            if (s1 != '\0')
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 <= 255)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)i1;
-            byte s1 = (byte)Icon1.ToType(typeof(System.Byte), null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToType test = new Int32IConvertibleToType();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToType");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint16.cs
deleted file mode 100644 (file)
index 5d76ed5..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.System.IConvertible.ToUInt16(System.IFormatProvider)
-public class Int32IConvertibleToUInt16
-{
-    public const int c_UINT16_MAXVALUE = 65535;
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int32 to UInt16");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt16(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to UInt16 ");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt16(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int32 i1 = c_UINT16_MAXVALUE;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt16(null) != c_UINT16_MAXVALUE)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException ");
-
-        try
-        {
-            Int32 i1 = 0;
-            while (i1 <= c_UINT16_MAXVALUE)
-            {
-                i1 = TestLibrary.Generator.GetInt32(-55);
-            }
-            IConvertible Icon1 = (IConvertible)i1;
-            ushort s1 = Icon1.ToUInt16(null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Test the negative int32 ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            ushort s1 = Icon1.ToUInt16(null);
-            TestLibrary.TestFramework.LogError("103", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToUInt16 test = new Int32IConvertibleToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToUInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint32.cs
deleted file mode 100644 (file)
index f6448e4..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.System.IConvertible.ToUInt32(System.IFormatProvider)
-public class Int32IConvertibleToUInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int32 to UInt32");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected. The random number is: " + i1);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to UInt32 ");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt32(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int32 i1 = Int32.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt32(null) != Int32.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            UInt32 s1 = Icon1.ToUInt32(null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToUInt32 test = new Int32IConvertibleToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToUInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/int/int32iconvertibletouint64.cs
deleted file mode 100644 (file)
index 5c86779..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int32.System.IConvertible.ToUInt64(System.IFormatProvider)
-public class Int32IConvertibleToUInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int32 to UInt64");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            ulong u1 = (ulong)i1;
-            if (Icon1.ToUInt64(null) != u1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected. The random number is: " + i1);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to UInt64 ");
-
-        try
-        {
-            Int32 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt64(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int32 i1 = Int32.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt64(null) != (ulong)Int32.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException ");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            ulong s1 = Icon1.ToUInt64(null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int32IConvertibleToUInt64 test = new Int32IConvertibleToUInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32IConvertibleToUInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32maxvalue.cs b/tests/src/CoreMangLib/cti/system/int/int32maxvalue.cs
deleted file mode 100644 (file)
index 259dbb0..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int32MaxValue
-{
-    private const int c_Int32MaxValue = 2147483647;
-
-    public static int Main()
-    {
-        Int32MaxValue testCase = new Int32MaxValue();
-        
-        TestLibrary.TestFramework.BeginTestCase("Int32MaxValue");
-
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-    
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Test Int32MaxValue");
-#pragma warning disable 0162
-        if (Int32.MaxValue != c_Int32MaxValue)
-        {
-            TestLibrary.TestFramework.LogError("001", "expected Int32MaxValue is not equal to 2147483647 ");
-            retVal = false;
-        }
-#pragma warning restore  
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32minvalue.cs b/tests/src/CoreMangLib/cti/system/int/int32minvalue.cs
deleted file mode 100644 (file)
index e2b5013..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-class Int32MinValue
-{
-    private const int c_Int32MinValue = -2147483648;
-   
-    public static int Main()
-    {
-        Int32MinValue testCase = new Int32MinValue();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32MinValue");
-
-        if (testCase.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-       
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Test Int32MinValue ");
-#pragma warning disable 0162
-        if (Int32.MinValue != c_Int32MinValue)
-        {
-            TestLibrary.TestFramework.LogError("001", "expected Int32MaxValue is not equal to -2147483648 ");
-            retVal = false;
-       }
-#pragma warning restore
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int/int32tostring3.cs b/tests/src/CoreMangLib/cti/system/int/int32tostring3.cs
deleted file mode 100644 (file)
index 2e65962..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-using TestLibrary;
-
-//System.Int32.ToString(System.String);
-public class Int32ToString3
-{
-    #region Private Methods
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NegativeSign = "@";                 //Default: "-"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-                nfi.PositiveSign = "++";                //Default: "+"
-                
-                //For "E"
-                // PositiveSign, NegativeSign, and NumberDecimalSeparator. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                                
-                //For "R"
-                // NegativeSign, NumberDecimalSeparator and PositiveSign
-                
-                //For "X", The result string isn't affected by the formatting information of the current NumberFormatInfo
-
-                //For "C"
-                // CurrencyPositivePattern, CurrencySymbol, CurrencyDecimalDigits, CurrencyDecimalSeparator, CurrencyGroupSeparator, CurrencyGroupSizes, NegativeSign and CurrencyNegativePattern
-                nfi.CurrencyDecimalDigits = 3;          //Default: 2
-                nfi.CurrencyDecimalSeparator = ",";     //Default: ","
-                nfi.CurrencyGroupSeparator = ".";       //Default: "."
-                nfi.CurrencyGroupSizes = new int[] { 2 };  //Default: new int[]{3}
-                nfi.CurrencyNegativePattern = 2;        //Default: 0
-                nfi.CurrencyPositivePattern = 1;        //Default: 0
-                nfi.CurrencySymbol = "USD";             //Default: "$" 
-
-                //For "D"
-                // NegativeSign
-
-                //For "E"
-                // PositiveSign, NumberDecimalSeparator and NegativeSign. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-
-                //For "F"
-                // NumberDecimalDigits, and NumberDecimalSeparator and NegativeSign.
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-
-                //For "N"
-                // NumberGroupSizes, NumberGroupSeparator, NumberDecimalSeparator, NumberDecimalDigits, NumberNegativePattern and NegativeSign.
-                nfi.NumberGroupSizes = new int[] { 2 }; //Default: 3
-                nfi.NumberGroupSeparator = "#";         //Default: ","
-
-                //For "P"
-                // PercentPositivePattern, PercentNegativePattern, NegativeSign, PercentSymbol, PercentDecimalDigits, PercentDecimalSeparator, PercentGroupSeparator and PercentGroupSizes 
-                nfi.PercentPositivePattern = 1;         //Default: 0
-                nfi.PercentNegativePattern = 2;         //Default: 0
-                nfi.PercentSymbol = "~";                //Default: "%"
-                nfi.PercentDecimalDigits = 4;           //Default: 2
-                nfi.PercentDecimalSeparator = ",";      //Default: "."
-                nfi.PercentGroupSizes[0] = 2;           //Default: 3
-                nfi.PercentGroupSeparator = ",";        //Default: "," in most languages, "." in DE and TR
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-
-    private bool VerifyToString(String id, Int32 myInt, String format, String expected)
-    {
-        try
-        {
-            String actual = myInt.ToString(format);
-            if (actual != expected)
-            {
-                TestLibrary.TestFramework.LogError(id + "_001", "Expected: " + expected + " Actual: " + actual);
-                return false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(id + "_002", "Unexpected exception occurs: " + e);
-            return false;
-        }
-        return true;
-    }
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal &= VerifyToString("PostTest1", Int32.MinValue, "X", "80000000");
-        retVal &= VerifyToString("PostTest2", -0, "d", "0");
-        
-        TestLibrary.Utilities.CurrentCulture = CustomCulture;
-        retVal &= VerifyToString("PostTest3", Int32.MaxValue, "G", "2147483647");
-        retVal &= VerifyToString("PostTest4", -1, "d", "@1");
-        retVal &= VerifyToString("PostTest5", -00000765, "f", "@765,000");
-        retVal &= VerifyToString("PostTest6", -76500, "c", "USD@7.65.00,000");
-        retVal &= VerifyToString("PostTest7", -1800000000, "e", "@1,800000e++009");
-        retVal &= VerifyToString("PostTest8", 1886000000, "n", "18#86#00#00#00,000");
-        retVal &= VerifyToString("PostTest9", -1987, "p", "@~198,700,0000");
-
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal &= NegTest1();
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Input an invalid argument\"K\"");
-
-        try
-        {
-            Int32 i1 = TestLibrary.Generator.GetInt32();
-            string s1 = i1.ToString("k");
-            TestLibrary.TestFramework.LogError("101", "The FormatException was not thrown as expected ");
-            retVal = false;
-        }
-        catch (System.FormatException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    public static int Main()
-    {
-        Int32ToString3 test = new Int32ToString3();
-
-        TestLibrary.TestFramework.BeginTestCase("Int32ToString3");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16Equals1.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16Equals1.csproj
deleted file mode 100644 (file)
index edc9c3d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16equals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16Equals2.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16Equals2.csproj
deleted file mode 100644 (file)
index 786fbfc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16equals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16GetHashCode.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16GetHashCode.csproj
deleted file mode 100644 (file)
index 670c6bb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16gethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 4b3f932..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToByte.csproj
deleted file mode 100644 (file)
index 04d922d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToChar.csproj
deleted file mode 100644 (file)
index 6e44ebd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index 40763eb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 3619105..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToDouble.csproj
deleted file mode 100644 (file)
index e0af0f1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt16.csproj
deleted file mode 100644 (file)
index e8e5c5a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt32.csproj
deleted file mode 100644 (file)
index f3bf254..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 4e93b1e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToSByte.csproj
deleted file mode 100644 (file)
index f0ea21b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToSingle.csproj
deleted file mode 100644 (file)
index e817e89..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToType.csproj
deleted file mode 100644 (file)
index e3c9697..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index 473baf9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index f8899dd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16IConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index ceb5e7b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16iconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16MaxValue.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16MaxValue.csproj
deleted file mode 100644 (file)
index 6a2cdc8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16maxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/Int16MinValue.csproj b/tests/src/CoreMangLib/cti/system/int16/Int16MinValue.csproj
deleted file mode 100644 (file)
index 751fea5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int16minvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16equals1.cs b/tests/src/CoreMangLib/cti/system/int16/int16equals1.cs
deleted file mode 100644 (file)
index bddab2e..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16Equals(Int16)
-/// </summary>
-public class Int16Equals1
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Test two equal random int16");
-
-        try
-        {
-            Int16 number1, number2;
-            number1 = number2 = TestLibrary.Generator.GetInt16(-55);
-            if (!number1.Equals(number2))
-            {
-                TestLibrary.TestFramework.LogError("001", String.Format("equal two equal number {0} did not return true", number2));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Test two different int16");
-
-        try
-        {
-            Int16 i = TestLibrary.Generator.GetInt16(-55);
-            Int16 number1 = this.GetInt16(Int16.MinValue, (Int16)(i - 1));
-            Int16 number2 = this.GetInt16(i, Int16.MaxValue);
-            if (number1.Equals(number2))
-            {
-                TestLibrary.TestFramework.LogError("003", String.Format("equal two unqual number did not return false,the two number is {0}and{1}", number1, number2));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Test zero equals zero");
-
-        try
-        {
-            Int16 i1 = 0;
-            Int16 i2 = 0;
-            if (!i1.Equals(i2))
-            {
-                TestLibrary.TestFramework.LogError("005", "0!=0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16Equals1 test = new Int16Equals1();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16Equals1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    private Int16 GetInt16(Int16 minValue, Int16 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return (Int16)(minValue + TestLibrary.Generator.GetInt16(-55) % (maxValue - minValue));
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16equals2.cs b/tests/src/CoreMangLib/cti/system/int16/int16equals2.cs
deleted file mode 100644 (file)
index 1b62e2b..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16Equals(Object)
-/// </summary>
-public class Int16Equals2
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Test two equal random int16");
-
-        try
-        {
-            Int16 number1 = TestLibrary.Generator.GetInt16(-55);
-            Object ob = number1;
-            if (!number1.Equals(ob))
-            {
-                TestLibrary.TestFramework.LogError("001", String.Format("equal two equal number {0} did not return true", number1));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Test two different int16");
-
-        try
-        {
-            Int16 i = TestLibrary.Generator.GetInt16(-55);
-            Int16 number1 = this.GetInt16(Int16.MinValue, (Int16)(i - 1));
-            object ob = this.GetInt16(i, Int16.MaxValue);
-            if (number1.Equals(ob))
-            {
-                TestLibrary.TestFramework.LogError("003", String.Format("equal two unqual number did not return false,the two number is {0}and{1}", number1, ob.ToString()));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Test zero equals zero");
-
-        try
-        {
-            Int16 i1 = 0;
-            object ob = (Int16)0;
-            if (!i1.Equals(ob))
-            {
-                TestLibrary.TestFramework.LogError("005", "0!=0");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Test int16MinValue");
-
-        try
-        {
-            Int16 i1 = Int16.MinValue;
-            object ob = Int16.MinValue;
-            if (!i1.Equals(ob))
-            {
-                TestLibrary.TestFramework.LogError("007", "equals error int16MinValue");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Test int16MaxValue");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            object ob = Int16.MaxValue;
-            if (!i1.Equals(ob))
-            {
-                TestLibrary.TestFramework.LogError("009", "equals error int16MinValue");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: The argument is not int16 type");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            object ob = Convert.ToInt32(i1);
-            if (i1.Equals(ob))
-            {
-                TestLibrary.TestFramework.LogError("011", "equals error int16MinValue");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16Equals2 test = new Int16Equals2();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16Equals2");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    private Int16 GetInt16(Int16 minValue, Int16 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return (Int16)(minValue + TestLibrary.Generator.GetInt16(-55) % (maxValue - minValue));
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16gethashcode.cs b/tests/src/CoreMangLib/cti/system/int16/int16gethashcode.cs
deleted file mode 100644 (file)
index 67fcf37..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int16GetHashCode
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check the return hash code");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            int hash = i1.GetHashCode();
-            if (i1 == hash)
-            {
-                TestLibrary.TestFramework.LogError("001", "int16.gethashcode is equal to the int16 itself : " + i1);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16GetHashCode test = new Int16GetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16GetHashCode");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoboolean.cs
deleted file mode 100644 (file)
index 528987e..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//system.Int16.System.IConvertibleToBoolean
-public class Int16IConvertibleToBoolean
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random int16 to boolean  ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("001", String.Format("The int16{0} to boolean is not true as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Zero to boolean  ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToBoolean(null) != false)
-            {
-                TestLibrary.TestFramework.LogError("003", String.Format("The int16 {0} to boolean is not false as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: convert negative number to boolean  ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToBoolean(null) != true)
-            {
-                TestLibrary.TestFramework.LogError("005", String.Format("The int16 {0} to boolean is not true as expected ", i1));
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToBoolean test = new Int16IConvertibleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToBoolean");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    private Int16 GetInt16(Int16 minValue, Int16 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToInt16(minValue + TestLibrary.Generator.GetInt16(-55) % (maxValue - minValue));
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletobyte.cs
deleted file mode 100644 (file)
index 5758bcb..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int16.System.IConvertibleToByte
-public class Int16IConvertibleToByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int16 to byte ");
-
-        try
-        {
-            Byte by = TestLibrary.Generator.GetByte(-55);
-            Int16 i1 = (Int16)by;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != by)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert ByteMaxValue to byte ");
-
-        try
-        {
-            Int16 i1 = (Int16)Byte.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != Byte.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Convert zero to byte ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToByte(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not zero as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert a negative byte int16 to Byte ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = (Int16)TestLibrary.Generator.GetByte(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("101", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert int16 to Byte ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 <= 255)
-            {
-                i1 = (Int16)TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("103", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest3: Check the border value ");
-
-        try
-        {
-            Int16 i1 = 256;
-            IConvertible Icon1 = (IConvertible)(i1);
-            Byte b1 = Icon1.ToByte(null);
-            TestLibrary.TestFramework.LogError("105", "An overflowException was not thrown as expected");
-            retVal = false;
-        }
-        catch (System.OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("106", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToByte test = new Int16IConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletochar.cs
deleted file mode 100644 (file)
index 6b221f5..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.IConvertible.ToChar(System.IFormatProvider)
-/// </summary>
-public class Int16IConvertibleToChar
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random (Int16)char to char ");
-
-        try
-        {
-
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            char c1 = Icon1.ToChar(null);
-            if (c1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to char ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            char c1 = Icon1.ToChar(null);
-            if (c1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert a negative int16 to char");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            char c1 = Icon1.ToChar(null);
-            TestLibrary.TestFramework.LogError("101", "OverflowException was not thrown as expected  ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToChar test = new Int16IConvertibleToChar();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToChar");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodatetime.cs
deleted file mode 100644 (file)
index 7020074..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16.IConvertible.ToDateTime(IFormatProvider)
-/// </summary>
-public class Int16IConvertibleToDateTime
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert a random int16 number to dateTime");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            DateTime datetime = (i1 as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("101", "The InvalidCastException was not thrown as expected");
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert a zero to dateTime");
-
-        try
-        {
-            Int16 i1 = 0;
-            DateTime datetime = (i1 as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("103", "The InvalidCastException was not thrown as expected");
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToDateTime test = new Int16IConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToDateTime");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodecimal.cs
deleted file mode 100644 (file)
index d0f4775..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16.IConvertilbe.ToDecimal
-/// </summary>
-public class Int16IConvertibleToDecimal
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random int16 to Decimal ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to decimal");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the border value Int16MaxValue");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the border value Int16MinValue");
-
-        try
-        {
-            Int16 i1 = Int16.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            decimal d1 = Icon1.ToDecimal(null);
-            if (d1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not correct as expected");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToDecimal test = new Int16IConvertibleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToDecimal");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletodouble.cs
deleted file mode 100644 (file)
index 721b563..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int16.IConvertibleToDouble(System.IFormatProvider)
-public class Int16IConvertibleToDouble
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int16 to double");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a zero to double");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert a negative int16 to double");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToDouble(null) != (-i1))
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the boundary value1");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Check the boundary value2");
-
-        try
-        {
-            Int16 i1 = Int16.MinValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToDouble(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("009", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToDouble test = new Int16IConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToDouble");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint16.cs
deleted file mode 100644 (file)
index 90d6c9f..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16.IConverible.ToInt16(IFormatProvider)
-/// </summary>
-public class Int16IConvertibleToInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check the int16.MaxValue ");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt16(null) != Int16.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Check Int16.MinValue ");
-
-        try
-        {
-            Int16 i1 = Int16.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt16(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Check zero ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt16(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check a random Int16 number ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt16(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("007", string.Format("The result is not the value {0} as expected", i1));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToInt16 test = new Int16IConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint32.cs
deleted file mode 100644 (file)
index aa2d24b..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16.IConvertible.ToInt32(IFormatProvider)
-/// </summary>
-public class Int16IConvertibleToInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check the int16.MaxValue ");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Check Int16.MinValue ");
-
-        try
-        {
-            Int16 i1 = Int16.MinValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Check zero ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check a random Int16 number ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("007", string.Format("The result is not the value {0} as expected", i1));
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToInt32 test = new Int16IConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletoint64.cs
deleted file mode 100644 (file)
index 217de27..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16.IConvertible.ToInt64(IFormatProvider)
-/// </summary>
-public class Int16IConvertibleToInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check a random int16 to int64");
-
-        try
-        {
-            Int16 i1 = this.GetInt16(Int16.MinValue, Int16.MaxValue);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt64(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check zero");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToInt64(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToInt64 test = new Int16IConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    private Int16 GetInt16(Int16 minValue, Int16 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return (Int16)(minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue));
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletosbyte.cs
deleted file mode 100644 (file)
index 0ecfd89..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16.IConverible.ToSbyte(IFormatProvider)
-/// </summary>
-public class Int16IConvertibleToSByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int16 to sbyte ");
-
-        try
-        {
-            Int16 i1 = 200;
-            while (i1 > 127)
-            {
-                i1 = (Int16)TestLibrary.Generator.GetByte(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected,tht int16 is:" + i1);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to sbyte ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert a negative int16 to sbyte ");
-
-        try
-        {
-            Int16 i1 = 200;
-            while (i1 > 127)
-            {
-                i1 = (Int16)TestLibrary.Generator.GetByte(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToSByte(null) != (-i1))
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected,the int16 is:" + i1);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the boundary value of sbyte.MinValue");
-
-        try
-        {
-
-            Int16 i1 = (Int16)sbyte.MinValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != (i1))
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Check the boundary value of sbyte.MaxValue");
-
-        try
-        {
-
-            Int16 i1 = (Int16)sbyte.MaxValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != (i1))
-            {
-                TestLibrary.TestFramework.LogError("009", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 <= 127)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSByte(null) != i1)
-            {
-            }
-            TestLibrary.TestFramework.LogError("101", "An overflowException was not thrown as expected ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToSByte test = new Int16IConvertibleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToSByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletosingle.cs
deleted file mode 100644 (file)
index 16b7574..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// Int16.IConvertibleToSingle(IFormatPorvider)
-/// </summary>
-public class Int16IConvertibleToSingle
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random int16 to single ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSingle(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to single ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSingle(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert a negative int16 to single ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)(-i1);
-            if (Icon1.ToSingle(null) != (-i1))
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check the boundary value");
-
-        try
-        {
-
-            Int16 i1 = Int16.MinValue;
-            IConvertible Icon1 = (IConvertible)(i1);
-            if (Icon1.ToSingle(null) != (i1))
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToSingle test = new Int16IConvertibleToSingle();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToSingle");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletotype.cs
deleted file mode 100644 (file)
index d58c2fb..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// System.Int16.System.IConvertible.ToType(System.Type,System.IFormatProvider)
-/// </summary>
-public class Int16IConvertibleToType
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int16 to String ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            CultureInfo cultureinfo = new CultureInfo("en-US");
-            string s1 = Icon1.ToType(typeof(System.String), cultureinfo) as string;
-            if (s1 != i1.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected.The random number is :" + i1.ToString());
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert a random Int16 to Boolean ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 == 0)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)i1;
-            CultureInfo cultureinfo = new CultureInfo("en-US");
-            bool s1 = (bool)Icon1.ToType(typeof(System.Boolean), cultureinfo);
-            if (s1 != true)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.The random number is :" + i1.ToString());
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            CultureInfo cultureinfo = new CultureInfo("en-US");
-            long s1 = (long)Icon1.ToType(typeof(System.Int64), cultureinfo);
-            if (s1 != i1)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert \'-0\' to char ");
-
-        try
-        {
-            Int16 i1 = -0;
-            IConvertible Icon1 = (IConvertible)i1;
-            char s1 = (char)Icon1.ToType(typeof(System.Char), null);
-            if (s1 != '\0')
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException ");
-
-        try
-        {
-            Int16 i1 = 0;
-            while (i1 <= 255)
-            {
-                i1 = TestLibrary.Generator.GetInt16(-55);
-            }
-            IConvertible Icon1 = (IConvertible)i1;
-            byte s1 = (byte)Icon1.ToType(typeof(System.Byte), null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert an int16 to a custom class type ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            CultureInfo cultureinfo = new CultureInfo("en-US");
-            TestClass testclass = Icon1.ToType(typeof(TestClass), cultureinfo) as TestClass;
-            TestLibrary.TestFramework.LogError("103", "The InvalidCastException was not thrown as expected: " + i1);
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToType test = new Int16IConvertibleToType();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToType");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-public class TestClass
-{
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint16.cs
deleted file mode 100644 (file)
index e89f90b..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int16.System.IConvertible.ToUInt16(System.IFormatProvider)
-public class Int16IConvertibleToUInt16
-{
-    public const int c_UINT16_MAXVALUE = 65535;
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int16 to UInt16");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt16(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to UInt16 ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt16(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt16(null) != Int16.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the negative int16 ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            ushort s1 = Icon1.ToUInt16(null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToUInt16 test = new Int16IConvertibleToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToUInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint32.cs
deleted file mode 100644 (file)
index 8937044..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int16.System.IConvertible.ToUInt32(System.IFormatProvider)
-public class Int16IConvertibleToUInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int16 to UInt32");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt32(null) != i1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected. The random number is: " + i1);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to UInt32 ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt32(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt32(null) != Int16.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            UInt32 s1 = Icon1.ToUInt32(null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToUInt32 test = new Int16IConvertibleToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToUInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/int16/int16iconvertibletouint64.cs
deleted file mode 100644 (file)
index 5cf0031..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-//System.Int16.System.IConvertible.ToUInt64(System.IFormatProvider)
-public class Int16IConvertibleToUInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert a random Int16 to UInt64");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)i1;
-            ulong u1 = (ulong)i1;
-            if (Icon1.ToUInt64(null) != u1)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected. The random number is: " + i1);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert zero to UInt64 ");
-
-        try
-        {
-            Int16 i1 = 0;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt64(null) != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check the boundary value ");
-
-        try
-        {
-            Int16 i1 = Int16.MaxValue;
-            IConvertible Icon1 = (IConvertible)i1;
-            if (Icon1.ToUInt64(null) != (ulong)Int16.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected.");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Test the overflowException ");
-
-        try
-        {
-            Int16 i1 = TestLibrary.Generator.GetInt16(-55);
-            IConvertible Icon1 = (IConvertible)(-i1);
-            ulong s1 = Icon1.ToUInt64(null);
-            TestLibrary.TestFramework.LogError("101", "The overflow exception was not thrown as expected: ");
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16IConvertibleToUInt64 test = new Int16IConvertibleToUInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16IConvertibleToUInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16maxvalue.cs b/tests/src/CoreMangLib/cti/system/int16/int16maxvalue.cs
deleted file mode 100644 (file)
index 945e453..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int16MaxValue
-{
-    private int c_INT16_MAXVALUE = 32767;
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Test Int16MaxValue");
-
-        try
-        {
-            if (Int16.MaxValue != c_INT16_MAXVALUE)
-            {
-                TestLibrary.TestFramework.LogError("001", "expected Int16MaxValue is not equal to 32767 ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16MaxValue test = new Int16MaxValue();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16MaxValue");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int16/int16minvalue.cs b/tests/src/CoreMangLib/cti/system/int16/int16minvalue.cs
deleted file mode 100644 (file)
index 2176931..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class Int16MinValue
-{
-    private int c_INT16_MINVALUE = -32768;
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Test Int16MinValue");
-
-        try
-        {
-            if (Int16.MinValue != c_INT16_MINVALUE)
-            {
-                TestLibrary.TestFramework.LogError("001", "expected Int16MinValue is not equal to -32768 ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        Int16MinValue test = new Int16MinValue();
-
-        TestLibrary.TestFramework.BeginTestCase("Int16MinValue");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64CompareTo1.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64CompareTo1.csproj
deleted file mode 100644 (file)
index 8b20023..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64compareto1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64Equals1.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64Equals1.csproj
deleted file mode 100644 (file)
index f54b2ed..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64equals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64Equals2.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64Equals2.csproj
deleted file mode 100644 (file)
index 0e6f2a8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64equals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64GetHashCode.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64GetHashCode.csproj
deleted file mode 100644 (file)
index 57b90e6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64gethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 60aa9ce..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToByte.csproj
deleted file mode 100644 (file)
index f100c65..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToChar.csproj
deleted file mode 100644 (file)
index 93827ee..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index 89001cf..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 266ee56..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToDouble.csproj
deleted file mode 100644 (file)
index edfa0b6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt16.csproj
deleted file mode 100644 (file)
index 51b8d57..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 6f56586..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 5c47aec..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToSByte.csproj
deleted file mode 100644 (file)
index f2108eb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToSingle.csproj
deleted file mode 100644 (file)
index 382281e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToType.csproj
deleted file mode 100644 (file)
index dee462b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index 454e2f0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index 6fcfc01..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64IConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index fcb83c2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64iconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64MaxValue.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64MaxValue.csproj
deleted file mode 100644 (file)
index 0a7d8ea..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64maxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64MinValue.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64MinValue.csproj
deleted file mode 100644 (file)
index d311f83..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64minvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/Int64ToString3.csproj b/tests/src/CoreMangLib/cti/system/int64/Int64ToString3.csproj
deleted file mode 100644 (file)
index ee346d5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="int64tostring3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64compareto1.cs b/tests/src/CoreMangLib/cti/system/int64/int64compareto1.cs
deleted file mode 100644 (file)
index ab1f95e..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// System.Int64.CompareTo(Int64)
-/// </summary>
-public class Int64CompareTo1
-{
-    private long c_INT64_MaxValue_10 = 9223372036854775807;
-    public static int Main()
-    {
-        Int64CompareTo1 int64ct1 = new Int64CompareTo1();
-        TestLibrary.TestFramework.BeginTestCase("Int64CompareTo1");
-        if (int64ct1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: long Value is less than the instance");
-
-        try
-        {
-            long value = TestLibrary.Generator.GetInt64(-55);
-            long int64A = Int64.MinValue;
-            if (int64A.CompareTo(value) >= 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: long Value is larger than the instance");
-
-        try
-        {
-            long value = TestLibrary.Generator.GetInt64(-55);
-            long int64A = Int64.MaxValue;
-            if (int64A.CompareTo(value) <= 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: long Value is equal the instance");
-        try
-        {
-            long value = c_INT64_MaxValue_10;
-            long int64A = Int64.MaxValue;
-            if (int64A.CompareTo(value) != 0)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: long Value is  not equal the instance");
-        try
-        {
-            long value = TestLibrary.Generator.GetInt64(-55);
-            long int64A1 = value + 1;
-            long int64A2 = value - 1;
-            if (int64A1.CompareTo(value) <= 0 || int64A2.CompareTo(value) >= 0)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64equals1.cs b/tests/src/CoreMangLib/cti/system/int64/int64equals1.cs
deleted file mode 100644 (file)
index 7d7dc3a..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// System.Int64.Equals(int64)
-/// </summary>
-public class Int64Equals1
-{
-    private long c_INT64_MaxValue_10 = 9223372036854775807;
-    private long c_INT64_MaxValue_16 = 0x7fffffffffffffff;
-    public static int Main()
-    {
-        Int64Equals1 int64equ1 = new Int64Equals1();
-        TestLibrary.TestFramework.BeginTestCase("Int64Equals1");
-        if (int64equ1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Verify Int64 MinValue equals to zero");
-
-        try
-        {
-            long minValue = Int64.MinValue;
-            long int64A = 0;
-            if (int64A.Equals(minValue))
-            {
-                TestLibrary.TestFramework.LogError("001", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Verify Int64 MaxValue decimal equals hexadecimal");
-
-        try
-        {
-            long maxValue = c_INT64_MaxValue_10;
-            long int64A = c_INT64_MaxValue_16;
-            if (!int64A.Equals(maxValue))
-            {
-                TestLibrary.TestFramework.LogError("003", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Verify Int64 +0 equals-0");
-
-        try
-        {
-            long maxValue = +0;
-            long int64A = -0;
-            if (!int64A.Equals(maxValue))
-            {
-                TestLibrary.TestFramework.LogError("005", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Verify Int64 minValue equals maxValue");
-
-        try
-        {
-            long int64A = Int64.MinValue;
-            long maxValue = Int64.MaxValue;
-            if (int64A.Equals(maxValue))
-            {
-                TestLibrary.TestFramework.LogError("007", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64equals2.cs b/tests/src/CoreMangLib/cti/system/int64/int64equals2.cs
deleted file mode 100644 (file)
index 5f95cb5..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// System.Int64.Equals(Object)
-/// </summary>
-public class Int64Equals2
-{
-    private long c_INT64_MaxValue_10 = 9223372036854775807;
-    private long c_INT64_MaxValue_16 = 0x7fffffffffffffff;
-    public static int Main()
-    {
-        Int64Equals2 int64equ2 = new Int64Equals2();
-        TestLibrary.TestFramework.BeginTestCase("Int64Equals2");
-        if (int64equ2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Verify Int64 MaxValue decimal equals hexadecimal");
-        try
-        {
-            long int64A = c_INT64_MaxValue_16;
-            object objValue = c_INT64_MaxValue_10;
-            if (!int64A.Equals(objValue))
-            {
-                TestLibrary.TestFramework.LogError("001", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Verify Int64 minValue equals maxValue");
-        try
-        {
-            long int64A = Int64.MinValue;
-            object objValue = Int64.MaxValue;
-            if (int64A.Equals(objValue))
-            {
-                TestLibrary.TestFramework.LogError("003", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Verify Int64 maxValue string format equals maxValue");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            object objValue = Int64.MaxValue.ToString();
-            if (int64A.Equals(objValue))
-            {
-                TestLibrary.TestFramework.LogError("005", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Verify a random Int64 equals a new object");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            object objValue = new object();
-            if (int64A.Equals(objValue))
-            {
-                TestLibrary.TestFramework.LogError("007", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Verify a random Int64 equals null");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            object objValue = null;
-            if (int64A.Equals(objValue))
-            {
-                TestLibrary.TestFramework.LogError("009", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64gethashcode.cs b/tests/src/CoreMangLib/cti/system/int64/int64gethashcode.cs
deleted file mode 100644 (file)
index 4bba66d..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// Int64.GetHashCode()
-/// </summary>
-public class Int64GetHashCode
-{
-    public static int Main()
-    {
-        Int64GetHashCode int64ghc = new Int64GetHashCode();
-        TestLibrary.TestFramework.BeginTestCase("Int64GetHashCode");
-        if (int64ghc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify the Int64'minValue hash code");
-        try
-        {
-            long  int64A = Int64.MinValue;
-            Int32 hashCode = int64A.GetHashCode();
-            if (hashCode != Int32.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("001", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify the Int64'maxValue hash code");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            Int32 hashCode = int64A.GetHashCode();
-            if (hashCode != Int32.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("003", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Verify the a random Int64 which is out of Int32.MaxValue or Int32.MinValue hash code");
-        try
-        {
-            Int32 temp = this.GetInt32(1, Int32.MaxValue);
-            long int64A = (long)(Int64.MaxValue - temp);
-            long int64A2 = (long)(Int64.MinValue + temp);
-            Int32 hashCode = int64A.GetHashCode();
-            Int32 hashCode2 = int64A2.GetHashCode();
-            if (hashCode != Int32.MinValue + temp|| hashCode2!= Int32.MinValue + temp)
-            {
-                TestLibrary.TestFramework.LogError("005", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify the Int64 which is in the Int32.MinValue and Int32.MaxValue hash code");
-        try
-        {
-            Int32 temp = this.GetInt32(0, Int32.MaxValue);
-            long int64A = temp;
-            long int64A2 = temp * (-1);
-            Int32 hashCode = int64A.GetHashCode();
-            Int32 hashCode2 = int64A2.GetHashCode();
-            if (hashCode != temp || hashCode2 != temp - 1)
-            {
-                TestLibrary.TestFramework.LogError("007", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Verify the Int64 which is equal the Int32.MinValue or Int32.MaxValue hash code");
-        try
-        {
-            long int64A = Int32.MaxValue;
-            long int64A2 = Int32.MinValue ;
-            Int32 hashCode = int64A.GetHashCode();
-            Int32 hashCode2 = int64A2.GetHashCode();
-            if (hashCode != Int32.MaxValue || hashCode2 != Int32.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("009", "The ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoboolean.cs
deleted file mode 100644 (file)
index aa7645f..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToBoolean(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToBoolean
-{
-    public static int Main()
-    {
-        Int64IConvertibleToBoolean ui64IContBool = new Int64IConvertibleToBoolean();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToBoolean");
-        if (ui64IContBool.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 MaxValue IConvertible To Boolean");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            bool boolA = iConvert.ToBoolean(provider);
-            if (boolA!= true)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 MinValue IConvertible To Boolean");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            bool boolA = iConvert.ToBoolean(null);
-            if (boolA != true)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random Int64 IConvertible To Boolean 1");
-        try
-        {
-            long int64A = 0;
-            IConvertible iConvert = (IConvertible)(int64A);
-            bool boolA = iConvert.ToBoolean(null);
-            if (boolA != false)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random Int64 IConvertible To Boolean 2");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            bool boolA = iConvert.ToBoolean(null);
-            if (int64A == 0)
-            {
-                if (boolA != false)
-                {
-                    TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-            else
-            {
-                if (boolA != true)
-                {
-                    TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:The random Int64 IConvertible To Boolean 3");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            bool boolA = iConvert.ToBoolean(provider);
-            if (int64A == 0)
-            {
-                if (boolA != false)
-                {
-                    TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-            else
-            {
-                if (boolA != true)
-                {
-                    TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletobyte.cs
deleted file mode 100644 (file)
index 45297f1..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToByte(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToByte
-{
-    public static int Main()
-    {
-        Int64IConvertibleToByte ui64IContByte = new Int64IConvertibleToByte();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToByte");
-
-        if (ui64IContByte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 value which is in the range of Byte IConvertible To Byte 1");
-        try
-        {
-            long int64A = (long)Byte.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            byte byteA = iConvert.ToByte(provider);
-            if (byteA != 255)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 value which is in the range of Byte IConvertible To Byte 2");
-        try
-        {
-            long int64A = (long)Byte.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            byte byteA = iConvert.ToByte(null);
-            if (byteA != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 value which is in the range of Byte IConvertible To Byte 3");
-        try
-        {
-            long int64A = this.GetInt32(1, 255);
-            IConvertible iConvert = (IConvertible)(int64A);
-            byte byteA = iConvert.ToByte(provider);
-            if (byteA != (Byte)int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The Int64 value which is out the range of Byte IConvertible To Byte 1");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            byte byteA = iConvert.ToByte(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "Int64 value out of the range of Byte but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest2:The Int64 value which is out the range of Byte IConvertible To Byte 2");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            if (int64A == 0)
-            {
-                int64A = (int64A + 1) * (-1);
-            }
-            else
-            {
-                int64A = int64A * (-1);
-            }
-            IConvertible iConvert = (IConvertible)(int64A);
-            byte byteA = iConvert.ToByte(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "Int64 value out of the range of Byte but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest3:The Int64 value which is out the range of Byte IConvertible To Byte 3");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            if (int64A <= 255)
-            {
-                int64A = int64A + 256;
-            }
-            IConvertible iConvert = (IConvertible)(int64A);
-            byte byteA = iConvert.ToByte(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N005", "Int64 value out of the range of Byte but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletochar.cs
deleted file mode 100644 (file)
index 6ca6817..0000000
+++ /dev/null
@@ -1,217 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToChar(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToChar
-{
-    public static int Main()
-    {
-        Int64IConvertibleToChar ui64IContChar = new Int64IConvertibleToChar();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToChar");
-
-        if (ui64IContChar.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 value which is in the range of Char IConvertible To Char 1");
-        try
-        {
-            long int64A = (long)Char.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            char charA = iConvert.ToChar(provider);
-            if (charA != Char.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 value which is in the range of Char IConvertible To Char 2");
-        try
-        {
-            long int64A = (long)Char.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            char charA = iConvert.ToChar(null);
-            if (charA != Char.MinValue)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 value which is in the range of Char IConvertible To Char 3");
-        try
-        {
-            long int64A = (long)this.GetInt32(1, 65535);
-            IConvertible iConvert = (IConvertible)(int64A);
-            char charA = iConvert.ToChar(provider);
-            if (charA != (char)(int64A))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The Int64 value which is out the range of Char IConvertible To Char 1");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            char charA = iConvert.ToChar(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "Int64 value out of the range of char but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest2:The Int64 value which is out the range of Char IConvertible To Char 2");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            if (int64A == 0)
-            {
-                int64A = (int64A + 1) * (-1);
-            }
-            else
-            {
-                int64A = int64A * (-1);
-            }
-            IConvertible iConvert = (IConvertible)(int64A);
-            char charA = iConvert.ToChar(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "Int64 value out of the range of char but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest3:The Int64 value which is out the range of Char IConvertible To Char 3");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            if (int64A <= 65535)
-            {
-                int64A = int64A + 65536;
-            }
-            IConvertible iConvert = (IConvertible)(int64A);
-            char charA = iConvert.ToChar(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N005", "Int64 value out of the range of char but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodatetime.cs
deleted file mode 100644 (file)
index 16075a5..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToDateTime(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToDateTime
-{
-    public static int Main()
-    {
-        Int64IConvertibleToDateTime ui64IContDT = new Int64IConvertibleToDateTime();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToDateTime");
-
-        if (ui64IContDT.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        return retVal;
-    }
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.DateTimeFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The Int64 MaxValue IConvertible To DateTime");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            DateTime dtA = iConvert.ToDateTime(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "The InvalidCastException was not thrown as expected");
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2:The Int64 MinValue IConvertible To DateTime");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            DateTime dtA = iConvert.ToDateTime(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "The InvalidCastException was not thrown as expected");
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest3:The random Int64 IConvertible To DateTime");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            DateTime dtA = iConvert.ToDateTime(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N005", "The InvalidCastException was not thrown as expected");
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest4:The Int64 zero IConvertible To DateTime");
-        try
-        {
-            long int64A = 0;
-            IConvertible iConvert = (IConvertible)(int64A);
-            DateTime dtA = iConvert.ToDateTime(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N007", "The InvalidCastException was not thrown as expected");
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodecimal.cs
deleted file mode 100644 (file)
index 9fa73a8..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToDecimal(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToDecimal
-{
-    public static int Main()
-    {
-        Int64IConvertibleToDecimal ui64IContDecimal = new Int64IConvertibleToDecimal();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToDecimal");
-        if (ui64IContDecimal.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 MaxValue IConvertible To Decimal");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            decimal decimalA = iConvert.ToDecimal(provider);
-            if (decimalA != int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 MinValue IConvertible To Decimal");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random Int64 IConvertible To Decimal 1");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            decimal decimalA = iConvert.ToDecimal(provider);
-            if (decimalA != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random Int64 IConvertible To Decimal 2");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != int64A)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletodouble.cs
deleted file mode 100644 (file)
index 321a2d5..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToDouble(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToDouble
-{
-    public static int Main()
-    {
-        Int64IConvertibleToDouble ui64IContDouble = new Int64IConvertibleToDouble();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToDouble");
-        if (ui64IContDouble.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 MaxValue IConvertible To Double");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            double doubleA = iConvert.ToDouble(provider);
-            if (doubleA != 9.2233720368547758E+18)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 MinValue IConvertible To Double");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            double doubleA = iConvert.ToDouble(provider);
-            if (doubleA != -9.2233720368547758E+18)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random Int64 IConvertible To Double 1");
-        try
-        {
-            long int64A = 0;
-            IConvertible iConvert = (IConvertible)(int64A);
-            double doubleA = iConvert.ToDouble(null);
-            if (doubleA != 0.0)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random Int64 IConvertible To Double 2");
-        try
-        {
-            long int64A = 123456789;
-            IConvertible iConvert = (IConvertible)(int64A);
-            double doubleA = iConvert.ToDouble(provider);
-            if (doubleA != 123456789.0)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:The random Int64 IConvertible To Double 3");
-        try
-        {
-            long int64A = -123456789;
-            IConvertible iConvert = (IConvertible)(int64A);
-            double doubleA = iConvert.ToDouble(null);
-            if (doubleA != -123456789.0)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint16.cs
deleted file mode 100644 (file)
index 228ab7e..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToInt16()
-/// </summary>
-public class Int64IConvertibleToInt16
-{
-    public static int Main()
-    {
-        Int64IConvertibleToInt16 ui64IContInt16 = new Int64IConvertibleToInt16();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToInt16");
-        if (ui64IContInt16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 value which in the range of Int16 IConvertible To Int16 1");
-        try
-        {
-            long int64A = Int16.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            short int16A = iConvert.ToInt16(provider);
-            if (int16A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 value which in the range of Int16 IConvertible To Int16 2");
-        try
-        {
-            long int64A = Int16.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            short int16A = iConvert.ToInt16(provider);
-            if (int16A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 value which in the range of Int16 IConvertible To Int16 3");
-        try
-        {
-            long int64A = this.GetInt32(0, Int16.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            short int16A = iConvert.ToInt16(null);
-            if (int16A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The Int64 value which in the range of Int16 IConvertible To Int16 4");
-        try
-        {
-            long int64A = (this.GetInt32(0, Int16.MaxValue) + 1) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            short int16A = iConvert.ToInt16(null);
-            if (int16A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The current Int64 value is out of Int16 range 1");
-        try
-        {
-            long int64A = (long)Int16.MaxValue + (long)(this.GetInt32(1, Int16.MaxValue));
-            IConvertible iConvert = (IConvertible)(int64A);
-            short int16A = iConvert.ToInt16(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "The current Int64 value is out of Int16 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: The current Int64 value is out of Int16 range 2");
-        try
-        {
-            long int64A = (long)Int16.MinValue + (long)(this.GetInt32(1, Int16.MaxValue) + 1) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            short int16A = iConvert.ToInt16(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "The current Int64 value is out of Int16 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint32.cs
deleted file mode 100644 (file)
index 5f6db3a..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToInt32()
-/// </summary>
-public class Int64IConvertibleToInt32
-{
-    public static int Main()
-    {
-        Int64IConvertibleToInt32 ui64IContInt32 = new Int64IConvertibleToInt32();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToInt32");
-        if (ui64IContInt32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 value which in the range of Int32 IConvertible To Int32 1");
-        try
-        {
-            long int64A = Int32.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            int int32A = iConvert.ToInt32(provider);
-            if (int32A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 value which in the range of Int32 IConvertible To Int32 2");
-        try
-        {
-            long int64A = Int32.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            int int32A = iConvert.ToInt32(provider);
-            if (int32A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 value which in the range of Int32 IConvertible To Int32 3");
-        try
-        {
-            long int64A = this.GetInt32(0, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            int int32A = iConvert.ToInt32(null);
-            if (int32A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The Int64 value which in the range of Int32 IConvertible To Int32 4");
-        try
-        {
-            long int64A = (this.GetInt32(0, Int32.MaxValue) + 1) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            int int32A = iConvert.ToInt32(null);
-            if (int32A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The current Int64 value is out of Int32 range 1");
-        try
-        {
-            long int64A = (long)Int32.MaxValue + (long)this.GetInt32(1, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            int int32A = iConvert.ToInt32(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "The current Int64 value is out of Int32 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: The current Int64 value is out of Int32 range 2");
-        try
-        {
-            long int64A = (long)Int32.MinValue + (long)(this.GetInt32(0, Int32.MaxValue) + 1) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            int int32A = iConvert.ToInt32(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "The current Int64 value is out of Int32 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletoint64.cs
deleted file mode 100644 (file)
index b89ac8c..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToInt64()
-/// </summary>
-public class Int64IConvertibleToInt64
-{
-    public static int Main()
-    {
-        Int64IConvertibleToInt64 ui64IContInt64 = new Int64IConvertibleToInt64();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToInt64");
-        if (ui64IContInt64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Int64 MaxValue IConvertible To Int64");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            long int64B = iConvert.ToInt64(provider);
-            if (int64B != int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Int64 MinValue IConvertible To Int64");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            long int64B = iConvert.ToInt64(provider);
-            if (int64B != int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Random Int64 IConvertible To Int64");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            long int64B = iConvert.ToInt64(null);
-            if (int64B != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletosbyte.cs
deleted file mode 100644 (file)
index 73a5993..0000000
+++ /dev/null
@@ -1,238 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToSByte(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToSByte
-{
-    public static int Main()
-    {
-        Int64IConvertibleToSByte ui64IContSByte = new Int64IConvertibleToSByte();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToSByte");
-        if (ui64IContSByte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 value which is in the range of SByte IConvertible To SByte 1");
-        try
-        {
-            long int64A = (long)SByte.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            sbyte sbyteA = iConvert.ToSByte(provider);
-            if (sbyteA != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 value which is in the range of SByte IConvertible To SByte 2");
-        try
-        {
-            long int64A = (long)SByte.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            sbyte sbyteA = iConvert.ToSByte(null);
-            if (sbyteA != (SByte)int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 value which is in the range of SByte IConvertible To SByte 3");
-        try
-        {
-            long int64A = this.GetInt32(0, 127);
-            IConvertible iConvert = (IConvertible)(int64A);
-            sbyte sbyteA = iConvert.ToSByte(provider);
-            if (sbyteA != (SByte)int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The Int64 value which is in the range of SByte IConvertible To SByte 4");
-        try
-        {
-            long int64A = this.GetInt32(1, 129) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            sbyte sbyteA = iConvert.ToSByte(null);
-            if (sbyteA != (SByte)int64A)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The Int64 value which is out the range of SByte IConvertible To SByte 1");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            sbyte sbyteA = iConvert.ToSByte(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "Int64 value out of the range of SByte but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest2:The Int64 value which is out the range of SByte IConvertible To SByte 2");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            if (int64A <= 127)
-            {
-                int64A = int64A + 127;
-            }
-            IConvertible iConvert = (IConvertible)(int64A);
-            sbyte sbyteA = iConvert.ToSByte(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N004", "Int64 value out of the range of Byte but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N005", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest3:The Int64 value which is out the range of Byte IConvertible To Byte 3");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            if (int64A <=128)
-            {
-                int64A = (int64A + 129) * (-1);
-            }
-            else
-            {
-                int64A = int64A * (-1);
-            }
-            IConvertible iConvert = (IConvertible)(int64A);
-            sbyte sbyteA = iConvert.ToSByte(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "Int64 value out of the range of Byte but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletosingle.cs
deleted file mode 100644 (file)
index f1a4f1f..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToSingle(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToSingle
-{
-    public static int Main()
-    {
-        Int64IConvertibleToSingle i64ictsingle = new Int64IConvertibleToSingle();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToSingle");
-        if (i64ictsingle.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 MaxValue IConvertible To Single");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            Single singleA = iConvert.ToSingle(provider);
-            if (singleA != (Single)int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 MinValue IConvertible To Single");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            Single singleA = iConvert.ToSingle(null);
-            if (singleA != (Single)int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random Int64 IConvertible To Single");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            Single singleA = iConvert.ToSingle(null);
-            if (singleA != (Single)int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletotype.cs
deleted file mode 100644 (file)
index 09243be..0000000
+++ /dev/null
@@ -1,390 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToType(IFormatProvider)
-/// </summary>
-public class Int64IConvertibleToType
-{
-    private long c_INT64_MaxValue = 9223372036854775807;
-    private long c_INT64_MinValue = -9223372036854775808;
-    public static int Main()
-    {
-        Int64IConvertibleToType ui64IContType = new Int64IConvertibleToType();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToType");
-
-        if (ui64IContType.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 MinValue IConvertible to Type 1");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Int64),provider);
-            if ((long)objA != c_INT64_MinValue)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 MinValue IConvertible to Type 2");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(double), null);
-            if ((Double)objA != (Double)(int64A))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 MinValue IConvertible to Type 3");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(decimal), provider);
-            if ((Decimal)objA != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The Int64 MinValue IConvertible to Type 4");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Single), provider);
-            if ((Single)objA != (Single)(int64A))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:The Int64 MinValue IConvertible to Type 5");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(string), null);
-            if ((string)objA != int64A.ToString())
-            {
-                TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest6:The Int64 MaxValue IConvertible to Type 1");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Int64), provider);
-            if ((long)objA != c_INT64_MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("011", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest7:The Int64 MaxValue IConvertible to Type 2");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(UInt64), null);
-            if ((ulong)objA != (ulong)int64A)
-            {
-                TestLibrary.TestFramework.LogError("013", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:The random Int64 IConvertible to Type 1");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Int64), null);
-            if ((long)objA != int64A)
-            {
-                TestLibrary.TestFramework.LogError("015", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest9:The random Int64 IConvertible to Type 2");
-        try
-        {
-            long int64A = (long)this.GetInt32(0, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Int32), null);
-            if ((Int32)objA != (Int32)int64A)
-            {
-                TestLibrary.TestFramework.LogError("017", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:The random Int64 IConvertible to Type 3");
-        try
-        {
-            long int64A = (long)this.GetInt32(0, Int16.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Int16), null);
-            if ((Int16)objA != (Int16)int64A)
-            {
-                TestLibrary.TestFramework.LogError("019", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest11:The random Int64 IConvertible to Type 4");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(string), null);
-            if ((string)objA != int64A.ToString())
-            {
-                TestLibrary.TestFramework.LogError("021", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The current Int64 out of the range of Type which IConverted to 1");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Int32), provider);
-            TestLibrary.TestFramework.LogError("N001", "The current Int64 out of the range of Type which IConverted to but not throw exception");
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2:The current Int64 out of the range of Type which IConverted to 2");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(Int32), null);
-            TestLibrary.TestFramework.LogError("N003", "The current Int64 out of the range of Type which IConverted to but not throw exception");
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest3:The current Int64 can not IConvertibleTo the Type");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            object objA = iConvert.ToType(typeof(DateTime), null);
-            TestLibrary.TestFramework.LogError("N005", "The current Int64 can not IConvertibleTo the Type but not throw exception");
-            retVal = false;
-        }
-        catch (InvalidCastException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-     #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint16.cs
deleted file mode 100644 (file)
index ebbbc6e..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToUInt16()
-/// </summary>
-public class Int64IConvertibleToUInt16
-{
-    public static int Main()
-    {
-        Int64IConvertibleToUInt16 ui64IContUInt16 = new Int64IConvertibleToUInt16();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToUInt16");
-        if (ui64IContUInt16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 value which in the range of UInt16 IConvertible To UInt16 1");
-        try
-        {
-            long int64A = UInt16.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            ushort uint16A = iConvert.ToUInt16(provider);
-            if (uint16A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 value which in the range of UInt16 IConvertible To UInt16 2");
-        try
-        {
-            long int64A = this.GetInt32(0,UInt16.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            ushort uint16A = iConvert.ToUInt16(provider);
-            if (uint16A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 value which in the range of UInt16 IConvertible To UInt16 3");
-        try
-        {
-            long int64A = this.GetInt32(0, UInt16.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            ushort uint16A = iConvert.ToUInt16(null);
-            if (uint16A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The current Int64 value is out of UInt16 range 1");
-        try
-        {
-            long int64A = UInt16.MaxValue + this.GetInt32(1, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            ushort uint16A = iConvert.ToUInt16(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "The current Int64 value is out of UInt16 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: The current Int64 value is out of UInt16 range 2");
-        try
-        {
-            long int64A = (this.GetInt32(0, Int32.MaxValue) + 1) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            ushort uint16A = iConvert.ToUInt16(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "The current Int64 value is out of UInt16 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint32.cs
deleted file mode 100644 (file)
index db9c8d9..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToUInt32()
-/// </summary>
-public class Int64IConvertibleToUInt32
-{
-    public static int Main()
-    {
-        Int64IConvertibleToUInt32 ui64IContUInt32 = new Int64IConvertibleToUInt32();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToUInt32");
-        if (ui64IContUInt32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The Int64 value which in the range of UInt32 IConvertible To UInt32 1");
-        try
-        {
-            long int64A = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            uint uint32A = iConvert.ToUInt32(provider);
-            if (uint32A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The Int64 value which in the range of UInt32 IConvertible To UInt32 2");
-        try
-        {
-            long int64A = this.GetInt32(0, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            uint uint32A = iConvert.ToUInt32(provider);
-            if (uint32A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The Int64 value which in the range of UInt32 IConvertible To UInt32 3");
-        try
-        {
-            long int64A = this.GetInt32(0, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            uint uint32A = iConvert.ToUInt32(null);
-            if (uint32A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The current Int64 value is out of UInt32 range 1");
-        try
-        {
-            long int64A = UInt32.MaxValue + this.GetInt32(1, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(int64A);
-            uint uint32A = iConvert.ToUInt32(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "The current Int64 value is out of UInt32 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: The current Int64 value is out of UInt32 range 2");
-        try
-        {
-            long int64A = (this.GetInt32(0,Int32.MaxValue) + 1) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            uint uint32A = iConvert.ToUInt32(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "The current Int64 value is out of UInt32 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/int64/int64iconvertibletouint64.cs
deleted file mode 100644 (file)
index f13648e..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// Int64.System.IConvertible.ToUInt64()
-/// </summary>
-public class Int64IConvertibleToUInt64
-{
-    public static int Main()
-    {
-        Int64IConvertibleToUInt64 ui64IContUInt64 = new Int64IConvertibleToUInt64();
-        TestLibrary.TestFramework.BeginTestCase("Int64IConvertibleToUInt64");
-        if (ui64IContUInt64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Int64 MaxValue IConvertible To UInt64");
-        try
-        {
-            long int64A = Int64.MaxValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            ulong uint64A = iConvert.ToUInt64(provider);
-            if ((long)uint64A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Random Int64 IConvertible To UInt64 1");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            ulong uint64A = iConvert.ToUInt64(provider);
-            if ((long)uint64A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Random Int64 IConvertible To UInt64 2");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64(-55);
-            IConvertible iConvert = (IConvertible)(int64A);
-            ulong uint64A = iConvert.ToUInt64(provider);
-            if ((long)uint64A != int64A)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The current Int64 value is out of UInt64 range 1");
-        try
-        {
-            long int64A = Int64.MinValue;
-            IConvertible iConvert = (IConvertible)(int64A);
-            ulong uint64 = iConvert.ToUInt64(provider);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "The current Int64 value is out of UInt64 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: The current Int64 value is out of UInt64 range 2");
-        try
-        {
-            long int64A = (TestLibrary.Generator.GetInt64(-55) + 1) * (-1);
-            IConvertible iConvert = (IConvertible)(int64A);
-            ulong uint64 = iConvert.ToUInt64(null);
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N003", "The current Int64 value is out of UInt64 range but not throw exception");
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64maxvalue.cs b/tests/src/CoreMangLib/cti/system/int64/int64maxvalue.cs
deleted file mode 100644 (file)
index d04bbf7..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// System.Int64.MaxValue
-/// </summary>
-public class Int64MaxValue
-{
-    private long c_INT64_MaxValue_10 = 9223372036854775807;
-    private long c_INT64_MaxValue_16 = 0x7fffffffffffffff;
-    public static int Main()
-    {
-        Int64MaxValue int64Max = new Int64MaxValue();
-
-        TestLibrary.TestFramework.BeginTestCase("Int64MaxValue");
-
-        if (int64Max.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Int64.MaxValue should return the Int64' maxValue 1");
-        try
-        {
-            Int64 int64A = Int64.MaxValue;
-            if (int64A != c_INT64_MaxValue_10)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Int64.MaxValue should return the Int64' maxValue 2");
-        try
-        {
-            Int64 int64A = Int64.MaxValue;
-            if (int64A != c_INT64_MaxValue_16)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64minvalue.cs b/tests/src/CoreMangLib/cti/system/int64/int64minvalue.cs
deleted file mode 100644 (file)
index dc4e6ec..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// System.Int64.MinValue
-/// </summary>
-public class Int64MinValue
-{
-    private long c_INT64_MinValue_10 = -9223372036854775808;
-    //private long c_INT64_MinValue_16 = 0x8000000000000000;
-    public static int Main()
-    {
-        Int64MinValue int64Min = new Int64MinValue();
-
-        TestLibrary.TestFramework.BeginTestCase("Int64MinValue");
-
-        if (int64Min.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[PosTest]");
-        retVal = PosTest1() && retVal;
-        //retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Int64.MinValue should return the Int64' minValue 1");
-        try
-        {
-            Int64 int64A = Int64.MinValue;
-            if (int64A != c_INT64_MinValue_10)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-        
-    }
-    //public bool PosTest2()
-    //{
-    //    bool retVal = true;
-    //    TestLibrary.TestFramework.BeginScenario("PosTest1: Int64.MinValue should return the Int64' minValue 2");
-    //    try
-    //    {
-    //        Int64 int64A = Int64.MinValue;
-    //        if (int64A != c_INT64_MinValue_16)
-    //        {
-    //            TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-    //            retVal = false;
-    //        }
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-    //        retVal = false;
-    //    }
-    //    return retVal;
-    //}
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/int64/int64tostring3.cs b/tests/src/CoreMangLib/cti/system/int64/int64tostring3.cs
deleted file mode 100644 (file)
index f3e0cfd..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-using TestLibrary;
-/// <summary>
-/// Int64.ToString(System.String)
-/// </summary>
-public class Int64ToString3
-{
-    public static int Main()
-    {
-        Int64ToString3 int64ts3 = new Int64ToString3();
-        TestLibrary.TestFramework.BeginTestCase("Int64ToString3");
-        if (int64ts3.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest(2, Int64.MinValue, "Int64.MinValue", "x", "8000000000000000") && retVal;
-
-        TestLibrary.Utilities.CurrentCulture = CustomCulture;
-        retVal &= PosTest(1, Int64.MinValue, "Int64.MinValue", "g", "@9223372036854775808");
-        retVal &= PosTest(3, Int64.MaxValue, "Int64.MaxValue", "g", "9223372036854775807");
-        retVal &= PosTest(4, Int64.MaxValue, "Int64.MaxValue", "x", "7fffffffffffffff");
-        retVal &= PosTest(5, Int64.MaxValue, "Int64.MaxValue", "f", "9223372036854775807,000");
-        retVal &= PosTest(6, Int64.MaxValue, "Int64.MaxValue", "E", "9,223372E++018");
-        retVal &= PosTest(7, Int64.MaxValue, "Int64.MaxValue", "N", "9#22#33#72#03#68#54#77#58#07,000");
-        retVal &= PosTest(8, Int64.MaxValue, "Int64.MaxValue", "P", "922,337,203,685,477,580,700,0000~");
-        retVal &= PosTest(9, Int64.MaxValue, "Int64.MaxValue", "D", "9223372036854775807");
-        retVal &= PosTest(10, 00065536, "00065536", "G", "65536");
-        retVal &= PosTest(11, 00065536, "00065536", "P", "6,553,600,0000~");
-        retVal &= PosTest(12, 00065536, "00065536", "E", "6,553600E++004");
-        retVal &= PosTest(13, 00065536, "00065536", string.Empty, "65536");
-        retVal &= PosTest(14, 00065536, "00065536", null, "65536");
-        retVal &= PosTest(15, -00065536, "-00065536", "P", "@~6,553,600,0000");
-        retVal &= PosTest(16, -00065536, "-00065536", "E", "@6,553600E++004");
-
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture;
-
-        TestLibrary.TestFramework.LogInformation("[NegTest]");
-        retVal &= NegTest1();
-        return retVal;
-    }
-
-    #region Private Methods
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NegativeSign = "@";                 //Default: "-"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-                nfi.PositiveSign = "++";                //Default: "+"
-
-                //For "E"
-                // PositiveSign, NegativeSign, and NumberDecimalSeparator. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-
-                //For "R"
-                // NegativeSign, NumberDecimalSeparator and PositiveSign
-
-                //For "X", The result string isn't affected by the formatting information of the current NumberFormatInfo
-
-                //For "C"
-                // CurrencyPositivePattern, CurrencySymbol, CurrencyDecimalDigits, CurrencyDecimalSeparator, CurrencyGroupSeparator, CurrencyGroupSizes, NegativeSign and CurrencyNegativePattern
-                nfi.CurrencyDecimalDigits = 3;          //Default: 2
-                nfi.CurrencyDecimalSeparator = ",";     //Default: ","
-                nfi.CurrencyGroupSeparator = ".";       //Default: "."
-                nfi.CurrencyGroupSizes = new int[] { 2 };  //Default: new int[]{3}
-                nfi.CurrencyNegativePattern = 2;        //Default: 0
-                nfi.CurrencyPositivePattern = 1;        //Default: 0
-                nfi.CurrencySymbol = "USD";             //Default: "$" 
-
-                //For "D"
-                // NegativeSign
-
-                //For "E"
-                // PositiveSign, NumberDecimalSeparator and NegativeSign. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-
-                //For "F"
-                // NumberDecimalDigits, and NumberDecimalSeparator and NegativeSign.
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-
-                //For "N"
-                // NumberGroupSizes, NumberGroupSeparator, NumberDecimalSeparator, NumberDecimalDigits, NumberNegativePattern and NegativeSign.
-                nfi.NumberGroupSizes = new int[] { 2 }; //Default: 3
-                nfi.NumberGroupSeparator = "#";         //Default: ","
-
-                //For "P"
-                // PercentPositivePattern, PercentNegativePattern, NegativeSign, PercentSymbol, PercentDecimalDigits, PercentDecimalSeparator, PercentGroupSeparator and PercentGroupSizes 
-                nfi.PercentPositivePattern = 1;         //Default: 0
-                nfi.PercentNegativePattern = 2;         //Default: 0
-                nfi.PercentSymbol = "~";                //Default: "%"
-                nfi.PercentDecimalDigits = 4;           //Default: 2
-                nfi.PercentDecimalSeparator = ",";      //Default: "."
-                nfi.PercentGroupSizes[0] = 2;           //Default: 3
-                nfi.PercentGroupSeparator = ",";        //Default: "," in most cultures, but "." in TR and DE
-                
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-    #endregion
-
-    #region PositiveTest
-    public bool PosTest(int seqNumber, long value, string description, string formatString, string expectedValue)
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest " + seqNumber.ToString() + ": " + description + ".ToString('" + formatString + "')");
-        try
-        {
-            string actual = value.ToString(formatString);
-            if (formatString == null) formatString = "G";
-
-            if (!actual.Equals(expectedValue))
-            {
-                TestLibrary.TestFramework.LogError("00" + seqNumber.ToString() + ".1",
-                    "Expected: " + expectedValue + ", Actual: " + actual);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("00" + seqNumber.ToString() + ".2", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The Format parameter is Invalid");
-        try
-        {
-            long int64A = TestLibrary.Generator.GetInt64();
-            String strA = int64A.ToString("Q");
-            retVal = false;
-            TestLibrary.TestFramework.LogError("N001", "the format param is Invalid but not throw exception");
-        }
-        catch (FormatException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectCtor.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectCtor.csproj
deleted file mode 100644 (file)
index 33c811b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objectctor.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectEquals1.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectEquals1.csproj
deleted file mode 100644 (file)
index be6199d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objectequals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectEquals2.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectEquals2.csproj
deleted file mode 100644 (file)
index 9956225..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objectequals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectFinalize.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectFinalize.csproj
deleted file mode 100644 (file)
index 46ace6b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objectfinalize.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectGetHashCode.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectGetHashCode.csproj
deleted file mode 100644 (file)
index 0014d8e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objectgethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectMemberwiseClone.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectMemberwiseClone.csproj
deleted file mode 100644 (file)
index 439c79d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objectmemberwiseclone.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectReferenceEquals.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectReferenceEquals.csproj
deleted file mode 100644 (file)
index 9fc39d5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objectreferenceequals.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/ObjectToString.csproj b/tests/src/CoreMangLib/cti/system/object/ObjectToString.csproj
deleted file mode 100644 (file)
index 4526fee..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="objecttostring.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/object/objectctor.cs b/tests/src/CoreMangLib/cti/system/object/objectctor.cs
deleted file mode 100644 (file)
index 47aa762..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class ObjectCtor
-{
-    #region Public Method
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Create a new Object instance");
-
-        try
-        {
-            Object obj = new Object();
-
-            if (null == obj)
-            {
-                TestLibrary.TestFramework.LogError("001", "Failed to instance a Object type");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Create two Object instances, make sure CLR does not use the memory occuppied by the first one to alloc the second one");
-
-        try
-        {
-            Object obj1 = new Object();
-            Object obj2 = new Object();
-
-            if (Object.ReferenceEquals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("003", "CLR uses the memory occuppied by the first one to alloc the second one");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectCtor oc = new ObjectCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectCtor");
-
-        if (oc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/objectequals1.cs b/tests/src/CoreMangLib/cti/system/object/objectequals1.cs
deleted file mode 100644 (file)
index 693a0c8..0000000
+++ /dev/null
@@ -1,489 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class ObjectEquals1
-{
-    #region Private Constaints
-    private const int c_MIN_STRING_LENGTH = 0;
-    private const int c_MAX_STRING_LENGTH = 256;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-                
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Compare two empty object instances");
-
-        try
-        {
-            Object obj1 = new Object();
-            Object obj2 = new Object();
-
-            if (obj1.Equals(obj2))
-            {
-                TestLibrary.TestFramework.LogError("001", "Two empty object instances are equal");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Boxed value type");
-
-        try
-        {
-            int i = TestLibrary.Generator.GetInt32(-55);
-            Object obj = i; 
-
-            if (!obj.Equals(i))
-            {
-                TestLibrary.TestFramework.LogError("003", "Boxed type is not equal with the underlying value type");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare two object reference");
-
-        try
-        {
-            Object obj1 = new Object();
-            Object obj2 = obj1;
-
-            if (!obj1.Equals(obj2))
-            {
-                TestLibrary.TestFramework.LogError("005", "Compare two object reference failed");
-                retVal = false;
-            }
-
-            // Also make sure this case is true
-            if (!obj2.Equals(obj1))
-            {
-                TestLibrary.TestFramework.LogError("006", "Compare two object reference failed");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Compare an object with itself");
-
-        try
-        {
-            Object obj = new Object();
-
-            if (!obj.Equals(obj))
-            {
-                TestLibrary.TestFramework.LogError("008", "An object does not equal with itself");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("009", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Compare two NaN instances");
-
-        try
-        {
-            Object obj1 = Double.NaN;
-            Object obj2 = Double.NaN;
-
-            if (!obj1.Equals(Double.NaN))
-            {
-                TestLibrary.TestFramework.LogError("010", "An object initialized with Double.NaN does not equal with Double.NaN");
-                retVal = false;
-            }
-
-            if (!obj1.Equals(obj2))
-            {
-                TestLibrary.TestFramework.LogError("011", "Two objects initialized with Double.NaN do not equal");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Successive calls to Equals return the same value for reference types");
-
-        try
-        {
-            Object obj1 = new Object();
-            Object obj2 = new Object();
-
-            if (obj1.Equals(obj2) || obj1.Equals(obj2) )
-            {
-                TestLibrary.TestFramework.LogError("013", "Successive calls to Equals do not return the same value");
-                retVal = false;
-            }
-
-            Object obj3 = TestLibrary.Generator.GetString(-55, 
-                false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            // use !! instead of || to make sure the statement obj1.Equals(obj3) is evaluated twice
-            if ( !( !obj1.Equals(obj3) && !obj1.Equals(obj3)) )
-            {
-                TestLibrary.TestFramework.LogError("014", "Successive calls to Equals do not return the same value");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("015", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Successive calls to Equals return the same value for value types");
-
-        try
-        {
-            int i = TestLibrary.Generator.GetInt32(-55);
-            Object obj = i;
-
-            if (!obj.Equals(i) && obj.Equals(i))
-            {
-                TestLibrary.TestFramework.LogError("016", "Successive calls to Equals for value types do not return the same value");
-                retVal = false;
-            }
-
-            i++;
-            // use !! instead of || to make sure the statement obj.Equals(i) is evaluated twice
-            if (!(!obj.Equals(i) && !obj.Equals(i)))
-            {
-                TestLibrary.TestFramework.LogError("017", "Successive calls to Equals for value types do not return the same value");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest8: Upcast an type derivered from Object and compare with it");
-
-        try
-        {
-            String str = TestLibrary.Generator.GetString(-55, 
-                false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            Object obj = str;
-
-            if (!obj.Equals(str))
-            {
-                TestLibrary.TestFramework.LogError("019", "Failed to compare with an upcast type");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Upcast an type derivered from Object and compare with a different reference");
-
-        try
-        {
-            String str1 = TestLibrary.Generator.GetString(-55, 
-                false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            String str2 = TestLibrary.Generator.GetString(-55, 
-                false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-
-            // Make sure the two strings are different
-            if (str1.Length == str2.Length)
-            {
-                str1 += TestLibrary.Generator.GetCharLetter(-55);
-            }
-
-            Object obj1 = str1;
-            Object obj2 = str2;
-
-            if (obj1.Equals(obj2))
-            {
-                TestLibrary.TestFramework.LogError("021", "Upcast an type derivered from Object and compare with a different reference returns true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest10: Compare two different value type");
-
-        try
-        {
-            int i1 = TestLibrary.Generator.GetInt32(-55);
-            int i2 = i1;
-
-            // Generate a different value type
-            while (i1 == i2)
-            {
-                i2 = TestLibrary.Generator.GetInt32(-55);
-            }
-
-            Object obj1 = i1;
-            Object obj2 = i2;
-
-            if (obj1.Equals(obj2))
-            {
-                TestLibrary.TestFramework.LogError("023", "Compare two different value type returns true");
-                retVal = false;
-            }
-
-            // Compare different type of value type
-            double d1 = TestLibrary.Generator.GetDouble(-55);
-            Object obj3 = d1;
-
-            if (obj1.Equals(d1))
-            {
-                TestLibrary.TestFramework.LogError("024", "Compare two different value type returns true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("025", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest11: Compare an object instance with an array which contains the instance");
-
-        try
-        {
-            Object obj1 = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            Object[] array = new Object[] {
-                obj1
-            };
-            Object obj2 = array; // Upcast the array instance to an Object
-
-            if (obj1.Equals(obj2))
-            {
-                TestLibrary.TestFramework.LogError("026", "Compare an object instance with an array which contains the instance returns true");
-                retVal = false;
-            }
-
-            if (obj2.Equals(obj1))
-            {
-                TestLibrary.TestFramework.LogError("027", "Compare an object instance with an array which contains the instance returns true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("028", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest12: Compare an value instance with an array which contains the instance");
-
-        try
-        {
-            int i1 = TestLibrary.Generator.GetInt32(-55);
-            int[] array = new int[] { i1 };
-            Object obj1 = i1;
-            Object obj2 = array; // Upcast the array instance to an Object
-
-            if (obj1.Equals(obj2))
-            {
-                TestLibrary.TestFramework.LogError("029", "Compare an value instance with an array which contains the instance returns true");
-                retVal = false;
-            }
-
-            if (obj2.Equals(obj1))
-            {
-                TestLibrary.TestFramework.LogError("030", "Compare an value instance with an array which contains the instance returns true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("031", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Compare an object instance with null reference");
-
-        try
-        {
-            Object obj = new Object();
-
-            if (obj.Equals(null))
-            {
-                TestLibrary.TestFramework.LogError("101", "an object instance is equal with null reference");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectEquals1 test = new ObjectEquals1();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectEquals1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/objectequals2.cs b/tests/src/CoreMangLib/cti/system/object/objectequals2.cs
deleted file mode 100644 (file)
index de9bacc..0000000
+++ /dev/null
@@ -1,391 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class ObjectEquals2
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Compare two different object instances");
-
-        try
-        {
-            Object obj1 = new Object();
-            Object obj2 = new Object();
-
-            if (Object.Equals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("001", "Object.Equals returns true when comparing two different object instances");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare two same object references");
-
-        try
-        {
-            Object obj1 = new Object();
-            Object obj2 = obj1;
-
-            if (!Object.Equals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("003", "Object.Equals returns false when comparing two same object references");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare two same value type");
-
-        try
-        {
-            int i1 = TestLibrary.Generator.GetInt32(-55);
-            int i2 = i1;
-
-            Object obj1 = i1;
-            Object obj2 = i2;
-
-            if (!Object.Equals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("005", "Object.Equals returns false when comparing two same value type");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Compare two different instance of same value type");
-
-        try
-        {
-            int i1 = TestLibrary.Generator.GetInt32(-55);
-            int i2 = i1;
-
-            // Generate a different value type
-            while (i1 == i2)
-            {
-                i2 = TestLibrary.Generator.GetInt32(-55);
-            }
-
-            Object obj1 = i1;
-            Object obj2 = i2;
-
-            if (Object.Equals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("007", "Object.Equals returns true when comparing two different instance of same value type");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Compare two different instance of different value type");
-
-        try
-        {
-            int i1 = TestLibrary.Generator.GetInt32(-55);
-            double d1 = TestLibrary.Generator.GetDouble(-55);
-
-            Object obj1 = i1;
-            Object obj2 = d1;
-
-            if (Object.Equals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("009", "Object.Equals returns true when comparing two different instance of different value type");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Compare two same instances of different value type");
-
-        try
-        {
-            int i1 = TestLibrary.Generator.GetInt32(-55);
-            double d1 = (double)i1;
-
-            Object obj1 = i1;
-            Object obj2 = d1;
-
-            if (Object.Equals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("009", "Object.Equals returns true when comparing two same instances of different value type");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Compare an object with itself");
-
-        try
-        {
-            Object obj = new Object();
-
-            if (!Object.Equals(obj, obj))
-            {
-                TestLibrary.TestFramework.LogError("011", "An object does not equal with itself");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Compare two null references");
-
-        try
-        {
-            if (!Object.Equals(null, null))
-            {
-                TestLibrary.TestFramework.LogError("101", "Object.Equals return false when compare two null references");
-                retVal = false;
-            }
-
-            // Check successive call to Equals does not return different result
-            if (!Object.Equals(null, null))
-            {
-                TestLibrary.TestFramework.LogError("102", "Object.Equals return false when compare two null references");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("103", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Compare an object instance with null references");
-
-        try
-        {
-            Object obj1 = new Object();
-
-            if (Object.Equals(obj1, null))
-            {
-                TestLibrary.TestFramework.LogError("104", "Object.Equals return true when comparing an object instance with null references");
-                retVal = false;
-            }
-
-            // Check successive call to Equals does not return different result
-            if (Object.Equals(obj1, null))
-            {
-                TestLibrary.TestFramework.LogError("105", "Object.Equals return true when comparing an object instance with null references");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("106", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest3: Compare null references with an object instance");
-
-        try
-        {
-            Object obj1 = new Object();
-
-            if (Object.Equals(null, obj1))
-            {
-                TestLibrary.TestFramework.LogError("107", "Object.Equals return true when comparing null references with an object instance");
-                retVal = false;
-            }
-
-            // Check successive call to Equals does not return different result
-            if (Object.Equals(null, obj1))
-            {
-                TestLibrary.TestFramework.LogError("108", "Object.Equals return true when comparing null references with an object instance");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("109", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest4: Compare a value instance with null reference");
-
-        try
-        {
-            Object obj1 = TestLibrary.Generator.GetInt32(-55);
-
-            if (Object.Equals(obj1, null))
-            {
-                TestLibrary.TestFramework.LogError("110", "Object.Equals return true when comparing a value instance with null reference");
-                retVal = false;
-            }
-
-            // Check successive call to Equals does not return different result
-            if (Object.Equals(obj1, null))
-            {
-                TestLibrary.TestFramework.LogError("111", "Object.Equals return true when comparing a value instance with null reference");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("112", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectEquals2 test = new ObjectEquals2();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectEquals2");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/objectfinalize.cs b/tests/src/CoreMangLib/cti/system/object/objectfinalize.cs
deleted file mode 100644 (file)
index a966840..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-public class TestObject
-{
-    #region Private Members
-    private const int c_MIN_STRING_LENGTH = 0;
-    private const int c_MAX_STRING_LENGTH = 1024;
-
-    private string m_Eat_Memory1 = null;
-    private int m_Eat_Memory2 = 0;
-    #endregion
-
-    #region Constructors
-    public TestObject()
-    {
-        m_Eat_Memory1 = TestLibrary.Generator.GetString(-55, 
-            false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-        m_Eat_Memory2 = TestLibrary.Generator.GetInt32(-55);
-    }
-    #endregion
-
-    #region Public Method
-    public void DoSomething()
-    {
-        int x = 4;
-               x += 5;
-    }
-    #endregion
-
-    ~TestObject()
-    {
-        ObjectFinalize.m_STATIC_VARIABLE++;
-    }
-}
-
-public class ObjectFinalize
-{
-    #region Public Static Member
-    public const int c_DEFAULT_INT_VALUE = 1;
-
-    public static volatile int m_STATIC_VARIABLE = c_DEFAULT_INT_VALUE;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Test destroying an object");
-
-        try
-        {
-            // Create an unreferenced object
-            UseTestObject();
-
-            // Force runtime to do Garbage collection
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            if (ObjectFinalize.m_STATIC_VARIABLE != ObjectFinalize.c_DEFAULT_INT_VALUE + 1)
-            {
-                TestLibrary.TestFramework.LogError("001", "Call Object.Finalize failed: Execpted("+(ObjectFinalize.c_DEFAULT_INT_VALUE + 1)+") Actual("+ObjectFinalize.m_STATIC_VARIABLE+")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectFinalize test = new ObjectFinalize();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectFinalize");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Methods
-    [MethodImplAttribute(MethodImplOptions.NoInlining)]
-    private void UseTestObject()
-    {
-        TestObject testObject = new TestObject();
-
-        // Avoid used variable compiler warning.
-        testObject.DoSomething();
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/objectgethashcode.cs b/tests/src/CoreMangLib/cti/system/object/objectgethashcode.cs
deleted file mode 100644 (file)
index 356f7d2..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public struct Empty
-{
-}
-
-public class ObjectGetHashCode
-{
-    #region Private Variables
-    private string m_String = null;
-    private int m_Int32 = 0;
-    #endregion
-
-    #region Private Constaints
-    private const int c_MIN_STRING_LENGTH = 1;
-    private const int c_MAX_STRING_LENGHT = 1024;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Hash code for two objects with same type and same value should be equal");
-
-        try
-        {
-            ObjectGetHashCode obj1 = new ObjectGetHashCode();
-            ObjectGetHashCode obj2 = new ObjectGetHashCode();
-
-            if (obj1.GetHashCode() == obj2.GetHashCode())
-            {
-                TestLibrary.TestFramework.LogError("001", "Hash code for two objects with same type and same value are not equal");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Hash function must return exactly the same value regardless of any changes that are made to the object");
-
-        try
-        {
-            // Hack: Implement of ObjectGetHashCode.GetHashCode is inheritted from Object
-            String str1 = TestLibrary.Generator.GetString(-55, 
-                false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGHT);
-            ObjectGetHashCode oghc = new ObjectGetHashCode();
-            oghc.m_String = str1; 
-            int hashCode1 = oghc.GetHashCode();
-
-            String str2 = TestLibrary.Generator.GetString(-55, 
-                false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGHT);
-
-            if (str1.Length == str2.Length)
-            {
-                str2 += TestLibrary.Generator.GetChar(-55);
-            }
-
-            oghc.m_String = str2;
-            int hashCode2 = oghc.GetHashCode();
-
-            if (hashCode1 != hashCode2)
-            {
-                TestLibrary.TestFramework.LogError("003", "Hash function does not return exactly the same value regardless of any changes that are made to the object");
-                retVal = false;
-            }
-
-            // Change value type field should not change the hash code
-            oghc.m_Int32 = TestLibrary.Generator.GetInt32(-55);
-            hashCode2 = oghc.GetHashCode();
-
-            if (hashCode1 != hashCode2)
-            {
-                TestLibrary.TestFramework.LogError("004", "Hash function does not return exactly the same value regardless of any changes that are made to the object");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Get hash code for an empty struct");
-
-        try
-        {
-            Empty test = new Empty();
-            Empty test1 = new Empty();
-
-            if (test.GetHashCode() != test1.GetHashCode())
-            {
-                TestLibrary.TestFramework.LogError("101", "Hash code for two Empty struct instances does not equal");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectGetHashCode test = new ObjectGetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectGetHashCode");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/objectmemberwiseclone.cs b/tests/src/CoreMangLib/cti/system/object/objectmemberwiseclone.cs
deleted file mode 100644 (file)
index c4964bb..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public struct TestStruct
-{
-    public int Int32;
-    public long Long;
-    public double Double;
-    public float Float;
-}
-
-public class ObjectMemberwiseClone
-{
-    #region Private Fields
-    private string m_String = null;
-    private int m_Int32 = 0;
-    private TestStruct m_TestStruct;
-
-    private const int c_MIN_STRING_LENGTH = 0;
-    private const int c_MAX_STRING_LENGHT = 1024;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: MemberwiseClone do a bit-by-bit copy of a value type field");
-
-        try
-        {
-            ObjectMemberwiseClone omc1 = new ObjectMemberwiseClone();
-            omc1.m_Int32 = TestLibrary.Generator.GetInt32(-55);
-
-            ObjectMemberwiseClone omc2 = (ObjectMemberwiseClone)omc1.MemberwiseClone();
-            if (omc2.m_Int32 != omc1.m_Int32)
-            {
-                TestLibrary.TestFramework.LogError("001", "MemberwiseClone does not do a bit-by-bit copy of a value type field");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: MemberwiseClone copies reference for a reference type field");
-
-        try
-        {
-            ObjectMemberwiseClone omc1 = new ObjectMemberwiseClone();
-            omc1.m_String = TestLibrary.Generator.GetString(-55, 
-                false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGHT);
-
-            ObjectMemberwiseClone omc2 = (ObjectMemberwiseClone)omc1.MemberwiseClone();
-            if (!Object.ReferenceEquals(omc1.m_String, omc2.m_String))
-            {
-                TestLibrary.TestFramework.LogError("003", "MemberwiseClone does not copy reference for a reference type field");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: MemberwiseClone do a bit-by-bit copy of a struct type field");
-
-        try
-        {
-            ObjectMemberwiseClone omc1 = new ObjectMemberwiseClone();
-            omc1.m_TestStruct.Int32 = TestLibrary.Generator.GetInt32(-55);
-            omc1.m_TestStruct.Long = TestLibrary.Generator.GetInt64(-55);
-            omc1.m_TestStruct.Double = TestLibrary.Generator.GetDouble(-55);
-            omc1.m_TestStruct.Float = TestLibrary.Generator.GetSingle(-55);
-
-            ObjectMemberwiseClone omc2 = (ObjectMemberwiseClone)omc1.MemberwiseClone();
-            if ((omc2.m_TestStruct.Int32 != omc1.m_TestStruct.Int32) ||
-                 (omc2.m_TestStruct.Long != omc1.m_TestStruct.Long) ||
-                 (omc2.m_TestStruct.Double != omc1.m_TestStruct.Double) ||
-                 (omc2.m_TestStruct.Float != omc1.m_TestStruct.Float))
-            {
-                TestLibrary.TestFramework.LogError("005", "MemberwiseClone does not do a bit-by-bit copy of a value type field");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectMemberwiseClone test = new ObjectMemberwiseClone();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectMemberwiseClone");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/objectreferenceequals.cs b/tests/src/CoreMangLib/cti/system/object/objectreferenceequals.cs
deleted file mode 100644 (file)
index e077f63..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class ObjectReferenceEquals
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Compare an object with itself");
-
-        try
-        {
-            Object obj = new Object();
-            if (!Object.ReferenceEquals(obj, obj))
-            {
-                TestLibrary.TestFramework.LogError("001", "ReferenceEquals returns false when comparing an object with itself");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare two object with same reference");
-
-        try
-        {
-            Object obj1 = new Object();
-            Object obj2 = obj1;
-            if (!Object.ReferenceEquals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("003", "ReferenceEquals returns false when comparing two object with same reference");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare two value type instance with same value");
-
-        try
-        {
-            int i1 = TestLibrary.Generator.GetInt32(-55);
-            int i2 = i1;
-
-            while (i1 == i2)
-            {
-                i2 = TestLibrary.Generator.GetInt32(-55);
-            }
-
-            Object obj1 = i1;
-            Object obj2 = i2;
-
-            if (Object.ReferenceEquals(obj1, obj2))
-            {
-                TestLibrary.TestFramework.LogError("005", "ReferenceEquals returns true when compare two value type instance with same value");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Compare two null references");
-
-        try
-        {
-            if (!Object.ReferenceEquals(null, null))
-            {
-                TestLibrary.TestFramework.LogError("101", "Comparing two null references returns false");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Compare null reference with an object instance");
-
-        try
-        {
-            Object obj = new Object();
-            if (Object.ReferenceEquals(obj, null))
-            {
-                TestLibrary.TestFramework.LogError("103", "Compare null reference with an object instance returns true");
-                retVal = false;
-            }
-
-            // make sure this case is true
-            if (Object.ReferenceEquals(null, obj))
-            {
-                TestLibrary.TestFramework.LogError("104", "Compare null reference with an object instance returns true");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("105", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectReferenceEquals test = new ObjectReferenceEquals();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectReferenceEquals");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/object/objecttostring.cs b/tests/src/CoreMangLib/cti/system/object/objecttostring.cs
deleted file mode 100644 (file)
index bf67fbc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class ObjectToString
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-       
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call ToString");
-
-        try
-        {
-            Object obj1 = new Object();
-            if (obj1.ToString() != "System.Object")
-            {
-                TestLibrary.TestFramework.LogError("001", "Call Object.ToString() does not return the fully qualified name of type Object");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ObjectToString test = new ObjectToString();
-
-        TestLibrary.TestFramework.BeginTestCase("ObjectToString");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor1.csproj b/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor1.csproj
deleted file mode 100644 (file)
index 9deb459..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="ambiguousmatchexceptionctor1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor2.csproj b/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor2.csproj
deleted file mode 100644 (file)
index 593a6bb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="ambiguousmatchexceptionctor2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor3.csproj b/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/AmbiguousMatchExceptionCtor3.csproj
deleted file mode 100644 (file)
index d2d8bb7..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="ambiguousmatchexceptionctor3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor1.cs b/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor1.cs
deleted file mode 100644 (file)
index 468bf91..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// AmbiguousMatchException constructor() [v-yaduoj]
-/// </summary>
-public class AmbiguousMatchExceptionCtor
-{
-    public static int Main()
-    {
-        AmbiguousMatchExceptionCtor testObj = new AmbiguousMatchExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for AmbiguousMatchException()");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type AmbiguousMatchException via default constructor";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException();
-            if (null == e)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException via default constructor.";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor2.cs b/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor2.cs
deleted file mode 100644 (file)
index e64e69f..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// AmbiguousMatchException constructor(string) [v-yaduoj]
-/// </summary>
-public class AmbiguousMatchExceptionCtor
-{
-    public static int Main()
-    {
-        AmbiguousMatchExceptionCtor testObj = new AmbiguousMatchExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for AmbiguousMatchException(string)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type AmbiguousMatchException using an emtpy string message";
-        string errorDesc;
-
-        string message = string.Empty;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException(message);
-            if (null == e || e.Message != message)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException.";
-                errorDesc += "\nInput message is emtpy string";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is emtpy string";
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        string c_TEST_DESC = "PosTest2: initialize an instance of type AmbiguousMatchException using a string containing special character";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here \n\r\0\t\v";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException(message);
-            if (null == e || e.Message != message)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        string c_TEST_DESC = "PosTest3: initialize an instance of type AmbiguousMatchException using a null reference";
-        string errorDesc;
-
-        string message = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException(message);
-            if (null == e)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException.";
-                errorDesc += "\nInput message is a null reference.";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is a null reference.";
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor3.cs b/tests/src/CoreMangLib/cti/system/reflection/ambiguousmatchexception/ambiguousmatchexceptionctor3.cs
deleted file mode 100644 (file)
index 560ef54..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// AmbiguousMatchException constructor(string, Exception) [v-yaduoj]
-/// </summary>
-public class AmbiguousMatchExceptionCtor
-{
-    public static int Main()
-    {
-        AmbiguousMatchExceptionCtor testObj = new AmbiguousMatchExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for AmbiguousMatchException(string, Exception)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type AmbiguousMatchException using an emtpy string message";
-        string errorDesc;
-
-        string message = string.Empty;
-        Exception innerException = new ArgumentNullException();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException.";
-                errorDesc += "\nInput message is emtpy string";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is emtpy string";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        string c_TEST_DESC = "PosTest2: initialize an instance of type AmbiguousMatchException using a string containing special character";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here \n\r\0\t\v";
-        Exception innerException = new Exception();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        string c_TEST_DESC = "PosTest3: initialize an instance of type AmbiguousMatchException using a null reference";
-        string errorDesc;
-
-        string message = null;
-        Exception innerException = new Exception();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException(message, innerException);
-            if (null == e)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException.";
-                errorDesc += "\nInput message is a null reference.";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is a null reference.";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        string c_TEST_DESC = "PosTest4: message is a string containing special character and inner exception is a null reference";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here";
-        Exception innerException = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            AmbiguousMatchException e = new AmbiguousMatchException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type AmbiguousMatchException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                errorDesc += "\nInner exception is a null reference.";
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            errorDesc += "\nInner exception is a null reference.";
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/AssemblyConfigurationAttribute.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/AssemblyConfigurationAttribute.csproj
deleted file mode 100644 (file)
index e4c1cd5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblyconfigurationattribute.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="../../../../../Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/AssemblyConfigurationAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/AssemblyConfigurationAttributeCtor.csproj
deleted file mode 100644 (file)
index 04a265f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblyconfigurationattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/assemblyconfigurationattribute.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/assemblyconfigurationattribute.cs
deleted file mode 100644 (file)
index 03bc283..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyConfigurationAttribute.Configuration
-/// </summary>
-public class AssemblyConfigurationAttributeConfiguration
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyConfigurationAttributeConfiguration assemConfigurationAttrConfig = new AssemblyConfigurationAttributeConfiguration();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyConfigurationAttributeConfiguration");
-        if (assemConfigurationAttrConfig.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Return the configuration info from initialized the AssemblyConfigurationAttribute 1");
-        try
-        {
-            string configuration = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyConfigurationAttribute assemConfigAttr = new AssemblyConfigurationAttribute(configuration);
-            if (assemConfigAttr.Configuration != configuration)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Return the configuration info from initialized the AssemblyConfigurationAttribute 2");
-        try
-        {
-            string configuration = null;
-            AssemblyConfigurationAttribute assemConfigAttr = new AssemblyConfigurationAttribute(configuration);
-            if (assemConfigAttr.Configuration != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Return the configuration info from initialized the AssemblyConfigurationAttribute 3");
-        try
-        {
-            string configuration = string.Empty;
-            AssemblyConfigurationAttribute assemConfigAttr = new AssemblyConfigurationAttribute(configuration);
-            if (assemConfigAttr.Configuration != "")
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/assemblyconfigurationattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblyconfigurationattribute/assemblyconfigurationattributector.cs
deleted file mode 100644 (file)
index 750119d..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-public class AssemblyConfigurationAttributeCtor
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyConfigurationAttributeCtor assemConfigurationAttrCtor = new AssemblyConfigurationAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyConfigurationAttributeCtor");
-        if (assemConfigurationAttrCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Initialize the AssemblyConfigurationAttribute 1");
-        try
-        {
-            string configuration = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyConfigurationAttribute assemConfigAttr = new AssemblyConfigurationAttribute(configuration);
-            if (assemConfigAttr == null || assemConfigAttr.Configuration != configuration)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Initialize the AssemblyConfigurationAttribute 2");
-        try
-        {
-            string configuration = null;
-            AssemblyConfigurationAttribute assemConfigAttr = new AssemblyConfigurationAttribute(configuration);
-            if (assemConfigAttr == null || assemConfigAttr.Configuration != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Initialize the AssemblyConfigurationAttribute 3");
-        try
-        {
-            string configuration = string.Empty;
-            AssemblyConfigurationAttribute assemConfigAttr = new AssemblyConfigurationAttribute(configuration);
-            if (assemConfigAttr == null || assemConfigAttr.Configuration != "")
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/AssemblyDefaultAliasAttribute.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/AssemblyDefaultAliasAttribute.csproj
deleted file mode 100644 (file)
index 915ffca..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblydefaultaliasattribute.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="../../../../../Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/AssemblyDefaultAliasAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/AssemblyDefaultAliasAttributeCtor.csproj
deleted file mode 100644 (file)
index 1015a64..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblydefaultaliasattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/assemblydefaultaliasattribute.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/assemblydefaultaliasattribute.cs
deleted file mode 100644 (file)
index 4b5b83d..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyDefaultAliasAttribute.DefaultAlias
-/// </summary>
-public class AssemblyDefaultAliasAttributeDefaultAlias
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyDefaultAliasAttributeDefaultAlias assemDefaultAliasAttrDefaultAlias = new AssemblyDefaultAliasAttributeDefaultAlias();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyDefaultAliasAttributeDefaultAlias");
-        if (assemDefaultAliasAttrDefaultAlias.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Return the defaultAlias info from initialized the AssemblyDefaultAliasAttribute 1");
-        try
-        {
-            string defaultAlias = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyDefaultAliasAttribute assemDefaultAliasAttr = new AssemblyDefaultAliasAttribute(defaultAlias);
-            if (assemDefaultAliasAttr.DefaultAlias != defaultAlias)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Return the defaultAlias info from initialized the AssemblyDefaultAliasAttribute 2");
-        try
-        {
-            string defaultAlias = null;
-            AssemblyDefaultAliasAttribute assemDefaultAliasAttr = new AssemblyDefaultAliasAttribute(defaultAlias);
-            if (assemDefaultAliasAttr.DefaultAlias != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Return the defaultAlias info from initialized the AssemblyDefaultAliasAttribute 3");
-        try
-        {
-            string defaultAlias = string.Empty;
-            AssemblyDefaultAliasAttribute assemDefaultAliasAttr = new AssemblyDefaultAliasAttribute(defaultAlias);
-            if (assemDefaultAliasAttr.DefaultAlias != "")
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/assemblydefaultaliasattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblydefaultaliasattribute/assemblydefaultaliasattributector.cs
deleted file mode 100644 (file)
index b32506c..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyDefaultAliasAttribute(String)
-/// </summary>
-public class AssemblyDefaultAliasAttributeCtor
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyDefaultAliasAttributeCtor assemDefaultAliasAttrCtor = new AssemblyDefaultAliasAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyDefaultAliasAttributeCtor");
-        if (assemDefaultAliasAttrCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Initialize the AssemblyDefaultAliasAttribute 1");
-        try
-        {
-            string defaultAlias = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyDefaultAliasAttribute assemDefaultAliasAttr = new AssemblyDefaultAliasAttribute(defaultAlias);
-            if (assemDefaultAliasAttr == null || assemDefaultAliasAttr.DefaultAlias != defaultAlias)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Initialize the AssemblyDefaultAliasAttribute 2");
-        try
-        {
-            string defaultAlias = null;
-            AssemblyDefaultAliasAttribute assemDefaultAliasAttr = new AssemblyDefaultAliasAttribute(defaultAlias);
-            if (assemDefaultAliasAttr == null || assemDefaultAliasAttr.DefaultAlias != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Initialize the AssemblyDefaultAliasAttribute 3");
-        try
-        {
-            string defaultAlias = string.Empty;
-            AssemblyDefaultAliasAttribute assemDefaultAliasAttr = new AssemblyDefaultAliasAttribute(defaultAlias);
-            if (assemDefaultAliasAttr == null || assemDefaultAliasAttr.DefaultAlias != "")
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/AssemblyDelaySignAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/AssemblyDelaySignAttributeCtor.csproj
deleted file mode 100644 (file)
index e896481..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblydelaysignattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/AssemblyDelaySignAttributeDelaySign.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/AssemblyDelaySignAttributeDelaySign.csproj
deleted file mode 100644 (file)
index c137a90..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblydelaysignattributedelaysign.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/assemblydelaysignattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/assemblydelaysignattributector.cs
deleted file mode 100644 (file)
index 50a449e..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// Ctor.
-/// </summary>
-
-public class AssemblyDelaySignAttributeCtor
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify AssemblyDelaySignAttribute Ctor .");
-
-        try
-        {
-            bool delaySign = true;
-            AssemblyDelaySignAttribute adsa = new AssemblyDelaySignAttribute(delaySign);
-
-            if (adsa.DelaySign != delaySign)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Ctor Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify AssemblyDelaySignAttribute Ctor .");
-
-        try
-        {
-            bool delaySign = false;
-            AssemblyDelaySignAttribute adsa = new AssemblyDelaySignAttribute(delaySign);
-
-            if (adsa.DelaySign != delaySign)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Ctor Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        AssemblyDelaySignAttributeCtor test = new AssemblyDelaySignAttributeCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("AssemblyDelaySignAttributeCtor");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/assemblydelaysignattributedelaysign.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblydelaysignattribute/assemblydelaysignattributedelaysign.cs
deleted file mode 100644 (file)
index 94e5574..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// DelaySign
-/// </summary>
-
-public class AssemblyDelaySignAttributeDelaySign
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify property DelaySign .");
-
-        try
-        {
-            bool delaySign = true;
-            AssemblyDelaySignAttribute adsa = new AssemblyDelaySignAttribute(delaySign);
-
-            if (adsa.DelaySign != delaySign)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Property DelaySign Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify property DelaySign .");
-
-        try
-        {
-            bool delaySign = false;
-            AssemblyDelaySignAttribute adsa = new AssemblyDelaySignAttribute(delaySign);
-
-            if (adsa.DelaySign != delaySign)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Property DelaySign Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        AssemblyDelaySignAttributeDelaySign test = new AssemblyDelaySignAttributeDelaySign();
-
-        TestLibrary.TestFramework.BeginTestCase("AssemblyDelaySignAttributeDelaySign");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/AssemblyDescriptionAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/AssemblyDescriptionAttributeCtor.csproj
deleted file mode 100644 (file)
index 2f1ac07..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblydescriptionattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/AssemblyDescriptionAttributeDescription.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/AssemblyDescriptionAttributeDescription.csproj
deleted file mode 100644 (file)
index d96aab0..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblydescriptionattributedescription.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/assemblydescriptionattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/assemblydescriptionattributector.cs
deleted file mode 100644 (file)
index 5f619b4..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-public class AssemblyDescriptionAttributeCtor
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyDescriptionAttributeCtor assemDescriptionAttrCtor = new AssemblyDescriptionAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyDescriptionAttributeCtor");
-        if (assemDescriptionAttrCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Initialize the AssemblyDescriptionAttribute 1");
-        try
-        {
-            string description = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyDescriptionAttribute assemDescriptionAttr = new AssemblyDescriptionAttribute(description);
-            if (assemDescriptionAttr == null || assemDescriptionAttr.Description != description)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Initialize the AssemblyDescriptionAttribute 2");
-        try
-        {
-            string description = string.Empty;
-            AssemblyDescriptionAttribute assemDescriptionAttr = new AssemblyDescriptionAttribute(description);
-            if (assemDescriptionAttr == null || assemDescriptionAttr.Description != description)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Initialize the AssemblyDescriptionAttribute 3");
-        try
-        {
-            string description = null;
-            AssemblyDescriptionAttribute assemDescriptionAttr = new AssemblyDescriptionAttribute(description);
-            if (assemDescriptionAttr == null || assemDescriptionAttr.Description != description)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/assemblydescriptionattributedescription.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblydescriptionattribute/assemblydescriptionattributedescription.cs
deleted file mode 100644 (file)
index 65d61cf..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyDescriptionAttribute.Description
-/// </summary>
-public class AssemblyDescriptionAttributeDescription
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyDescriptionAttributeDescription assemDescriptionAttrDesprop = new AssemblyDescriptionAttributeDescription();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyDescriptionAttributeDescription");
-        if (assemDescriptionAttrDesprop.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Return the description from initialized AssemblyDescriptionAttribute 1");
-        try
-        {
-            string description = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyDescriptionAttribute assemDescriptionAttr = new AssemblyDescriptionAttribute(description);
-            if (assemDescriptionAttr.Description != description)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Return the description from initialized AssemblyDescriptionAttribute 2");
-        try
-        {
-            string description = string.Empty;
-            AssemblyDescriptionAttribute assemDescriptionAttr = new AssemblyDescriptionAttribute(description);
-            if (assemDescriptionAttr.Description != "")
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Return the description from initialized AssemblyDescriptionAttribute 3");
-        try
-        {
-            string description = null;
-            AssemblyDescriptionAttribute assemDescriptionAttr = new AssemblyDescriptionAttribute(description);
-            if (assemDescriptionAttr.Description != null)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/AssemblyKeyFileAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/AssemblyKeyFileAttributeCtor.csproj
deleted file mode 100644 (file)
index 18b94c8..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblykeyfileattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/AssemblyKeyFileAttributeKeyFile.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/AssemblyKeyFileAttributeKeyFile.csproj
deleted file mode 100644 (file)
index e7a55df..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblykeyfileattributekeyfile.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/assemblykeyfileattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/assemblykeyfileattributector.cs
deleted file mode 100644 (file)
index c4f2dc7..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// Ctor
-/// </summary>
-
-public class AssemblyKeyFileAttributeCtor
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify Ctor.");
-
-        try
-        {
-            string keyFile = "keyfile";
-            AssemblyKeyFileAttribute akfa = new AssemblyKeyFileAttribute(keyFile);
-
-            if (akfa.KeyFile != keyFile)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Ctor Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        AssemblyKeyFileAttributeCtor test = new AssemblyKeyFileAttributeCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("AssemblyKeyFileAttributeCtor");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/assemblykeyfileattributekeyfile.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblykeyfileattribute/assemblykeyfileattributekeyfile.cs
deleted file mode 100644 (file)
index e25469c..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// KeyFile
-/// </summary>
-
-public class AssemblyKeyFileAttributeKeyFile
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        
-        //
-        // TODO: Add your negative test cases here
-        //
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-        // retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        // Add your scenario description here
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify property KeyFile .");
-
-        try
-        {
-            string keyFile = "keyfile";
-            AssemblyKeyFileAttribute akfa = new AssemblyKeyFileAttribute(keyFile);
-
-            if (akfa.KeyFile != keyFile)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Property KeyFile Err.");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    //public bool NegTest1()
-    //{
-    //    bool retVal = true;
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-    //    try
-    //    {
-    //          //
-    //          // Add your test logic here
-    //          //
-    //    }
-    //    catch (Exception e)
-    //    {
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-    //        retVal = false;
-    //    }
-
-    //    return retVal;
-    //}
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        AssemblyKeyFileAttributeKeyFile test = new AssemblyKeyFileAttributeKeyFile();
-
-        TestLibrary.TestFramework.BeginTestCase("AssemblyKeyFileAttributeKeyFile");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/AssemblyKeyNameAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/AssemblyKeyNameAttributeCtor.csproj
deleted file mode 100644 (file)
index 510a727..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblykeynameattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/AssemblyKeyNameAttributeKeyName.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/AssemblyKeyNameAttributeKeyName.csproj
deleted file mode 100644 (file)
index 422afbd..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblykeynameattributekeyname.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/assemblykeynameattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/assemblykeynameattributector.cs
deleted file mode 100644 (file)
index 710ad77..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyKeyNameAttribute(String)
-/// </summary>
-public class AssemblyKeyNameAttributeCtor
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyKeyNameAttributeCtor assemKeyNameAttrCtor = new AssemblyKeyNameAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyKeyNameAttributeCtor");
-        if (assemKeyNameAttrCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Initialize the AssemblyKeyNameAttribute 1");
-        try
-        {
-            string keyname = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyKeyNameAttribute assemKeyNameAttr = new AssemblyKeyNameAttribute(keyname);
-            if (assemKeyNameAttr == null || assemKeyNameAttr.KeyName != keyname)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Initialize the AssemblyKeyNameAttribute 2");
-        try
-        {
-            string keyname = null;
-            AssemblyKeyNameAttribute assemKeyNameAttr = new AssemblyKeyNameAttribute(keyname);
-            if (assemKeyNameAttr == null || assemKeyNameAttr.KeyName != keyname)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Initialize the AssemblyKeyNameAttribute 3");
-        try
-        {
-            string keyname = string.Empty;
-            AssemblyKeyNameAttribute assemKeyNameAttr = new AssemblyKeyNameAttribute(keyname);
-            if (assemKeyNameAttr == null || assemKeyNameAttr.KeyName != keyname)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/assemblykeynameattributekeyname.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblykeynameattribute/assemblykeynameattributekeyname.cs
deleted file mode 100644 (file)
index a996168..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyKeyNameAttribute.KeyName
-/// </summary>
-public class AssemblyKeyNameAttributeKeyName
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyKeyNameAttributeKeyName assemKeyNameAttrKeyName = new AssemblyKeyNameAttributeKeyName();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyKeyNameAttributeKeyName");
-        if (assemKeyNameAttrKeyName.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Return the KeyName info from initialized the AssemblyKeyNameAttribute 1");
-        try
-        {
-            string keyname = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyKeyNameAttribute assemKeyNameAttr = new AssemblyKeyNameAttribute(keyname);
-            if (assemKeyNameAttr.KeyName != keyname)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Return the KeyName info from initialized the AssemblyKeyNameAttribute 2");
-        try
-        {
-            string keyname = null;
-            AssemblyKeyNameAttribute assemKeyNameAttr = new AssemblyKeyNameAttribute(keyname);
-            if (assemKeyNameAttr.KeyName != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Return the KeyName info from initialized the AssemblyKeyNameAttribute 3");
-        try
-        {
-            string keyname = string.Empty;
-            AssemblyKeyNameAttribute assemKeyNameAttr = new AssemblyKeyNameAttribute(keyname);
-            if (assemKeyNameAttr.KeyName != "")
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameGetPublicKey.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameGetPublicKey.csproj
deleted file mode 100644 (file)
index be77d11..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblynamegetpublickey.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameGetPublicKeyToken.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameGetPublicKeyToken.csproj
deleted file mode 100644 (file)
index 3b030e7..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblynamegetpublickeytoken.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameSetPublicKey.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameSetPublicKey.csproj
deleted file mode 100644 (file)
index aeb84c1..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblynamesetpublickey.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameSetPublicKeyToken.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameSetPublicKeyToken.csproj
deleted file mode 100644 (file)
index dc781b3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblynamesetpublickeytoken.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameVersion.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/AssemblyNameVersion.csproj
deleted file mode 100644 (file)
index a76a053..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblynameversion.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamegetpublickey.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamegetpublickey.cs
deleted file mode 100644 (file)
index e19f921..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Security;
-using System.Reflection;
-
-[assembly: SecurityCritical]
-
-/// <summary>
-/// System.Reflection.AssembelyName.GetPublicKey()
-/// </summary>
-public class AssemblyNameGetPublicKey
-{
-    #region Main Entry
-    static public int Main()
-    {
-        AssemblyNameGetPublicKey test = new AssemblyNameGetPublicKey();
-
-        TestLibrary.TestFramework.BeginTestCase("AssembelyName.GetPublicKey");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #endregion
-
-    #region utility functions
-    string Key2String(byte[] key)
-    {
-        System.Text.StringBuilder result = new System.Text.StringBuilder(key.Length * 2);
-        for (int i = 0; i < key.Length; i++)
-        {
-            result.AppendFormat("{0:x2}", key[i]);
-        }
-        return result.ToString();
-    }
-
-    bool KeyEquals(byte[] k1, byte[] k2)
-    {
-        if (k1.Length != k2.Length)
-            return false;
-        for (int i = 0; i < k1.Length; i++)
-        {
-            if (k1[i] != k2[i])
-                return false;
-        }
-        return true;
-    }
-    #endregion
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest1: get default PublicKey");
-        bool retVal = true;
-        try
-        {
-            AssemblyName an = new AssemblyName();
-            byte[] key = an.GetPublicKey();
-            if (key != null)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (new AssemblyName()).GetPublicKey() == null");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest2: set then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = new byte[TestLibrary.Generator.GetInt32(-55) % 255];
-
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKey(key);
-            
-            if (an.GetPublicKey() != key)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect AssemblyName.GetPublicKey() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamegetpublickeytoken.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamegetpublickeytoken.cs
deleted file mode 100644 (file)
index 74960bd..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Security;
-using System.Reflection;
-
-[assembly: SecurityCritical]
-
-/// <summary>
-/// System.Reflection.AssembelyName.GetPublicKeyToken()
-/// </summary>
-public class AssemblyNameGetPublicKeyToken
-{
-    #region Main Entry
-    static public int Main()
-    {
-        AssemblyNameGetPublicKeyToken test = new AssemblyNameGetPublicKeyToken();
-
-        TestLibrary.TestFramework.BeginTestCase("AssembelyName.GetPublicKeyToken");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #endregion
-
-    #region utility functions
-    string Key2String(byte[] key)
-    {
-        System.Text.StringBuilder result = new System.Text.StringBuilder(key.Length * 2);
-        for (int i = 0; i < key.Length; i++)
-        {
-            result.AppendFormat("{0:x2}", key[i]);
-        }
-        return result.ToString();
-    }
-
-    bool KeyEquals(byte[] k1, byte[] k2)
-    {
-        if (k1.Length != k2.Length)
-            return false;
-        for (int i = 0; i < k1.Length; i++)
-        {
-            if (k1[i] != k2[i])
-                return false;
-        }
-        return true;
-    }
-    #endregion
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest1: get default PublicKeyToken");
-        bool retVal = true;
-        try
-        {
-            AssemblyName an = new AssemblyName();
-            byte[] key = an.GetPublicKeyToken();
-            if (key != null)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect (new AssemblyName()).GetPublicKeyToken() == null");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest2: set then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = new byte[TestLibrary.Generator.GetInt32(-55) % 255];
-
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKeyToken(key);
-
-            if (an.GetPublicKeyToken() != key)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect AssemblyName.GetPublicKeyToken() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamesetpublickey.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamesetpublickey.cs
deleted file mode 100644 (file)
index b9b10bb..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Security;
-using System.Reflection;
-
-[assembly: SecurityCritical]
-
-/// <summary>
-/// System.Reflection.AssembelyName.SetPublicKey(byte[])
-/// </summary>
-public class AssemblyNameSetPublicKey
-{
-    #region Main Entry
-    static public int Main()
-    {
-        AssemblyNameSetPublicKey test = new AssemblyNameSetPublicKey();
-
-        TestLibrary.TestFramework.BeginTestCase("AssembelyName.SetPublicKey(byte[])");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #endregion
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest1: set then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = new byte[TestLibrary.Generator.GetInt32(-55) % 80 + 20];
-
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKey(key);
-
-            if (an.GetPublicKey() != key)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect AssemblyName.GetPublicKey() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest2: set a 0 length key then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = new byte[0];
-
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKey(key);
-
-            if (an.GetPublicKey() != key)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect AssemblyName.GetPublicKey() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest2: set a null key then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = null;
-
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKey(key);
-
-            if (an.GetPublicKey() != key)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "expect AssemblyName.GetPublicKey() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamesetpublickeytoken.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynamesetpublickeytoken.cs
deleted file mode 100644 (file)
index f065ea9..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Security;
-using System.Reflection;
-
-[assembly: SecurityCritical]
-
-/// <summary>
-/// AssembelyName.SetPublicKeyToken(byte[])
-/// </summary>
-public class AssemblyNameSetPublicKeyToken
-{
-    #region Main Entry
-    static public int Main()
-    {
-        AssemblyNameSetPublicKeyToken test = new AssemblyNameSetPublicKeyToken();
-
-        TestLibrary.TestFramework.BeginTestCase("AssembelyName.SetPublicKeyToken");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #endregion
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest1: set then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = new byte[TestLibrary.Generator.GetInt32(-55) % 255];
-            TestLibrary.Generator.GetBytes(-55, key);
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKeyToken(key);
-
-            if (an.GetPublicKeyToken() != key)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect AssemblyName.GetPublicKeyToken() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest2: set a 0 length key then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = new byte[0];
-
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKeyToken(key);
-
-            if (an.GetPublicKeyToken() != key)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect AssemblyName.GetPublicKeyToken() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest2: set a null key then get and verify");
-        bool retVal = true;
-        try
-        {
-            byte[] key = null;
-
-            AssemblyName an = new AssemblyName();
-            an.SetPublicKeyToken(key);
-
-            if (an.GetPublicKeyToken() != key)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "expect AssemblyName.GetPublicKeyToken() equals what it's been set");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynameversion.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblyname/assemblynameversion.cs
deleted file mode 100644 (file)
index 30d1ca0..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Security;
-using System.Reflection;
-
-[assembly: SecurityCritical]
-
-/// <summary>
-/// System.Reflection.AssembelyName.Version
-/// </summary>
-public class AssemblyNameVersion
-{
-    #region Main Entry
-    static public int Main()
-    {
-        AssemblyNameVersion test = new AssemblyNameVersion();
-
-        TestLibrary.TestFramework.BeginTestCase("AssembelyName.Version");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #endregion
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check version which set in ctor");
-        bool retVal = true;
-        try
-        {
-            Version ver = new Version(1,0,0,1);
-            AssemblyName an = new AssemblyName("aa, Version="+ver.ToString());
-
-            if (!an.Version.Equals(ver))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "expect Version is " + ver.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest2: version in FullName");
-        bool retVal = true;
-        try
-        {
-            AssemblyName an = new AssemblyName("aa");
-            Version ver = new Version("10.100.1000.10000");
-
-            an.Version = ver;
-            if (!an.FullName.Contains("Version="+ver.ToString()))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "expect an.FullName.Contains " + ver.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        TestLibrary.TestFramework.BeginScenario("PosTest3: version set in ctor then set as null");
-        bool retVal = true;
-        try
-        {
-            Version ver = new Version("10.100.1000.10000");
-            AssemblyName an = new AssemblyName("aa, Version="+ver.ToString());
-
-            if (!an.Version.Equals(ver))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "expect Version is " + ver.ToString());
-                retVal = false;
-            }
-
-            an.Version = null;
-            if (an.Version != null)
-            {
-                TestLibrary.TestFramework.LogError("003.2", "expect Version is " + ver.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.3", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/AssemblyTitleAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/AssemblyTitleAttributeCtor.csproj
deleted file mode 100644 (file)
index ace5820..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblytitleattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/AssemblyTitleAttributeTitle.csproj b/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/AssemblyTitleAttributeTitle.csproj
deleted file mode 100644 (file)
index 3fc3222..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="assemblytitleattributetitle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/assemblytitleattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/assemblytitleattributector.cs
deleted file mode 100644 (file)
index 2f0dcd1..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyTitleAttribute(String)
-/// </summary>
-public class AssemblyTitleAttributeCtor
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyTitleAttributeCtor assemTitleAttrCtor = new AssemblyTitleAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyTitleAttributeCtor");
-        if (assemTitleAttrCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Initialize the AssemblyTitleAttribute 1");
-        try
-        {
-            string title = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyTitleAttribute assemTitleAttr = new AssemblyTitleAttribute(title);
-            if (assemTitleAttr == null || assemTitleAttr.Title != title)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Initialize the AssemblyTitleAttribute 2");
-        try
-        {
-            string title = null;
-            AssemblyTitleAttribute assemTitleAttr = new AssemblyTitleAttribute(title);
-            if (assemTitleAttr == null || assemTitleAttr.Title != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Initialize the AssemblyTitleAttribute 3");
-        try
-        {
-            string title = string.Empty;
-            AssemblyTitleAttribute assemTitleAttr = new AssemblyTitleAttribute(title);
-            if (assemTitleAttr == null || assemTitleAttr.Title != "")
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/assemblytitleattributetitle.cs b/tests/src/CoreMangLib/cti/system/reflection/assemblytitleattribute/assemblytitleattributetitle.cs
deleted file mode 100644 (file)
index f2a306b..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-/// <summary>
-/// AssemblyTitleAttribute.Title
-/// </summary>
-public class AssemblyTitleAttributeTitle
-{
-    private int c_MIN_STR_LENGTH = 8;
-    private int c_MAX_STR_LENGTH = 256;
-    public static int Main()
-    {
-        AssemblyTitleAttributeTitle assemTitleAttrTitle = new AssemblyTitleAttributeTitle();
-        TestLibrary.TestFramework.BeginTestCase("AssemblyTitleAttributeTitle");
-        if (assemTitleAttrTitle.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Return the Title info from initialized AssemblyTitleAttribute 1");
-        try
-        {
-            string title = TestLibrary.Generator.GetString(-55, false, c_MIN_STR_LENGTH, c_MAX_STR_LENGTH);
-            AssemblyTitleAttribute assemTitleAttr = new AssemblyTitleAttribute(title);
-            if (assemTitleAttr.Title != title)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Return the Title info from initialized AssemblyTitleAttribute 2");
-        try
-        {
-            string title = null;
-            AssemblyTitleAttribute assemTitleAttr = new AssemblyTitleAttribute(title);
-            if (assemTitleAttr.Title != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Return the Title info from initialized AssemblyTitleAttribute 3");
-        try
-        {
-            string title = string.Empty;
-            AssemblyTitleAttribute assemTitleAttr = new AssemblyTitleAttribute(title);
-            if (assemTitleAttr.Title != "")
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/ConstructorInfoConstructorName.csproj b/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/ConstructorInfoConstructorName.csproj
deleted file mode 100644 (file)
index ec269d1..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="constructorinfoconstructorname.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/ConstructorInfoTypeConstructorName.csproj b/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/ConstructorInfoTypeConstructorName.csproj
deleted file mode 100644 (file)
index edf0ce5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="constructorinfotypeconstructorname.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/constructorinfoconstructorname.cs b/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/constructorinfoconstructorname.cs
deleted file mode 100644 (file)
index d339518..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// ConstructorName
-/// </summary>
-public class ConstructorInfoConstructorName
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure ConstructorInfo.ContructorName is correct");
-
-        try
-        {
-            if (ConstructorInfo.ConstructorName != ".ctor")
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ConstructorName is not correct");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ConstructorInfoConstructorName test = new ConstructorInfoConstructorName();
-
-        TestLibrary.TestFramework.BeginTestCase("ConstructorInfoConstructorName");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/constructorinfotypeconstructorname.cs b/tests/src/CoreMangLib/cti/system/reflection/constructorinfo/constructorinfotypeconstructorname.cs
deleted file mode 100644 (file)
index ab67198..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// TypeConstructorName
-/// </summary>
-
-public class ConstructorInfoTypeConstructorName
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Ensure ConstructorInfo.TypeContructorName is correct");
-
-        try
-        {
-            if (ConstructorInfo.TypeConstructorName != ".cctor")
-            {
-                TestLibrary.TestFramework.LogError("001.1", "TypeConstructorName is not correct");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        ConstructorInfoTypeConstructorName test = new ConstructorInfoTypeConstructorName();
-
-        TestLibrary.TestFramework.BeginTestCase("ConstructorInfoTypeConstructorName");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/DefaultMemberAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/DefaultMemberAttributeCtor.csproj
deleted file mode 100644 (file)
index b8cef19..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="defaultmemberattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/DefaultMemberAttributeMemberName.csproj b/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/DefaultMemberAttributeMemberName.csproj
deleted file mode 100644 (file)
index 386e5b5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="defaultmemberattributemembername.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/defaultmemberattributector.cs b/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/defaultmemberattributector.cs
deleted file mode 100644 (file)
index 649bcbf..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// DefaultMemberAttribute.Ctor(System.String)
-/// </summary>
-public class DefaultMemberAttributeCtor
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        DefaultMemberAttributeCtor dmaCtor = new DefaultMemberAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("Testing for Method: System.Reflection.DefaultMemberAttribute.Ctor(System.String)...");
-
-        if (dmaCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1: Verify the memberName is random string... ";
-        const string c_TEST_ID = "P001";
-
-        string memberName = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            DefaultMemberAttribute dma = new DefaultMemberAttribute(memberName); 
-            if (dma == null)
-            {
-                string errorDesc = "the DefaultMemberAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is " + memberName;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2: the parameter is empty ... ";
-        const string c_TEST_ID = "P002";
-
-        string memberName = "";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            DefaultMemberAttribute dma = new DefaultMemberAttribute(memberName);
-            if (dma == null)
-            {
-                string errorDesc = "the DefaultMemberAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is empty";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3: the parameter is a null reference ... ";
-        const string c_TEST_ID = "P003";
-
-        string memberName = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            DefaultMemberAttribute dma = new DefaultMemberAttribute(memberName);
-            if (dma == null)
-            {
-                string errorDesc = "the DefaultMemberAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is a null reference";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/defaultmemberattributemembername.cs b/tests/src/CoreMangLib/cti/system/reflection/defaultmemberattribute/defaultmemberattributemembername.cs
deleted file mode 100644 (file)
index b91b2cb..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// System.Reflection.DefaultMemberAttribute.MemberName
-/// </summary>
-public class DefaultMemberAttributeMemberName
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        DefaultMemberAttributeMemberName dmaMemberName = new DefaultMemberAttributeMemberName();
-        TestLibrary.TestFramework.BeginTestCase("Testing for Method: DefaultMemberAttribute.Ctor()...");
-
-        if (dmaMemberName.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string c_TEST_DESC = "PosTest1: Verfify property MemberName is random string ... ";
-        string c_TEST_ID = "P001";
-        string memberName = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        DefaultMemberAttribute dma = new DefaultMemberAttribute(memberName);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            if (dma.MemberName != memberName)
-            {
-                string errorDesc = "value is not " + memberName + " as expected: Actual is " + dma.MemberName;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string c_TEST_DESC = "PosTest2: Verfify the MemberName is empty ... ";
-        string c_TEST_ID = "P002";
-        string memberName = "";
-
-        DefaultMemberAttribute dma = new DefaultMemberAttribute(memberName);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            if (dma.MemberName != memberName)
-            {
-                string errorDesc = "value is not " + memberName + " as expected: Actual is empty";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string c_TEST_DESC = "PosTest3: Verfify the MemberName is a null reference ... ";
-        string c_TEST_ID = "P003";
-        string memberName = null;
-
-        DefaultMemberAttribute dma = new DefaultMemberAttribute(memberName);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            if (dma.MemberName != memberName)
-            {
-                string errorDesc = "value is not " + memberName + " as expected: Actual is null";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexcpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/TargetInvocationExceptionCtor1.csproj b/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/TargetInvocationExceptionCtor1.csproj
deleted file mode 100644 (file)
index 16e83ad..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="targetinvocationexceptionctor1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/TargetInvocationExceptionCtor2.csproj b/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/TargetInvocationExceptionCtor2.csproj
deleted file mode 100644 (file)
index 884c549..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="targetinvocationexceptionctor2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/targetinvocationexceptionctor1.cs b/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/targetinvocationexceptionctor1.cs
deleted file mode 100644 (file)
index 4a7f1af..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// TargetInvocationException constructor() [v-yaduoj]
-/// </summary>
-public class TargetInvocationExceptionCtor
-{
-    public static int Main()
-    {
-        TargetInvocationExceptionCtor testObj = new TargetInvocationExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for TargetInvocationException()");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type TargetInvocationException via default constructor";
-        string errorDesc;
-
-        Exception innerException = new ArgumentNullException();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetInvocationException ex = new TargetInvocationException(innerException);
-            if (null == ex)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetInvocationException via default constructor.";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/targetinvocationexceptionctor2.cs b/tests/src/CoreMangLib/cti/system/reflection/targetinvocationexception/targetinvocationexceptionctor2.cs
deleted file mode 100644 (file)
index 049c94d..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// TargetInvocationException constructor(string, Exception) [v-yaduoj]
-/// </summary>
-public class TargetInvocationExceptionCtor
-{
-    public static int Main()
-    {
-        TargetInvocationExceptionCtor testObj = new TargetInvocationExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for TargetInvocationException(string, Exception)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type TargetInvocationException using an emtpy string message";
-        string errorDesc;
-
-        string message = string.Empty;
-        Exception innerException = new ArgumentNullException();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetInvocationException e = new TargetInvocationException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetInvocationException.";
-                errorDesc += "\nInput message is emtpy string";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is emtpy string";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        string c_TEST_DESC = "PosTest2: initialize an instance of type TargetInvocationException using a string containing special character";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here \n\r\0\t\v";
-        Exception innerException = new Exception();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetInvocationException e = new TargetInvocationException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetInvocationException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        string c_TEST_DESC = "PosTest3: initialize an instance of type TargetInvocationException using a null reference";
-        string errorDesc;
-
-        string message = null;
-        Exception innerException = new Exception();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetInvocationException e = new TargetInvocationException(message, innerException);
-            if (null == e)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetInvocationException.";
-                errorDesc += "\nInput message is a null reference.";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is a null reference.";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        string c_TEST_DESC = "PosTest4: message is a string containing special character and inner exception is a null reference";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here";
-        Exception innerException = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetInvocationException e = new TargetInvocationException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetInvocationException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                errorDesc += "\nInner exception is a null reference.";
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            errorDesc += "\nInner exception is a null reference.";
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor1.csproj b/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor1.csproj
deleted file mode 100644 (file)
index 7d5f04e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="targetparametercountexceptionctor1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor2.csproj b/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor2.csproj
deleted file mode 100644 (file)
index 5e5784e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="targetparametercountexceptionctor2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor3.csproj b/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/TargetParameterCountExceptionCtor3.csproj
deleted file mode 100644 (file)
index 0d7bd12..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="targetparametercountexceptionctor3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor1.cs b/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor1.cs
deleted file mode 100644 (file)
index 7bcc17e..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// TargetParameterCountException constructor() [v-yaduoj]
-/// </summary>
-public class TargetParameterCountExceptionCtor
-{
-    public static int Main()
-    {
-        TargetParameterCountExceptionCtor testObj = new TargetParameterCountExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for TargetParameterCountException()");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type TargetParameterCountException via default constructor";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException();
-            if (null == e)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException via default constructor.";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor2.cs b/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor2.cs
deleted file mode 100644 (file)
index eeab377..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// TargetParameterCountException constructor(string) [v-yaduoj]
-/// </summary>
-public class TargetParameterCountExceptionCtor
-{
-    public static int Main()
-    {
-        TargetParameterCountExceptionCtor testObj = new TargetParameterCountExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for TargetParameterCountException(string)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type TargetParameterCountException using an emtpy string message";
-        string errorDesc;
-
-        string message = string.Empty;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException(message);
-            if (null == e || e.Message != message)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException.";
-                errorDesc += "\nInput message is emtpy string";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is emtpy string";
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        string c_TEST_DESC = "PosTest2: initialize an instance of type TargetParameterCountException using a string containing special character";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here \n\r\0\t\v";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException(message);
-            if (null == e || e.Message != message)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        string c_TEST_DESC = "PosTest3: initialize an instance of type TargetParameterCountException using a null reference";
-        string errorDesc;
-
-        string message = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException(message);
-            if (null == e)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException.";
-                errorDesc += "\nInput message is a null reference.";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is a null reference.";
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor3.cs b/tests/src/CoreMangLib/cti/system/reflection/targetparametercountexception/targetparametercountexceptionctor3.cs
deleted file mode 100644 (file)
index b691a7e..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Reflection;
-
-/// <summary>
-/// TargetParameterCountException constructor(string, Exception) [v-yaduoj]
-/// </summary>
-public class TargetParameterCountExceptionCtor
-{
-    public static int Main()
-    {
-        TargetParameterCountExceptionCtor testObj = new TargetParameterCountExceptionCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for TargetParameterCountException(string, Exception)");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type TargetParameterCountException using an emtpy string message";
-        string errorDesc;
-
-        string message = string.Empty;
-        Exception innerException = new ArgumentNullException();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException.";
-                errorDesc += "\nInput message is emtpy string";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is emtpy string";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        string c_TEST_DESC = "PosTest2: initialize an instance of type TargetParameterCountException using a string containing special character";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here \n\r\0\t\v";
-        Exception innerException = new Exception();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        string c_TEST_DESC = "PosTest3: initialize an instance of type TargetParameterCountException using a null reference";
-        string errorDesc;
-
-        string message = null;
-        Exception innerException = new Exception();
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException(message, innerException);
-            if (null == e)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException.";
-                errorDesc += "\nInput message is a null reference.";
-                errorDesc += "\nInner exception is " + innerException;
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is a null reference.";
-            errorDesc += "\nInner exception is " + innerException;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        string c_TEST_DESC = "PosTest4: message is a string containing special character and inner exception is a null reference";
-        string errorDesc;
-
-        string message = "Not supported exception occurs here";
-        Exception innerException = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            TargetParameterCountException e = new TargetParameterCountException(message, innerException);
-            if (null == e || e.Message != message || e.InnerException != innerException)
-            {
-                errorDesc = "Failed to initialize an instance of type TargetParameterCountException.";
-                errorDesc += "\nInput message is \"" + message + "\"";
-                errorDesc += "\nInner exception is a null reference.";
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += "\nInput message is \"" + message + "\"";
-            errorDesc += "\nInner exception is a null reference.";
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/ATPACtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/ATPACtor.csproj
deleted file mode 100644 (file)
index a8f8b9f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="atpactor.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/ATPAPropertyName.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/ATPAPropertyName.csproj
deleted file mode 100644 (file)
index 2258deb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="atpapropertyname.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/atpactor.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/atpactor.cs
deleted file mode 100644 (file)
index f8324c5..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime;
-
-/// <summary>
-/// System.Runtime.CompilerServices.AccessedThroughPropertyAttribute.Ctor()
-/// </summary>
-public class AccessedThroughPropertyAttributeCtor
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        AccessedThroughPropertyAttributeCtor atpaCtor = new AccessedThroughPropertyAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("Testing for Method: System.Runtime.CompilerServices.AccessedThroughPropertyAttribute.Ctor()...");
-
-        if (atpaCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1: Create a new AccessedThroughPropertyAttribute instance ... ";
-        const string c_TEST_ID = "P001";
-
-        string c_PROPERTYNAME = TestLibrary.Generator.GetString(-55, false,c_MIN_STRING_LEN,c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            System.Runtime.CompilerServices.AccessedThroughPropertyAttribute atpa = new System.Runtime.CompilerServices.AccessedThroughPropertyAttribute(c_PROPERTYNAME);
-            if (atpa == null)
-            {
-                string errorDesc = "the AccessedThroughPropertyAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is " + c_PROPERTYNAME;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2: the parameter is empty ... ";
-        const string c_TEST_ID = "P002";
-
-        string c_PROPERTYNAME = "";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            System.Runtime.CompilerServices.AccessedThroughPropertyAttribute atpa = new System.Runtime.CompilerServices.AccessedThroughPropertyAttribute(c_PROPERTYNAME);
-            if (atpa == null)
-            {
-                string errorDesc = "the AccessedThroughPropertyAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is empty";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3: the parameter is a null reference ... ";
-        const string c_TEST_ID = "P003";
-
-        string c_PROPERTYNAME = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            System.Runtime.CompilerServices.AccessedThroughPropertyAttribute atpa = new System.Runtime.CompilerServices.AccessedThroughPropertyAttribute(c_PROPERTYNAME);
-            if (atpa == null)
-            {
-                string errorDesc = "the AccessedThroughPropertyAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is a null reference";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/atpapropertyname.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/accessedthroughpropertyattribute/atpapropertyname.cs
deleted file mode 100644 (file)
index f0c4447..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime;
-
-/// <summary>
-/// System.Runtime.CompilerServices.AccessedThroughPropertyAttribute.PropertyName
-/// </summary>
-public class AccessedThroughPropertyAttributePropertyName
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        AccessedThroughPropertyAttributePropertyName atpaPropertyName = new AccessedThroughPropertyAttributePropertyName();
-        TestLibrary.TestFramework.BeginTestCase("Testing for Method: System.Runtime.CompilerServices.AccessedThroughPropertyAttribute.Ctor()...");
-
-        if (atpaPropertyName.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string c_TEST_DESC = "PosTest1: Verfify property PropertyName ... ";
-        string c_TEST_ID = "P001";
-        string c_PROPERTYNAME = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        System.Runtime.CompilerServices.AccessedThroughPropertyAttribute atpa = new System.Runtime.CompilerServices.AccessedThroughPropertyAttribute(c_PROPERTYNAME);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            if (atpa.PropertyName != c_PROPERTYNAME)
-            {
-                string errorDesc = "value is not " + c_PROPERTYNAME + " as expected: Actual is " + atpa.PropertyName;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-            
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string c_TEST_DESC = "PosTest2: Verfify the PropertyName is empty ... ";
-        string c_TEST_ID = "P002";
-        string c_PROPERTYNAME = "";
-
-        System.Runtime.CompilerServices.AccessedThroughPropertyAttribute atpa = new System.Runtime.CompilerServices.AccessedThroughPropertyAttribute(c_PROPERTYNAME);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            if (atpa.PropertyName != c_PROPERTYNAME)
-            {
-                string errorDesc = "value is not " + c_PROPERTYNAME + " as expected: Actual is empty"; 
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string c_TEST_DESC = "PosTest3: Verfify the PropertyName is a null reference ... ";
-        string c_TEST_ID = "P003";
-        string c_PROPERTYNAME = null;
-
-        System.Runtime.CompilerServices.AccessedThroughPropertyAttribute atpa = new System.Runtime.CompilerServices.AccessedThroughPropertyAttribute(c_PROPERTYNAME);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            if (atpa.PropertyName != c_PROPERTYNAME)
-            {
-                string errorDesc = "value is not " + c_PROPERTYNAME + " as expected: Actual is null"; 
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexcpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilationrelaxations/AttributeCtor1.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilationrelaxations/AttributeCtor1.csproj
deleted file mode 100644 (file)
index 8f70feb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="compilationrelaxationsattributector1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilationrelaxations/compilationrelaxationsattributector1.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilationrelaxations/compilationrelaxationsattributector1.cs
deleted file mode 100644 (file)
index d57aa8a..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-///<summary>
-///System.Runtime.CompilerServices.CompilationRelaxationsAttribute.Ctor(int) [v-zuolan]
-///</summary>
-
-public class CompilationRelaxationsAttributeCtor
-{
-
-    public static int Main()
-    {
-        CompilationRelaxationsAttributeCtor testObj = new CompilationRelaxationsAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("for constructor of System.Runtime.CompilerServices.CompilationRelaxationsAttribute");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-
-    #region Test Logic
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        int expectedValue = TestLibrary.Generator.GetInt32(-55);
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Create a instance with random parameter.");
-        try
-        {
-            CompilationRelaxationsAttribute cRA = new CompilationRelaxationsAttribute(expectedValue);
-            actualValue = cRA.CompilationRelaxations;
-
-            if (expectedValue != actualValue)
-            {
-                TestLibrary.TestFramework.LogError("001", "ExpectedValue(" + expectedValue + ") !=ActualValue(" + actualValue + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e + "when expectedValue is:" + expectedValue);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        int expectedValue = int.MaxValue;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Create a instance with MaxValue.");
-        try
-        {
-            CompilationRelaxationsAttribute cRA = new CompilationRelaxationsAttribute(expectedValue);
-            actualValue = cRA.CompilationRelaxations;
-
-            if (expectedValue != actualValue)
-            {
-                TestLibrary.TestFramework.LogError("003", "ExpectedValue(" + expectedValue + ") !=ActualValue(" + actualValue + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        int expectedValue = int.MinValue;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Create a instance with MinValue.");
-        try
-        {
-            CompilationRelaxationsAttribute cRA = new CompilationRelaxationsAttribute(expectedValue);
-            actualValue = cRA.CompilationRelaxations;
-
-            if (expectedValue != actualValue)
-            {
-                TestLibrary.TestFramework.LogError("005", "ExpectedValue(" + expectedValue + ") !=ActualValue(" + actualValue + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilergeneratedattribute/CompilerGeneratedAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilergeneratedattribute/CompilerGeneratedAttributeCtor.csproj
deleted file mode 100644 (file)
index 26fe52b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="compilergeneratedattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilergeneratedattribute/compilergeneratedattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/compilergeneratedattribute/compilergeneratedattributector.cs
deleted file mode 100644 (file)
index 978e975..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime;
-
-/// <summary>
-/// System.Runtime.CompilerServices.CompilerGeneratedAttribute.Ctor()
-/// </summary>
-public class CompilerGeneratedAttributeCtor
-{
-
-    public static int Main()
-    {
-        CompilerGeneratedAttributeCtor cgaCtor = new CompilerGeneratedAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("Testing for Method: System.Runtime.CompilerServices.CompilerGeneratedAttribute.Ctor()...");
-
-        if (cgaCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1: Create a new CompilerGeneratedAttribute instance ... ";
-        const string c_TEST_ID = "P001";
-
-        
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            System.Runtime.CompilerServices.CompilerGeneratedAttribute cga = new System.Runtime.CompilerServices.CompilerGeneratedAttribute();
-            if (cga == null)
-            {
-                string errorDesc = "the CompilerGeneratedAttribute ctor error occurred.)";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexcpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/customconstantattribute/CustomConstantAttributector.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/customconstantattribute/CustomConstantAttributector.csproj
deleted file mode 100644 (file)
index d64cc68..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="customconstantattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/customconstantattribute/customconstantattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/customconstantattribute/customconstantattributector.cs
deleted file mode 100644 (file)
index 6b7dd18..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// CustomConstantAttribute.Ctor()
-/// </summary>
-public class CustomConstantAttributector
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Using a derived class to call the protected Ctor method of base class");
-
-        try
-        {
-            TestClass testClass = new TestClass();
-            if (testClass == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "The Constructor did not create a new instance as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        CustomConstantAttributector test = new CustomConstantAttributector();
-
-        TestLibrary.TestFramework.BeginTestCase("CustomConstantAttributector");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
-public class TestClass : CustomConstantAttribute
-{
-    public TestClass()
-        : base()
-    {
-    }
-    public override object Value
-    {
-        get { throw new System.Exception("The method or operation is not implemented."); }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/indexernameattribute/IndexerNameAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/indexernameattribute/IndexerNameAttributeCtor.csproj
deleted file mode 100644 (file)
index 109d630..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="indexernameattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/indexernameattribute/indexernameattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/indexernameattribute/indexernameattributector.cs
deleted file mode 100644 (file)
index e4792b7..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime;
-
-/// <summary>
-/// System.Runtime.CompilerServices.IndexerNameAttribute.Ctor()
-/// </summary>
-public class IndexerNameAttributeCtor
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IndexerNameAttributeCtor atpaCtor = new IndexerNameAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("Testing for Method: System.Runtime.CompilerServices.IndexerNameAttribute.Ctor()...");
-
-        if (atpaCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest1: Create a new IndexerNameAttribute instance ... ";
-        const string c_TEST_ID = "P001";
-
-        string c_PROPERTYNAME = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            System.Runtime.CompilerServices.IndexerNameAttribute atpa = new System.Runtime.CompilerServices.IndexerNameAttribute(c_PROPERTYNAME);
-            if (atpa == null)
-            {
-                string errorDesc = "the IndexerNameAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is " + c_PROPERTYNAME;
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest2: the parameter is empty ... ";
-        const string c_TEST_ID = "P002";
-
-        string c_PROPERTYNAME = "";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            System.Runtime.CompilerServices.IndexerNameAttribute atpa = new System.Runtime.CompilerServices.IndexerNameAttribute(c_PROPERTYNAME);
-            if (atpa == null)
-            {
-                string errorDesc = "the IndexerNameAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is empty";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        const string c_TEST_DESC = "PosTest3: the parameter is a null reference ... ";
-        const string c_TEST_ID = "P003";
-
-        string c_PROPERTYNAME = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            System.Runtime.CompilerServices.IndexerNameAttribute atpa = new System.Runtime.CompilerServices.IndexerNameAttribute(c_PROPERTYNAME);
-            if (atpa == null)
-            {
-                string errorDesc = "the IndexerNameAttribute ctor error occurred.)";
-                errorDesc += "\n parameter is a null reference";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "unexpected exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/IVTAAssemblyName.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/IVTAAssemblyName.csproj
deleted file mode 100644 (file)
index 5a96be9..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="internalsvisibletoattributeassemblyname.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/IVTACtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/IVTACtor.csproj
deleted file mode 100644 (file)
index 1b0d812..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="internalsvisibletoattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/internalsvisibletoattributeassemblyname.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/internalsvisibletoattributeassemblyname.cs
deleted file mode 100644 (file)
index 57c42b1..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// InternalsVisibleToAttribute.AssemblyName [v-yaduoj]
-/// </summary>
-public class InternalsVisibleToAttributeAssemblyName
-{
-    public static int Main()
-    {
-        InternalsVisibleToAttributeAssemblyName testObj = new InternalsVisibleToAttributeAssemblyName();
-
-        TestLibrary.TestFramework.BeginTestCase("for property: InternalsVisibleToAttribute.AssemblyName");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: Get a normal friend assembly name.";
-        string errorDesc;
-
-        string assemblyName;
-        string actualFriendAssemblyName;
-        assemblyName = "myTestCase.dll";
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            InternalsVisibleToAttribute internalIsVisibleTo = new InternalsVisibleToAttribute(assemblyName);
-            actualFriendAssemblyName = internalIsVisibleTo.AssemblyName;
-            if (actualFriendAssemblyName != assemblyName)
-            {
-                errorDesc = "The friend assembly name is not the value \"" + assemblyName + 
-                            "\" as expected, Actually\"" + actualFriendAssemblyName + "\"";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        string c_TEST_DESC = "PosTest2: Get a friend assembly name that is an emtpy string.";
-        string errorDesc;
-
-        string assemblyName;
-        string actualFriendAssemblyName;
-        assemblyName = string.Empty;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            InternalsVisibleToAttribute internalIsVisibleTo = new InternalsVisibleToAttribute(assemblyName);
-            actualFriendAssemblyName = internalIsVisibleTo.AssemblyName;
-            if (actualFriendAssemblyName != assemblyName)
-            {
-                errorDesc = "The friend assembly name is not an empty string as expected, Actually\"" +
-                            actualFriendAssemblyName + "\"";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        string c_TEST_DESC = "PosTest3: Get a friend assembly name that is a null reference.";
-        string errorDesc;
-
-        string assemblyName;
-        string actualFriendAssemblyName;
-        assemblyName = null;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            InternalsVisibleToAttribute internalIsVisibleTo = new InternalsVisibleToAttribute(assemblyName);
-            actualFriendAssemblyName = internalIsVisibleTo.AssemblyName;
-            if (actualFriendAssemblyName != assemblyName)
-            {
-                errorDesc = "The friend assembly name is not a null reference as expected, Actually\"" + 
-                            actualFriendAssemblyName + "\"";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        string c_TEST_DESC = "PosTest4: Get a friend assembly name containing special characters.";
-        string errorDesc;
-
-        string assemblyName;
-        string actualFriendAssemblyName;
-        assemblyName = "::B:" + System.IO.Path.DirectorySeparatorChar + "\n\v\r\t\0myTestCase.dll";
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            InternalsVisibleToAttribute internalIsVisibleTo = new InternalsVisibleToAttribute(assemblyName);
-            actualFriendAssemblyName = internalIsVisibleTo.AssemblyName;
-            if (actualFriendAssemblyName != assemblyName)
-            {
-                errorDesc = "The friend assembly name is not the value \"" + assemblyName +
-                            "\" as expected, Actually\"" + actualFriendAssemblyName + "\"";
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/internalsvisibletoattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/internalsvisibletoattributector.cs
deleted file mode 100644 (file)
index a2f9dae..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// InternalsVisibleToAttribute.Ctor(System.String)
-/// </summary>
-public class InternalsVisibleToAttributeCtor
-{
-    private const string c_ASSEMBLY_NAME = "AssemblyName";
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call the constructor directly");
-
-        try
-        {
-            InternalsVisibleToAttribute internalsVisibleToAttribute = new InternalsVisibleToAttribute(c_ASSEMBLY_NAME);
-            if (internalsVisibleToAttribute == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "The Constructor did not create a new instance as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        InternalsVisibleToAttributeCtor test = new InternalsVisibleToAttributeCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("InternalsVisibleToAttributeCtor");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/MethodImplOptionsNoInlining.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/MethodImplOptionsNoInlining.csproj
deleted file mode 100644 (file)
index d531a99..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="methodimploptionsnoinlining.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/MethodImplOptionsPreserveSig.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/MethodImplOptionsPreserveSig.csproj
deleted file mode 100644 (file)
index 4e66828..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="methodimploptionspreservesig.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/methodimploptionsnoinlining.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/methodimploptionsnoinlining.cs
deleted file mode 100644 (file)
index d307378..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// MethodImplOptions.NoInlining(v-yaduoj)
-/// </summary>
-public class MethodImplOptionsTest
-{
-    private enum MyMethodImplOptions
-    {
-        Unmanaged = System.Reflection.MethodImplAttributes.NoInlining,
-        ForwardRef = System.Reflection.MethodImplAttributes.NoInlining,
-        PreserveSig = System.Reflection.MethodImplAttributes.NoInlining,
-        InternalCall = System.Reflection.MethodImplAttributes.InternalCall,
-        Synchronized = System.Reflection.MethodImplAttributes.Synchronized,
-        NoInlining = System.Reflection.MethodImplAttributes.NoInlining,
-    }
-
-    public static int Main()
-    {
-        MethodImplOptionsTest testObj = new MethodImplOptionsTest();
-
-        TestLibrary.TestFramework.BeginTestCase("for Enumeration: MethodImplOptions.NoInlining");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: method implementation options is NoInlining";
-        string errorDesc;
-
-        int expectedValue;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            expectedValue = (int)MyMethodImplOptions.NoInlining;
-            actualValue = (int)MethodImplOptions.NoInlining;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "NoInlining value of MethodImplOptions is not the value " + expectedValue +
-                            "as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/methodimploptionspreservesig.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/methodimploptions/methodimploptionspreservesig.cs
deleted file mode 100644 (file)
index 2a437e4..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// MethodImplOptions.PreserveSig(v-yaduoj)
-/// </summary>
-public class MethodImplOptionsTest
-{
-    private enum MyMethodImplOptions
-    {
-        Unmanaged = System.Reflection.MethodImplAttributes.PreserveSig,
-        ForwardRef = System.Reflection.MethodImplAttributes.PreserveSig,
-        PreserveSig = System.Reflection.MethodImplAttributes.PreserveSig,
-        InternalCall = System.Reflection.MethodImplAttributes.InternalCall,
-        Synchronized = System.Reflection.MethodImplAttributes.Synchronized,
-        NoInlining = System.Reflection.MethodImplAttributes.NoInlining,
-    }
-
-    public static int Main()
-    {
-        MethodImplOptionsTest testObj = new MethodImplOptionsTest();
-
-        TestLibrary.TestFramework.BeginTestCase("for Enumeration: MethodImplOptions.PreserveSig");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: method implementation options is PreserveSig";
-        string errorDesc;
-
-        int expectedValue;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            expectedValue = (int)MyMethodImplOptions.PreserveSig;
-            actualValue = (int)MethodImplOptions.PreserveSig;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "PreserveSig value of MethodImplOptions is not the value " + expectedValue +
-                            "as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/RCAttrWrapNEThrows.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/RCAttrWrapNEThrows.csproj
deleted file mode 100644 (file)
index ad66460..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="runtimecompatibilityattributewrapnonexceptionthrows.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/RuntimeCompatAttrCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/RuntimeCompatAttrCtor.csproj
deleted file mode 100644 (file)
index e579fd2..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="runtimecompatibilityattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/runtimecompatibilityattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/runtimecompatibilityattributector.cs
deleted file mode 100644 (file)
index 44d26b1..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// RuntimeCompatibilityAttribute constructor() [v-yaduoj]
-/// </summary>
-public class RuntimeCompatibilityAttributeCtor
-{
-    public static int Main()
-    {
-        RuntimeCompatibilityAttributeCtor testObj = new RuntimeCompatibilityAttributeCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("for RuntimeCompatibilityAttribute()");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: initialize an instance of type RuntimeCompatibilityAttribute via default constructor";
-        string errorDesc;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            RuntimeCompatibilityAttribute runtimeCompaibilityAtt = new RuntimeCompatibilityAttribute();
-            if (null == runtimeCompaibilityAtt)
-            {
-                errorDesc = "Failed to initialize an instance of type RuntimeCompatibilityAttribute via default constructor.";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/runtimecompatibilityattributewrapnonexceptionthrows.cs b/tests/src/CoreMangLib/cti/system/runtime/compilerservices/runtimecompatibilityattribute/runtimecompatibilityattributewrapnonexceptionthrows.cs
deleted file mode 100644 (file)
index 9f33e04..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// RuntimeCompatibilityAttribute.WrapNonExceptionThrows [v-yaduoj]
-/// </summary>
-public class RuntimeCompatibilityAttributeWrapNonExceptionThrows
-{
-    public static int Main()
-    {
-        RuntimeCompatibilityAttributeWrapNonExceptionThrows testObj = new RuntimeCompatibilityAttributeWrapNonExceptionThrows();
-
-        TestLibrary.TestFramework.BeginTestCase("for RuntimeCompatibilityAttribute.WrapNonExceptionThrows");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        string c_TEST_DESC = "PosTest1: Verify get accessor of property RuntimeCompatibilityAttribute.WrapNonExceptionThrows";
-        string errorDesc;
-
-        bool expectedValue, actualValue;
-        expectedValue = false;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            RuntimeCompatibilityAttribute runtimeCompaibilityAtt = new RuntimeCompatibilityAttribute();
-            actualValue = runtimeCompaibilityAtt.WrapNonExceptionThrows;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The value of property RuntimeCompatibilityAttribute.WrapNonExceptionThrows " +
-                            "is not the value " + expectedValue + " as expected, actually(" + actualValue +
-                            ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        string c_TEST_DESC = "PosTest2: Verify set accessor of property RuntimeCompatibilityAttribute.WrapNonExceptionThrows";
-        string errorDesc;
-
-        bool expectedValue, actualValue;
-        expectedValue = (TestLibrary.Generator.GetInt32(-55) & 1) == 0;
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            RuntimeCompatibilityAttribute runtimeCompaibilityAtt = new RuntimeCompatibilityAttribute();
-            runtimeCompaibilityAtt.WrapNonExceptionThrows = expectedValue;
-            actualValue = runtimeCompaibilityAtt.WrapNonExceptionThrows;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The value of property RuntimeCompatibilityAttribute.WrapNonExceptionThrows " +
-                            "is not the value " + expectedValue +  " as expected, actually(" + actualValue +
-                            ")";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/DecimalConstantAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/DecimalConstantAttributeCtor.csproj
deleted file mode 100644 (file)
index 9d4bd98..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalconstantattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/DecimalConstantAttributeValue.csproj b/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/DecimalConstantAttributeValue.csproj
deleted file mode 100644 (file)
index c5777f3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="decimalconstantattributevalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/decimalconstantattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/decimalconstantattributector.cs
deleted file mode 100644 (file)
index bd99a9f..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// ctor(System.Byte,System.Byte,System.UInt32,System.UInt32,System.UInt32)
-/// </summary>
-public class DecimalConstantAttributeCtor
-{
-  
-
-    public static int Main(string[] args)
-    {
-        DecimalConstantAttributeCtor DecimalConstantAttributeCtor = new DecimalConstantAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("DecimalConstantAttributeCtor");
-
-        if (DecimalConstantAttributeCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Create a new DecimalConstantAttribute instance.");
-
-        try
-        {
-            DecimalConstantAttribute myDAttribute = new DecimalConstantAttribute(0, 0, 0x00000000, 0x00000000, 0x00000000);
-
-            if (myDAttribute == null)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Occurs error when Construct DecimalConstantAttribute !");
-                retVal = false;
-            }
-           
-            myDAttribute = new DecimalConstantAttribute(28, 1, 0x00000000, 0x00000000, 0x00000000);
-
-            if (myDAttribute == null)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Occurs error when Construct DecimalConstantAttribute !");
-                retVal = false;
-            }
-
-            myDAttribute = new DecimalConstantAttribute(28, 0, 0x00000000, 0x00000000, 0x00000001);
-
-            if (myDAttribute == null)
-            {
-                TestLibrary.TestFramework.LogError("001.3", "Occurs error when Construct DecimalConstantAttribute !");
-                retVal = false;
-            }
-
-            myDAttribute = new DecimalConstantAttribute(28, 1, 0x00000000, 0x00000000, 0x00000001);
-
-            if (myDAttribute == null)
-            {
-                TestLibrary.TestFramework.LogError("001.4", "Occurs error when Construct DecimalConstantAttribute !");
-                retVal = false;
-            }
-
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: scale > 28.");
-
-        try
-        {
-            DecimalConstantAttribute myDAttribute = new DecimalConstantAttribute(29, 0, 0x00000000, 0x00000000, 0x00000000);
-            TestLibrary.TestFramework.LogError("101.1", "ArgumentOutOfRangeException should be caught.");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/decimalconstantattributevalue.cs b/tests/src/CoreMangLib/cti/system/runtime/decimalconstantattribute/decimalconstantattributevalue.cs
deleted file mode 100644 (file)
index fed9fb9..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-
-/// <summary>
-/// Value
-/// </summary>
-public class DecimalConstantAttributeValue
-{
-
-
-    public static int Main(string[] args)
-    {
-        DecimalConstantAttributeValue DecimalConstantAttributeValue = new DecimalConstantAttributeValue();
-        TestLibrary.TestFramework.BeginTestCase("DecimalConstantAttributeValue");
-
-        if (DecimalConstantAttributeValue.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Get the DecimalConstantAttribute Value.");
-
-        try
-        {
-            DecimalConstantAttribute myDAttribute = new DecimalConstantAttribute(0, 0, 0x00000000, 0x00000000, 0x00000000);
-            decimal expectDecimal = 0;
-            if (myDAttribute.Value != expectDecimal)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Occurs error when Construct DecimalConstantAttribute !");
-                retVal = false;
-            }
-
-            myDAttribute = new DecimalConstantAttribute(28, 1, 0x00000000, 0x00000000, 0x00000000);
-            expectDecimal = 0;
-            if (myDAttribute.Value != expectDecimal)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "Occurs error when Construct DecimalConstantAttribute,should return " + expectDecimal);
-                retVal = false;
-            }
-
-            myDAttribute = new DecimalConstantAttribute(28, 0, 0x00000000, 0x00000000, 0x00000001);
-            expectDecimal = 1e-28m;
-            if (myDAttribute.Value != expectDecimal)
-            {
-                TestLibrary.TestFramework.LogError("001.3", "Occurs error when Construct DecimalConstantAttribute ,should return " + expectDecimal);
-                retVal = false;
-            }
-
-            myDAttribute = new DecimalConstantAttribute(28, 1, 0x00000000, 0x00000000, 0x00000001);
-            expectDecimal = -(1e-28m);
-            if (myDAttribute.Value != expectDecimal)
-            {
-                TestLibrary.TestFramework.LogError("001.4", "Occurs error when Construct DecimalConstantAttribute ,should return " + expectDecimal);
-                retVal = false;
-            }
-            myDAttribute = new DecimalConstantAttribute(28, 1, 0x00000001, 0x00000001, 0x00000001);
-            expectDecimal = -0.0000000018446744078004518913m;
-            if (myDAttribute.Value != expectDecimal)
-            {
-                TestLibrary.TestFramework.LogError("001.5", "Occurs error when Construct DecimalConstantAttribute ,should return " + expectDecimal);
-                retVal = false;
-            }
-
-            myDAttribute = new DecimalConstantAttribute(28, 100, 0x00000001, 0x00000001, 0x00000001);
-            expectDecimal = -0.0000000018446744078004518913m;
-            if (myDAttribute.Value != expectDecimal)
-            {
-                TestLibrary.TestFramework.LogError("001.6", "Occurs error when Construct DecimalConstantAttribute ,should return " + expectDecimal);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeCtor.csproj
deleted file mode 100644 (file)
index 46e476a..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="fixedbufferattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeElementType.csproj b/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeElementType.csproj
deleted file mode 100644 (file)
index 2f012a7..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="fixedbufferattributeelementtype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeLength.csproj b/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/FixedBufferAttributeLength.csproj
deleted file mode 100644 (file)
index 5245bd1..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="fixedbufferattributelength.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributector.cs
deleted file mode 100644 (file)
index 28c88d0..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-/// <summary>
-///ctor(System.Type,System.Int32)
-/// </summary>
-public class FixedBufferAttributeCtor
-{
-    #region const
-    int c_LENGTH = 1024;
-    #endregion
-    public static int Main(string[] args)
-    {
-        FixedBufferAttributeCtor FixedBufferAttributeCtor = new FixedBufferAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("FixedBufferAttributeCtor");
-
-        if (FixedBufferAttributeCtor.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Create a new  FixedBufferAttribute instance.");
-
-        try
-        {
-            retVal = VerificationHelper(typeof(string), c_LENGTH, "001.1") && retVal;
-            retVal = VerificationHelper(typeof(int), c_LENGTH + c_LENGTH, "001.2") && retVal;
-            retVal = VerificationHelper(typeof(object), c_LENGTH * 3, "001.3") && retVal;
-            retVal = VerificationHelper(typeof(object), Int32.MaxValue, "001.4") && retVal;
-            retVal = VerificationHelper(typeof(object), Int32.MinValue, "001.5") && retVal;
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #region private method
-    private bool VerificationHelper(Type elementType, int length, string errorNO)
-    {
-        bool retVal = true;
-        try
-        {
-            FixedBufferAttribute myDAttribute = new FixedBufferAttribute(elementType, length);
-
-            if (myDAttribute == null)
-            {
-                TestLibrary.TestFramework.LogError(errorNO + ".1", "Occurs error when Construct FixedBufferAttribute instance !");
-                retVal = false;
-            }
-            if (myDAttribute.ElementType != elementType || myDAttribute.Length != length)
-            {
-                TestLibrary.TestFramework.LogError(errorNO + ".2", "Construct an error FixedBufferAttribute instance !");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(errorNO + ".0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributeelementtype.cs b/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributeelementtype.cs
deleted file mode 100644 (file)
index ca21338..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-/// <summary>
-///ElementType
-/// </summary>
-public class FixedBufferAttributeElementType
-{
-    #region const
-    int c_LENGTH = 1024;
-    #endregion
-    public static int Main(string[] args)
-    {
-        FixedBufferAttributeElementType FixedBufferAttributeElementType = new FixedBufferAttributeElementType();
-        TestLibrary.TestFramework.BeginTestCase("FixedBufferAttributeElementType");
-
-        if (FixedBufferAttributeElementType.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Getting ElementType.");
-
-        try
-        {
-            retVal = VerificationHelper(typeof(string), c_LENGTH,"001.1") && retVal;
-            retVal = VerificationHelper(typeof(int), c_LENGTH + c_LENGTH, "001.2") && retVal;
-            retVal = VerificationHelper(typeof(object), c_LENGTH * 3, "001.3") && retVal;
-     
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #region private method
-    private bool VerificationHelper(Type elementType,int length,string errorNO)
-    {
-        bool retVal = true;
-        try
-        {
-            FixedBufferAttribute myDAttribute = new FixedBufferAttribute(elementType, length);
-           
-            if (myDAttribute.ElementType != elementType )
-            {
-                TestLibrary.TestFramework.LogError(errorNO, "Getting ElementType has an error occured");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(errorNO+".0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributelength.cs b/tests/src/CoreMangLib/cti/system/runtime/fixedbufferattribute/fixedbufferattributelength.cs
deleted file mode 100644 (file)
index 696c9ca..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.CompilerServices;
-/// <summary>
-///Length
-/// </summary>
-public class FixedBufferAttributeLength
-{
-    #region const
-    int c_LENGTH = 1024;
-    #endregion
-    public static int Main(string[] args)
-    {
-        FixedBufferAttributeLength FixedBufferAttributeLength = new FixedBufferAttributeLength();
-        TestLibrary.TestFramework.BeginTestCase("FixedBufferAttributeLength");
-
-        if (FixedBufferAttributeLength.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Getting Length.");
-
-        try
-        {
-            retVal = VerificationHelper(typeof(string), c_LENGTH, "001.1") && retVal;
-            retVal = VerificationHelper(typeof(int), c_LENGTH + c_LENGTH, "001.2") && retVal;
-            retVal = VerificationHelper(typeof(object), c_LENGTH * 3, "001.3") && retVal;
-            retVal = VerificationHelper(typeof(int), int.MaxValue, "001.4") && retVal;
-            retVal = VerificationHelper(typeof(object), int.MinValue, "001.5") && retVal;
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #region private method
-    private bool VerificationHelper(Type elementType, int length, string errorNO)
-    {
-        bool retVal = true;
-        try
-        {
-            FixedBufferAttribute myDAttribute = new FixedBufferAttribute(elementType, length);
-
-            if (myDAttribute.Length != length)
-            {
-                TestLibrary.TestFramework.LogError(errorNO, "an error occurs when get Length. !");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(errorNO + ".0", "Unexpected exception occurs: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/dllimportattribute/DllImportTest.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/dllimportattribute/DllImportTest.csproj
deleted file mode 100644 (file)
index 3c8f4df..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>SharedLibrary</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="dllimporttest.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="../../../../../../Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/dllimportattribute/dllimporttest.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/dllimportattribute/dllimporttest.cs
deleted file mode 100644 (file)
index 2d0cd57..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-
-/// <summary>
-/// This namespace and class were created for the DllImport CTI tests
-/// </summary>
-namespace DllImportTest
-{
-    /// <summary>
-    /// Simple static class containing a DllImport to be used in CoreMangLib\CTI\System\Runtime\InteropServices\DllImportAttribute tests
-    /// Since the tests aren't actually calling anything referenced by the DllImport, the imported dll and the function can be fake.
-    /// </summary>
-    public static class DllImportTestClass
-    {
-
-        [DllImport("DllFakeImport.dll")]
-        public static extern int BogusFunction();
-
-    }
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/FieldOffsetAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/FieldOffsetAttributeCtor.csproj
deleted file mode 100644 (file)
index 58c7f6f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="fieldoffsetattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/FieldOffsetAttributeValue.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/FieldOffsetAttributeValue.csproj
deleted file mode 100644 (file)
index 59d1836..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="fieldoffsetattributevalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/fieldoffsetattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/fieldoffsetattributector.cs
deleted file mode 100644 (file)
index 3f7d542..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// FieldOffsetAttribute.ctor(Int32) [v-minch]
-/// </summary>
-public class FieldOffsetAttributeCtor
-{
-    public static int Main()
-    {
-        FieldOffsetAttributeCtor test = new FieldOffsetAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("FieldOffsetAttribute.Ctor");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Initialize a new instance of the FieldOffsetAttribute class with the offset in the structure to the beginning of the field 1");
-        try
-        {
-            int offset = Int32.MaxValue;
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute == null || myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("001", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Initialize a new instance of the FieldOffsetAttribute class with the offset in the structure to the beginning of the field 2");
-        try
-        {
-            int offset = 0;
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute == null || myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("003", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Initialize a new instance of the FieldOffsetAttribute class with the offset in the structure to the beginning of the field 3");
-        try
-        {
-            int offset = TestLibrary.Generator.GetInt32(-55);
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute == null || myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("005", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Initialize a new instance of the FieldOffsetAttribute class with the offset in the structure to the beginning of the field 4");
-        try
-        {
-            int offset = Int32.MinValue;
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute == null || myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("007", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/fieldoffsetattributevalue.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/fieldoffsetattribute/fieldoffsetattributevalue.cs
deleted file mode 100644 (file)
index e656946..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// FieldOffsetAttribute.Value [v-minch]
-/// </summary>
-public class FieldOffsetAttributeValue
-{
-    public static int Main()
-    {
-        FieldOffsetAttributeValue test = new FieldOffsetAttributeValue();
-        TestLibrary.TestFramework.BeginTestCase("FieldOffsetAttribute.Value");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Verify the value of initialized instance of the FieldOffsetAttribute 1");
-        try
-        {
-            int offset = Int32.MaxValue;
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("001", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Verify the value of initialized instance of the FieldOffsetAttribute 2");
-        try
-        {
-            int offset = 0;
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("003", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Verify the value of initialized instance of the FieldOffsetAttribute 3");
-        try
-        {
-            int offset = TestLibrary.Generator.GetInt32(-55);
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("005", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Verify the value of initialized instance of the FieldOffsetAttribute 4");
-        try
-        {
-            int offset = Int32.MinValue;
-            FieldOffsetAttribute myFieldOffsetAttribute = new FieldOffsetAttribute(offset);
-            if (myFieldOffsetAttribute.Value != offset)
-            {
-                TestLibrary.TestFramework.LogError("007", "the initialized FieldOffsetAttribute ExpectedValue is " + offset + " but the ActualValue is " + myFieldOffsetAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleAddrOfPinnedObject_PSC.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleAddrOfPinnedObject_PSC.csproj
deleted file mode 100644 (file)
index 8850708..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gchandleaddrofpinnedobject.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleAlloc1_PSC.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleAlloc1_PSC.csproj
deleted file mode 100644 (file)
index bbb93e0..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gchandlealloc1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleFree_PSC.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleFree_PSC.csproj
deleted file mode 100644 (file)
index 7a71d92..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gchandlefree.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleTarget_PSC.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/GCHandleTarget_PSC.csproj
deleted file mode 100644 (file)
index d875465..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="gchandletarget.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandleaddrofpinnedobject.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandleaddrofpinnedobject.cs
deleted file mode 100644 (file)
index 7e2d0e7..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-using System.Runtime.InteropServices;
-
-
-[SecuritySafeCritical]
-/// <summary>
-/// AddrOfPinnedObject
-/// </summary>
-public class GCHandleAddrOfPinnedObject
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call AddrOfPinnedObject to get address of Pinned object");
-
-        try
-        {
-            GCHandle handle = GCHandle.Alloc(TestLibrary.Generator.GetInt32(-55), GCHandleType.Pinned);
-
-            IntPtr ptr = handle.AddrOfPinnedObject();
-
-            if (ptr == IntPtr.Zero)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Call AddrOfPinnedObject to get address of Pinned object returns NULL");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: InvalidOperationException should be thrown when The handle is any type other than Pinned. ");
-
-        try
-        {
-            GCHandle handle = GCHandle.Alloc(TestLibrary.Generator.GetInt32(-55), GCHandleType.Normal);
-
-            IntPtr ptr = handle.AddrOfPinnedObject();
-
-            TestLibrary.TestFramework.LogError("001.1", "InvalidOperationException is not thrown when The handle is any type other than Pinned. ");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCHandleAddrOfPinnedObject test = new GCHandleAddrOfPinnedObject();
-
-        TestLibrary.TestFramework.BeginTestCase("GCHandleAddrOfPinnedObject");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandlealloc1.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandlealloc1.cs
deleted file mode 100644 (file)
index 2e0c5cc..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-using System.Runtime.InteropServices;
-
-
-[SecuritySafeCritical]
-public class TestNonBittableClass
-{
-    public Object m_Object;
-    public string m_String;
-}
-
-
-[SecuritySafeCritical]
-public class TestBittableClass
-{
-    public int m_TestInt;
-}
-
-/// <summary>
-/// Alloc(System.Object)
-/// </summary>
-
-[SecuritySafeCritical]
-public class GCHandleAlloc1
-{
-    #region Private Fields
-    private const int c_ARRAY_SIZE = 256;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Alloc to alloc memory for a value type instance");
-
-        try
-        {
-            retVal = VerificationHelper(TestLibrary.Generator.GetInt32(-55), "001.1") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetInt64(-55), "001.2") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetDouble(-55), "001.3") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetChar(-55), "001.4") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetByte(-55), "001.5") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetSingle(-55), "001.6") && retVal;
-
-            byte[] bytes = new byte[c_ARRAY_SIZE];
-            TestLibrary.Generator.GetBytes(-55, bytes);
-            retVal = VerificationHelper(bytes, "001.7") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call Alloc to alloc memory for a class contains value type only instance");
-
-        try
-        {
-            Object obj = new TestBittableClass();
-            retVal = VerificationHelper(obj, "002.1") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Call Alloc to alloc memory for a non blittable type instance");
-
-        try
-        {
-            string randValue = TestLibrary.Generator.GetString(-55, false, 1, c_ARRAY_SIZE);
-            TestNonBittableClass obj = new TestNonBittableClass();
-            obj.m_Object = new Object();
-            obj.m_String = randValue;
-
-            retVal = VerificationHelper(new Object(), "003.1") && retVal;
-            retVal = VerificationHelper(randValue, "003.2") && retVal;
-            retVal = VerificationHelper(obj, "003.3") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        GCHandleAlloc1 test = new GCHandleAlloc1();
-
-        TestLibrary.TestFramework.BeginTestCase("GCHandleAlloc1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Methods
-
-    private bool VerificationHelper(object obj, string errorNo)
-    {
-        bool retVal = true;
-
-        GCHandle handle = GCHandle.Alloc(obj);
-        if (!handle.IsAllocated)
-        {
-            TestLibrary.TestFramework.LogError(errorNo, "IsAllocated return false after GCHandle.Alloc is called");
-            retVal = false;
-        }
-
-        handle.Free();
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandlefree.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandlefree.cs
deleted file mode 100644 (file)
index cb428b5..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-using System.Runtime.InteropServices;
-
-
-[SecuritySafeCritical]
-public class TestNonBittableClass
-{
-    public Object m_Object;
-    public string m_String;
-}
-
-
-[SecuritySafeCritical]
-public class TestBittableClass
-{
-    public int m_TestInt;
-}
-
-
-/// <summary>
-/// Free
-/// </summary>
-
-[SecuritySafeCritical]
-public class GCHandleFree
-{
-    #region Private Fields
-    private const int c_ARRAY_SIZE = 256;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Free to free allocated handle");
-
-        try
-        {
-            retVal = VerificationHelper(TestLibrary.Generator.GetInt32(-55), "001.1") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetInt64(-55), "001.2") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetDouble(-55), "001.3") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetByte(-55), "001.4") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetSingle(-55), "001.5") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call Free to free allocated handle");
-
-        try
-        {
-            string randValue = TestLibrary.Generator.GetString(-55, false, 1, c_ARRAY_SIZE);
-            TestNonBittableClass obj = new TestNonBittableClass();
-            obj.m_Object = new Object();
-            obj.m_String = randValue;
-
-            retVal = VerificationHelper(new TestBittableClass(), "002.1") && retVal;
-            retVal = VerificationHelper(new Object(), "002.2") && retVal;
-            retVal = VerificationHelper(randValue, "002.3") && retVal;
-            retVal = VerificationHelper(obj, "002.4") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: InvalidOperationException should be thrown when The handle was freed.");
-
-        try
-        {
-            GCHandle handle = GCHandle.Alloc(new Object());
-            handle.Free();
-
-            handle.Free();
-
-            TestLibrary.TestFramework.LogError("101.1", "InvalidOperationException is not thrown when The handle was freed.");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: InvalidOperationException should be thrown when The handle was never initialized.");
-
-        try
-        {
-            GCHandle handle = (GCHandle)IntPtr.Zero;
-            handle.Free();
-
-            TestLibrary.TestFramework.LogError("102.1", "InvalidOperationException is not thrown when The handle was never initialized.");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCHandleFree test = new GCHandleFree();
-
-        TestLibrary.TestFramework.BeginTestCase("GCHandleFree");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Methods
-    private bool VerificationHelper(object obj, string errorNo)
-    {
-        bool retVal = true;
-
-        GCHandle handle = GCHandle.Alloc(obj);
-        handle.Free();
-
-        if (handle.IsAllocated)
-        {
-            TestLibrary.TestFramework.LogError(errorNo, "IsAllocated return true after GCHandle.Free is called");
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandletarget.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/gchandle/gchandletarget.cs
deleted file mode 100644 (file)
index 76827aa..0000000
+++ /dev/null
@@ -1,277 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-using System.Runtime.InteropServices;
-
-[SecuritySafeCritical]
-/// <summary>
-/// Target
-/// </summary>
-public class GCHandleTarget
-{
-    #region Private Fields
-    private const int c_SIZE_OF_ARRAY = 256;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Target should return correct object value passed to handle for blittable types");
-
-        try
-        {
-            retVal = VerificationHelper(TestLibrary.Generator.GetByte(-55), "001.1") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetDouble(-55), "001.2") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetInt16(-55), "001.3") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetInt32(-55), "001.4") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetInt64(-55), "001.5") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetSingle(-55), "001.6") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Target should return correct object value passed to handle for blittable types");
-
-        try
-        {
-            retVal = VerificationHelper(TestLibrary.Generator.GetChar(-55), "002.1") && retVal;
-            retVal = VerificationHelper(TestLibrary.Generator.GetString(-55, false, 1, c_SIZE_OF_ARRAY), "002.2") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Target should return correct object value passed to handle for blittable types");
-
-        try
-        {
-            byte[] bytes = new byte[c_SIZE_OF_ARRAY];
-            double[] doubles = new double[c_SIZE_OF_ARRAY];
-            short[] shorts = new short[c_SIZE_OF_ARRAY];
-            int[] ints = new int[c_SIZE_OF_ARRAY];
-            long[] longs = new long[c_SIZE_OF_ARRAY];
-            float[] floats = new float[c_SIZE_OF_ARRAY];
-
-            TestLibrary.Generator.GetBytes(-55, bytes);
-            for (int i = 0; i < doubles.Length; ++i)
-            {
-                doubles[i] = TestLibrary.Generator.GetDouble(-55);
-            }
-            for (int i = 0; i < shorts.Length; ++i)
-            {
-                shorts[i] = TestLibrary.Generator.GetInt16(-55);
-            }
-            for (int i = 0; i < ints.Length; ++i)
-            {
-                ints[i] = TestLibrary.Generator.GetInt32(-55);
-            }
-            for (int i = 0; i < longs.Length; ++i)
-            {
-                longs[i] = TestLibrary.Generator.GetInt64(-55);
-            }
-            for (int i = 0; i < floats.Length; ++i)
-            {
-                floats[i] = TestLibrary.Generator.GetSingle(-55);
-            }
-
-            retVal = VerificationHelper<byte>(bytes, "003.1") && retVal;
-            retVal = VerificationHelper<double>(doubles, "003.2") && retVal;
-            retVal = VerificationHelper<short>(shorts, "003.3") && retVal;
-            retVal = VerificationHelper<int>(ints, "003.4") && retVal;
-            retVal = VerificationHelper<long>(longs, "003.5") && retVal;
-            retVal = VerificationHelper<float>(floats, "003.6") && retVal;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: InvalidOperationException should be thrown when The handle was freed.");
-
-        try
-        {
-            GCHandle handle = GCHandle.Alloc(TestLibrary.Generator.GetInt32(-55));
-            handle.Free();
-
-            object target = handle.Target;
-            TestLibrary.TestFramework.LogError("101.1", "InvalidOperationException is not thrown when The handle was freed.");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: InvalidOperationException should be thrown when The handle was never initialized.");
-
-        try
-        {
-            GCHandle handle = (GCHandle)IntPtr.Zero;
-
-            object target = handle.Target;
-            TestLibrary.TestFramework.LogError("102.1", "InvalidOperationException is not thrown when The handle was never initialized.");
-            retVal = false;
-        }
-        catch (InvalidOperationException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        GCHandleTarget test = new GCHandleTarget();
-
-        TestLibrary.TestFramework.BeginTestCase("GCHandleTarget");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Method
-    private bool VerificationHelper(object obj, string errorNo)
-    {
-        bool retVal = true;
-
-        GCHandle handle = GCHandle.Alloc(obj);
-
-        if (handle.Target == null)
-        {
-            TestLibrary.TestFramework.LogError(errorNo, "Target returns null for valid GCHandle");
-            retVal = false;
-        }
-        else
-        {
-            if (!obj.Equals(handle.Target))
-            {
-                TestLibrary.TestFramework.LogError(errorNo, "Target returns from valid GCHandle is wrong");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] obj = " + obj + ", handle.Target = " + handle.Target);
-                retVal = false;
-            }
-        }
-        handle.Free();
-
-        return retVal;
-    }
-
-    private bool VerificationHelper<T>(T[] obj, string errorNo)
-    {
-        bool retVal = true;
-
-        GCHandle handle = GCHandle.Alloc(obj);
-
-        T[] actual = handle.Target as T[];
-        if (actual == null)
-        {
-            TestLibrary.TestFramework.LogError(errorNo, "Target returns null for valid GCHandle");
-            retVal = false;
-        }
-        else if (actual.Length != obj.Length)
-        {
-            TestLibrary.TestFramework.LogError(errorNo, "Target returns wrong array for valid GCHandle for object array");
-            TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] obj.Length = " + obj.Length + ", actual.Length = " + actual.Length);
-            retVal = false;
-        }
-        else
-        {
-            for (int i = 0; i < obj.Length; ++i)
-            {
-                if (!obj[i].Equals(actual[i]))
-                {
-                    TestLibrary.TestFramework.LogError(errorNo, "Target returns from valid GCHandle is wrong");
-                    TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] obj[i] = " + obj[i] + ", actual[i] = " + actual[i] + ", i = " + i);
-                    retVal = false;
-                }
-            }
-        }
-
-        handle.Free();
-
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/inattribute/InAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/inattribute/InAttributeCtor.csproj
deleted file mode 100644 (file)
index 70dbfe2..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="inattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/inattribute/inattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/inattribute/inattributector.cs
deleted file mode 100644 (file)
index cbe09ef..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// InAttribute.ctor()
-/// </summary>
-public class InAttributeCtor
-{
-    public static int Main()
-    {
-        InAttributeCtor test = new InAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("InAttribute.Ctor");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Initialize a instance of InAttribute class");
-        try
-        {
-            InAttribute myInAttribute = new InAttribute();
-            if (myInAttribute == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "Initialize the instance of InAttribute not successfully");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/OleAut32.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/OleAut32.csproj
deleted file mode 100644 (file)
index f6151cc..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>SharedLibrary</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="oleaut32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/oleaut32.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/oleaut32.cs
deleted file mode 100644 (file)
index 83e1d8e..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-
-namespace OleAut32
-{
-    [Guid("22F03340-547D-101B-8E65-08002B2BD119")]
-    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
-    public unsafe interface ICreateErrorInfo
-    {
-        void QueryInterface(ref Guid riid, out IntPtr *ppvObject);
-
-        long AddRef();
-
-        long Release();
-
-        void SetGUID(ref Guid rguid);
-
-        void SetSource(string szSource);
-
-        void SetDescription(string szDescription);
-
-        void SetHelpFile(string szHelpFile);
-
-        void SetHelpContext(int dwHelpContext);
-    }
-
-    [Guid("1CF2B120-547D-101B-8E65-08002B2BD119")]
-    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
-    public interface IErrorInfo
-    {
-        void GetGUID(IntPtr pGUID);
-        
-        void GetSource(ref string pBstrSource);
-        
-        void GetDescription(ref string pBstrDescription);
-        
-        void GetHelpFile(ref string pBstrHelpFile);
-        
-        void GetHelpContext(ref int pdwHelpContext);
-    }
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeArraySubType.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeArraySubType.csproj
deleted file mode 100644 (file)
index 126f139..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributearraysubtype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeCtor1.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeCtor1.csproj
deleted file mode 100644 (file)
index 4df1735..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributector1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeCtor2.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeCtor2.csproj
deleted file mode 100644 (file)
index 86941e3..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributector2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalCookie.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalCookie.csproj
deleted file mode 100644 (file)
index 8a5dd64..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributemarshalcookie.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalType.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalType.csproj
deleted file mode 100644 (file)
index 8b985db..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributemarshaltype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalTypeRef.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeMarshalTypeRef.csproj
deleted file mode 100644 (file)
index d9d1ff6..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributemarshaltyperef.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeSizeConst.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeSizeConst.csproj
deleted file mode 100644 (file)
index 31e30f1..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributesizeconst.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeSizeParamIndex.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeSizeParamIndex.csproj
deleted file mode 100644 (file)
index 7f410b1..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributesizeparamindex.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeValue.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/MarshalAsAttributeValue.csproj
deleted file mode 100644 (file)
index 442217c..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="marshalasattributevalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributearraysubtype.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributearraysubtype.cs
deleted file mode 100644 (file)
index e10fead..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.ArraySubType [v-minch]
-/// </summary>
-public class MarshalAsAttributeArraySubType
-{
-    public static int Main()
-    {
-        MarshalAsAttributeArraySubType test = new MarshalAsAttributeArraySubType();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.ArraySubType");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field ArraySubType in MarshalAsAttribute class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            UnmanagedType myVal = myMarshalAsAttribute.ArraySubType;
-            if (myVal != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is 0 but the ActualResult is " + myVal.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field ArraySubType in MarshalAsAttribute class 2");
-        try
-        {
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(UnmanagedType.ByValArray| UnmanagedType.LPArray);
-            UnmanagedType myVal = myMarshalAsAttribute.ArraySubType;
-            if (myVal != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is 0 but the ActualResult is " + myVal.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributector1.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributector1.cs
deleted file mode 100644 (file)
index 0c04f59..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.ctor(Int16) [v-minch]
-/// </summary>
-public class MarshalAsAttributeCtor1
-{
-    public static int Main()
-    {
-        MarshalAsAttributeCtor1 test = new MarshalAsAttributeCtor1();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.ctor(Int16)");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Initialize a instance of MarshalAsAttribute Class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            if (myMarshalAsAttribute == null || myMarshalAsAttribute.Value != (UnmanagedType)unmanagedType)
-            {
-                TestLibrary.TestFramework.LogError("001", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Initialize a instance of MarshalAsAttribute Class 2");
-        try
-        {
-            short unmanagedType = Int16.MinValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            if (myMarshalAsAttribute == null || myMarshalAsAttribute.Value != (UnmanagedType)unmanagedType)
-            {
-                TestLibrary.TestFramework.LogError("003", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Initialize a instance of MarshalAsAttribute Class 3");
-        try
-        {
-            short unmanagedType = TestLibrary.Generator.GetInt16(-55);
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            if (myMarshalAsAttribute == null || myMarshalAsAttribute.Value != (UnmanagedType)unmanagedType)
-            {
-                TestLibrary.TestFramework.LogError("005", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributector2.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributector2.cs
deleted file mode 100644 (file)
index 99b5e90..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.ctor(UnmanagedType) [v-minch]
-/// </summary>
-public class MarshalAsAttributeCtor2
-{
-    public static int Main()
-    {
-        MarshalAsAttributeCtor2 test = new MarshalAsAttributeCtor2();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.ctor(UnmanagedType)");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Initialize a instance of MarshalAsAttribute Class 1");
-        try
-        {
-            for (int i = 2; i <= 12; i++)
-            {
-                UnmanagedType unmanagedType = (UnmanagedType)i;
-                #region Switch
-                switch (unmanagedType)
-                {
-                    case UnmanagedType.Bool:
-                        MarshalAsAttribute myMarshalAsAttribute1 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute1 == null || myMarshalAsAttribute1.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.1", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute1.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.I1:
-                        MarshalAsAttribute myMarshalAsAttribute2 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute2 == null || myMarshalAsAttribute2.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.2", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute2.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.U1:
-                        MarshalAsAttribute myMarshalAsAttribute3 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute3 == null || myMarshalAsAttribute3.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.3", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute3.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.I2:
-                        MarshalAsAttribute myMarshalAsAttribute4 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute4 == null || myMarshalAsAttribute4.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.4", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute4.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.U2:
-                        MarshalAsAttribute myMarshalAsAttribute5 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute5 == null || myMarshalAsAttribute5.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.5", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute5.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.I4:
-                        MarshalAsAttribute myMarshalAsAttribute6 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute6 == null || myMarshalAsAttribute6.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.6", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute6.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.U4:
-                        MarshalAsAttribute myMarshalAsAttribute7 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute7 == null || myMarshalAsAttribute7.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.7", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute7.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.I8:
-                        MarshalAsAttribute myMarshalAsAttribute8 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute8 == null || myMarshalAsAttribute8.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.8", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute8.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.U8:
-                        MarshalAsAttribute myMarshalAsAttribute9 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute9 == null || myMarshalAsAttribute9.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.9", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute9.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.R4:
-                        MarshalAsAttribute myMarshalAsAttribute10 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute10 == null || myMarshalAsAttribute10.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.10", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute10.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.R8:
-                        MarshalAsAttribute myMarshalAsAttribute11 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute11 == null || myMarshalAsAttribute11.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("001.11", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute11.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                }
-                #endregion
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Initialize a instance of MarshalAsAttribute Class 2");
-        try
-        {
-            for (int i = 19; i <= 23; i++)
-            {
-                UnmanagedType unmanagedType = (UnmanagedType)i;
-                #region Switch
-                switch (unmanagedType)
-                {
-
-                    case UnmanagedType.LPStr:
-                        MarshalAsAttribute myMarshalAsAttribute2 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute2 == null || myMarshalAsAttribute2.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("003.2", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute2.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.LPWStr:
-                        MarshalAsAttribute myMarshalAsAttribute3 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute3 == null || myMarshalAsAttribute3.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("003.3", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute3.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.LPTStr:
-                        MarshalAsAttribute myMarshalAsAttribute4 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute4 == null || myMarshalAsAttribute4.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("003.4", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute4.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.ByValTStr:
-                        MarshalAsAttribute myMarshalAsAttribute5 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute5 == null || myMarshalAsAttribute5.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("003.5", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute5.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                }
-                #endregion
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-         bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Initialize a instance of MarshalAsAttribute Class 3");
-        try
-        {
-            for (int i = 25; i <= 38; i++)
-            {
-                UnmanagedType unmanagedType = (UnmanagedType)i;
-                #region Switch
-                switch (unmanagedType)
-                {
-                    case UnmanagedType.IUnknown:
-                        MarshalAsAttribute myMarshalAsAttribute6 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute6 == null || myMarshalAsAttribute6.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("005.1", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute6.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.Struct:
-                        MarshalAsAttribute myMarshalAsAttribute8 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute8 == null || myMarshalAsAttribute8.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("005.3", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute8.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.ByValArray:
-                        MarshalAsAttribute myMarshalAsAttribute11 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute11 == null || myMarshalAsAttribute11.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("005.6", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute11.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.SysInt:
-                        MarshalAsAttribute myMarshalAsAttribute12 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute12 == null || myMarshalAsAttribute12.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("005.7", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute12.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.SysUInt:
-                        MarshalAsAttribute myMarshalAsAttribute13 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute13 == null || myMarshalAsAttribute13.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("005.8", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute13.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.FunctionPtr:
-                        MarshalAsAttribute myMarshalAsAttribute18 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute18 == null || myMarshalAsAttribute18.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("005.13", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute18.Value.ToString());
-                            retVal = false;
-                        }
-                        break;                    
-                }
-                #endregion
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Initialize a instance of MarshalAsAttribute Class 4");
-        try
-        {
-            for (int i = 40; i <= 45; i++)
-            {
-                UnmanagedType unmanagedType = (UnmanagedType)i;
-                #region Switch
-                switch (unmanagedType)
-                {
-                    case UnmanagedType.AsAny:
-                        MarshalAsAttribute myMarshalAsAttribute1 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute1 == null || myMarshalAsAttribute1.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("007.1", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute1.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.LPArray:
-                        MarshalAsAttribute myMarshalAsAttribute2 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute2 == null || myMarshalAsAttribute2.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("007.2", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute2.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.LPStruct:
-                        MarshalAsAttribute myMarshalAsAttribute3 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute3 == null || myMarshalAsAttribute3.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("007.3", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute3.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                    case UnmanagedType.Error:
-                        MarshalAsAttribute myMarshalAsAttribute5 = new MarshalAsAttribute(unmanagedType);
-                        if (myMarshalAsAttribute5 == null || myMarshalAsAttribute5.Value != (UnmanagedType)unmanagedType)
-                        {
-                            TestLibrary.TestFramework.LogError("007.4", "the intance should not be null and its value ExpectResult is " + ((UnmanagedType)unmanagedType).ToString() + " but the ActualResult is " + myMarshalAsAttribute5.Value.ToString());
-                            retVal = false;
-                        }
-                        break;
-                }
-                #endregion
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshalcookie.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshalcookie.cs
deleted file mode 100644 (file)
index 7774720..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.MarshalCookie [v-minch]
-/// </summary>
-public class MarshalAsAttributeMarshalCookie
-{
-    public static int Main()
-    {
-        MarshalAsAttributeMarshalCookie test = new MarshalAsAttributeMarshalCookie();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.MarshalCookie");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field MarshalCookie in MarshalAsAttribute class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            string myMarshalCookie = myMarshalAsAttribute.MarshalCookie;
-            if (myMarshalCookie != null)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is null but the ActualResult is " + myMarshalCookie );
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field MarshalCookie in MarshalAsAttribute class 2");
-        try
-        {
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(UnmanagedType.ByValArray | UnmanagedType.LPArray);
-            string myMarshalCookie = myMarshalAsAttribute.MarshalCookie;
-            if (myMarshalCookie != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is null but the ActualResult is " + myMarshalCookie );
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshaltype.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshaltype.cs
deleted file mode 100644 (file)
index 9b13c53..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.MarshalType [v-minch]
-/// </summary>
-public class MarshalAsAttributeMarshalType
-{
-    public static int Main()
-    {
-        MarshalAsAttributeMarshalType test = new MarshalAsAttributeMarshalType();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.MarshalType");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field MarshalType in MarshalAsAttribute class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            string myMarshalType = myMarshalAsAttribute.MarshalType;
-            if (myMarshalType != null)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is null but the ActualResult is " + myMarshalType);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field MarshalType in MarshalAsAttribute class 2");
-        try
-        {
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(UnmanagedType.Currency);
-            string myMarshalType = myMarshalAsAttribute.MarshalType;
-            if (myMarshalType != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is null but the ActualResult is " + myMarshalType);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshaltyperef.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributemarshaltyperef.cs
deleted file mode 100644 (file)
index 23b4233..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.MarshalTypeRef [v-minch]
-/// </summary>
-public class MarshalAsAttributeMarshalTypeRef
-{
-    public static int Main()
-    {
-        MarshalAsAttributeMarshalTypeRef test = new MarshalAsAttributeMarshalTypeRef();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.MarshalTypeRef");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field MarshalTypeRef in MarshalAsAttribute class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            Type myMarshalTypeRef = myMarshalAsAttribute.MarshalTypeRef;
-            if (myMarshalTypeRef != null)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is null but the ActualResult is " + myMarshalTypeRef.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field MarshalTypeRef in MarshalAsAttribute class 2");
-        try
-        {
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(UnmanagedType.Bool);
-            Type myMarshalTypeRef = myMarshalAsAttribute.MarshalTypeRef;
-            if (myMarshalTypeRef != null)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is null but the ActualResult is " + myMarshalTypeRef.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributesizeconst.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributesizeconst.cs
deleted file mode 100644 (file)
index 35c6214..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.SizeConst [v-minch]
-/// </summary>
-public class MarshalAsAttributeSizeConst
-{
-    public static int Main()
-    {
-        MarshalAsAttributeSizeConst test = new MarshalAsAttributeSizeConst();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.SizeConst");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field SizeConst in MarshalAsAttribute class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            int mySizeConst = myMarshalAsAttribute.SizeConst;
-            if (mySizeConst != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is 0 but the ActualResult is " + mySizeConst);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field SizeConst in MarshalAsAttribute class 2");
-        try
-        {
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(UnmanagedType.Currency);
-            int mySizeConst = myMarshalAsAttribute.SizeConst;
-            if (mySizeConst != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is 0 but the ActualResult is " + mySizeConst);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributesizeparamindex.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributesizeparamindex.cs
deleted file mode 100644 (file)
index 591f268..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.SizeParamIndex [v-minch]
-/// </summary>
-public class MarshalAsAttributeSizeParamIndex
-{
-    public static int Main()
-    {
-        MarshalAsAttributeSizeParamIndex test = new MarshalAsAttributeSizeParamIndex();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.SizeParamIndex");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field SizeParamIndex in MarshalAsAttribute class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            short mySizeParamIndex = myMarshalAsAttribute.SizeParamIndex;
-            if (mySizeParamIndex != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is 0 but the ActualResult is " + mySizeParamIndex);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field SizeParamIndex in MarshalAsAttribute class 2");
-        try
-        {
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(UnmanagedType.Currency);
-            short mySizeParamIndex = myMarshalAsAttribute.SizeParamIndex;
-            if (mySizeParamIndex != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is 0 but the ActualResult is " + mySizeParamIndex);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributevalue.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/marshalasattribute/marshalasattributevalue.cs
deleted file mode 100644 (file)
index 79296b3..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// MarshalAsAttribute.Value [v-minch]
-/// </summary>
-public class MarshalAsAttributeValue
-{
-    public static int Main()
-    {
-        MarshalAsAttributeValue test = new MarshalAsAttributeValue();
-        TestLibrary.TestFramework.BeginTestCase("MarshalAsAttribute.Value");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the property Value in MarshalAsAttribute class 1");
-        try
-        {
-            short unmanagedType = Int16.MaxValue;
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(unmanagedType);
-            UnmanagedType myValue = myMarshalAsAttribute.Value;
-            if (myValue != (UnmanagedType)unmanagedType)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is "+ unmanagedType.ToString() +" but the ActualResult is " + myValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the property Value in MarshalAsAttribute class 2");
-        try
-        {
-            MarshalAsAttribute myMarshalAsAttribute = new MarshalAsAttribute(UnmanagedType.Currency);
-            UnmanagedType myValue = myMarshalAsAttribute.Value;
-            if (myValue != UnmanagedType.Currency)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is " + UnmanagedType.Currency.ToString() +" but the ActualResult is " + myValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/outattribute/OutAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/outattribute/OutAttributeCtor.csproj
deleted file mode 100644 (file)
index 95749d0..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="outattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/outattribute/outattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/outattribute/outattributector.cs
deleted file mode 100644 (file)
index 973d249..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// OutAttribute.ctor() [v-minch]
-/// </summary>
-public class OutAttributeCtor
-{
-    public static int Main()
-    {
-        OutAttributeCtor test = new OutAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("OutAttribute.ctor()");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Initialize a instance of OutAttribute class");
-        try
-        {
-            OutAttribute myInstance = new OutAttribute();
-            if (myInstance == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "the instance of OutAttribute creating failed");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion 
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/preservesigattribute/PreserveSigAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/preservesigattribute/PreserveSigAttributeCtor.csproj
deleted file mode 100644 (file)
index bc56f20..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="preservesigattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/preservesigattribute/preservesigattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/preservesigattribute/preservesigattributector.cs
deleted file mode 100644 (file)
index ec3f578..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// PreserveSigAttribute.ctor() [v-minch]
-/// </summary>
-public class PreserveSigAttributeCtor
-{
-    public static int Main()
-    {
-        PreserveSigAttributeCtor test = new PreserveSigAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("PreserveSigAttribute.ctor()");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Initialize a instance of PreserveSigAttribute class");
-        try
-        {
-            PreserveSigAttribute myInstance = new PreserveSigAttribute();
-            if (myInstance == null)
-            {
-                TestLibrary.TestFramework.LogError("001", "the instance of PreserveSigAttribute creating failed");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeCharSet.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeCharSet.csproj
deleted file mode 100644 (file)
index 5791050..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="structlayoutattributecharset.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeCtor.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeCtor.csproj
deleted file mode 100644 (file)
index 307f8f7..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="structlayoutattributector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributePack.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributePack.csproj
deleted file mode 100644 (file)
index 3912aab..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="structlayoutattributepack.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeSize.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeSize.csproj
deleted file mode 100644 (file)
index 4f1a2f9..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="structlayoutattributesize.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeValue.csproj b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/StructLayoutAttributeValue.csproj
deleted file mode 100644 (file)
index 63949e6..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="structlayoutattributevalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributecharset.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributecharset.cs
deleted file mode 100644 (file)
index cc2b9f4..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// StructLayoutAttribute.CharSet [v-minch]
-/// </summary>
-public class StructLayoutAttributeCharSet
-{
-    public static int Main()
-    {
-        StructLayoutAttributeCharSet test = new StructLayoutAttributeCharSet();
-        TestLibrary.TestFramework.BeginTestCase("StructLayoutAttribute.CharSet()");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field CharSet value in StructLayoutAttribute class 1");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Auto;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.CharSet != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is 0 but the ActualResult is " + myInstance.CharSet.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field CharSet value in StructLayoutAttribute class 2");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Sequential;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.CharSet != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is 0 but the ActualResult is " + myInstance.CharSet.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributector.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributector.cs
deleted file mode 100644 (file)
index 5a89dc1..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// StructLayoutAttribute.ctor(LayoutKind) [v-minch]
-/// </summary>
-public class StructLayoutAttributeCtor
-{
-    public static int Main()
-    {
-        StructLayoutAttributeCtor test = new StructLayoutAttributeCtor();
-        TestLibrary.TestFramework.BeginTestCase("StructLayoutAttribute.ctor()");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Initialize a instance of StructLayoutAttribute class");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Auto;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance == null || myInstance.Value != mylayoutkind)
-            {
-                TestLibrary.TestFramework.LogError("001", "the instance of StructLayoutAttribute creating failed");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributepack.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributepack.cs
deleted file mode 100644 (file)
index 2be923c..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// StructLayoutAttribute.Pack [v-minch]
-/// </summary>
-public class StructLayoutAttributePack
-{
-    public static int Main()
-    {
-        StructLayoutAttributePack test = new StructLayoutAttributePack();
-        TestLibrary.TestFramework.BeginTestCase("StructLayoutAttribute.Pack()");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field Pack value in StructLayoutAttribute class 1");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Auto;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.Pack != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is 0 but the ActualResult is " + myInstance.Pack.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field Pack value in StructLayoutAttribute class 2");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Sequential;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.Pack != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is 0 but the ActualResult is " + myInstance.Pack.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributesize.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributesize.cs
deleted file mode 100644 (file)
index 4636006..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// StructLayoutAttribute.Size [v-minch]
-/// </summary>
-public class StructLayoutAttributeSize
-{
-    public static int Main()
-    {
-        StructLayoutAttributeSize test = new StructLayoutAttributeSize();
-        TestLibrary.TestFramework.BeginTestCase("StructLayoutAttribute.Size()");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the field Size value in StructLayoutAttribute class 1");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Auto;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.Size != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is 0 but the ActualResult is " + myInstance.Size.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the field Size value in StructLayoutAttribute class 2");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Sequential;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.Size != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is 0 but the ActualResult is " + myInstance.Size.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributevalue.cs b/tests/src/CoreMangLib/cti/system/runtime/interopservices/structlayoutattribute/structlayoutattributevalue.cs
deleted file mode 100644 (file)
index c0ba3ab..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Runtime.InteropServices;
-/// <summary>
-/// StructLayoutAttribute.Value [v-minch]
-/// </summary>
-public class StructLayoutAttributeValue
-{
-    public static int Main()
-    {
-        StructLayoutAttributeValue test = new StructLayoutAttributeValue();
-        TestLibrary.TestFramework.BeginTestCase("StructLayoutAttribute.Value()");
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the Value property in StructLayoutAttribute class 1");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Auto;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.Value != mylayoutkind)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is " + mylayoutkind.ToString() +" but the ActualResult is " + myInstance.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the Value property in StructLayoutAttribute class 2");
-        try
-        {
-            LayoutKind mylayoutkind = LayoutKind.Sequential;
-            StructLayoutAttribute myInstance = new StructLayoutAttribute(mylayoutkind);
-            if (myInstance.Value != mylayoutkind)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is " + mylayoutkind +" but the ActualResult is " + myInstance.Value.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteCompareTo2.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteCompareTo2.csproj
deleted file mode 100644 (file)
index bf69102..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbytecompareto2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteEquals1.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteEquals1.csproj
deleted file mode 100644 (file)
index 5b1804d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteequals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteEquals2.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteEquals2.csproj
deleted file mode 100644 (file)
index 450a70d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteequals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteGetHashCode.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteGetHashCode.csproj
deleted file mode 100644 (file)
index 10ae93f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbytegethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 3ec5399..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToByte.csproj
deleted file mode 100644 (file)
index 3d4d269..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToChar.csproj
deleted file mode 100644 (file)
index 7d48319..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index fe4c89a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToDouble.csproj
deleted file mode 100644 (file)
index 595b581..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt16.csproj
deleted file mode 100644 (file)
index 1e571d1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 8732166..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToInt64.csproj
deleted file mode 100644 (file)
index f14fc79..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index 6e08d29..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index 11304c7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteIConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 756a46f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteiconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteMaxValue.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteMaxValue.csproj
deleted file mode 100644 (file)
index 6d8eec2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbytemaxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/SByteMinValue.csproj b/tests/src/CoreMangLib/cti/system/sbyte/SByteMinValue.csproj
deleted file mode 100644 (file)
index be0a361..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="sbyteminvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbytecompareto2.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbytecompareto2.cs
deleted file mode 100644 (file)
index 9f2e805..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// SByte.CompareTo(SByte)
-/// </summary>
-public class SByteCompareTo2
-{
-    public static int Main()
-    {
-        SByteCompareTo2 sbyteCT2 = new SByteCompareTo2();
-        TestLibrary.TestFramework.BeginTestCase("SByteCompareTo2");
-        if (sbyteCT2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }  
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: The sbyte compared to is less than the source");
-        try
-        {
-            int intA = this.GetInt32(0, 127) + this.GetInt32(0, 129) * (-1);
-            sbyte desByte = (sbyte)intA;
-            sbyte sourceByte = sbyte.MaxValue;
-            int retInt = sourceByte.CompareTo(desByte);
-            if (retInt <= 0 )
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: The sbyte compared to is larger than the source");
-        try
-        {
-            int intA = this.GetInt32(0, 127) + this.GetInt32(0, 128) * (-1);
-            sbyte desByte = (sbyte)intA;
-            sbyte sourceByte = sbyte.MinValue;
-            int retInt = sourceByte.CompareTo(desByte);
-            if (retInt >= 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: The sbyte compared to is equal to the source");
-        try
-        {
-            int intA = this.GetInt32(0, 127) + this.GetInt32(0, 128) * (-1);
-            sbyte desByte = (sbyte)intA;
-            sbyte sourceByte = (sbyte)intA;
-            int retInt = sourceByte.CompareTo(desByte);
-            if (retInt != 0)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteequals1.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteequals1.cs
deleted file mode 100644 (file)
index 7838e43..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// SByte.Equals(object)
-/// </summary>
-public class SByteEquals1
-{
-    public static int Main()
-    {
-        SByteEquals1 sbyteEquals1 = new SByteEquals1();
-        TestLibrary.TestFramework.BeginTestCase("SByteEquals1");
-        if (sbyteEquals1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }  
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: The object compare to the SByte maxValue");
-        try
-        {
-            object objVal = SByte.MaxValue;
-            sbyte sourceSByte = sbyte.MaxValue; 
-            bool retbool = sourceSByte.Equals(objVal);
-            if (!retbool)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: The object compare to the SByte minValue");
-        try
-        {
-            object objVal = SByte.MinValue;
-            sbyte sourceSByte = sbyte.MinValue;
-            bool retbool = sourceSByte.Equals(objVal);
-            if (!retbool)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: The object compare to the random sbyte");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128) + this.GetInt32(0, 129) * (-1));
-            object objVal = sbyteVal;
-            sbyte sourceSByte = sbyteVal;
-            bool retbool = sourceSByte.Equals(objVal);
-            if (!retbool)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: The sbyte maxValue equals sbyte minValue");
-        try
-        {
-            object objVal = sbyte.MinValue;
-            sbyte sourceSByte = sbyte.MaxValue;
-            bool retbool = sourceSByte.Equals(objVal);
-            if (retbool)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: The random sbyte equals random sbyte");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 127) + this.GetInt32(0, 128) * (-1));
-            object objVal = sbyteVal;
-            sbyte sourceSByte = (sbyte)(sbyteVal + 1);
-            bool retbool = sourceSByte.Equals(objVal);
-            if (retbool)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: The object is not sbyte");
-        try
-        {
-            object objVal = "helloworld";
-            sbyte sourceSByte = (sbyte)(this.GetInt32(0, 128) + this.GetInt32(0, 129) * (-1));
-            bool retbool = sourceSByte.Equals(objVal);
-            if (retbool)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteequals2.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteequals2.cs
deleted file mode 100644 (file)
index ed4063a..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// SByte.Equals(SByte)
-/// </summary>
-public class SByteEquals2
-{
-    public static int Main()
-    {
-        SByteEquals2 sbyteEquals2 = new SByteEquals2();
-        TestLibrary.TestFramework.BeginTestCase("SByteEquals2");
-        if (sbyteEquals2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }  
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: The sbyte equals SByte maxValue");
-        try
-        {
-            sbyte desSByte = SByte.MaxValue;
-            sbyte sourceSByte = (sbyte)(this.GetInt32(0,127) + this.GetInt32(0,128)*(-1));
-            bool retbool = sourceSByte.Equals(desSByte);
-            if (retbool)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: The sbyte equals SByte minValue");
-        try
-        {
-            sbyte desSByte = SByte.MinValue;
-            sbyte sourceSByte = (sbyte)(this.GetInt32(0, 127) + this.GetInt32(0, 128) * (-1));
-            bool retbool = sourceSByte.Equals(desSByte);
-            if (retbool)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: The sbyte maxValue equals SByte minValue");
-        try
-        {
-            sbyte desSByte = SByte.MinValue;
-            sbyte sourceSByte = SByte.MaxValue;
-            bool retbool = sourceSByte.Equals(desSByte);
-            if (retbool)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: The sbyte maxValue equals 127");
-        try
-        {
-            sbyte desSByte = 127;
-            sbyte sourceSByte = SByte.MaxValue;
-            bool retbool = sourceSByte.Equals(desSByte);
-            if (!retbool)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: The sbyte minValue equals -128");
-        try
-        {
-            sbyte desSByte = -128;
-            sbyte sourceSByte = SByte.MinValue;
-            bool retbool = sourceSByte.Equals(desSByte);
-            if (!retbool)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbytegethashcode.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbytegethashcode.cs
deleted file mode 100644 (file)
index 22036f7..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// SByte.GetHashCode()
-/// </summary>
-public class SByteGetHashCode
-{
-    private const int midVal1 = (int)sbyte.MaxValue - (int)(sbyte.MinValue) + 2;
-    private const int midVal2 = (int)sbyte.MaxValue - (int)(sbyte.MinValue);
-    public static int Main()
-    {
-        SByteGetHashCode sbytehash = new SByteGetHashCode();
-        TestLibrary.TestFramework.BeginTestCase("SByteGetHashCode");
-        if (sbytehash.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }  
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Return the SByte MaxValue hashcode");
-        try
-        {
-            sbyte sourceVal = sbyte.MaxValue;
-            int retHashCode = sourceVal.GetHashCode();
-            if (retHashCode != midVal1*(int)(sbyte.MaxValue))
-            {
-                TestLibrary.TestFramework.LogError("001", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Return the SByte MinValue hashcode");
-        try
-        {
-            sbyte sourceVal = sbyte.MinValue;
-            int retHashCode = sourceVal.GetHashCode();
-            if (retHashCode != midVal2 * (int)sbyte.MinValue * (-1))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Return the 0 hashcode");
-        try
-        {
-            sbyte sourceVal = 0;
-            int retHashCode = sourceVal.GetHashCode();
-            if (retHashCode != 0)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Return the random sbyte hashcode 1");
-        try
-        {
-            sbyte sourceVal = (sbyte)(this.GetInt32(1, 128));
-            int retHashCode = sourceVal.GetHashCode();
-            if (retHashCode != midVal1 * (int)(sourceVal))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Return the random sbyte hashcode 2");
-        try
-        {
-            sbyte sourceVal = (sbyte)(this.GetInt32(1, 129) * (-1));
-            int retHashCode = sourceVal.GetHashCode();
-            if (retHashCode != midVal2 * (int)(sourceVal)*(-1))
-            {
-                TestLibrary.TestFramework.LogError("009", "the ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoboolean.cs
deleted file mode 100644 (file)
index 6f44683..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///  SByte.System.IConvertible.ToBoolean(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToBoolean
-{
-    public static int Main()
-    {
-        SByteIConvertibleToBoolean sbyteIContBool = new SByteIConvertibleToBoolean();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToBoolean");
-        if (sbyteIContBool.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Boolean");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            bool boolA = iConvert.ToBoolean(provider);
-            if (!boolA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The sbyte MinValue IConvertible To Boolean");
-        try
-        {
-            sbyte sbyteVal = sbyte.MinValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            bool boolA = iConvert.ToBoolean(null);
-            if (!boolA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Boolean 1");
-        try
-        {
-            sbyte sbyteVal = 0;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            bool boolA = iConvert.ToBoolean(null);
-            if (boolA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random sbyte IConvertible To Boolean 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 127));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            bool boolA = iConvert.ToBoolean(null);
-            if (sbyteVal == 0)
-            {
-                if (boolA)
-                {
-                    TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-            else
-            {
-                if (!boolA)
-                {
-                    TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:The random sbyte IConvertible To Boolean 3");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            bool boolA = iConvert.ToBoolean(provider);
-            if (sbyteVal == 0)
-            {
-                if (boolA)
-                {
-                    TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-            else
-            {
-                if (!boolA)
-                {
-                    TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-     #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletobyte.cs
deleted file mode 100644 (file)
index 742db8b..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToByte(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToByte
-{
-    public static int Main()
-    {
-        SByteIConvertibleToByte sbyteIConToByte = new SByteIConvertibleToByte();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToByte");
-        if (sbyteIConToByte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Byte");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            byte byteVal = iConvert.ToByte(provider);
-            if (byteVal != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The random sbyte IConvertible To Byte 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            byte byteVal = iConvert.ToByte(null);
-            if (byteVal != (byte)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Byte 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            byte byteVal = iConvert.ToByte(provider);
-            if (byteVal != (byte)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The sbyte which out of byte range IConvertible To Byte");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(1, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            byte byteVal = iConvert.ToByte(provider);
-            TestLibrary.TestFramework.LogError("N001", "The sbyte which out of byte range IConvertible To Byte but not throw exception");
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletochar.cs
deleted file mode 100644 (file)
index d6f99d1..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToChar(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToChar
-{
-    public static int Main()
-    {
-        SByteIConvertibleToChar sbyteIConToChar = new SByteIConvertibleToChar();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToChar");
-        if (sbyteIConToChar.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Char");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            char charVal = iConvert.ToChar(provider);
-            if (charVal != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The random sbyte IConvertible To Char 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            char charVal = iConvert.ToChar(null);
-            if (charVal != (char)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Char 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            char charVal = iConvert.ToChar(provider);
-            if (charVal != (char)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The sbyte which out of char range IConvertible To Char");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(1, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            char charVal = iConvert.ToChar(provider);
-            TestLibrary.TestFramework.LogError("N001", "The sbyte which out of char range IConvertible To Char but not throw exception");
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletodecimal.cs
deleted file mode 100644 (file)
index f3dc3bc..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToDecimal(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToDecimal
-{
-    public static int Main()
-    {
-        SByteIConvertibleToDecimal sbyteIConToDecimal = new SByteIConvertibleToDecimal();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToDecimal");
-        if (sbyteIConToDecimal.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Decimal");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            decimal decimalVal = iConvert.ToDecimal(provider);
-            if (decimalVal != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The sbyte MinValue IConvertible To Decimal");
-        try
-        {
-            sbyte sbyteVal = sbyte.MinValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            decimal decimalVal = iConvert.ToDecimal(null);
-            if (decimalVal != -128)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Decimal 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            decimal decimalVal = iConvert.ToDecimal(provider);
-            if (decimalVal != (decimal)sbyteVal)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random sbyte IConvertible To Decimal 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            decimal decimalVal = iConvert.ToDecimal(null);
-            if (decimalVal != (decimal)sbyteVal)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletodouble.cs
deleted file mode 100644 (file)
index d14efca..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToDouble(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToDouble
-{
-    public static int Main()
-    {
-        SByteIConvertibleToDouble sbyteIConToDouble = new SByteIConvertibleToDouble();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToDouble");
-        if (sbyteIConToDouble.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Double");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            double doubleVal = iConvert.ToDouble(provider);
-            if (doubleVal != 127.0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The sbyte MinValue IConvertible To Double");
-        try
-        {
-            sbyte sbyteVal = sbyte.MinValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            double doubleVal = iConvert.ToDouble(provider);
-            if (doubleVal != -128.0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Double 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            double doubleVal = iConvert.ToDouble(provider);
-            if (doubleVal != (double)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random sbyte IConvertible To Double 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            double doubleVal = iConvert.ToDouble(provider);
-            if (doubleVal != (double)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint16.cs
deleted file mode 100644 (file)
index 0c275b4..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToInt16(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToInt16
-{
-    public static int Main()
-    {
-        SByteIConvertibleToInt16 sbyteIConToInt16 = new SByteIConvertibleToInt16();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToInt16");
-        if (sbyteIConToInt16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Int16");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int16 Int16Val = iConvert.ToInt16(provider);
-            if (Int16Val != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The sbyte MinValue IConvertible To Int16");
-        try
-        {
-            sbyte sbyteVal = sbyte.MinValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int16 Int16Val = iConvert.ToInt16(provider);
-            if (Int16Val != -128)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Int16 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int16 Int16Val = iConvert.ToInt16(provider);
-            if (Int16Val != (Int16)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random sbyte IConvertible To Int16 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int16 Int16Val = iConvert.ToInt16(provider);
-            if (Int16Val != (Int16)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint32.cs
deleted file mode 100644 (file)
index 8759bc7..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToInt32(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToInt32
-{
-    public static int Main()
-    {
-        SByteIConvertibleToInt32 sbyteIConToInt32 = new SByteIConvertibleToInt32();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToInt32");
-        if (sbyteIConToInt32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Int32");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int32 Int32Val = iConvert.ToInt32(provider);
-            if (Int32Val != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The sbyte MinValue IConvertible To Int32");
-        try
-        {
-            sbyte sbyteVal = sbyte.MinValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int32 Int32Val = iConvert.ToInt32(provider);
-            if (Int32Val != -128)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Int32 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int32 Int32Val = iConvert.ToInt32(provider);
-            if (Int32Val != (Int32)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random sbyte IConvertible To Int32 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int32 Int32Val = iConvert.ToInt32(provider);
-            if (Int32Val != (Int32)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint64.cs
deleted file mode 100644 (file)
index 7c585a6..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToInt64(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToInt64
-{
-    public static int Main()
-    {
-        SByteIConvertibleToInt64 sbyteIConToInt64 = new SByteIConvertibleToInt64();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToInt64");
-        if (sbyteIConToInt64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To Int64");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int64 Int64Val = iConvert.ToInt64(provider);
-            if (Int64Val != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The sbyte MinValue IConvertible To Int64");
-        try
-        {
-            sbyte sbyteVal = sbyte.MinValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int64 Int64Val = iConvert.ToInt64(provider);
-            if (Int64Val != -128)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("el-GR");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To Int64 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int64 Int64Val = iConvert.ToInt64(provider);
-            if (Int64Val != (Int64)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:The random sbyte IConvertible To Int64 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            Int64 Int64Val = iConvert.ToInt64(provider);
-            if (Int64Val != (Int64)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint16.cs
deleted file mode 100644 (file)
index e16b2f5..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToUInt16(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToUInt16
-{
-    public static int Main()
-    {
-        SByteIConvertibleToUInt16 sbyteIConToUInt16 = new SByteIConvertibleToUInt16();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToUInt16");
-        if (sbyteIConToUInt16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To UInt16");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt16 UInt16Val = iConvert.ToUInt16(provider);
-            if (UInt16Val != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The random sbyte IConvertible To UInt16 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt16 UInt16Val = iConvert.ToUInt16(null);
-            if (UInt16Val != (UInt16)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To UInt16 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt16 UInt16Val = iConvert.ToUInt16(provider);
-            if (UInt16Val != (UInt16)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The sbyte which out of UInt16 range IConvertible To UInt16");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(1, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt16 UInt16Val = iConvert.ToUInt16(provider);
-            TestLibrary.TestFramework.LogError("N001", "The sbyte which out of UInt16 range IConvertible To UInt16 but not throw exception");
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint32.cs
deleted file mode 100644 (file)
index d2c28ab..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToUInt32(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToUInt32
-{
-    public static int Main()
-    {
-        SByteIConvertibleToUInt32 sbyteIConToUInt32 = new SByteIConvertibleToUInt32();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToUInt32");
-        if (sbyteIConToUInt32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To UInt32");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt32 UInt32Val = iConvert.ToUInt32(provider);
-            if (UInt32Val != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The random sbyte IConvertible To UInt32 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt32 UInt32Val = iConvert.ToUInt32(null);
-            if (UInt32Val != (UInt32)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To UInt32 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt32 UInt32Val = iConvert.ToUInt32(provider);
-            if (UInt32Val != (UInt32)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The sbyte which out of UInt32 range IConvertible To UInt32");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(1, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt32 UInt32Val = iConvert.ToUInt32(provider);
-            TestLibrary.TestFramework.LogError("N001", "The sbyte which out of UInt32 range IConvertible To UInt32 but not throw exception");
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletouint64.cs
deleted file mode 100644 (file)
index eca008f..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-/// SByte.System.IConvertible.ToUInt64(IFormatProvider)
-/// </summary>
-public class SByteIConvertibleToUInt64
-{
-    public static int Main()
-    {
-        SByteIConvertibleToUInt64 sbyteIConToUInt64 = new SByteIConvertibleToUInt64();
-        TestLibrary.TestFramework.BeginTestCase("SByteIConvertibleToUInt64");
-        if (sbyteIConToUInt64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:The sbyte MaxValue IConvertible To UInt64");
-        try
-        {
-            sbyte sbyteVal = sbyte.MaxValue;
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt64 UInt64Val = iConvert.ToUInt64(provider);
-            if (UInt64Val != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:The random sbyte IConvertible To UInt64 1");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt64 UInt64Val = iConvert.ToUInt64(null);
-            if (UInt64Val != (UInt64)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:The random sbyte IConvertible To UInt64 2");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(0, 128));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt64 UInt64Val = iConvert.ToUInt64(provider);
-            if (UInt64Val != (UInt64)(sbyteVal))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        CultureInfo myculture = new CultureInfo("en-us");
-        IFormatProvider provider = myculture.NumberFormat;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:The sbyte which out of UInt64 range IConvertible To UInt64");
-        try
-        {
-            sbyte sbyteVal = (sbyte)(this.GetInt32(1, 129) * (-1));
-            IConvertible iConvert = (IConvertible)(sbyteVal);
-            UInt64 UInt64Val = iConvert.ToUInt64(provider);
-            TestLibrary.TestFramework.LogError("N001", "The sbyte which out of UInt64 range IConvertible To UInt64 but not throw exception");
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region HelpMethod
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbytemaxvalue.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbytemaxvalue.cs
deleted file mode 100644 (file)
index 0d28772..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// SByte.MaxValue
-/// </summary>
-public class SByteMaxValue
-{
-    public static int Main()
-    {
-        SByteMaxValue sbyteMax = new SByteMaxValue();
-        TestLibrary.TestFramework.BeginTestCase("SByteMaxValue");
-        if (sbyteMax.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }  
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Return the SByte MaxValue 1");
-        try
-        {
-            sbyte sbMaxVal = SByte.MaxValue;
-            if (sbMaxVal != 127)
-            {
-                TestLibrary.TestFramework.LogError("001", "The ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Return the SByte MaxValue 2");
-        try
-        {
-            sbyte sbMaxVal = SByte.MaxValue;
-            if (sbMaxVal != 0x7F)
-            {
-                TestLibrary.TestFramework.LogError("003", "The ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/sbyte/sbyteminvalue.cs b/tests/src/CoreMangLib/cti/system/sbyte/sbyteminvalue.cs
deleted file mode 100644 (file)
index 89bc360..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// SByte.MinValue
-/// </summary>
-public class SByteMinValue
-{
-    public static int Main()
-    {
-        SByteMinValue sbyteMin = new SByteMinValue();
-        TestLibrary.TestFramework.BeginTestCase("SByteMinValue");
-        if (sbyteMin.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }  
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Return the SByte MinValue 1");
-        try
-        {
-            sbyte sbMaxVal = SByte.MinValue;
-            if (sbMaxVal != -128)
-            {
-                TestLibrary.TestFramework.LogError("001", "The ExpectResult is not the ActualResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleEpsilon.csproj b/tests/src/CoreMangLib/cti/system/single/SingleEpsilon.csproj
deleted file mode 100644 (file)
index 1cb1bac..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singleepsilon.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleIsInfinity.csproj b/tests/src/CoreMangLib/cti/system/single/SingleIsInfinity.csproj
deleted file mode 100644 (file)
index 10d2406..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singleisinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleIsNaN.csproj b/tests/src/CoreMangLib/cti/system/single/SingleIsNaN.csproj
deleted file mode 100644 (file)
index 8a183f5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singleisnan.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleIsNegativeInfinity.csproj b/tests/src/CoreMangLib/cti/system/single/SingleIsNegativeInfinity.csproj
deleted file mode 100644 (file)
index fc54d7a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singleisnegativeinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleIsPositiveInfinity.csproj b/tests/src/CoreMangLib/cti/system/single/SingleIsPositiveInfinity.csproj
deleted file mode 100644 (file)
index 9416b39..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singleispositiveinfinity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleMaxValue.csproj b/tests/src/CoreMangLib/cti/system/single/SingleMaxValue.csproj
deleted file mode 100644 (file)
index 53e4533..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singlemaxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleMinValue.csproj b/tests/src/CoreMangLib/cti/system/single/SingleMinValue.csproj
deleted file mode 100644 (file)
index 1cdbd87..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singleminvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleNaN.csproj b/tests/src/CoreMangLib/cti/system/single/SingleNaN.csproj
deleted file mode 100644 (file)
index a41dcff..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singlenan.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToBoolean.csproj
deleted file mode 100644 (file)
index b04ad64..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToByte.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToByte.csproj
deleted file mode 100644 (file)
index 31d2208..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToChar.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToChar.csproj
deleted file mode 100644 (file)
index baf52a2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToDateTime.csproj
deleted file mode 100644 (file)
index a5877cc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToDecimal.csproj
deleted file mode 100644 (file)
index 6cf1847..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToDouble.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToDouble.csproj
deleted file mode 100644 (file)
index 8892326..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToInt16.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToInt16.csproj
deleted file mode 100644 (file)
index 6aac162..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToInt32.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToInt32.csproj
deleted file mode 100644 (file)
index 32994b8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToInt64.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToInt64.csproj
deleted file mode 100644 (file)
index 2cf5c2f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToSByte.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToSByte.csproj
deleted file mode 100644 (file)
index f694711..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToSingle.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToSingle.csproj
deleted file mode 100644 (file)
index cbd7f97..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToUInt16.csproj
deleted file mode 100644 (file)
index ee33db9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToUInt32.csproj
deleted file mode 100644 (file)
index 676921b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/SingleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/single/SingleToUInt64.csproj
deleted file mode 100644 (file)
index 28d493a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="singletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/single/singleepsilon.cs b/tests/src/CoreMangLib/cti/system/single/singleepsilon.cs
deleted file mode 100644 (file)
index 11c2cd2..0000000
Binary files a/tests/src/CoreMangLib/cti/system/single/singleepsilon.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/single/singleisinfinity.cs b/tests/src/CoreMangLib/cti/system/single/singleisinfinity.cs
deleted file mode 100644 (file)
index b252d23..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// IsInfinity(System.Single)
-/// </summary>
-public class SingleIsInfinity
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check a random Single,isInfinity return false.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            if (Single.IsInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "IsInfinity should return false. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-  
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check value  which is  not a number,   has a correct IsInfinity return  value.");
-
-        try
-        {
-           Single i1 = Single.NaN;
-           if (Single.IsInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "IsInfinity should return false. ");
-                retVal = false;
-            }
-            i1 = Single.NegativeInfinity;
-            if (!Single.IsInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.2", "IsInfinity should return true. ");
-                retVal = false;
-            }
-            i1 = Single.PositiveInfinity;
-            if (!Single.IsInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.3", "IsInfinity should return true. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleIsInfinity test = new SingleIsInfinity();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleIsInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singleisnan.cs b/tests/src/CoreMangLib/cti/system/single/singleisnan.cs
deleted file mode 100644 (file)
index 8813a72..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// IsNaN(System.Single)
-/// </summary>
-public class SingleIsNaN
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check a random Single,IsNaN return false.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            if (Single.IsNaN(i1))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "IsNaN should return false. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-  
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check value  which is  not a number,   has a correct IsNaN return  value.");
-
-        try
-        {
-           Single i1 = Single.NaN;
-           if (!Single.IsNaN(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "IsNaN should return true. ");
-                retVal = false;
-            }
-            i1 = Single.NegativeInfinity;
-            if (Single.IsNaN(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.2", "IsNaN should return false. ");
-                retVal = false;
-            }
-            i1 = Single.PositiveInfinity;
-            if (Single.IsNaN(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.3", "IsNaN should return false. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleIsNaN test = new SingleIsNaN();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleIsNaN");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singleisnegativeinfinity.cs b/tests/src/CoreMangLib/cti/system/single/singleisnegativeinfinity.cs
deleted file mode 100644 (file)
index bfc0ac3..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// IsNegativeInfinity(System.Single)
-/// </summary>
-public class SingleIsNegativeInfinity
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check a random Single,IsNegativeInfinity return false.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            if (Single.IsNegativeInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "IsNegativeInfinity should return false. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-  
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check value  which is  not a number,   has a correct IsNegativeInfinity return  value.");
-
-        try
-        {
-           Single i1 = Single.NaN;
-           if (Single.IsNegativeInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "IsNegativeInfinity should return false. ");
-                retVal = false;
-            }
-            i1 = Single.NegativeInfinity;
-            if (!Single.IsNegativeInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.2", "IsNegativeInfinity should return true. ");
-                retVal = false;
-            }
-            i1 = Single.PositiveInfinity;
-            if (Single.IsNegativeInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.3", "IsNegativeInfinity should return false. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleIsNegativeInfinity test = new SingleIsNegativeInfinity();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleIsNegativeInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singleispositiveinfinity.cs b/tests/src/CoreMangLib/cti/system/single/singleispositiveinfinity.cs
deleted file mode 100644 (file)
index 90ca6fd..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// IsPositiveInfinity(System.Single)
-/// </summary>
-public class SingleIsPositiveInfinity
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: check a random Single,IsPositiveInfinity return false.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            if (Single.IsPositiveInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "IsPositiveInfinity should return false. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-  
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check value  which is  not a number,   has a correct IsPositiveInfinity return  value.");
-
-        try
-        {
-           Single i1 = Single.NaN;
-           if (Single.IsPositiveInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "IsPositiveInfinity should return false. ");
-                retVal = false;
-            }
-            i1 = Single.NegativeInfinity;
-            if (Single.IsPositiveInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.2", "IsPositiveInfinity should return false. ");
-                retVal = false;
-            }
-            i1 = Single.PositiveInfinity;
-            if (!Single.IsPositiveInfinity(i1))
-            {
-                TestLibrary.TestFramework.LogError("002.3", "IsPositiveInfinity should return true. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleIsPositiveInfinity test = new SingleIsPositiveInfinity();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleIsPositiveInfinity");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-  
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singlemaxvalue.cs b/tests/src/CoreMangLib/cti/system/single/singlemaxvalue.cs
deleted file mode 100644 (file)
index cd3e31e..0000000
Binary files a/tests/src/CoreMangLib/cti/system/single/singlemaxvalue.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/single/singleminvalue.cs b/tests/src/CoreMangLib/cti/system/single/singleminvalue.cs
deleted file mode 100644 (file)
index 4862558..0000000
Binary files a/tests/src/CoreMangLib/cti/system/single/singleminvalue.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/single/singlenan.cs b/tests/src/CoreMangLib/cti/system/single/singlenan.cs
deleted file mode 100644 (file)
index cdf6615..0000000
Binary files a/tests/src/CoreMangLib/cti/system/single/singlenan.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/single/singletoboolean.cs b/tests/src/CoreMangLib/cti/system/single/singletoboolean.cs
deleted file mode 100644 (file)
index 7868e16..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToBoolean(System.IFormatProvider)
-/// </summary>
-public class SingleToBoolean
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-       //CultureInfo.GetCultureInfo has been removed. Replaced by CultureInfo ctor.
-       public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToBoolean  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: check Single which is  not a number .");
-
-        try
-        {
-            Single i1 = Single.NaN;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToBoolean  return failed. ");
-                retVal = false;
-            }
-            i1 = Single.NegativeInfinity;
-            actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "ToBoolean  return failed.");
-                retVal = false;
-            }
-            i1 = Single.PositiveInfinity;
-            actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("002.3", "ToBoolean  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  -123456789.");
-
-        try
-        {
-            Single i1 = -123456789;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToBoolean return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Check a single which is  123.45e+6.");
-
-        try
-        {
-            Single i1 = (Single)123.45e+6;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "ToBoolean return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Check a single which is  -.123.");
-
-        try
-        {
-            Single i1 = (Single)(-.123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "ToBoolean return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-   
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Check a single which is  +123.");
-
-        try
-        {
-            Single i1 = (Single)(+123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            bool actualValue = ((IConvertible)i1).ToBoolean(myCulture);
-            if (!actualValue)
-            {
-                TestLibrary.TestFramework.LogError("006.1", "ToBoolean return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-   
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToBoolean test = new SingleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToBoolean");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletobyte.cs b/tests/src/CoreMangLib/cti/system/single/singletobyte.cs
deleted file mode 100644 (file)
index f70ea7e..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToByte(System.IFormatProvider)
-/// </summary>
-public class SingleToByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-       //CultureInfo.GetCultureInfo has been removed. Replaced by CultureInfo ctor.
-       public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            byte expectVaule;
-            if (i1 > 0.5)
-                expectVaule = 1;
-            else
-                expectVaule = 0;
-            byte actualValue = ((IConvertible)i1).ToByte(myCulture);
-            if (actualValue != expectVaule)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToByte  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -.123.");
-
-        try
-        {
-            Single i1 = (Single)(-.123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            byte actualValue = ((IConvertible)i1).ToByte(myCulture);
-            if (actualValue != 0)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToByte return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToByte test = new SingleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletochar.cs b/tests/src/CoreMangLib/cti/system/single/singletochar.cs
deleted file mode 100644 (file)
index 9f9cb88..0000000
Binary files a/tests/src/CoreMangLib/cti/system/single/singletochar.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/single/singletodatetime.cs b/tests/src/CoreMangLib/cti/system/single/singletodatetime.cs
deleted file mode 100644 (file)
index f5dd795..0000000
Binary files a/tests/src/CoreMangLib/cti/system/single/singletodatetime.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/single/singletodecimal.cs b/tests/src/CoreMangLib/cti/system/single/singletodecimal.cs
deleted file mode 100644 (file)
index 0f5af87..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToDecimal(System.IFormatProvider)
-/// </summary>
-public class SingleToDecimal
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-       //CultureInfo.GetCultureInfo has been removed. Replaced by CultureInfo ctor.
-       public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            Decimal actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue.ToString() != i1.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToDecimal  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-  
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -.123.");
-
-        try
-        {
-            Single i1 = (Single)(-.123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            Decimal actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue!= (Decimal)(-0.123))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToDecimal  return failed. ");
-                retVal = false;
-            }
-          
-        }
-     
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  +.123.");
-
-        try
-        {
-            Single i1 = (Single)(+.123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            Decimal actualValue = ((IConvertible)i1).ToDecimal(myCulture);
-            if (actualValue != (Decimal)(+0.123))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToDecimal  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToDecimal test = new SingleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToDecimal");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletodouble.cs b/tests/src/CoreMangLib/cti/system/single/singletodouble.cs
deleted file mode 100644 (file)
index bbfc89e..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToDouble(System.IFormatProvider)
-/// </summary>
-public class SingleToDouble
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-       //CultureInfo.GetCultureInfo has been removed. Replaced by CultureInfo ctor.
-       public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            double actualValue = ((IConvertible)i1).ToDouble(myCulture);
-            if (actualValue.ToString("G9") != i1.ToString("G9"))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToDouble  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-  
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -.12300000339746475.");
-
-        try
-        {
-            Single i1 = (Single)(-.12300000339746475);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            Double actualValue = ((IConvertible)i1).ToDouble(myCulture);
-            if (actualValue != (Double)(-.12300000339746475))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToDouble  return failed. ");
-                retVal = false;
-            }
-          
-        }
-     
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  +.12300000339746475.");
-
-        try
-        {
-            Single i1 = (Single)(+.12300000339746475);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            Double actualValue = ((IConvertible)i1).ToDouble(myCulture);
-            if (actualValue != (Double)(+0.12300000339746475))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToDouble  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToDouble test = new SingleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToDouble");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletoint16.cs b/tests/src/CoreMangLib/cti/system/single/singletoint16.cs
deleted file mode 100644 (file)
index 4f79ddf..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToInt16(System.IFormatProvider)
-/// </summary>
-public class SingleToInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-       //CultureInfo.GetCultureInfo has been removed. Replaced by CultureInfo ctor.
-       public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            short expectValue = 0;
-            if (i1 > 0.5)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToInt16  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -123.");
-
-        try
-        {
-            Single i1 = (Single)(-123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            if (actualValue != (short)(-123))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToInt16  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  +123.");
-
-        try
-        {
-            Single i1 = (Single)(+123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            if (actualValue != (Double)(+123))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToInt16  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a single which is  >Int16.MaxValue.");
-
-        try
-        {
-            Single i1 = (Single)(Int16.MaxValue + 1);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToInt16  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a single which is  <Int16.MinValue.");
-
-        try
-        {
-            Single i1 = (Single)(Int16.MinValue - 1);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            short actualValue = ((IConvertible)i1).ToInt16(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToInt16  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToInt16 test = new SingleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletoint32.cs b/tests/src/CoreMangLib/cti/system/single/singletoint32.cs
deleted file mode 100644 (file)
index 0347c3a..0000000
+++ /dev/null
@@ -1,194 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToInt32(System.IFormatProvider)
-/// </summary>
-public class SingleToInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-       //CultureInfo.GetCultureInfo has been removed. Replaced by CultureInfo ctor.
-       public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            int expectValue = 0;
-            if (i1 > 0.5)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToInt32  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -123.");
-
-        try
-        {
-            Single i1 = (Single)(-123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            if (actualValue != (int)(-123))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToInt32  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  +123.");
-
-        try
-        {
-            Single i1 = (Single)(+123);
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            if (actualValue != (Double)(+123))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToInt32  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a single which is  >Int32.MaxValue.");
-
-        try
-        {
-
-            Single i1 = (float)Int32.MaxValue + 1.0f;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToInt32  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a single which is  <Int32.MinValue.");
-
-        try
-        {
-            Single i1 = (float)Int32.MaxValue - 1.0f;
-            CultureInfo myCulture = new CultureInfo("en-us");
-            int actualValue = ((IConvertible)i1).ToInt32(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToInt32  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToInt32 test = new SingleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletoint64.cs b/tests/src/CoreMangLib/cti/system/single/singletoint64.cs
deleted file mode 100644 (file)
index c64a05a..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToInt64(System.IFormatProvider)
-/// </summary>
-public class SingleToInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            int expectValue = 0;
-            if (i1 > 0.5)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture = new CultureInfo("en-US");
-            long actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToInt64  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -123.");
-
-        try
-        {
-            Single i1 = (Single)(-123);
-            CultureInfo myCulture = new CultureInfo("en-US");
-            long actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            if (actualValue != (long)(-123))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToInt64  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  +123.");
-
-        try
-        {
-            Single i1 = (Single)(+123);
-            CultureInfo myCulture = new CultureInfo("en-US");
-            long actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            if (actualValue != (long)(+123))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToInt64  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a single which is  >Int64.MaxValue.");
-
-        try
-        {
-
-            Single i1 = (float)Int64.MaxValue + 1.0f;
-            CultureInfo myCulture = new CultureInfo("en-US");
-            long actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToInt64  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a single which is  <Int64.MinValue.");
-
-        try
-        {
-            Single i1 = (float)Int64.MinValue - (float)Int64.MaxValue;
-            CultureInfo myCulture = new CultureInfo("en-US");
-            long actualValue = ((IConvertible)i1).ToInt64(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToInt64  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToInt64 test = new SingleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletosbyte.cs b/tests/src/CoreMangLib/cti/system/single/singletosbyte.cs
deleted file mode 100644 (file)
index 3285b93..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToSByte(System.IFormatProvider)
-/// </summary>
-public class SingleToSByte
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            int expectValue = 0;
-            if (i1 > 0.5)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToSByte  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -123.");
-
-        try
-        {
-            Single i1 = (Single)(-123);
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            if (actualValue != (sbyte)(-123))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToSByte  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  +123.");
-
-        try
-        {
-            Single i1 = (Single)(+123);
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            if (actualValue != (sbyte)(+123))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToSByte  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a single which is  >SByte.MaxValue.");
-
-        try
-        {
-
-            Single i1 = (float)SByte.MaxValue + 1.0f;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToSByte  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a single which is  <SByte.MinValue.");
-
-        try
-        {
-            Single i1 = (float)SByte.MinValue - 1.0f;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            sbyte actualValue = ((IConvertible)i1).ToSByte(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToSByte  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToSByte test = new SingleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToSByte");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletosingle.cs b/tests/src/CoreMangLib/cti/system/single/singletosingle.cs
deleted file mode 100644 (file)
index af85d14..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToSingle(System.IFormatProvider)
-/// </summary>
-public class SingleToSingle
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-          
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            Single actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            if (actualValue != i1)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToSingle  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check a single which is  -123.");
-
-        try
-        {
-            Single i1 = (Single)(-123);
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            Single actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            if (actualValue != i1)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "ToSingle  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Check a single which is  +123.");
-
-        try
-        {
-            Single i1 = (Single)(+123);
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            Single actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            if (actualValue != i1)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "ToSingle  return failed. ");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: check a single  which is  not a number .");
-
-        try
-        {
-            Single i1 = Single.NaN;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            Single actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            if (!Single.IsNaN(actualValue))
-            {
-                TestLibrary.TestFramework.LogError("004.1", "ToSingle  return failed. ");
-                retVal = false;
-            }
-            i1 = Single.NegativeInfinity;
-            myCulture =  new CultureInfo("en-US");
-            actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            if (!Single.IsNegativeInfinity(actualValue))
-            {
-                TestLibrary.TestFramework.LogError("004.2", "ToSingle  return failed. ");
-                retVal = false;
-            }
-            i1 = Single.PositiveInfinity;
-            myCulture =  new CultureInfo("en-US");
-            actualValue = ((IConvertible)i1).ToSingle(myCulture);
-            if (!Single.IsPositiveInfinity(actualValue))
-            {
-                TestLibrary.TestFramework.LogError("004.3", "ToSingle  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.0", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToSingle test = new SingleToSingle();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToSingle");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletouint16.cs b/tests/src/CoreMangLib/cti/system/single/singletouint16.cs
deleted file mode 100644 (file)
index 05ea363..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToUInt16(System.IFormatProvider)
-/// </summary>
-public class SingleToUInt16
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-   
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            short expectValue = 0;
-            if (i1 > 0.5)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            ushort actualValue = ((IConvertible)i1).ToUInt16(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToUInt16  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a single which is  >UInt16.MaxValue.");
-
-        try
-        {
-            Single i1 = (Single)(UInt16.MaxValue + 1);
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            ushort actualValue = ((IConvertible)i1).ToUInt16(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToUInt16  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a single which is  <UInt16.MinValue.");
-
-        try
-        {
-            Single i1 = (Single)(UInt16.MinValue - 1);
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            ushort actualValue = ((IConvertible)i1).ToUInt16(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToUInt16  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToUInt16 test = new SingleToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToUInt16");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletouint32.cs b/tests/src/CoreMangLib/cti/system/single/singletouint32.cs
deleted file mode 100644 (file)
index 5a781a3..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToUInt32(System.IFormatProvider)
-/// </summary>
-public class SingleToUInt32
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-   
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            short expectValue = 0;
-            if (i1 > 0.5)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            uint actualValue = ((IConvertible)i1).ToUInt32(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToUInt32  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a single which is  >UInt32.MaxValue.");
-
-        try
-        {
-            Single i1 = (float)UInt32.MaxValue + 1.0f;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            uint actualValue = ((IConvertible)i1).ToUInt32(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToUInt32  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a single which is  <UInt32.MinValue.");
-
-        try
-        {
-            Single i1 = (float)UInt32.MinValue - 1.0f;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            uint actualValue = ((IConvertible)i1).ToUInt32(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToUInt32  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToUInt32 test = new SingleToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToUInt32");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/single/singletouint64.cs b/tests/src/CoreMangLib/cti/system/single/singletouint64.cs
deleted file mode 100644 (file)
index 26b1aa3..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-/// <summary>
-///System.IConvertible.ToUInt64(System.IFormatProvider)
-/// </summary>
-public class SingleToUInt64
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-   
-        TestLibrary.TestFramework.LogInformation("[Negtive]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check a  random single.");
-
-        try
-        {
-            Single i1 = TestLibrary.Generator.GetSingle(-55);
-            ulong expectValue = 0;
-            if (i1 > 0.5)
-                expectValue = 1;
-            else
-                expectValue = 0;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            ulong actualValue = ((IConvertible)i1).ToUInt64(myCulture);
-            if (actualValue != expectValue)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "ToUInt64  return failed. ");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-   
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Check a single which is  >UInt64.MaxValue.");
-
-        try
-        {
-            Single i1 = (float)UInt64.MaxValue + 1.0f;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            ulong actualValue = ((IConvertible)i1).ToUInt64(myCulture);
-            TestLibrary.TestFramework.LogError("101.1", "ToUInt64  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("101.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Check a single which is  <UInt64.MinValue.");
-
-        try
-        {
-            Single i1 = (float)UInt64.MinValue - 1.0f;
-            CultureInfo myCulture =  new CultureInfo("en-US");
-            ulong actualValue = ((IConvertible)i1).ToUInt64(myCulture);
-            TestLibrary.TestFramework.LogError("102.1", "ToUInt64  return failed. ");
-            retVal = false;
-
-
-        }
-        catch (OverflowException)
-        {
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #endregion
-
-    public static int Main()
-    {
-        SingleToUInt64 test = new SingleToUInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("SingleToUInt64");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/StringChars.csproj b/tests/src/CoreMangLib/cti/system/string/StringChars.csproj
deleted file mode 100644 (file)
index d0b6ba5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringchars.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringCompare9.csproj b/tests/src/CoreMangLib/cti/system/string/StringCompare9.csproj
deleted file mode 100644 (file)
index f98919a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringcompare9.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringCompareOrdinal1.csproj b/tests/src/CoreMangLib/cti/system/string/StringCompareOrdinal1.csproj
deleted file mode 100644 (file)
index ed7dcde..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringcompareordinal1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringCompareOrdinal2.csproj b/tests/src/CoreMangLib/cti/system/string/StringCompareOrdinal2.csproj
deleted file mode 100644 (file)
index 431a46e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringcompareordinal2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat1.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat1.csproj
deleted file mode 100644 (file)
index 73ed2b3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat2.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat2.csproj
deleted file mode 100644 (file)
index f287457..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat3.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat3.csproj
deleted file mode 100644 (file)
index 8146ea6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat4.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat4.csproj
deleted file mode 100644 (file)
index 9cafeb1..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat4.cs" />
-  </ItemGroup>
-  <PropertyGroup>
-    <CLRTestBatchPreCommands><![CDATA[
-$(CLRTestBatchPreCommands)
-set COMPlus_FastGCStress=1
-]]></CLRTestBatchPreCommands>
-    <BashCLRTestPreCommands><![CDATA[
-$(BashCLRTestPreCommands)
-export COMPlus_FastGCStress=1
-]]></BashCLRTestPreCommands>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat5.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat5.csproj
deleted file mode 100644 (file)
index 9ea8a9c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat5.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat6.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat6.csproj
deleted file mode 100644 (file)
index 3d40ff9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat6.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat7.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat7.csproj
deleted file mode 100644 (file)
index 19959da..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat7.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringConcat8.csproj b/tests/src/CoreMangLib/cti/system/string/StringConcat8.csproj
deleted file mode 100644 (file)
index 310600d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringconcat8.cs" />
-  </ItemGroup>
-  <PropertyGroup>
-    <CLRTestBatchPreCommands><![CDATA[
-$(CLRTestBatchPreCommands)
-set COMPlus_FastGCStress=1
-]]></CLRTestBatchPreCommands>
-    <BashCLRTestPreCommands><![CDATA[
-$(BashCLRTestPreCommands)
-export COMPlus_FastGCStress=1
-]]></BashCLRTestPreCommands>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringCopyTo.csproj b/tests/src/CoreMangLib/cti/system/string/StringCopyTo.csproj
deleted file mode 100644 (file)
index cfbfd5e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringcopyto.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringCtor5.csproj b/tests/src/CoreMangLib/cti/system/string/StringCtor5.csproj
deleted file mode 100644 (file)
index 612e4e4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringctor5.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringCtorChar.csproj b/tests/src/CoreMangLib/cti/system/string/StringCtorChar.csproj
deleted file mode 100644 (file)
index e10eec4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringctorchar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringEmpty.csproj b/tests/src/CoreMangLib/cti/system/string/StringEmpty.csproj
deleted file mode 100644 (file)
index d45b299..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringempty.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringEquals1.csproj b/tests/src/CoreMangLib/cti/system/string/StringEquals1.csproj
deleted file mode 100644 (file)
index d1cb6d5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringequals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringEquals2.csproj b/tests/src/CoreMangLib/cti/system/string/StringEquals2.csproj
deleted file mode 100644 (file)
index 81b2050..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringequals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringEquals3.csproj b/tests/src/CoreMangLib/cti/system/string/StringEquals3.csproj
deleted file mode 100644 (file)
index 7cc7a09..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringequals3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringEquals6.csproj b/tests/src/CoreMangLib/cti/system/string/StringEquals6.csproj
deleted file mode 100644 (file)
index 4abbf39..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringequals6.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringFormat1.csproj b/tests/src/CoreMangLib/cti/system/string/StringFormat1.csproj
deleted file mode 100644 (file)
index c75e705..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringformat1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringFormat2.csproj b/tests/src/CoreMangLib/cti/system/string/StringFormat2.csproj
deleted file mode 100644 (file)
index 1e133c7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringformat2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringGetEnumerator.csproj b/tests/src/CoreMangLib/cti/system/string/StringGetEnumerator.csproj
deleted file mode 100644 (file)
index b09fe24..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringgetenumerator.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringGetHashCode.csproj b/tests/src/CoreMangLib/cti/system/string/StringGetHashCode.csproj
deleted file mode 100644 (file)
index 2498ab9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringgethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 7d92391..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToByte.csproj
deleted file mode 100644 (file)
index 5657a94..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToChar.csproj
deleted file mode 100644 (file)
index 4878f3f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt16.csproj
deleted file mode 100644 (file)
index b8b7c54..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 1464055..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToInt64.csproj
deleted file mode 100644 (file)
index b372bfc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToSByte.csproj
deleted file mode 100644 (file)
index d37f382..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index b1de8b3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index 6f48566..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/string/StringIConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index c453142..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringiconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIEnumerableGetEnumerator.csproj b/tests/src/CoreMangLib/cti/system/string/StringIEnumerableGetEnumerator.csproj
deleted file mode 100644 (file)
index 3c1312d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringienumerablegetenumerator.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIndexOf10.csproj b/tests/src/CoreMangLib/cti/system/string/StringIndexOf10.csproj
deleted file mode 100644 (file)
index d94e6ba..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringindexof10.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringInsert.csproj b/tests/src/CoreMangLib/cti/system/string/StringInsert.csproj
deleted file mode 100644 (file)
index 6a84982..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringinsert.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringIsNullOrEmpty.csproj b/tests/src/CoreMangLib/cti/system/string/StringIsNullOrEmpty.csproj
deleted file mode 100644 (file)
index e3cb217..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringisnullorempty.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringJoin.csproj b/tests/src/CoreMangLib/cti/system/string/StringJoin.csproj
deleted file mode 100644 (file)
index 264dd54..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringjoin.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringJoin1.csproj b/tests/src/CoreMangLib/cti/system/string/StringJoin1.csproj
deleted file mode 100644 (file)
index b986484..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringjoin1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringJoin2.csproj b/tests/src/CoreMangLib/cti/system/string/StringJoin2.csproj
deleted file mode 100644 (file)
index d4dfbc2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringjoin2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringLength.csproj b/tests/src/CoreMangLib/cti/system/string/StringLength.csproj
deleted file mode 100644 (file)
index e026646..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringlength.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringPadLeft.csproj b/tests/src/CoreMangLib/cti/system/string/StringPadLeft.csproj
deleted file mode 100644 (file)
index 1e40d94..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringpadleft.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringPadLeft1.csproj b/tests/src/CoreMangLib/cti/system/string/StringPadLeft1.csproj
deleted file mode 100644 (file)
index 049da39..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringpadleft1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringPadLeft2.csproj b/tests/src/CoreMangLib/cti/system/string/StringPadLeft2.csproj
deleted file mode 100644 (file)
index 51388aa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringpadleft2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringPadRight.csproj b/tests/src/CoreMangLib/cti/system/string/StringPadRight.csproj
deleted file mode 100644 (file)
index 07f61e2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringpadright.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringPadRight1.csproj b/tests/src/CoreMangLib/cti/system/string/StringPadRight1.csproj
deleted file mode 100644 (file)
index dd15897..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringpadright1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringPadRight2.csproj b/tests/src/CoreMangLib/cti/system/string/StringPadRight2.csproj
deleted file mode 100644 (file)
index 9857d58..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringpadright2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringRemove1.csproj b/tests/src/CoreMangLib/cti/system/string/StringRemove1.csproj
deleted file mode 100644 (file)
index 3bc82bc..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringremove1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringRemove2.csproj b/tests/src/CoreMangLib/cti/system/string/StringRemove2.csproj
deleted file mode 100644 (file)
index 66c1c05..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringremove2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringReplace1.csproj b/tests/src/CoreMangLib/cti/system/string/StringReplace1.csproj
deleted file mode 100644 (file)
index e958728..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringreplace1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringReplace2.csproj b/tests/src/CoreMangLib/cti/system/string/StringReplace2.csproj
deleted file mode 100644 (file)
index 48c7b30..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringreplace2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringReplace3.csproj b/tests/src/CoreMangLib/cti/system/string/StringReplace3.csproj
deleted file mode 100644 (file)
index eb5eb84..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4AC1-495E-87D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="stringreplace3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/string/StringSplit1.csproj b/tests/src/CoreMangLib/cti/system/string/StringSplit1.csproj
deleted file mode 100644 (file)
index 7aa10e3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringsplit1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringSubString1.csproj b/tests/src/CoreMangLib/cti/system/string/StringSubString1.csproj
deleted file mode 100644 (file)
index fa77c8e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringsubstring1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringSubString2.csproj b/tests/src/CoreMangLib/cti/system/string/StringSubString2.csproj
deleted file mode 100644 (file)
index 544c4a3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringsubstring2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringToCharArray.csproj b/tests/src/CoreMangLib/cti/system/string/StringToCharArray.csproj
deleted file mode 100644 (file)
index f8a26f2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringtochararray.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringToString1.csproj b/tests/src/CoreMangLib/cti/system/string/StringToString1.csproj
deleted file mode 100644 (file)
index 6b5e0b3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringtostring1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringTrim1.csproj b/tests/src/CoreMangLib/cti/system/string/StringTrim1.csproj
deleted file mode 100644 (file)
index 8221cc3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringtrim1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringTrim1b.csproj b/tests/src/CoreMangLib/cti/system/string/StringTrim1b.csproj
deleted file mode 100644 (file)
index 052921c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringtrim1b.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringTrim2.csproj b/tests/src/CoreMangLib/cti/system/string/StringTrim2.csproj
deleted file mode 100644 (file)
index e0d0a6f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringtrim2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringTrim3.csproj b/tests/src/CoreMangLib/cti/system/string/StringTrim3.csproj
deleted file mode 100644 (file)
index 1f06148..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringtrim3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/StringTrim4.csproj b/tests/src/CoreMangLib/cti/system/string/StringTrim4.csproj
deleted file mode 100644 (file)
index a14b6fa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringtrim4.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringchars.cs b/tests/src/CoreMangLib/cti/system/string/stringchars.cs
deleted file mode 100644 (file)
index f9eaccd..0000000
+++ /dev/null
@@ -1,227 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.chars
-/// </summary>
-public class StringChars
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-    public static int Main()
-    {
-        StringChars sc = new StringChars();
-        TestLibrary.TestFramework.BeginTestCase("StringChars");
-
-        if (sc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }        
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        char ActualResult1;
-        char ActualResult2;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: string's chars one");
-        try
-        {
-            strA = "Hello\u0009 World";
-            ActualResult1 = strA[5];
-            ActualResult2 = strA[6];
-            if (ActualResult1 != '\t' || ActualResult2 !='\u0020')
-            {
-                TestLibrary.TestFramework.LogError("001", "string's chars one ActualResult is not the ExpectResult");
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        char ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: string's chars two");
-        try
-        {
-            strA = this.GetString(false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char charA = this.GetChar(0, c_MINI_STRING_LENGTH);
-            int Insert = this.GetInt32(0, strA.Length + 1);
-            string strA1 = strA.Insert(Insert, charA.ToString());
-            ActualResult = strA1[Insert];
-            if (ActualResult!= charA)
-            {
-                TestLibrary.TestFramework.LogError("003", "string's chars two ActualResult is not the ExpectResult");
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTesting
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        string strA;
-        char ActualResult;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: index is equel string's length");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = strA[strA.Length];
-            retVal = false;
-        }
-        catch (IndexOutOfRangeException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        string strA;
-        char ActualResult;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: index is greater than string's length");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = strA[this.GetInt32(strA.Length + 1,Int32.MaxValue)];
-            retVal = false;
-        }
-        catch (IndexOutOfRangeException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        string strA;
-        char ActualResult;
-        TestLibrary.TestFramework.BeginScenario("NegTest3: index is less than 0");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = strA[this.GetInt32(1,strA.Length)*(-1)];
-            retVal = false;
-        }
-        catch (IndexOutOfRangeException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N003", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region Help method for geting test data
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    private Char GetChar(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return Convert.ToChar(minValue);
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToChar(Convert.ToInt32(TestLibrary.Generator.GetChar(-55)) % (maxValue - minValue) + minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-        return Convert.ToChar(minValue);
-    }
-    private string GetString(bool ValidPath, Int32 minValue, Int32 maxValue)
-    {
-        StringBuilder sVal = new StringBuilder();
-        string s;
-
-        if (0 == minValue && 0 == maxValue) return String.Empty;
-        if (minValue > maxValue) return null;
-
-        if (ValidPath)
-        {
-            return TestLibrary.Generator.GetString(-55, ValidPath, minValue, maxValue);
-        }
-        else
-        {
-            int length = this.GetInt32(minValue, maxValue);
-            for (int i = 0; length > i; i++)
-            {
-                char c = this.GetChar(minValue, maxValue);
-                sVal.Append(c);
-            }
-            s = sVal.ToString();
-            return s;
-        }
-
-
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringcompare9.cs b/tests/src/CoreMangLib/cti/system/string/stringcompare9.cs
deleted file mode 100644 (file)
index 75d59aa..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-using System.Globalization;
-using TestLibrary;
-
-public class StringCompare
-{
-    public static string[] InterestingStrings = new string[] { null, "", "a", "1", "-", "A", "!", "abc", "aBc", "a\u0400Bc", "I", "i", "\u0130", "\u0131", "A", "\uFF21", "\uFE57"};
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Compare interesting strings ordinally");
-
-        try
-        {
-            foreach (string s in InterestingStrings)
-            {
-                foreach (string r in InterestingStrings)
-                {
-                    retVal &= TestStrings(s, r);
-                }
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare many characters");
-
-        try
-        {
-            for (int i = 0; i < 40; i++)  // Ok, 40 isn't that many... but this takes way too long
-            {
-                char c = Generator.GetChar(-55);
-                if (string.Compare(new string(new char[] { c }), new string(new char[] { c }), StringComparison.Ordinal) != 0)
-                {
-                    TestLibrary.TestFramework.LogError("002.1", "Character " + i.ToString() + " is not equal to itself ordinally!");
-                    retVal = false;
-                }
-
-                for (int j = 0; j < (int)c; j++)
-                {
-                    int compareResult = string.Compare(new string(new char[] { c }), new string(new char[] { (char)j }), StringComparison.Ordinal);
-                    if (compareResult != 0) compareResult = compareResult / Math.Abs(compareResult);
-                    if (compareResult != 1)
-                    {
-                        TestLibrary.TestFramework.LogError("002.2", "Character " + ((int)c).ToString() + " is not greater than character " + j.ToString() + ", Compare result: " + compareResult.ToString());
-                        retVal = false;
-                    }
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare many strings");
-
-        try
-        {
-            for (int i = 0; i < 1000; i++) 
-            {
-                string str1 = Generator.GetString(-55, false, 5, 20);
-                string str2 = Generator.GetString(-55, false, 5, 20);
-                if (string.Compare(str1, str1, StringComparison.Ordinal) != 0)
-                {
-                    TestLibrary.TestFramework.LogError("003.1", "Comparison not as expected! Actual result: " + string.Compare(str1, str1, StringComparison.Ordinal).ToString() + ", Expected result: 0");
-                    TestLibrary.TestFramework.LogInformation("String 1: <" + str1 + "> : " + BytesFromString(str1) + "\nString 2: <" + str1 + "> : " + BytesFromString(str1));
-                    retVal = false;
-                }
-                if (string.Compare(str2, str2, StringComparison.Ordinal) != 0)
-                {
-                    TestLibrary.TestFramework.LogError("003.2", "Comparison not as expected! Actual result: " + string.Compare(str2, str2, StringComparison.Ordinal).ToString() + ", Expected result: 0");
-                    TestLibrary.TestFramework.LogInformation("String 1: <" + str2 + "> : " + BytesFromString(str2) + "\nString 2: <" + str2 + "> : " + BytesFromString(str2));
-                    retVal = false;
-                }
-                TestStrings(str1, str2);
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Specific regression cases");
-
-        try
-        {
-            CultureInfo oldCi = TestLibrary.Utilities.CurrentCulture;
-            TestLibrary.Utilities.CurrentCulture = new CultureInfo("hu-HU");
-            retVal &= TestStrings("dzsdzs", "ddzs");
-            TestLibrary.Utilities.CurrentCulture = oldCi;
-
-            retVal &= TestStrings("\u00C0nimal", "A\u0300nimal");
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public static int Main()
-    {
-        StringCompare test = new StringCompare();
-
-        TestLibrary.TestFramework.BeginTestCase("StringCompare");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    private bool TestStrings(string str1, string str2)
-    {
-        bool retVal = true;
-
-        int expectValue = PredictValue(str1, str2);
-        int actualValue = String.Compare(str1, str2, StringComparison.Ordinal);
-        if (expectValue != 0) expectValue = expectValue / Math.Abs(expectValue);
-        if (actualValue != 0) actualValue = actualValue / Math.Abs(actualValue);
-
-        if (actualValue != expectValue)
-        {
-            TestLibrary.TestFramework.LogError("001.1", "Comparison not as expected! Actual result: " + actualValue + ", Expected result: " + expectValue);
-            TestLibrary.TestFramework.LogInformation("String 1: <" + str1 + "> : " + BytesFromString(str1) + "\nString 2: <" + str2 + "> : " + BytesFromString(str2));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    int PredictValue(string str1, string str2)
-    {
-        if (str1 == null)
-        {
-            if (str2 == null) return 0;
-            else return -1;
-        }
-        if (str2 == null) return 1;
-
-        for (int i = 0; i < str1.Length; i++)
-        {
-            if (i >= str2.Length) return 1;
-            if ((int)str1[i] > (int)str2[i]) return 1;
-            if ((int)str1[i] < (int)str2[i]) return -1;
-        }
-
-        if (str2.Length > str1.Length) return -1;
-
-        return 0;
-    }
-
-    private static string BytesFromString(string str)
-    {
-        if (str == null) return string.Empty;
-        StringBuilder output = new StringBuilder();
-        for (int i = 0; i < str.Length; i++)
-        {
-            output.Append(TestLibrary.Utilities.ByteArrayToString(BitConverter.GetBytes(str[i])));
-            if (i != (str.Length - 1)) output.Append(", ");
-        }
-        return output.ToString();
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringcompareordinal1.cs b/tests/src/CoreMangLib/cti/system/string/stringcompareordinal1.cs
deleted file mode 100644 (file)
index 73e959d..0000000
+++ /dev/null
@@ -1,587 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Collections;
-using System.Text;
-using TestLibrary;
-
-public class StringCompareOrdinal1
-{
-    private const int c_MINI_STRINF_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        StringCompareOrdinal1 sco1 = new StringCompareOrdinal1();
-
-        TestLibrary.TestFramework.BeginScenario("StringCompareOrdinal1");
-
-        if (sco1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-        retVal = PosTest14() && retVal;
-        retVal = PosTest15() && retVal;
-        retVal = PosTest16() && retVal;
-        retVal = PosTest17() && retVal;
-        retVal = PosTest18() && retVal;
-        return retVal;
-    }
-    #region Positive Testing
-    public bool PosTest1()
-    {
-        string strA;
-        string strB;
-        int ActualResult;
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Two Null CompareOrdinal");
-
-        try
-        {
-            strA = null;
-            strB = null;
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "Two Null CompareOrdinal Expected Result is equel 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {      
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;  
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Null and null string CompareOrdinal");
-
-        try
-        {
-            strA = null;
-            strB = "";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "Null and null string CompareOrdinal Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Null and space string CompareOrdinal");
-
-        try
-        {
-            strA = null;
-            strB = " ";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0 )
-            {
-                TestLibrary.TestFramework.LogError("005", "Null and space string CompareOrdinal Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-        int ExpectResult = 0;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Null string and a space strings CompareOrdinal");
-
-        try
-        {
-            strA = ""; 
-            strB = " ";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= ExpectResult)
-            {
-                TestLibrary.TestFramework.LogError("007", "Null string and a space strings CompareOrdinal Expected Result is less 0;Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        string strBasic;
-        Random rand = new Random(-55);
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Two like strings embedded different tabs CompareOrdinal");
-
-        try
-        {
-            char CharTab = '\t';
-            strBasic = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strA = strBasic + new string(CharTab, rand.Next(1, 10));
-            strB = strBasic + new string(CharTab, rand.Next(11, 20));
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("009", "Two like strings embedded different tabs CompareOrdinal Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Two like strings embedded the same tab but differet location CompareOrdinal");
-
-        try
-        {
-            strA = "hello"+"\t"+"world";
-            strB = "\t"+"helloworl"+ "d";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("011", "Two like strings embedded the same tab but differet location CompareOrdinal: Expected Result is greater 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest7: String with upper chars and one with lower chars CompareOrdinal");
-
-        try
-        {
-            strA = "HELLOWORD";
-            strB = "helloword";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0 )
-            {
-                TestLibrary.TestFramework.LogError("013", "String with upper chars and one with lower chars CompareOrdinal Expected Result is equel 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest8: Two strings with ignorecase same char CompareOrdinal");
-
-        try
-        {
-            strA = "helloword";
-            strB = "heLLoword";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult <= 0 )
-            {
-                TestLibrary.TestFramework.LogError("015", "  Two strings with ignorecase same char CompareOrdinal Expected Result is greate 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Two not null strings CompareOrdinal one");
-
-        try
-        {
-            strA = "hello-word";
-            strB = "helloword";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("017", "Two not null strings CompareOrdinal one Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest10: Two not null strings CompareOrdinal two");
-
-        try
-        {
-            strA = "helloword";
-            strB = "hello\nword";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("019", " Two not null strings CompareOrdinal two Expected Result is larger 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest11: Two not null strings CompareOrdinal three");
-
-        try
-        {
-            strA = "helloword";
-            strB = "helloword\n";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("021", " Two not null strings CompareOrdinal three Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest12: Two like not null strings CompareOrdinal four");
-
-        try
-        {
-            strA = "helloword";
-            strB = "helloword";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("023", " Two not null strings CompareOrdinal four Expected Result is equel 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("024", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest13()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest13: Two not null strings CompareOrdinal five");
-
-        try
-        {
-            strA = "\uFF21";
-            strB = "A";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult <= 0 )
-            {
-                TestLibrary.TestFramework.LogError("025", " Two not null strings CompareOrdinal five Expected Result is greater 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("026", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest14()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult; 
-
-        TestLibrary.TestFramework.BeginScenario("PosTest14: Two not null strings CompareOrdinal six");
-
-        try
-        {
-            strA = "\uD801\uDc00";
-            strB = "\uD801\uDc28";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("027", " Two not null strings CompareOrdinal six Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("028", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest15()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest15: Two not null strings CompareOrdinal seven");
-
-        try
-        {
-            strA = "\x200b";
-            strB = "\uFEFF";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("029", " Two not null strings CompareOrdinal seven Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("030", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest16()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest16: Two not null strings CompareOrdinal eight");
-
-        try
-        {
-            strA = "A`";
-            strB = "\u00c0";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("031", " Two not null strings CompareOrdinal nine Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("032", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest17()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest17: Two not null strings CompareOrdinal nine");
-
-        try
-        {
-            strA = "\\\\my documents\\my files\\";
-            strB = @"\\my documents\my files\";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("033", " Two not null strings CompareOrdinal nine Expected Result is equel 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("034", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest18()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest18: tab and fout spaces CompareOrdinal");
-
-        try
-        {
-            strA = "\t";
-            strB = "    ";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("035", " tab and fout spaces CompareOrdinal Expected Result is greater 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("036", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-
-
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringcompareordinal2.cs b/tests/src/CoreMangLib/cti/system/string/stringcompareordinal2.cs
deleted file mode 100644 (file)
index 59b631b..0000000
+++ /dev/null
@@ -1,1216 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-
-public class StringCompareOrdinal2
-{
-    private const int c_MINI_STRINF_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private string strA;
-    private int indexA;
-    private string strB;
-    private int indexB;
-    private int length;
-
-    public static int Main()
-    {
-        StringCompareOrdinal2 sco2 = new StringCompareOrdinal2();
-       TestLibrary.TestFramework.BeginTestCase("StringCompareOrdinal2");
-        TestLibrary.TestFramework.BeginScenario("StringCompareOrdinal2");
-
-        if (sco2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-        retVal = PosTest14() && retVal;
-        retVal = PosTest15() && retVal;
-        retVal = PosTest16() && retVal;
-        retVal = PosTest17() && retVal;
-        retVal = PosTest18() && retVal;
-        retVal = PosTest19() && retVal;
-        retVal = PosTest20() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-        retVal = NegTest6() && retVal;
-        retVal = NegTest7() && retVal;
-        retVal = NegTest8() && retVal;
-        retVal = NegTest9() && retVal;
-        retVal = NegTest10() && retVal;
-        retVal = NegTest11() && retVal;
-        retVal = NegTest12() && retVal;
-        retVal = NegTest13() && retVal;
-        retVal = NegTest14() && retVal;
-        retVal = NegTest15() && retVal;
-        retVal = NegTest16() && retVal;
-        retVal = NegTest17() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Testing
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Two empty Strings CompareOrdinal");
-
-        try
-        {
-            strA = String.Empty;
-            strB = String.Empty;
-            indexA = 0;
-            indexB = 0;
-            length = 0;
-            int ExpectResult = 0;
-
-                int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-                if (ActualResult != ExpectResult)
-                {
-                    TestLibrary.TestFramework.LogError("001", "Null Strings CompareOrdinal Expected Result is (" + ExpectResult + ");Actual Result is ( " + ActualResult + ")");
-                    retVal = false;
-                }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:NullString and not nullString CompareOrdinal");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, 0, 0);
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            indexA = rand.Next(0, strA.Length);
-            indexB = rand.Next(0, strB.Length);
-            length = rand.Next();
-            if (indexA == 0 && indexB >= 0 && indexB <= strB.Length && length >= 0)
-            {
-                int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-                if (ActualResult > 0 || ActualResult == 0)
-                {
-                    TestLibrary.TestFramework.LogError("003", "Null string and not null string CompareOrdinal Expected Result is less 0£¬Actual Result is ( " + ActualResult + ")");
-                    retVal = false;
-                }
-            }
-            else
-                TestLibrary.TestFramework.LogError("003", "Index or Length Number is out of range");
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Not nullString and nullString CompareOrdinal");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = TestLibrary.Generator.GetString(-55, false, 0, 0);
-            indexA = rand.Next(0, strA.Length);
-            indexB = rand.Next(0, strB.Length);
-            length = rand.Next();
-            if (indexB == 0 && indexA >= 0 && indexA <= strA.Length && length >= 0)
-            {
-                int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-                if (ActualResult < 0 || ActualResult == 0)
-                {
-                    TestLibrary.TestFramework.LogError("005", "Null string and not null string CompareOrdinal Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                    retVal = false;
-                }
-            }
-            else
-                TestLibrary.TestFramework.LogError("005", "Index or Length Number is out of range");
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Two like not NullStrings CompareOrdinal one");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(0, strA.Length);
-            indexB = indexA;
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("007", "Two like not NullStrings CompareOrdinal one ExpectResult is 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Two like not NullStrings CompareOrdinal eighteen");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "heloredmon!";
-            strB = strA.ToString();
-            indexA = 3;
-            indexB = 4;
-            length = 2;
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("026", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is less 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("027", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest6:Two like not NullStrings CompareOrdinal nineteen");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "This\0string\0js\0validghjgj";
-            strB = "This\0string\0is\0valid";
-            indexA = 0;
-            indexB = 0;
-            length = 13;
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("026", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is less 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("027", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest7:Two like not NullStrings CompareOrdinal twenty");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "abccde";
-            strB = "abcccde";
-            indexA = 3;//strA.Length - indexA = 2
-            indexB = 4;//strB.Length - indexB = 3
-            length = 4;//length               = 4
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("028", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is equel 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("029", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Two like not NullStrings CompareOrdinal twentyone");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "adsfasd";
-            strB = "ADSFASD";
-            indexA = 3;
-            indexB = 4;
-            length = 0;
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("030", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is equel 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("031", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest9:Two like not NullStrings CompareOrdinal twentytwo");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = null;
-            strB = null;
-            indexA = rand.Next();
-            indexB = rand.Next();
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("031", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is equel 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("032", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:Two like not NullStrings CompareOrdinal twentythree");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = null;
-            strB = "asdfasdf";
-            indexA = rand.Next();
-            indexB = rand.Next(0, strB.Length);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("033", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is less 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("034", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest11:Two like not NullStrings CompareOrdinal twentyfour");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = null;
-            strB = "asdfasdf";
-            indexA = rand.Next();
-            indexB = rand.Next(strB.Length, strB.Length + 10);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("035", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is less 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("036", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest12:Two like not NullStrings CompareOrdinal twentyfive");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = null;
-            strB = "";
-            indexA = rand.Next();
-            indexB = rand.Next();
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("038", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is greater 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("039", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest13()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest13:Two like not NullStrings CompareOrdinal twentyseven");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "    "; //four spaces
-            strB = "    "; //one tab
-            indexA = rand.Next(0, strA.Length);
-            indexB = indexA;
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("040", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is equel 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("041", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest14()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest14:Two like not NullStrings CompareOrdinal twentyeight");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "    "; //four spaces
-            strB = "    "; //one tab
-            indexA = rand.Next(0, strA.Length);
-            indexB = indexA + 1;
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("042", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is greater 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("043", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest15()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest15:Two like not NullStrings CompareOrdinal twentynine");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "    "; //four spaces
-            strB = "    "; //one tab
-            indexB = rand.Next(0, strB.Length);
-            indexA = indexB + 1;
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("044", "Two like not NullStrings CompareOrdinal eighteen ExpectResult is less 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("045", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-
-    public bool PosTest16()
-    {
-        bool retVal = true;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest16: Two not null strings CompareOrdinal eight");
-
-        try
-        {
-            strA = "\\\\my documents\\my files\\";
-            strB = @"\\my documents\my files\";
-            indexA = 0;
-            indexB = 0;
-            length = 10;
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("046", " Two not null strings CompareOrdinal seven Expected Result is equel 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("047", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest17()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest17: Two not null strings CompareOrdinal six");
-
-        try
-        {
-            strA = "\uD801\uDc00";
-            strB = "\uD801\uDc28";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("048", " Two not null strings CompareOrdinal six Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("049", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest18()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest18: Two not null strings CompareOrdinal seven");
-
-        try
-        {
-            strA = "\x200b";
-            strB = "\uFEFF";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("050", " Two not null strings CompareOrdinal seven Expected Result is less 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("051", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest19()
-    {
-        bool retVal = true;
-        string strA;
-        string strB;
-        int ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest19: Two not null strings CompareOrdinal five");
-
-        try
-        {
-            strA = "\uFF21";
-            strB = "A";
-            ActualResult = string.CompareOrdinal(strA, strB);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("052", " Two not null strings CompareOrdinal five Expected Result is greater 0,Actual Result is ( " + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("053", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest20()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest0:Two like not NullStrings CompareOrdinal thirty");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = "ABCDE";
-            strB = "abcde";
-            indexA = strA.Length;
-            indexB = strB.Length;
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("N001", "ExpectResult is 0,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-
-    }
-
-
-    #endregion
-
-
-    #region Negative Testing
-    /// <summary>
-    /// indexA>strA.Length,indexB normal and length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:Two like not NullStrings CompareOrdinal two");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(strA.Length + 1, strA.Length + 10);
-            indexB = rand.Next(0, strB.Length);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00A", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N003", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA<0,indexB normal and length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2:Two like not NullStrings CompareOrdinal three");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = (1 + rand.Next()) * (-1);
-            indexB = rand.Next(0, strB.Length);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00B", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N005", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA normal, indexB>strB.length and length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest3:Two like not NullStrings CompareOrdinal four");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(0, strA.Length);
-            indexB = rand.Next(strB.Length + 1, strB.Length + 10);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00C", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N007", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA normal,indexB<0 and length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest4:Two like not NullStrings CompareOrdinal five");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(0, strA.Length);
-            indexB = rand.Next(1, strB.Length) * (-1);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00D", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N009", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA normal, indexB normal and length<0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest5:Two like not NullStrings CompareOrdinal six");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(0, strA.Length);
-            indexB = rand.Next(0, strB.Length);
-            length = (1 + rand.Next()) * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00E", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N011", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA>strA.Length,indexB<0,length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest6:Two like not NullStrings CompareOrdinal seven");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(strA.Length + 1, strA.Length + 10);
-            indexB = rand.Next(1, strB.Length) * (-1);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00F", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N013", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// IndexA>strA.Length,indexB normal and length<0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest7()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest7:Two like not NullStrings CompareOrdinal eight");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(strA.Length + 1, strA.Length + 10);
-            indexB = rand.Next(0, strB.Length);
-            length = (1 + rand.Next()) * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00G", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N015", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA<0,indexB normal and length<0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest8()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest8:Two like not NullStrings CompareOrdinal nine");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(1, strA.Length) * (-1);
-            indexB = rand.Next(0, strB.Length);
-            length = (1 + rand.Next()) * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00H", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N017", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA<0,indexB<0 and length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest9()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest9:Two like not NullStrings CompareOrdinal nine");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(1, strA.Length) * (-1);
-            indexB = rand.Next(1, strB.Length) * (-1);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00I", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N019", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA normal,indexB<0 and length<0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest10()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest10:Two like not NullStrings CompareOrdinal ten");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(0, strA.Length);
-            indexB = rand.Next(1, strB.Length) * (-1);
-            length = (1 + rand.Next()) * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00J", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N021", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA normal,indexB>strB.Length and length<0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest11()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest11:Two like not NullStrings CompareOrdinal eleven");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(0, strA.Length);
-            indexB = rand.Next(strB.Length + 1, strB.Length + 10);
-            length = (1 + rand.Next()) * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00K", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N023", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA<0,indexB<0 and length <0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest12()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest12:Two like not NullStrings CompareOrdinal twelve");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(1, strA.Length) * (-1);
-            indexB = rand.Next(1, strB.Length) * (-1);
-            length = rand.Next() * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00L", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N025", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA>strA.Length,indexB>strB.Length and length <0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest13()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest13:Two like not NullStrings CompareOrdinal thirteen");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(strA.Length + 1, strA.Length + 10);
-            indexB = rand.Next(strB.Length + 1, strB.Length + 10);
-            length = (1 + rand.Next()) * (-1);
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00M", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N027", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA>strA.Length indexB>strB.Length and length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest14()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest14:Two like not NullStrings CompareOrdinal fourteen");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(strA.Length + 1, strA.Length + 10);
-            indexB = rand.Next(strB.Length + 1, strB.Length + 10);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00N", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N029", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA<0,indexB<strB.Length and length normal
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest15()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest15:Two like not NullStrings CompareOrdinal fifteen");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(1, strA.Length) * (-1);
-            indexB = rand.Next(strB.Length + 1, strB.Length + 10);
-            length = rand.Next();
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00O", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N031", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA <0,indexB>strB.Length and length<0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest16()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest16:Two like not NullStrings CompareOrdinal sixteen");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(1, strA.Length) * (-1);
-            indexB = rand.Next(strB.Length + 1, strB.Length + 10);
-            length = (1 + rand.Next()) * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00P", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N033", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    /// <summary>
-    /// indexA>strA.Length,indexB<0 and length<0
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest17()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest17:Two like not NullStrings CompareOrdinal seventeen");
-        Random rand = new Random(-55);
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRINF_LEN, c_MAX_STRING_LEN);
-            strB = strA.ToString();
-            indexA = rand.Next(strA.Length + 1, strA.Length + 10);
-            indexB = rand.Next(1, strB.Length) * (-1);
-            length = (1 + rand.Next()) * (-1);
-
-            int ActualResult = string.CompareOrdinal(strA, indexA, strB, indexB, length);
-           TestLibrary.TestFramework.LogError("N00Q", "Expected exception did not occur. Expected ArgumentOutOfRangeExeption");
-             retVal = false;
-        }
-        catch (ArgumentOutOfRangeException e)
-        {
-            TestLibrary.TestFramework.LogInformation("It occurred an expect exception:" + e);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N035", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat1.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat1.cs
deleted file mode 100644 (file)
index ce66aea..0000000
+++ /dev/null
@@ -1,373 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-
-public class StringConcat1
-{
-    public static int Main()
-    {
-        StringConcat1 sc1 = new StringConcat1();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat1");
-
-        if (sc1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat a random object");
-        try
-        {
-            ObjA = new object();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat a random object ExpectResult is" +ObjA.ToString()+ ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat an object of null");
-        try
-        {
-            ObjA = null;
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat an object of null ExpectResult is" +string.Empty+" ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat an object of empty");
-        try
-        {
-            ObjA = "";
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat an object of empty ExpectResult is equel" +ObjA.ToString()+ ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string ObjA;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat an object of two tab");
-        try
-        {
-            ObjA = new string('\t', 2);
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat an object of two tab ExpectResult is" +ObjA.ToString()+" ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat an object of int");
-        try
-        {
-            ObjA = new int();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat an object of int ExpectResult is equel" +ObjA.ToString()+" ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat an object of datetime");
-        try
-        {
-            ObjA = new DateTime();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("011", "  ExpectResult is equel" +ObjA.ToString()+ ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat an object of bool");
-        try
-        {
-            ObjA = new bool();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat an object of bool ExpectResult is equel" +ObjA.ToString()+",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat an object of random class instance  ");
-        try
-        {
-            ObjA = new StringConcat1();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat an object of random class instance ExpectResult is equel" +ObjA.ToString()+" ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Concat an object of Guid");
-        try
-        {
-            ObjA = new Guid();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("017", "Concat an object of Guid ExpectResult is equel"+ ObjA.ToString()+",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:Concat an object of Random ");
-        try
-        {
-            ObjA = new Random(-55);
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("019", "Concat an object of Random ExpectResult is equel" + ObjA.ToString() +",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest11: Concat an object of float");
-        try
-        {
-            ObjA = new float();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("021", "Concat an object of float ExpectResult is equel" +ObjA.ToString()+" ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest12:Concat an object of SByte");
-        try
-        {
-            ObjA = new SByte();
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("023", "Concat an object of SByte ExpectResult is equel" + ObjA.ToString()+ ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("024", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest13()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest13:Concat an object of number of less than 0");
-        try
-        {
-            ObjA = -123;
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("025", "Concat an object of number of less than 0 ExpectResult is equel" + ObjA.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("026", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat2.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat2.cs
deleted file mode 100644 (file)
index 12dd68b..0000000
+++ /dev/null
@@ -1,476 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-public class StringConcat2
-{
-    public static int Main()
-    {
-        StringConcat2 sc2 = new StringConcat2();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat2");
-
-        if (sc2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-        retVal = PosTest14() && retVal;
-        retVal = PosTest15() && retVal;
-        retVal = PosTest16() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat two objects of object ");
-        try
-        {
-            ObjA = new object();
-            ObjB = new object();
-            ActualResult = string.Concat(ObjA,ObjB);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat a random object ExpectResult is" + ObjA.ToString() + ObjB.ToString()+ ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat null object and null object");
-        try
-        {
-            ObjA = null;
-            ObjB = null;
-            ActualResult = string.Concat(ObjA,ObjB);
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat null object and null object ExpectResult is" + string.Empty + " ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat null object and empty");
-        try
-        {
-            ObjA = null;
-            ObjB = "";
-            ActualResult = string.Concat(ObjA,ObjB);
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat null object and empty ExpectResult is equel" + string.Empty + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string ObjA;
-        object ObjB;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat null and two tabs");
-        try
-        {
-            ObjB = null;
-            ObjA = new string('\t', 2);
-            ActualResult = string.Concat(ObjB,ObjA);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat null and two tabs ExpectResult is" +ObjA.ToString() + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat null and an object of int");
-        try
-        {
-            ObjA = null;
-            ObjB = new int();
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat null and an object of int ExpectResult is equel" +ObjB.ToString() + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat null and an object of datetime");
-        try
-        {
-            ObjA = null;
-            ObjB = new DateTime();
-            ActualResult = string.Concat(ObjA,ObjB);
-            if (ActualResult != ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("011", "Concat null and an object of datetime ExpectResult is equel" + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat null and an object of bool");
-        try
-        {
-            ObjA = null;
-            ObjB = new bool();
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat nulland an object of bool ExpectResult is equel" +ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat null and an object of random class instance");
-        try
-        {
-            ObjA = null;
-            ObjB = new StringConcat2();
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat null and an object of random class instance ExpectResult is equel"+ ObjB.ToString() + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Concat  null and an object of Guid");
-        try
-        {
-            ObjA = null;
-            ObjB = new Guid();
-            ActualResult = string.Concat(ObjA,ObjB);
-            if (ActualResult != ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("017", "Concat null and an object of Guid ExpectResult is equel" + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:Concat null and an object of Random ");
-        try
-        {
-            ObjA = null;
-            ObjB = new Random(-55);
-            ActualResult = string.Concat(ObjA,ObjB);
-            if (ActualResult != ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("019", "Concat  null and an object of Random ExpectResult is equel" + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest11:Concat an object and null ");
-        try
-        {
-            ObjA = new object();
-            ObjB = null;
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("021", "Concat an object and null ExpectResult is equel" + ObjA.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest12:Concat an object of Guid and null ");
-        try
-        {
-            ObjA = new Guid();
-            ObjB = null;
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("023", "Concat an object of Guid and null ExpectResult is equel" + ObjA.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("024", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest13()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest13:Concat an object of Guid and an object ");
-        try
-        {
-            ObjA = new Guid();
-            ObjB = new object();
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("025", "Concat an object of Guid and null ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("026", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest14()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest14:Concat an objec and an object of datetime");
-        try
-        {
-            ObjA = new object();
-            ObjB = new DateTime();
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("027", "Concat an object and an object of datetime ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("028", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest15()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest15:Concat an object of datetime and an object of bool");
-        try
-        {
-            ObjA = new DateTime();
-            ObjB = new bool();
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("029", "Concat an object of datetime and an object of bool ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("030", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest16()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        TestLibrary.TestFramework.BeginScenario("PosTest16:Concat object of two number of less than 0");
-        try
-        {
-            ObjA = -123;
-            ObjB = -132;
-            ActualResult = string.Concat(ObjA, ObjB);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("031", "Concat object of two number of less than 0 ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("032", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat3.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat3.cs
deleted file mode 100644 (file)
index 0c5b2d6..0000000
+++ /dev/null
@@ -1,395 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-public class StringConcat3
-{
-    public static int Main()
-    {
-        StringConcat3 sc3 = new StringConcat3();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat3");
-
-        if (sc3.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat three objects of object ");
-        try
-        {
-            ObjA = new object();
-            ObjB = new object();
-            ObjC = new object();
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjA.ToString() +ObjB.ToString() +ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat three objects ExpectResult is" + ObjA.ToString() + ObjB.ToString() + ObjC.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat  three null objects");
-        try
-        {
-            ObjA = null;
-            ObjB = null;
-            ObjC = null;
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat three null objects ExpectResult is" + string.Empty+ " ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat two null objects and a number of less than 0");
-        try
-        {
-            ObjA = null;
-            ObjB = null;
-            ObjC = -12314124;
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat two null objects and a number of less than 0 ExpectResult is equel" + ObjC.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat three special strings");
-        try
-        {
-            ObjA = new string('\t', 2);
-            ObjB = "\n";
-            ObjC = "\t";
-            ActualResult = string.Concat(ObjA, ObjB, ObjC);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString() + ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat three special strings ExpectResult is" + ObjB.ToString() + ObjA.ToString() + ObjC.ToString() + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat three numbers of less than 0");
-        try
-        {
-            ObjA = -123;
-            ObjB = -123;
-            ObjC = -123;
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString() + ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat three numbers of less than 0 ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat two nulls and an object of datetime");
-        try
-        {
-            ObjA = null;
-            ObjB = new DateTime();
-            ObjC = null;
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjB.ToString())
-            {
-                TestLibrary.TestFramework.LogError("011", "Concat two nulls and an object of datetime ExpectResult is equel" + ObjB.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat null and an object of datetime and one space");
-        try
-        {
-            ObjA = null;
-            ObjB = new DateTime();
-            ObjC = " ";
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjB.ToString() +ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat null and an object of datetime and one space ExpectResult is equel"+ ObjB.ToString() + ObjC.ToString() +",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat null and an object of random class instance and bool object");
-        try
-        {
-            ObjA = null;
-            ObjB = new StringConcat3();
-            ObjC = new bool();
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjB.ToString() + ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat null and an object of random class instance and bool object ExpectResult is equel" + ObjB.ToString() + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Concat int and special symbol and an object of Guid");
-        try
-        {
-            ObjA = 123;
-            ObjB = "\n";
-            ObjC = new Guid();
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString() + ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("017", "Concat int and special symbol and an object of Guid ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ObjC.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:Concat two guids with a \n string in middle");
-        try
-        {
-            ObjA = new Guid();
-            ObjB = "\n";
-            ObjC = new Guid();
-            ActualResult = string.Concat(ObjA, ObjB,ObjC);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString() + ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("019", "Concat two guids with a \n string in middle ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ObjC.ToString() +  ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest11:Concat three guids");
-        try
-        {
-            ObjA = new Guid();
-            ObjB = new Guid();
-            ObjC = new Guid();
-            ActualResult = string.Concat(ObjA, ObjB, ObjC);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString() + ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("021", "Concat three guids ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ObjC.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object ObjA;
-        object ObjB;
-        object ObjC;
-        TestLibrary.TestFramework.BeginScenario("PosTest11:Concat guid,datetime and bool");
-        try
-        {
-            ObjA = new Guid();
-            ObjB = new bool();
-            ObjC = new DateTime();
-            ActualResult = string.Concat(ObjA, ObjB, ObjC);
-            if (ActualResult != ObjA.ToString() + ObjB.ToString() + ObjC.ToString())
-            {
-                TestLibrary.TestFramework.LogError("023", "Concat guid,datetiem and bool ExpectResult is equel" + ObjA.ToString() + ObjB.ToString() + ObjC.ToString() + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("024", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat4.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat4.cs
deleted file mode 100644 (file)
index bd93e5d..0000000
+++ /dev/null
@@ -1,356 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-public class StringConcat4
-{
-    private int c_MAX_STRING_LENGTH = 256;
-    private int c_MINI_STRING_LENGTH = 8;
-
-    public static int Main()
-    {
-        StringConcat4 sc4 = new StringConcat4();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat4");
-
-        if (sc4.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-        string ActualResult;
-        object[] ObjA = new object[rand.Next(c_MINI_STRING_LENGTH,c_MAX_STRING_LENGTH)];
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat object Array with all null member");
-        try
-        {
-            for (int i = 0; i < ObjA.Length; i++)
-            {
-                ObjA[i] = null;
-            }
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat object Array with all null member ExpectResult is" + MergeStrings(ObjA) + "ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-        string ActualResult;
-        object[] ObjA = new object[rand.Next(c_MINI_STRING_LENGTH,c_MAX_STRING_LENGTH)];
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat object Array with empty member");
-        try
-        {
-            for (int i = 0; i < ObjA.Length; i++)
-            {
-                ObjA[i] = "";
-            }
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat object Array with empty member ExpectResult is" + MergeStrings(ObjA) + " ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object[] ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat object Array with null and empty member");
-        try
-        {
-            ObjA = new object[]{ null, "", null, "", null, "" };
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat object Array with null and empty member ExpectResult is equel" + MergeStrings(ObjA) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object[] ObjA;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat object Array with null,empty and space member");
-        try
-        {
-            ObjA = new object[] {" ",null,""," "};
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat object Array with null,empty and space member ExpectResult is" + MergeStrings(ObjA) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object[] ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat object Array with int,datetime,bool and class instance member");
-        try
-        {
-            object obj1 = -123;
-            object obj2 = new DateTime();
-            object obj3 = new bool();
-            object obj4 = new StringConcat4();
-            ObjA = new object[] { obj1, obj2, obj3, obj4 };
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat an object of int ExpectResult is equel" + MergeStrings(ObjA) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object[] ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat object Array with guid and some special symbols member");
-        try
-        {
-            object obj1 = new Guid();
-            object obj2 = "\n";
-            object obj3 = "\t";
-            object obj4 = "\u0041";
-            ObjA = new object[] { obj1, obj2, obj3, obj4};
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("011", "Concat object Array with guid and some special symbols member ExpectResult is equel" + MergeStrings(ObjA) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object[] ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat object Array with some strings and symbols member");
-        try
-        {
-            object obj1 = "hello";
-            object obj2 = "\0";
-            object obj3 = "World";
-            object obj4 = "\u0020";
-            object obj5 = "!";
-            ObjA = new object[] { obj1, obj2, obj3, obj4, obj5 };
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat object Array with some strings and symbols member ExpectResult is equel" + MergeStrings(ObjA) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        object[] ObjA;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat object Array with bool and some strings member");
-        try
-        {
-            object obj1 = true;
-            object obj2 = "hello\0world";
-            object obj3 = 12;
-            object obj4 = "uff21";
-            ObjA = new object[] { obj1, obj2, obj3, obj4 };
-            ActualResult = string.Concat(ObjA);
-            if (ActualResult != MergeStrings(ObjA))
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat object Array with bool and some strings member ExpectResult is equel" + MergeStrings(ObjA) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-
-    #region NegativeTesting
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Concat object Array is null");
-
-        object[] ObjA = new object[rand.Next(c_MINI_STRING_LENGTH,c_MAX_STRING_LENGTH)];
-        string ActualResult;
-        try
-        {
-            ObjA = null;
-            ActualResult = string.Concat(ObjA);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-        object[] ObjA = new object[50 * 1024 * 1024];
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Concat object Array with many strings");
-
-        int TotalLength = 0;
-        try
-        {
-            for (int i = 0; i < ObjA.Length; i++)
-            {
-                ObjA[i] = "HelloworldHelloworldHelloworldHelloworld!";
-                TotalLength += ObjA[i].ToString().Length;
-            }
-            ActualResult = string.Concat(ObjA);
-            retVal = false;
-        }
-        catch (OutOfMemoryException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region Help method
-    private string MergeStrings(object[] ObjS)
-    {
-        string ResultString ="";
-        foreach (object obj in ObjS)
-        {
-            if (obj == null)
-                ResultString += string.Empty;
-            else
-                ResultString += obj.ToString();
-        }
-        return ResultString;
-    }
-
-    #endregion
-
-    #endregion
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat5.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat5.cs
deleted file mode 100644 (file)
index fbfa2d5..0000000
+++ /dev/null
@@ -1,501 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-
-public class StringConcat5
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-    public static int Main()
-    {
-        StringConcat5 sc5 = new StringConcat5();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat5");
-
-        if (sc5.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-        retVal = PosTest14() && retVal;
-        retVal = PosTest15() && retVal;
-        retVal = PosTest16() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat two null ");
-        try
-        {
-            strA = null;
-            strB = null;
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat two null ExpectResult is" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat null and empty");
-        try
-        {
-            strA = null;
-            strB = "";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat null string and empty ExpectResult is" + MergeString(strA,strB) + " ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat null and space");
-        try
-        {
-            strA = null;
-            strB = "\u0020";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat null and space ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat empty and space");
-        try
-        {
-            strA = "";
-            strB = "\u0020";
-            ActualResult = string.Concat(strA,strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat empty and space ExpectResult is" + MergeString(strA,strB)+ " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat \0 and space");
-        try
-        {
-            strA = "\0";
-            strB = "u0020";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat \0 and space ExpectResult is equel" + MergeString(strA,strB) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat null and not nullstring");
-        try
-        {
-            strA = null;
-            strB = TestLibrary.Generator.GetString(-55, false,c_MINI_STRING_LENGTH,c_MAX_STRING_LENGTH);
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("011", "Concat null and not nullstring ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat empty and not nullstring");
-        try
-        {
-            strA = "";
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat empty and not nullstring ExpectResult is equel" + MergeString(strA, strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat two empty");
-        try
-        {
-            strA = "";
-            strB = "";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat two empty ExpectResult is equel" + MergeString(strA,strB) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Concat two not nullstrings one");
-        try
-        {
-            string strBasic = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = strBasic + "\n";
-            strB = strBasic;
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("017", "Concat two not nullstrings one ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:Concat some special symbols ");
-        try
-        {
-            strA = new string('\t', 2);
-            strB = "\uffff";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("019", "Concat some special symbols ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest11:Concat tab and space ");
-        try
-        {
-            strA = "\u0009";
-            strB = "\u0020";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("021", "Concat tab and space ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest12()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest12:Concat two not nullstrings two ");
-        try
-        {
-            strA = "Hello\t";
-            strB = "World";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("023", "Concat two not nullstrings two ExpectResult is equel" + MergeString(strA, strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("024", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest13()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest13:Concat two not nullstrings three");
-        try
-        {
-            strA = "Hello\0";
-            strB = "World";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("025", "Concat two not nullstrings three ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("026", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest14()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest14:Concat two not nullstrings four");
-        try
-        {
-            strA = "Hello\nWorld";
-            strB = "I am here!";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult !=MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("027", "Concat two not nullstrings four ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("028", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest15()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        TestLibrary.TestFramework.BeginScenario("PosTest15:Concat two not nullstrings five");
-        try
-        {
-            strA = "Hello\nWorld\tI am here\0....";
-            strB = "Welcome to you!";
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult !=MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("029", "Concat two not nullstrings five ExpectResult is equel" + MergeString(strA, strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("030", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest16()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest16:Concat string of two number of less than 0");
-        try
-        {
-            string stra = "hello World! "; 
-            string strb = "Come here! ";
-            strA = stra.Trim();
-            strB = strb.Trim();
-            ActualResult = string.Concat(strA, strB);
-            if (ActualResult != MergeString(strA,strB))
-            {
-                TestLibrary.TestFramework.LogError("031", "Concat string of two number of less than 0 ExpectResult is equel" + MergeString(strA,strB) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("032", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region Help Method
-
-    private string MergeString(string strA, string strB)
-    {
-        if (strA == null || strA == string.Empty)
-        {
-            if (strB == null || strB == string.Empty)
-            {
-                return string.Empty;
-            }
-            else
-                return strB.ToString();
-        }
-        else
-            return strA.ToString() + strB.ToString();
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat6.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat6.cs
deleted file mode 100644 (file)
index 6c85780..0000000
+++ /dev/null
@@ -1,372 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-
-public class StringConcat6
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-    public static int Main()
-    {
-        StringConcat6 sc6 = new StringConcat6();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat6");
-
-        if (sc6.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat three nulls ");
-        try
-        {
-            strA = null;
-            strB = null;
-            strC = null;
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA, strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat three nulls ExpectResult is" + MergeString(strA, strB,strC) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat two nulls and one empty");
-        try
-        {
-            strA = null;
-            strB = "";
-            strC = null;
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat null string and empty ExpectResult is" + MergeString(strA,strB,strC) + " ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat one null and two empty");
-        try
-        {
-            strA = null;
-            strB = "";
-            strC = "";
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat one null and two empty ExpectResult is equel" + MergeString(strA,strB,strC) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat three empty");
-        try
-        {
-            strA = "";
-            strB = "";
-            strC = "";
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat three empty ExpectResult is" + MergeString(strA,strB,strC) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat null,space and empty");
-        try
-        {
-            strA = null;
-            strB = "\u0020";
-            strC = "";
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat null,space and empty ExpectResult is equel" + MergeString(strA, strB, strC) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat null,not nullstring and empty");
-        try
-        {
-            strA = null;
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strC = "";
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("011", "Concat null,not nullstring and empty ExpectResult is equel" + MergeString(strA,strB,strC) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat empty and not nullstring");
-        try
-        {
-            strA = null;
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strC = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat empty and not nullstring ExpectResult is equel" + MergeString(strA,strB,strC) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat one empty and two not nullstrings");
-        try
-        {
-            strA = "";
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strC = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat one empty and two not nullstrings ExpectResult is equel" + MergeString(strA, strB, strC) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Concat three not nullstrings one");
-        try
-        {
-            string strBasic = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = strBasic + "\n";
-            strB = strBasic + "\t";
-            strC = "\0" + strBasic;
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("017", "Concat three not nullstrings one ExpectResult is equel" + MergeString(strA,strB,strC) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:Concat three nullstrings");
-        try
-        {
-            strA = "Hello\0Word!\u0020";
-            string strb = "\nhellobeijing!\t";
-            string strc = "\u0020HELLOEVERYONE!";
-            strB = strb.ToUpper();
-            strC = strc.ToLower();
-            ActualResult = string.Concat(strA, strB,strC);
-            if (ActualResult != MergeString(strA,strB,strC))
-            {
-                TestLibrary.TestFramework.LogError("019", "Concat three nullstrings ExpectResult is equel" + MergeString(strA,strB,strC) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region Help Method
-    private string MergeString(string strA, string strB,string strC)
-    {
-        string ResultMerge = "";
-        if (strA == null || strA == string.Empty)
-        {
-            ResultMerge += string.Empty;
-        }
-        else
-        {
-            ResultMerge += strA.ToString();
-        }
-        if (strB == null || strB == string.Empty)
-        {
-            ResultMerge += string.Empty;
-        }
-        else
-        {
-            ResultMerge += strB.ToString();
-        }
-        if (strC == null || strC == string.Empty)
-        {
-            ResultMerge += string.Empty;
-        }
-        else
-        {
-            ResultMerge += strC.ToString();
-        }
-
-        return ResultMerge;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat7.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat7.cs
deleted file mode 100644 (file)
index 98946d3..0000000
+++ /dev/null
@@ -1,435 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-
-public class StringConcat7
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-    public static int Main()
-    {
-        StringConcat7 sc7 = new StringConcat7();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat7");
-
-        if (sc7.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat four nulls ");
-        try
-        {
-            strA = null;
-            strB = null;
-            strC = null;
-            strD = null;
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat four nulls ExpectResult is" + MergeString(strA, strB, strC,strD) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat three nulls and empty");
-        try
-        {
-            strA = null;
-            strB = "";
-            strC = null;
-            strD = null;
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat three nulls and empty ExpectResult is" + MergeString(strA, strB, strC,strD) + " ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat two nulls and two empty");
-        try
-        {
-            strA = null;
-            strB = "";
-            strC = "";
-            strD = null;
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat two nulls and two empty ExpectResult is equel" + MergeString(strA, strB, strC,strD) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat three empty and null");
-        try
-        {
-            strA = "";
-            strB = "";
-            strC = "";
-            strD = null;
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat three empty and null ExpectResult is" + MergeString(strA, strB, strC,strD) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat four empty");
-        try
-        {
-            strA = "";
-            strB = "";
-            strC = "";
-            strD = "";
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat four empty ExpectResult is equel" + MergeString(strA, strB, strC,strD) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat null,not nullstring and empty");
-        try
-        {
-            strA = null;
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strC = "";
-            strD = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("011", "Concat null,not nullstring and empty ExpectResult is equel" + MergeString(strA, strB, strC,strD) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat two nulls and not nullstring");
-        try
-        {
-            strA = null;
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strC = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strD = null;
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat empty and not nullstring ExpectResult is equel" + MergeString(strA, strB, strC,strD) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat two empty and two not nullstrings");
-        try
-        {
-            strA = "";
-            strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strC = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strD = "";
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat two empty and two not nullstrings ExpectResult is equel" + MergeString(strA, strB, strC,strD) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest9: Concat three not nullstrings and null");
-        try
-        {
-            string strBasic = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = strBasic + "\n";
-            strB = strBasic + "\t";
-            strC = "\0" + strBasic;
-            strD = null;
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("017", "Concat three not nullstrings and null ExpectResult is equel" + MergeString(strA, strB, strC,strD) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest10:Concat three not nullstrings and empty");
-        try
-        {
-            strA = "Hello\0Word!\u0020";
-            string strb = "\nhellobeijing!\t";
-            string strc = "\u0020HELLOEVERYONE!";
-            strB = strb.ToUpper();
-            strC = strc.ToLower();
-            strD = "";
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("019", "Concat three not nullstrings and empty ExpectResult is equel" + MergeString(strA, strB, strC,strD) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest11()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string strA;
-        string strB;
-        string strC;
-        string strD;
-        TestLibrary.TestFramework.BeginScenario("PosTest11:Concat four nullstrings");
-        try
-        {
-            strA = "Hello\0Word!\u0020";
-            string strb = "\nhellobeijing!\t";
-            string strc = "\u0020HELLOEVERYONE!";
-            strB = strb.ToUpper();
-            strC = strc.ToLower();
-            strD = TestLibrary.Generator.GetString(-55, false,c_MINI_STRING_LENGTH,c_MAX_STRING_LENGTH);
-            ActualResult = string.Concat(strA, strB, strC,strD);
-            if (ActualResult != MergeString(strA, strB, strC,strD))
-            {
-                TestLibrary.TestFramework.LogError("021", "Concat four nullstrings ExpectResult is equel" + MergeString(strA, strB, strC,strD) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("022", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region Help Method
-    private string MergeString(string strA, string strB, string strC,string strD)
-    {
-        string ResultMerge = "";
-        if (strA == null || strA == string.Empty)
-        {
-            ResultMerge += string.Empty;
-        }
-        else
-        {
-            ResultMerge += strA.ToString();
-        }
-        if (strB == null || strB == string.Empty)
-        {
-            ResultMerge += string.Empty;
-        }
-        else
-        {
-            ResultMerge += strB.ToString();
-        }
-        if (strC == null || strC == string.Empty)
-        {
-            ResultMerge += string.Empty;
-        }
-        else
-        {
-            ResultMerge += strC.ToString();
-        }
-        if (strD == null || strD == string.Empty)
-        {
-            ResultMerge += string.Empty;
-        }
-        else
-        {
-            ResultMerge += strD.ToString();
-        }
-
-        return ResultMerge;
-    }
-    #endregion
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringconcat8.cs b/tests/src/CoreMangLib/cti/system/string/stringconcat8.cs
deleted file mode 100644 (file)
index 5114b36..0000000
+++ /dev/null
@@ -1,384 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-
-public class StringConcat8
-{
-    private int c_MAX_STRING_LENGTH = 256;
-    private int c_MINI_STRING_LENGTH = 8;
-
-    public static int Main()
-    {
-        StringConcat8 sc8 = new StringConcat8();
-
-        TestLibrary.TestFramework.BeginTestCase("StringConcat8");
-
-        if (sc8.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-        string ActualResult;
-        string[] strA = new string[rand.Next(c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH)];
-
-        TestLibrary.TestFramework.BeginScenario("PostTest1:Concat string Array with all null member");
-        try
-        {
-            for (int i = 0; i < strA.Length; i++)
-            {
-                strA[i] = null;
-            }
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("001", "Concat string Array with all null member ExpectResult is" + MergeStrings(strA) + "ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-        string ActualResult;
-        string[] strA = new string[rand.Next(c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH)];
-
-        TestLibrary.TestFramework.BeginScenario("PostTest2:Concat string Array with all empty member");
-        try
-        {
-            for (int i = 0; i < strA.Length; i++)
-            {
-                strA[i] = "";
-            }
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("003", "Concat string Array with all empty member ExpectResult is" + MergeStrings(strA) + " ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string[] strA;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Concat string Array with null and empty member");
-        try
-        {
-            strA = new string[] { null, "", null, "", null, "" };
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("005", "Concat string Array with null and empty member ExpectResult is equel" + MergeStrings(strA) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string[] strA;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Concat string Array with single letter member");
-        try
-        {
-            strA = new string[] {"a","b","c","d","e","f"};
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("007", "Concat string Array with single letter member ExpectResult is" + MergeStrings(strA) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string[] strA;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:Concat string Array with null,empty and not nullstrings member");
-        try
-        {
-            strA = new string[] {null,"a","null","",null,"123"};
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("009", "Concat string Array with null,empty and not nullstrings member ExpectResult is equel" + MergeStrings(strA) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string[] strA;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Concat string Array with not nullstring and some symbols member one");
-        try
-        {
-            string str1 = "HelloWorld";
-            string str2 = "\n";
-            string str3 = "\t";
-            string str4 = "\0";
-            string str5 = "\u0041";
-            strA = new string[] { str1,str2,str3,str4,str5 };
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("011", "Concat string Array with not nullstring and some symbols member ExpectResult is equel" + MergeStrings(strA) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string[] strA;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Concat string Array with not nullstrings and some symbols member two");
-        try
-        {
-            string str1 = "hello";
-            string str2 = "\u0020";
-            string str3 = "World";
-            string str4 = "\u0020";
-            string str5 = "!";
-            strA = new string[] { str1, str2, str3, str4, str5 };
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("013", "Concat string Array with some strings and some symbols member two ExpectResult is equel" + MergeStrings(strA) + ",ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string[] strA;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:Concat string Array with some not nullstrings member one");
-        try
-        {
-            string str1 = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string str2 = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string str3 = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string str4 = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string str5 = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = new string[] { str1, str2, str3, str4, str5 };
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat string Array with some not nullstrings member one ExpectResult is equel" + MergeStrings(strA) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-        string ActualResult;
-        string[] strA;
-        TestLibrary.TestFramework.BeginScenario("PosTest9:Concat object Array with  some not nullstrings member two");
-        try
-        {
-            string str1 = "helloworld".ToUpper() +"\n";
-            string str2 = "hello\0world".ToUpper() + "\n";
-            string str3 = "HELLOWORLD".ToLower() + "\n";
-            string str4 = "HelloWorld".ToUpper() + "\n";
-            string str5 = "hello world".Trim();
-            strA = new string[] { str1, str2, str3, str4, str5 };
-            ActualResult = string.Concat(strA);
-            if (ActualResult != MergeStrings(strA))
-            {
-                TestLibrary.TestFramework.LogError("015", "Concat object Array with some not nullstrings member two ExpectResult is equel" + MergeStrings(strA) + " ,ActualResult is (" + ActualResult + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-
-    #region NegativeTesting
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Concat string Array is null");
-
-        string[] strA = new string[rand.Next(c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH)];
-        string ActualResult;
-        try
-        {
-            strA = null;
-            ActualResult = string.Concat(strA);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        Random rand = new Random(-55);
-        string[] strA = new string[50 * 1024 * 1024];
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Concat string Array with many strings");
-
-        int TotalLength = 0;
-        try
-        {
-            for (int i = 0; i < strA.Length; i++)
-            {
-                strA[i] = "HelloworldHelloworldHelloworldHelloworld!";
-                TotalLength += strA[i].ToString().Length;
-            }
-            ActualResult = string.Concat(strA);
-            retVal = false;
-        }
-        catch (OutOfMemoryException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region Help method
-    private string MergeStrings(string[] strS)
-    {
-        string ResultString = "";
-        foreach (string str in strS)
-        {
-            if (str == null|| str ==string.Empty )
-                ResultString += string.Empty;
-            else
-                ResultString += str.ToString();
-        }
-        return ResultString;
-    }
-
-    #endregion
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringcopyto.cs b/tests/src/CoreMangLib/cti/system/string/stringcopyto.cs
deleted file mode 100644 (file)
index 04db87a..0000000
+++ /dev/null
@@ -1,480 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-
-public class StringCopyTo
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-    public static int Main()
-    {
-        StringCopyTo sct = new StringCopyTo();
-        TestLibrary.TestFramework.BeginTestCase("StringCopyTo");
-
-        if (sct.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Postive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-        retVal = NegTest6() && retVal;
-        retVal = NegTest7() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:empty string excute CopyTo empty char array dst");
-
-        try
-        {
-            strA = "";
-            srcIndex = 0;
-            dst = new char[] {};
-            dstIndex  = 0;
-            count = 0;
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            if(dst.Length != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string excute CopyTo empty char array dst ExpectResult the dst is empty char array,ActualResult is " + dst + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:In CoptTo method this string length equels to the char array length and copy all string to char array");
-
-        try
-        {
-            string strBasic1 = TestLibrary.Generator.GetString(-55, false, c_MAX_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string strBasic2 = TestLibrary.Generator.GetString(-55, false, c_MAX_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = strBasic1;//"abc";
-            srcIndex = 0;
-            dst = strBasic2.ToCharArray();
-            dstIndex = 0;
-            count = strA.Length;
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            string dst2 = new string(dst);
-            if (dst2.ToString () != strA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("003", "In CoptTo method this string length equels to the char array length and copy all string to char array ExpectResult dst's element is replaced by strA's symbols ,ActualResult is " + dst2 + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:In CoptTo method this string length equels to the char array length but copy count is 0");
-
-        try
-        {
-            string strBasic1 = TestLibrary.Generator.GetString(-55, false, c_MAX_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string strBasic2 = TestLibrary.Generator.GetString(-55, false, c_MAX_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = strBasic1;
-            srcIndex = 0;
-            dst = strBasic2.ToCharArray();
-            dstIndex = rand.Next(0, dst.Length + 1);
-            count = 0;
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            string dst2 = new string(dst);
-            if (dst2.ToString() != strBasic2.ToString())
-            {
-                TestLibrary.TestFramework.LogError("005", "In CoptTo method this string length equels to the char array length but copy count is 0 ExpectResult dst's elements do not change ,ActualResult is " + dst2 + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4:In CoptTo method this string length equels to the char array length and copy part of string to char arry");
-
-        try
-        {
-            string strBasic1 = TestLibrary.Generator.GetString(-55, false, c_MAX_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string strBasic2 = TestLibrary.Generator.GetString(-55, false, c_MAX_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = strBasic1;
-            srcIndex = 0;
-            dst = strBasic2.ToCharArray();
-            count = rand.Next(1,strA.Length);
-            dstIndex = rand.Next(0, dst.Length - count);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            string dst2 = new string(dst);
-            string dst3 = strBasic2.Substring(0,dstIndex) + strA.Substring(0,count) + strBasic2.Substring(dstIndex + count,dst.Length -dstIndex-count);
-            if (dst2.ToString() !=dst3.ToString())
-            {
-                TestLibrary.TestFramework.LogError("007", "In CoptTo method this string length equels to the char array length and copy part of string to char array ExpectResult is "+dst3+",ActualResult is " + dst2 + ")");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5:In CoptTo method copy part of string to the char array");
-
-        try
-        {
-            string strBasic1 = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string strBasic2 = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            strA = strBasic1;
-            srcIndex = rand.Next(0,strA.Length+1);
-            dst = strBasic2.ToCharArray();
-            count = rand.Next(0,strA.Length+1 - srcIndex);
-            if (dst.Length >= count)
-            {
-                dstIndex = rand.Next(0, dst.Length - count);
-                strA.CopyTo(srcIndex, dst, dstIndex, count);
-                string dst2 = new string(dst);
-                string dst3 = strBasic2.Substring(0, dstIndex) + strA.Substring(srcIndex, count) + strBasic2.Substring(dstIndex + count, dst.Length - dstIndex - count);
-                if (dst2.ToString() != dst3.ToString())
-                {
-                    TestLibrary.TestFramework.LogError("009", "In CoptTo method copy part of string to the char array ExpectResult is " + dst3 + ",ActualResult is " + dst2 + ")");
-                    retVal = false;
-                }
-            }          
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region NegativeTesting
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1:In CopyTo method destination is null");
-        
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false,c_MINI_STRING_LENGTH,c_MAX_STRING_LENGTH);
-            srcIndex = TestLibrary.Generator.GetInt32(-55);
-            dst = null;
-            dstIndex = TestLibrary.Generator.GetInt32(-55);
-            count = TestLibrary.Generator.GetInt32(-55);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            retVal = false;
-        }
-        catch(ArgumentNullException)
-        {
-        }
-        catch(Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001","Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2:In CopyTo method copy count is less than 0");
-        
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            srcIndex = rand.Next(0, strA.Length + 1);
-            string strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            dst = strB.ToCharArray();
-            dstIndex = rand.Next(0, dst.Length + 1);
-            count = rand.Next(1, strA.Length + 1 - srcIndex) * (-1);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest3:In CopyTo method sourceIndex is less than 0");
-        
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            srcIndex = rand.Next(1, strA.Length + 1) * (-1);
-            string strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            dst = strB.ToCharArray();
-            dstIndex = rand.Next(0, dst.Length + 1);
-            count = rand.Next(0, strA.Length + 1 - srcIndex);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N003", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest4:In CopyTo method copy count is greater source leng substract sourceIndex");
-
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            srcIndex = rand.Next(0, strA.Length + 1);
-            string strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            dst = strB.ToCharArray();
-            dstIndex = rand.Next(0, dst.Length + 1);
-            count = rand.Next(strA.Length - srcIndex + 1, strA.Length);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest5()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-        
-        TestLibrary.TestFramework.BeginScenario("NegTest5: In CopyTo method source Index is greater source length");
-        
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            srcIndex = rand.Next(strA.Length + 1, strA.Length + 10);
-            string strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            dst = strB.ToCharArray();
-            dstIndex = rand.Next(0, dst.Length + 1);
-            count = rand.Next(0,strA.Length +1);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N005", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest6()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest6: In CopyTo method destination Index is less than 0");
-
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            srcIndex = rand.Next(0, strA.Length + 1);
-            string strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            dst = strB.ToCharArray();
-            dstIndex = rand.Next(1, dst.Length + 1) * (-1);
-            count = rand.Next(0,strA.Length + 1 - srcIndex);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N006", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool NegTest7()
-    {
-        bool retVal = true;
-        string strA;
-        int srcIndex;
-        char[] dst;
-        int dstIndex;
-        int count;
-        Random rand = new Random(-55);
-
-        TestLibrary.TestFramework.BeginScenario("NegTest7: In CopyTo method destination Index is greater destination length substract count");
-
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            srcIndex = rand.Next(0, strA.Length + 1);
-            string strB = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            dst = strB.ToCharArray();
-            count = rand.Next(0, strA.Length + 1 - srcIndex);
-            dstIndex = rand.Next(dst.Length - count + 1, dst.Length + 1);
-            strA.CopyTo(srcIndex, dst, dstIndex, count);
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N007", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringctor5.cs b/tests/src/CoreMangLib/cti/system/string/stringctor5.cs
deleted file mode 100644 (file)
index 343c2de..0000000
+++ /dev/null
@@ -1,305 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-public class StringCtor5
-{
-    #region const define
-    private const int c_MIN_STRING_LEN = 1;
-    private const int c_MAX_STRING_LEN = 256;
-    #endregion
-
-    public static int Main(string[] args)
-    {
-        StringCtor5 sc = new StringCtor5();
-        TestLibrary.TestFramework.BeginTestCase("StringCtor_charArray_Int32_Int32");
-
-        if (sc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("");
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// 
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string str = TestLibrary.Generator.GetString(-55, true, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        TestLibrary.TestFramework.BeginScenario("Generate a string with valid index and length!");
-        char[] charArray = new char[str.Length];
-        str.CopyTo(0, charArray, 0, charArray.Length);
-
-        try
-        {
-            //char[] charsArray = null; 
-            string strGen = new string(charArray, 0, charArray.Length);
-            if (strGen != str)
-            {
-                TestLibrary.TestFramework.LogError("001", "The new generated string is not uqual to the original one!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected Error :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// Generate a string with max range index and zero length
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string str = TestLibrary.Generator.GetString(-55, true, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        TestLibrary.TestFramework.BeginScenario("Generate a string with max index and zero length...");
-        char[] charArray = new char[str.Length];
-        str.CopyTo(0, charArray, 0, charArray.Length);
-
-        try
-        {
-            string strGen = new string(charArray, charArray.Length, 0);
-            if (strGen != str.Substring(charArray.Length, 0))
-            {
-                TestLibrary.TestFramework.LogError("003", "sdfsadfsa");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected Exception occurs : " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// Generate string with max-1 index and valid length...
-    /// </summary>
-    /// <returns></returns>
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string str = TestLibrary.Generator.GetString(-55, true, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        TestLibrary.TestFramework.BeginScenario("Generate string with max-1 index and valid length...");
-        char[] charArray = new char[str.Length];
-        str.CopyTo(0, charArray, 0, charArray.Length);
-
-        try
-        {
-            string strGen = new string(charArray, charArray.Length - 1, 1);
-            if (strGen != str.Substring(charArray.Length - 1, 1))
-            {
-                TestLibrary.TestFramework.LogError("005", "The new generated sring is not the expected one!");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected Expection occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// Negtest1: Generate a string with a null charArray
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("Negtest1: Generate a string with a null charArray");
-
-        try
-        {
-            char[] charArray = null;
-            string str = new string(charArray, 0, 0);
-
-            TestLibrary.TestFramework.LogError("007", "The new string can be generated by using a charArray with null value!!");
-            retVal = false;
-
-        }
-        catch (ArgumentNullException)
-        {
-            TestLibrary.TestFramework.LogInformation("ArgumentNullException is thrown when pass charArray with null value!");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected Error :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// NegTest2: Generate string with max+1 index...
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        string str = TestLibrary.Generator.GetString(-55, true, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Generate string with max+1 index...");
-        char[] charArray = new char[str.Length];
-        str.CopyTo(0, charArray, 0, charArray.Length);
-
-        try
-        {
-            string strGen = new string(charArray, charArray.Length + 1, 0);
-
-            TestLibrary.TestFramework.LogError("009", "The string is generated with no exception occures!");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-            TestLibrary.TestFramework.LogInformation("ArgumentOutOfRangeException is thrown when the index param is max+1!");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("00X", "Unexpected Exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// NegTest3: Generate string with max+1 length...
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        string str = TestLibrary.Generator.GetString(-55, true, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        TestLibrary.TestFramework.BeginScenario("NegTest3: Generate string with max+1 length...");
-        char[] charArray = new char[str.Length];
-        str.CopyTo(0, charArray, 0, charArray.Length);
-
-        try
-        {
-            string strGen = new string(charArray, 0, charArray.Length + 1);
-
-            TestLibrary.TestFramework.LogError("010", "The string is generated with no exception occurs!");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-            TestLibrary.TestFramework.LogInformation("ArgumentOutOfRangeException is thrown when the length param is max+1");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("011", "Unexpected Exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// NegTest4: Generate string when index with minus value...
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest4()
-    {
-        bool retVal = true;
-        string str = TestLibrary.Generator.GetString(-55, true, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        TestLibrary.TestFramework.BeginScenario("NegTest4: Generate string when index with minus value...");
-        char[] charArray = new char[str.Length];
-        str.CopyTo(0, charArray, 0, charArray.Length);
-
-        try
-        {
-            string strGen = new string(charArray, -1, charArray.Length);
-
-            TestLibrary.TestFramework.LogError("012", "The string is generated with no exception occurs!");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-            TestLibrary.TestFramework.LogInformation("ArgumentOutOfRangeException is thrown when the index param is minus");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("013", "Unexpected Exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    /// <summary>
-    /// NegTest4: Generate string when index with minus value...
-    /// </summary>
-    /// <returns></returns>
-    public bool NegTest5()
-    {
-        bool retVal = true;
-        string str = TestLibrary.Generator.GetString(-55, true, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        TestLibrary.TestFramework.BeginScenario("NegTest4: Generate string when index with minus value...");
-        char[] charArray = new char[str.Length];
-        str.CopyTo(0, charArray, 0, charArray.Length);
-
-        try
-        {
-            string strGen = new string(charArray, 0, -1);
-
-            TestLibrary.TestFramework.LogError("013", "The string is generated with no exception occurs!");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-            TestLibrary.TestFramework.LogInformation("ArgumentOutOfRangeException is thrown when index is minus!");
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected Exception occurs :" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringctorchar.cs b/tests/src/CoreMangLib/cti/system/string/stringctorchar.cs
deleted file mode 100644 (file)
index 8c1b1c9..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using System;
-using System.Globalization;
-
-[assembly:System.Security.SecurityCritical]
-namespace StringTest
-{
-    public class StringCtorChar
-    {
-        #region const define
-        const int c_MaxLenth = 256;
-        const int c_MinLenth = 1;
-        #endregion
-        #region Main function
-        public static int Main()
-        {
-            StringCtorChar sCtorChar = new StringCtorChar();
-
-            TestLibrary.TestFramework.BeginTestCase("StringCtorChar");
-
-            if (sCtorChar.RunTests())
-            {
-                TestLibrary.TestFramework.EndTestCase();
-                TestLibrary.TestFramework.LogInformation("PASS");
-                return 100;
-            }
-            else
-            {
-                TestLibrary.TestFramework.EndTestCase();
-                TestLibrary.TestFramework.LogInformation("FAIL");
-                return 0;
-            }
-        }
-        #endregion
-        #region public method
-        public bool RunTests()
-        {
-            bool retVal = true;
-            TestLibrary.TestFramework.LogInformation("[Positive1]");
-            retVal = this.PosTest1() && retVal;
-            TestLibrary.TestFramework.LogInformation("[Positive2]");
-            retVal = this.PosTest2() && retVal;
-            return retVal;
-        }
-        #endregion
-        #region Positive Test Cases
-        // Returns true if the expected result is right
-        // Returns false if the expected result is wrong
-        unsafe public bool PosTest1()
-        {
-            bool retVal = true;
-
-            TestLibrary.TestFramework.BeginScenario("PosTest1:  value is a null pointer, an Empty instance is initialized");
-
-            try
-            {
-                char* pointer = null;
-                string teststring = GetTestString(pointer);
-                if (teststring != string.Empty)
-                {
-                    TestLibrary.TestFramework.LogError("001a", "Comarison incorrect. TestString != String.Empty");
-                    return false;
-                }
-
-            }
-            catch (Exception e)
-            {
-                TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-                retVal = false;
-            }
-
-            return retVal;
-        }
-        // Returns true if the expected result is right
-        // Returns false if the expected result is wrong
-        unsafe public bool PosTest2()
-        {
-            bool retVal = true;
-            string testString = TestLibrary.Generator.GetString(-55, true, c_MinLenth, c_MaxLenth);
-         
-            TestLibrary.TestFramework.BeginScenario("PosTest2:  value is constructed and correct");
-
-            try
-            {
-
-                char[] chartest = new char[c_MaxLenth];
-                testString.CopyTo(0, chartest, 0, testString.Length);
-                string teststring1;
-
-                fixed (char* pointer = &(chartest[0]))
-                {
-                    teststring1 = GetTestString(pointer);
-                }
-
-                if (testString != teststring1)
-                {
-                    if (teststring1.Length < testString.Length)
-                    {
-                        TestLibrary.TestFramework.LogError("002", "The current process does not have read access to all the addressed characters");
-                        retVal = false;
-
-                    }
-                    else
-                    {
-                        TestLibrary.TestFramework.LogError("002a", "Strings not the same");
-                        retVal = false;
-                    }
-                 
-                }
-
-            }
-            catch (Exception e)
-            {
-                TestLibrary.TestFramework.LogError("003", "Unexpected exception: " + e);
-                retVal = false;
-            }
-
-            return retVal;
-        }
-        #endregion
-        #region constuctor function
-        unsafe public static string  GetTestString(char* lPointer)
-        {
-            return new string(lPointer);
-        }
-        #endregion
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringempty.cs b/tests/src/CoreMangLib/cti/system/string/stringempty.cs
deleted file mode 100644 (file)
index 1e9b4ef..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-namespace StringTest
-{
-    public class StringEmpty
-    {
-        #region main method
-        public static int Main()
-        {
-            StringEmpty stringempty = new StringEmpty();
-
-            TestLibrary.TestFramework.BeginTestCase("StringEmpty");
-
-            if (stringempty.RunTests())
-            {
-                TestLibrary.TestFramework.EndTestCase();
-                TestLibrary.TestFramework.LogInformation("PASS");
-                return 100;
-
-            }
-            else
-            {
-                TestLibrary.TestFramework.EndTestCase();
-                TestLibrary.TestFramework.LogInformation("FAIL");
-                return 0;
-            }
-        }
-        #endregion
-        #region public method
-        public bool RunTests()
-        {
-            bool retVal = true;
-
-            TestLibrary.TestFramework.LogInformation("[Positive]");
-            retVal = PosTest1() && retVal;
-           
-          
-
-            return retVal;
-        }
-        #endregion
-        #region Positive Test Cases
-        // Returns true if the expected result is right
-        // Returns false if the expected result is wrong
-        public bool PosTest1()
-        {
-            bool retVal = true;
-
-            TestLibrary.TestFramework.BeginScenario("PosTest1: Compare a string with System.Empty");
-
-            try
-            {
-                string teststring = string.Empty;
-                string teststring1 = "";
-                if (!teststring.Equals(teststring1))
-                {
-                    return false;
-                }
-
-            }
-            catch (Exception e)
-            {
-                TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-                retVal = false;
-            }
-
-            return retVal;
-        }
-        #endregion
-
-
-    }
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/string/stringequals1.cs b/tests/src/CoreMangLib/cti/system/string/stringequals1.cs
deleted file mode 100644 (file)
index 1612754..0000000
+++ /dev/null
@@ -1,659 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-
-/// <summary>
-/// System.String.Equals(Object)  
-/// Determines whether this instance of String and a specified object, 
-/// which must also be a String object, have the same value. 
-/// This method performs an ordinal (case-sensitive and culture-insensitive) comparison.
-/// </summary>
-class StringEquals1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    private const string c_POS_TEST_PREFIX = "PosTest";
-    private const string c_NEG_TEST_PREFIX = "NegTest";
-
-    private const string c_GREEK_SIGMA_STR_A = "\x03C2\x03C3\x03A3\x03C2\x03C3";
-    private const string c_GREEK_SIGMA_STR_B = "\x03A3\x03A3\x03A3\x03C3\x03C2";
-
-    private int totalTestCount;
-    private int posTestCount;
-    private int negTestCount;
-    private int passedTestCount;
-    private int failedTestCount;
-
-    private enum TestType { PositiveTest = 1, NegativeTest = 2 };
-    private enum TestResult { NotRun = 0, PassedTest = 1, FailedTest = 2 };
-    internal struct Parameters
-    {
-        public string strSrc;
-        public object obj;
-
-        public string DataString
-        {
-            get
-            {
-                string str, strA, strB;
-                int lenA, lenB;
-
-                if (null == strSrc)
-                {
-                    strA = "null";
-                    lenA = 0;
-                }
-                else
-                {
-                    strA = strSrc;
-                    lenA = strSrc.Length;
-                }
-                if (null == obj)
-                {
-                    strB = "null";
-                    lenB = 0;
-                }
-                else
-                {
-                    strB = obj.ToString();
-                    lenB = strB.Length;
-                }
-
-                str = string.Format("\n[String value]\nSource: \"{0}\"\nObj: \"{1}\"", strA, strB);
-                str += string.Format("\n[String length]\nSource: {0}\nObj: {1}", lenA, lenB);
-                
-                return str;
-            }
-        }
-    }
-
-    //Default constructor to ininitial all kind of test counts
-    public StringEquals1()
-    {
-        totalTestCount = posTestCount = negTestCount = 0;
-        passedTestCount = failedTestCount = 0;
-    }
-
-    #region Methods for all test scenarioes
-
-    //Update (postive or negative) and total test count at the beginning of test scenario
-    private void UpdateCounts(TestType testType)
-    {
-        if (TestType.PositiveTest == testType)
-        {
-            posTestCount++;
-            totalTestCount++;
-            return;
-        }
-
-        if (TestType.NegativeTest == testType)
-        {
-            negTestCount++;
-            totalTestCount++;
-            return;
-        }
-    }
-
-    //Update failed or passed test counts at the end of test scenario
-    private void UpdateCounts(TestResult testResult)
-    {
-        if (TestResult.PassedTest == testResult)
-        {
-            passedTestCount++;
-            return;
-        }
-
-        if (TestResult.FailedTest == testResult)
-        {
-            failedTestCount++;
-            return;
-        }
-    }
-
-    //Generate standard error number string
-    //i.e "9", "12" is not proper. Instead they should be "009", "012"
-    private string GenerateErrorNum(int errorNum)
-    {
-        string temp = errorNum.ToString();
-        string errorNumStr = new string('0', 3 - temp.Length) + temp;
-        return errorNumStr;
-    }
-
-    //Generate testId string
-    //i.e "P9", "N12" is not proper. Instead they should be "P009", "N012"
-    private string GenerateTestId(TestType testType)
-    {
-        string temp, testId;
-
-        if (testType == TestType.PositiveTest)
-        {
-            temp = this.posTestCount.ToString();
-            testId = "P" + new string('0', 3 - temp.Length) + temp;
-        }
-        else
-        {
-            temp = this.negTestCount.ToString();
-            testId = "N" + new string('0', 3 - temp.Length) + temp;
-        }
-
-        return testId;
-    }
-
-    #endregion
-
-    public static int Main()
-    {
-        StringEquals1 sc = new StringEquals1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Equals(Object obj)");
-        if (sc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        //Postive test scenarios
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-        retVal = PosTest12() && retVal;
-        retVal = PosTest13() && retVal;
-        retVal = PosTest14() && retVal;
-        retVal = PosTest15() && retVal;
-        retVal = PosTest16() && retVal;
-        retVal = PosTest17() && retVal;
-        retVal = PosTest18() && retVal;
-        retVal = PosTest19() && retVal;
-        retVal = PosTest20() && retVal;
-        retVal = PosTest21() && retVal;
-
-        //Negative test scenarios
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    #region null, String.Empty and "\0" testing
-
-    public bool PosTest1()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The obj to compare with is null";
-        bool expectedValue = false;
-
-        paras.strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        paras.obj = null;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    // PosTest2 to PosTest6 are new tests added in 8-4-2006 by v-yaduoj
-    public bool PosTest2()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs null";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.obj = null;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest3()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs \"\"";
-        bool expectedValue = true;
-
-        paras.strSrc = String.Empty;
-        paras.obj = "";
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest4()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs \"\\0\"";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.obj = "\0";
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest5()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs unempty string";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.obj = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest6()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Embedded '\\0' string ";
-        bool expectedValue = true;
-
-        StringBuilder sb = new StringBuilder("This\0String\0Is\0Valid");
-        paras.strSrc = sb.ToString();
-        paras.obj = sb.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-    // PosTest2 to PosTest6 are new tests added in 8-4-2006 by Noter(v-yaduoj)
-
-    #endregion
-
-    //The following region is new updates in 8-4-2006 by Noter(v-yaduoj)
-    #region Tab and space testing
-
-    public bool PosTest7()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Tab vs 4 spaces";
-        bool expectedValue = false;
-
-        paras.strSrc = "\t";
-        paras.obj = new string('\x0020', 4); // new update 8-8-2006 Noter(v-yaduoj)
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest8()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Tab vs 8 spaces";
-        bool expectedValue = false;
-
-        paras.strSrc = "\t";
-        paras.obj = new string('\x0020', 8); // new update 8-8-2006 Noter(v-yaduoj)
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #region Non-string type obj
-
-    public bool PosTest9()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is Int32";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetInt32(-55);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest10()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is Int16";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetInt16(-55);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest11()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is Int64";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetInt64(-55);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest12()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is Double";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetDouble(-55);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest13()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is single";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetSingle(-55);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest14()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is string[]";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest15()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is byte";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetByte(-55);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest16()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is Byte[]";
-        bool expectedValue = false;
-
-        paras.obj = new byte[] {1,2,3};
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest17()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is char";
-        bool expectedValue = false;
-
-        paras.obj = TestLibrary.Generator.GetChar(-55);
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest18()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The type of obj to compare with is char[]";
-        bool expectedValue = false;
-
-        paras.obj = new char[] {'1', 'a', '\x098A'};
-        paras.strSrc = paras.obj.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #region Case sensitive testing
-
-    public bool PosTest19()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Case sensitive testing";
-        bool expectedValue = false;
-
-        char ch = this.GetUpperChar();
-        paras.obj = ch.ToString();
-        paras.strSrc = char.ToLower(ch).ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    //Greek Sigma: 
-    //Two lower case Sigma: (0x03C2), (0x03C3) 
-    //One upper case Sigma: (0x03A3) 
-    //where 2 lower case characters have the same upper case character.
-    public bool PosTest20()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Asymmetric casing: Greek Sigma character, different case";
-        bool expectedValue = false;
-        
-        paras.obj = c_GREEK_SIGMA_STR_A;
-        paras.strSrc = c_GREEK_SIGMA_STR_B;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest21()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Asymmetric casing: Greek Sigma character, both upper case";
-        bool expectedValue = true;
-        
-        string str1 = c_GREEK_SIGMA_STR_A;
-        string str2 = c_GREEK_SIGMA_STR_B;
-        paras.obj = str1.ToUpper();
-        paras.strSrc = str2.ToUpper();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #endregion //end for positive test scenarioes
-
-    #region Helper methods for positive test scenarioes
-
-    private bool ExecutePosTest(Parameters paras, bool expectedValue, string testDesc)
-    {
-        bool retVal = true;
-        UpdateCounts(TestType.PositiveTest);
-        string testId = GenerateTestId(TestType.PositiveTest);
-        TestResult testResult = TestResult.NotRun;
-
-        string testInfo = c_POS_TEST_PREFIX + this.posTestCount.ToString() + ": " + testDesc;
-        bool actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(testInfo);
-        try
-        {
-            actualValue = this.CallTestMethod(paras);
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += paras.DataString + "\nTest scenario Id: " + testId;
-                // new updates 8-6-2006 Noter(v-yaduoj)
-                TestLibrary.TestFramework.LogError(GenerateErrorNum((totalTestCount << 1) - 1) + " TestId -" + testId, errorDesc);
-                testResult = TestResult.FailedTest;
-                retVal = false;
-            }
-
-            testResult = TestResult.PassedTest;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(GenerateErrorNum(totalTestCount << 1) + " TestId -" + testId, "Unexpected exception: " + e + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-
-        UpdateCounts(testResult);
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarioes
-
-    public bool NegTest1()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The instance of source string is null";
-        const string c_ERROR_DESC = "NullReferenceException is not thrown as expected";
-
-        paras.strSrc = null;
-        paras.obj = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        return ExeNegTest_NRE(paras, c_TEST_DESC, c_ERROR_DESC);
-    }
-
-    #endregion //end for negative test scenarioes
-
-    #region Helper methods for negative test scenarioes
-
-    //Test NullReferenceException
-    private bool ExeNegTest_NRE(Parameters paras, string testDesc, string errorDesc)
-    {
-        bool retVal = true;
-        UpdateCounts(TestType.NegativeTest);
-        string testId = GenerateTestId(TestType.NegativeTest);
-        string testInfo = c_NEG_TEST_PREFIX + this.negTestCount.ToString() + ": " + testDesc;
-        TestResult testResult = TestResult.NotRun;
-
-        TestLibrary.TestFramework.BeginScenario(testInfo);
-        try
-        {
-            this.CallTestMethod(paras);
-            TestLibrary.TestFramework.LogError(GenerateErrorNum((this.totalTestCount << 1) - 1) + " TestId -" + testId, errorDesc + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-        catch (NullReferenceException)
-        {
-            testResult = TestResult.PassedTest;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(GenerateErrorNum(this.totalTestCount << 1) + " TestId -" + testId, "Unexpected exception: " + e + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-
-        UpdateCounts(testResult);
-        return retVal;
-    }
-
-    #endregion
-
-    //Involke the test method
-    private bool CallTestMethod(Parameters paras)
-    {
-        return paras.strSrc.Equals(paras.obj);
-    }
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    private char GetUpperChar()
-    {
-        Char c;
-        //  Grab an ASCII letter
-        c = Convert.ToChar(TestLibrary.Generator.GetInt16(-55) % 26 + 'A');
-        return c;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringequals2.cs b/tests/src/CoreMangLib/cti/system/string/stringequals2.cs
deleted file mode 100644 (file)
index 5605ac2..0000000
+++ /dev/null
@@ -1,512 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-
-/// <summary>
-/// System.String.Equals(String)  
-/// Determines whether this instance of String and a specified object, 
-/// which must also be a String object, have the same value. 
-/// This method performs an ordinal (case-sensitive and culture-insensitive) comparison.
-/// </summary>
-class StringEquals2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    private const string c_POS_TEST_PREFIX = "PosTest";
-    private const string c_NEG_TEST_PREFIX = "NegTest";
-
-    private const string c_GREEK_SIGMA_STR_A = "\x03C2\x03C3\x03A3\x03C2\x03C3";
-    private const string c_GREEK_SIGMA_STR_B = "\x03A3\x03A3\x03A3\x03C3\x03C2";
-
-    private int totalTestCount;
-    private int posTestCount;
-    private int negTestCount;
-    private int passedTestCount;
-    private int failedTestCount;
-
-    private enum TestType { PositiveTest = 1, NegativeTest = 2 };
-    private enum TestResult { NotRun = 0, PassedTest = 1, FailedTest = 2 };
-    internal struct Parameters
-    {
-        public string strSrc;
-        public string strDes;
-
-        public string DataString
-        {
-            get
-            {
-                string str, strA, strB;
-                int lenA, lenB;
-
-                if (null == strSrc)
-                {
-                    strA = "null";
-                    lenA = 0;
-                }
-                else
-                {
-                    strA = strSrc;
-                    lenA = strSrc.Length;
-                }
-                if (null == strDes)
-                {
-                    strB = "null";
-                    lenB = 0;
-                }
-                else
-                {
-                    strB = strDes;
-                    lenB = strB.Length;
-                }
-
-                str = string.Format("\n[String value]\nSource: \"{0}\"\nDestination: \"{1}\"", strA, strB);
-                str += string.Format("\n[String length]\nSource: {0}\nDestination: {1}", lenA, lenB);
-
-                return str;
-            }
-        }
-    }
-
-    //Default constructor to ininitial all kind of test counts
-    public StringEquals2()
-    {
-        totalTestCount = posTestCount = negTestCount = 0;
-        passedTestCount = failedTestCount = 0;
-    }
-
-    #region Methods for all test scenarioes
-
-    //Update (postive or negative) and total test count at the beginning of test scenario
-    private void UpdateCounts(TestType testType)
-    {
-        if (TestType.PositiveTest == testType)
-        {
-            posTestCount++;
-            totalTestCount++;
-            return;
-        }
-
-        if (TestType.NegativeTest == testType)
-        {
-            negTestCount++;
-            totalTestCount++;
-            return;
-        }
-    }
-
-    //Update failed or passed test counts at the end of test scenario
-    private void UpdateCounts(TestResult testResult)
-    {
-        if (TestResult.PassedTest == testResult)
-        {
-            passedTestCount++;
-            return;
-        }
-
-        if (TestResult.FailedTest == testResult)
-        {
-            failedTestCount++;
-            return;
-        }
-    }
-
-    //Generate standard error number string
-    //i.e "9", "12" is not proper. Instead they should be "009", "012"
-    private string GenerateErrorNum(int errorNum)
-    {
-        string temp = errorNum.ToString();
-        string errorNumStr = new string('0', 3 - temp.Length) + temp;
-        return errorNumStr;
-    }
-
-    //Generate testId string
-    //i.e "P9", "N12" is not proper. Instead they should be "P009", "N012"
-    private string GenerateTestId(TestType testType)
-    {
-        string temp, testId;
-
-        if (testType == TestType.PositiveTest)
-        {
-            temp = this.posTestCount.ToString();
-            testId = "P" + new string('0', 3 - temp.Length) + temp;
-        }
-        else
-        {
-            temp = this.negTestCount.ToString();
-            testId = "N" + new string('0', 3 - temp.Length) + temp;
-        }
-
-        return testId;
-    }
-
-    #endregion
-
-    public static int Main()
-    {
-        StringEquals2 sc = new StringEquals2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Equals(string)");
-        if (sc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        //Postive test scenarios
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-
-        //Negative test scenarios
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    #region null, String.Empty and "\0" testing
-
-    public bool PosTest1()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The string to compare with is null";
-        bool expectedValue = false;
-
-        paras.strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        paras.strDes = null;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest2()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs null";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = null;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest3()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs \"\"";
-        bool expectedValue = true;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = "";
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest4()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs \"\\0\"";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = "\0";
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest5()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs unempty string";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest6()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Embedded '\\0' string ";
-        bool expectedValue = true;
-
-        StringBuilder sb = new StringBuilder("This\0String\0Is\0Valid");
-        paras.strSrc = sb.ToString();
-        paras.strDes = sb.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #region Tab and space testing
-
-    public bool PosTest7()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Tab vs 4 spaces";
-        bool expectedValue = false;
-
-        paras.strSrc = "\t";
-        paras.strDes = new string('\x0020', 4); // new update 8-8-2006 Noter(v-yaduoj)
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest8()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Tab vs 8 spaces";
-        bool expectedValue = false;
-
-        paras.strSrc = "\t";
-        paras.strDes = new string('\x0020', 8); // new update 8-8-2006 Noter(v-yaduoj)
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #region Case sensitive testing
-
-    public bool PosTest9()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Case sensitive testing";
-        bool expectedValue = false;
-
-        char ch = this.GetUpperChar();
-        paras.strDes = ch.ToString();
-        paras.strSrc = char.ToLower(ch).ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    //Greek Sigma: 
-    //Two lower case Sigma: (0x03C2), (0x03C3) 
-    //One upper case Sigma: (0x03A3) 
-    //where 2 lower case characters have the same upper case character.
-    public bool PosTest10()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Asymmetric casing: Greek Sigma character, different case";
-        bool expectedValue = false;
-
-        paras.strDes = c_GREEK_SIGMA_STR_A;
-        paras.strSrc = c_GREEK_SIGMA_STR_B;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest11()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Asymmetric casing: Greek Sigma character, both upper case";
-        bool expectedValue = true;
-        
-        string str1 = c_GREEK_SIGMA_STR_A;
-        string str2 = c_GREEK_SIGMA_STR_B;
-        paras.strDes = str1.ToUpper();
-        paras.strSrc = str2.ToUpper();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #endregion //end for positive test scenarioes
-
-    #region Helper methods for positive test scenarioes
-
-    private bool ExecutePosTest(Parameters paras, bool expectedValue, string testDesc)
-    {
-        bool retVal = true;
-        UpdateCounts(TestType.PositiveTest);
-        string testId = GenerateTestId(TestType.PositiveTest);
-        TestResult testResult = TestResult.NotRun;
-
-        string testInfo = c_POS_TEST_PREFIX + this.posTestCount.ToString() + ": " + testDesc;
-        bool actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(testInfo);
-        try
-        {
-            actualValue = this.CallTestMethod(paras);
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += paras.DataString + "\nTest scenario Id: " + testId;
-                // new update: 8-6-2006 Noter(v-yaduoj)
-                TestLibrary.TestFramework.LogError(GenerateErrorNum((totalTestCount << 1) - 1) + " TestId -" + testId, errorDesc);
-                testResult = TestResult.FailedTest;
-                retVal = false;
-            }
-
-            testResult = TestResult.PassedTest;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(GenerateErrorNum(totalTestCount << 1) + " TestId -" + testId, "Unexpected exception: " + e + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-
-        UpdateCounts(testResult);
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarioes
-
-    public bool NegTest1()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The instance of source string is null";
-        const string c_ERROR_DESC = "NullReferenceException is not thrown as expected";
-
-        paras.strSrc = null;
-        paras.strDes = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        return ExeNegTest_NRE(paras, c_TEST_DESC, c_ERROR_DESC);
-    }
-
-    #endregion //end for negative test scenarioes
-
-    #region Helper methods for negative test scenarioes
-
-    //Test NullReferenceException
-    private bool ExeNegTest_NRE(Parameters paras, string testDesc, string errorDesc)
-    {
-        bool retVal = true;
-        UpdateCounts(TestType.NegativeTest);
-        string testId = GenerateTestId(TestType.NegativeTest);
-        string testInfo = c_NEG_TEST_PREFIX + this.negTestCount.ToString() + ": " + testDesc;
-        TestResult testResult = TestResult.NotRun;
-
-        TestLibrary.TestFramework.BeginScenario(testInfo);
-        try
-        {
-            this.CallTestMethod(paras);
-            TestLibrary.TestFramework.LogError(GenerateErrorNum((this.totalTestCount << 1) - 1) + " TestId -" + testId, errorDesc + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-        catch (NullReferenceException)
-        {
-            testResult = TestResult.PassedTest;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(GenerateErrorNum(this.totalTestCount << 1) + " TestId -" + testId, "Unexpected exception: " + e + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-
-        UpdateCounts(testResult);
-        return retVal;
-    }
-
-    #endregion
-
-    //Involke the test method
-    private bool CallTestMethod(Parameters paras)
-    {
-        return paras.strSrc.Equals(paras.strDes);
-    }
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    private char GetUpperChar()
-    {
-        Char c;
-        //  Grab an ASCII letter
-        c = Convert.ToChar(TestLibrary.Generator.GetInt16(-55) % 26 + 'A');
-        return c;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringequals3.cs b/tests/src/CoreMangLib/cti/system/string/stringequals3.cs
deleted file mode 100644 (file)
index eeaff75..0000000
+++ /dev/null
@@ -1,458 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-using System.Globalization;
-
-/// <summary>
-/// System.String.Equals(String, String)  
-/// Determines whether two specified String objects have the same value.
-/// This method performs an ordinal (case-sensitive and culture-insensitive) comparison.
-/// </summary>
-class StringEquals3
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    private const string c_POS_TEST_PREFIX = "PosTest";
-    private const string c_NEG_TEST_PREFIX = "NegTest";
-
-    private const string c_GREEK_SIGMA_STR_A = "\x03C2\x03C3\x03A3\x03C2\x03C3";
-    private const string c_GREEK_SIGMA_STR_B = "\x03A3\x03A3\x03A3\x03C3\x03C2";
-
-    private int totalTestCount;
-    private int posTestCount;
-    private int negTestCount;
-    private int passedTestCount;
-    private int failedTestCount;
-
-    private enum TestType { PositiveTest = 1, NegativeTest = 2 };
-    private enum TestResult { NotRun = 0, PassedTest = 1, FailedTest = 2 };
-    internal struct Parameters
-    {
-        public string strSrc;
-        public string strDes;
-
-        public string DataString
-        {
-            get
-            {
-                string str, strA, strB;
-                int lenA, lenB;
-
-                if (null == strSrc)
-                {
-                    strA = "null";
-                    lenA = 0;
-                }
-                else
-                {
-                    strA = strSrc;
-                    lenA = strSrc.Length;
-                }
-                if (null == strDes)
-                {
-                    strB = "null";
-                    lenB = 0;
-                }
-                else
-                {
-                    strB = strDes;
-                    lenB = strB.Length;
-                }
-
-                str = string.Format("\n[String value]\nSource: \"{0}\"\nDestination: \"{1}\"", strA, strB);
-                str += string.Format("\n[String length]\nSource: {0}\nDestination: {1}", lenA, lenB);
-
-                return str;
-            }
-        }
-    }
-
-    //Default constructor to ininitial all kind of test counts
-    public StringEquals3()
-    {
-        totalTestCount = posTestCount = negTestCount = 0;
-        passedTestCount = failedTestCount = 0;
-    }
-
-    #region Methods for all test scenarioes
-
-    //Update (postive or negative) and total test count at the beginning of test scenario
-    private void UpdateCounts(TestType testType)
-    {
-        if (TestType.PositiveTest == testType)
-        {
-            posTestCount++;
-            totalTestCount++;
-            return;
-        }
-
-        if (TestType.NegativeTest == testType)
-        {
-            negTestCount++;
-            totalTestCount++;
-            return;
-        }
-    }
-
-    //Update failed or passed test counts at the end of test scenario
-    private void UpdateCounts(TestResult testResult)
-    {
-        if (TestResult.PassedTest == testResult)
-        {
-            passedTestCount++;
-            return;
-        }
-
-        if (TestResult.FailedTest == testResult)
-        {
-            failedTestCount++;
-            return;
-        }
-    }
-
-    //Generate standard error number string
-    //i.e "9", "12" is not proper. Instead they should be "009", "012"
-    private string GenerateErrorNum(int errorNum)
-    {
-        string temp = errorNum.ToString();
-        string errorNumStr = new string('0', 3 - temp.Length) + temp;
-        return errorNumStr;
-    }
-
-    //Generate testId string
-    //i.e "P9", "N12" is not proper. Instead they should be "P009", "N012"
-    private string GenerateTestId(TestType testType)
-    {
-        string temp, testId;
-
-        if (testType == TestType.PositiveTest)
-        {
-            temp = this.posTestCount.ToString();
-            testId = "P" + new string('0', 3 - temp.Length) + temp;
-        }
-        else
-        {
-            temp = this.negTestCount.ToString();
-            testId = "N" + new string('0', 3 - temp.Length) + temp;
-        }
-
-        return testId;
-    }
-
-    #endregion
-
-    public static int Main()
-    {
-        StringEquals3 sc = new StringEquals3();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Equals(String, String)");
-        if (sc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        //Postive test scenarios
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-        retVal = PosTest11() && retVal;
-
-        //Negative test scenarios
-        //TestLibrary.TestFramework.LogInformation("[Negative]");
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    #region null, String.Empty and "\0" testing
-
-    public bool PosTest1()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "The string to compare with is null";
-        bool expectedValue = false;
-
-        paras.strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        paras.strDes = null;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest2()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs null";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = null;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest3()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs \"\"";
-        bool expectedValue = true;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = "";
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest4()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs \"\\0\"";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = "\0";
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest5()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty vs unempty string";
-        bool expectedValue = false;
-
-        paras.strSrc = String.Empty;
-        paras.strDes = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest6()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Embedded '\\0' string ";
-        bool expectedValue = true;
-
-        StringBuilder sb = new StringBuilder("This\0String\0Is\0Valid");
-        paras.strSrc = sb.ToString();
-        paras.strDes = sb.ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #region Tab and space testing
-
-    public bool PosTest7()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Tab vs 4 spaces";
-        bool expectedValue = false;
-
-        paras.strSrc = "\t";
-        paras.strDes = new string('\x0020', 4); // new update 8-8-2006 Noter(v-yaduoj)
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest8()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Tab vs 8 spaces";
-        bool expectedValue = false;
-
-        paras.strSrc = "\t";
-        paras.strDes = new string('\x0020', 8); // new update 8-8-2006 Noter(v-yaduoj)
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #region Case sensitive testing
-
-    public bool PosTest9()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Case sensitive testing";
-        bool expectedValue = false;
-
-        char ch = this.GetUpperChar();
-        paras.strDes = ch.ToString();
-        paras.strSrc = char.ToLower(ch).ToString();
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    //Greek Sigma: 
-    //Two lower case Sigma: (0x03C2), (0x03C3) 
-    //One upper case Sigma: (0x03A3) 
-    //where 2 lower case characters have the same upper case character.
-    public bool PosTest10()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Asymmetric casing: Greek Sigma character, different case";
-        bool expectedValue = false;
-
-        paras.strDes = c_GREEK_SIGMA_STR_A;
-        paras.strSrc = c_GREEK_SIGMA_STR_B;
-
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    public bool PosTest11()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Asymmetric casing: Greek Sigma character, both upper case";
-        bool expectedValue = true;
-                
-        string str1 = c_GREEK_SIGMA_STR_A;
-        string str2 = c_GREEK_SIGMA_STR_B;
-        paras.strDes = str1.ToUpper();
-        paras.strSrc = str2.ToUpper();
-       
-        return ExecutePosTest(paras, expectedValue, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #endregion //end for positive test scenarioes
-
-    #region Helper methods for positive test scenarioes
-
-    private bool ExecutePosTest(Parameters paras, bool expectedValue, string testDesc)
-    {
-        bool retVal = true;
-        UpdateCounts(TestType.PositiveTest);
-        string testId = GenerateTestId(TestType.PositiveTest);
-        TestResult testResult = TestResult.NotRun;
-
-        string testInfo = c_POS_TEST_PREFIX + this.posTestCount.ToString() + ": " + testDesc;
-        bool actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(testInfo);
-        try
-        {
-            actualValue = this.CallTestMethod(paras);
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += paras.DataString + "\nTest scenario Id: " + testId;
-                // new update: 8-6-2006 Noter(v-yaduoj)
-                TestLibrary.TestFramework.LogError(GenerateErrorNum((totalTestCount << 1) - 1) + " TestId -" + testId, errorDesc);
-                testResult = TestResult.FailedTest;
-                retVal = false;
-            }
-
-            testResult = TestResult.PassedTest;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(GenerateErrorNum(totalTestCount << 1) + " TestId -" + testId, "Unexpected exception: " + e + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-
-        UpdateCounts(testResult);
-        return retVal;
-    }
-
-    #endregion
-
-    //Involke the test method
-    private bool CallTestMethod(Parameters paras)
-    {
-        return string.Equals(paras.strSrc, paras.strDes);
-    }
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    private char GetUpperChar()
-    {
-        Char c;
-        //  Grab an ASCII letter
-        c = Convert.ToChar(TestLibrary.Generator.GetInt16(-55) % 26 + 'A');
-        return c;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringequals6.cs b/tests/src/CoreMangLib/cti/system/string/stringequals6.cs
deleted file mode 100644 (file)
index fa89733..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-using System.Globalization;
-using TestLibrary;
-
-public class StringEquals
-{
-    public static string[] InterestingStrings = new string[] { null, "", "a", "1", "-", "A", "!", "abc", "aBc", "a\u0400Bc", "I", "i", "\u0130", "\u0131", "A", "\uFF21", "\uFE57"};
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Compare interesting strings ordinally");
-
-        try
-        {
-            foreach (string s in InterestingStrings)
-            {
-                foreach (string r in InterestingStrings)
-                {
-                    retVal &= TestStrings(s, r);
-                }
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare many characters");
-
-        try
-        {
-            for (int i = 0; i < 40; i++)  // Ok, 40 isn't that many... but this takes way too long
-            {
-                char c = Generator.GetChar(-55);
-                if (string.Equals(new string(new char[] { c }), new string(new char[] { c }), StringComparison.Ordinal) != true)
-                {
-                    TestLibrary.TestFramework.LogError("002.1", "Character " + i.ToString() + " is not equal to itself ordinally!");
-                    retVal = false;
-                }
-
-                for (int j = 0; j < (int)c; j++)
-                {
-                    bool compareResult = string.Equals(new string(new char[] { c }), new string(new char[] { (char)j }), StringComparison.Ordinal);
-                    if (compareResult != false)
-                    {
-                        TestLibrary.TestFramework.LogError("002.2", "Character " + ((int)c).ToString() + " is equal to " + j.ToString() + ", Compare result: " + compareResult.ToString());
-                        retVal = false;
-                    }
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Compare many strings");
-
-        try
-        {
-            for (int i = 0; i < 1000; i++) 
-            {
-                string str1 = Generator.GetString(-55, false, 5, 20);
-                string str2 = Generator.GetString(-55, false, 5, 20);
-                if (string.Equals(str1, str1, StringComparison.Ordinal) != true)
-                {
-                    TestLibrary.TestFramework.LogError("003.1", "Comparison not as expected! Actual result: " + string.Equals(str1, str1, StringComparison.Ordinal).ToString() + ", Expected result: 0");
-                    TestLibrary.TestFramework.LogInformation("String 1: <" + str1 + "> : " + BytesFromString(str1) + "\nString 2: <" + str1 + "> : " + BytesFromString(str1));
-                    retVal = false;
-                }
-                if (string.Equals(str2, str2, StringComparison.Ordinal) != true)
-                {
-                    TestLibrary.TestFramework.LogError("003.2", "Comparison not as expected! Actual result: " + string.Equals(str2, str2, StringComparison.Ordinal).ToString() + ", Expected result: 0");
-                    TestLibrary.TestFramework.LogInformation("String 1: <" + str2 + "> : " + BytesFromString(str2) + "\nString 2: <" + str2 + "> : " + BytesFromString(str2));
-                    retVal = false;
-                }
-                TestStrings(str1, str2);
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Specific regression cases");
-
-        try
-        {
-            CultureInfo oldCi = TestLibrary.Utilities.CurrentCulture;
-            TestLibrary.Utilities.CurrentCulture = new CultureInfo("hu-HU");
-            retVal &= TestStrings("dzsdzs", "ddzs");
-            TestLibrary.Utilities.CurrentCulture = oldCi;
-
-            retVal &= TestStrings("\u00C0nimal", "A\u0300nimal");
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public static int Main()
-    {
-        StringEquals test = new StringEquals();
-
-        TestLibrary.TestFramework.BeginTestCase("StringEquals");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    private bool TestStrings(string str1, string str2)
-    {
-        bool retVal = true;
-
-        bool expectValue = PredictValue(str1, str2);
-        bool actualValue = string.Equals(str1, str2, StringComparison.Ordinal);
-
-        if (actualValue != expectValue)
-        {
-            TestLibrary.TestFramework.LogError("001.1", "Comparison not as expected! Actual result: " + actualValue + ", Expected result: " + expectValue);
-            TestLibrary.TestFramework.LogInformation("String 1: <" + str1 + "> : " + BytesFromString(str1) + "\nString 2: <" + str2 + "> : " + BytesFromString(str2));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    bool PredictValue(string str1, string str2)
-    {
-        if (str1 == null)
-        {
-            if (str2 == null) return true;
-            else return false;
-        }
-        if (str2 == null) return false;
-
-        for (int i = 0; i < str1.Length; i++)
-        {
-            if (i >= str2.Length) return false;
-            if ((int)str1[i] > (int)str2[i]) return false;
-            if ((int)str1[i] < (int)str2[i]) return false;
-        }
-
-        if (str2.Length > str1.Length) return false;
-
-        return true;
-    }
-
-    private static string BytesFromString(string str)
-    {
-        if (str == null) return string.Empty;
-        StringBuilder output = new StringBuilder();
-        for (int i = 0; i < str.Length; i++)
-        {
-            output.Append(TestLibrary.Utilities.ByteArrayToString(BitConverter.GetBytes(str[i])));
-            if (i != (str.Length - 1)) output.Append(", ");
-        }
-        return output.ToString();
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringformat1.cs b/tests/src/CoreMangLib/cti/system/string/stringformat1.cs
deleted file mode 100644 (file)
index 5bc2400..0000000
+++ /dev/null
@@ -1,581 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-
-/// <summary>
-/// String.Format(String, Object)  
-/// Replaces the format item in a specified String with the text equivalent of the value 
-/// of a specified Object instance. 
-/// </summary>
-class StringFormat1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        StringFormat1 sf = new StringFormat1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.Format(String, Object)");
-        if (sf.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Default format string for Int32";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        format = "The Int32 {0}";
-        int i = TestLibrary.Generator.GetInt32(-55);
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == i);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch(Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #region alignment testing
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: the length of the formatted Int32 value is less than alignment";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = TestLibrary.Generator.GetInt32(-55);
-        int alignment = i.ToString().Length + TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN + 1;
-        format = "The Int32 {0," + alignment.ToString() + "}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            str = str.Substring(format.IndexOf('{'));
-            //Validate the formatted string against primitive integer
-            actualValue = (int.Parse(str) == i);
-            int lastIndex = str.LastIndexOf('\u0020');
-            actualValue = (lastIndex >= 0) && actualValue;
-            for (int j = 0; j <= lastIndex; j++)
-            {
-                actualValue = ('\u0020' == str[j]) && actualValue;
-            }
-            actualValue = (alignment == str.Length) && actualValue;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: alignment is positive, the length of the formatted Int32 value is greater than alignment";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = TestLibrary.Generator.GetInt32(-55) % (Int32.MaxValue - 10) + 10;
-        int alignment = TestLibrary.Generator.GetInt32(-55) % (i.ToString().Length - 1) + 1;
-        format = "The Int32 {0," + alignment.ToString() + "}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == i) && (str.Length == i.ToString().Length);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: alignment is zero";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = TestLibrary.Generator.GetInt32(-55);
-        int alignment = 0;
-        format = "The Int32 {0," + alignment.ToString() + "}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == i) && (str.Length == i.ToString().Length);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P005";
-        const string c_TEST_DESC = "PosTest5: alignment is negative, and its absolute value is greater than length of formatted object";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = TestLibrary.Generator.GetInt32(-55);
-        int alignment = -1 * (i.ToString().Length + TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN  + 1);
-        format = "The Int32 {0," + alignment.ToString() + "}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            str = str.Substring(format.IndexOf('{'));
-
-            //
-            int firstIndex = str.IndexOf('\u0020');
-            actualValue = (int.Parse(str) == i);
-            for (int j = firstIndex; j < str.Length; j++ )
-            {
-                actualValue = ('\u0020' == str[j]) && actualValue;
-            }
-            actualValue = (str.Length == (-1 * alignment)) && actualValue;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P006";
-        const string c_TEST_DESC = "PosTest6: alignment is negative, and its absolute value is less than or equal length of formatted object";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = TestLibrary.Generator.GetInt32(-55);
-        int alignment = -1 * (TestLibrary.Generator.GetInt32(-55) % (i.ToString().Length + 1));
-        format = "The Int32 {0," + alignment.ToString() + "}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == i);
-            actualValue = (str.Length == i.ToString().Length) && actualValue;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P007";
-        const string c_TEST_DESC = "PosTest7: Formatted object is null";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        format = "The object is {0}";
-        arg0 = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (0 == string.CompareOrdinal(str, string.Empty));
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P008";
-        const string c_TEST_DESC = @"PosTest8: format string contains { literal";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = TestLibrary.Generator.GetInt32(-55);
-        format = "{{0}}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, arg0);
-            
-            actualValue = (0 == string.CompareOrdinal(str, "{0}"));
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("015" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("016" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: format is a null reference ";
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        format = null;
-        arg0 = TestLibrary.Generator.GetInt32(-55); //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, arg0);
-            errorDesc = "ArgumentNullException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("017" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("018" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //FormatException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: The format item in format is invalid ";
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        char ch;
-
-        //new update 8-18-2006 Noter(v-yaduoj)
-        do //Get a non-number character
-        {
-            ch = TestLibrary.Generator.GetChar(-55);
-        }while(char.IsDigit(ch));
-
-        format = "The object {" + ch.ToString() + "}";
-        arg0 = ch; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, arg0);
-            errorDesc = "FormatException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("019" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("020" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: The index is greater than number of formatted objects ";
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN + 1;
-        format = "The object {" + i.ToString() + "}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, arg0);
-            errorDesc = "FormatException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("021" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("022" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N004";
-        const string c_TEST_DESC = "NegTest4: The index is negative ";
-        string errorDesc;
-
-        string format;
-        Object arg0;
-
-        int i = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        format = "The object {" + i.ToString() + "}";
-        arg0 = i; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, arg0);
-            errorDesc = "FormatException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("023" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("024" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringformat2.cs b/tests/src/CoreMangLib/cti/system/string/stringformat2.cs
deleted file mode 100644 (file)
index 23603ff..0000000
+++ /dev/null
@@ -1,663 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-
-/// <summary>
-/// String.Format(String, params Object[])  
-/// Replaces the format item in a specified String with 
-/// the text equivalent of the value of a corresponding Object instance in a specified array.
-/// </summary>
-class StringFormat2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        StringFormat2 sf = new StringFormat2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.Format(String, params Object[])");
-        if (sf.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Default format string for Int32[]";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int[] iArray = new int[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN + 1];
-        args = new Object[iArray.Length];
-        //boxing
-        for (int j = 0; j < iArray.Length; j++)
-        {
-            iArray[j] = TestLibrary.Generator.GetInt32(-55);
-            args[j] = iArray[j];
-        }
-        int index = TestLibrary.Generator.GetInt32(-55) % iArray.Length;
-        format = "The Int32 {" + index.ToString() + "}";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == iArray[index]);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch(Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #region alignment testing
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: the length of the formatted Int32 value is less than alignment";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int[] iArray = new int[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN + 1];
-        args = new Object[iArray.Length];
-        //boxing
-        for (int j = 0; j < iArray.Length; j++)
-        {
-            iArray[j] = TestLibrary.Generator.GetInt32(-55);
-            args[j] = iArray[j];
-        }
-        int index = TestLibrary.Generator.GetInt32(-55) % iArray.Length;
-        int alignment = iArray[index].ToString().Length + TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN + 1;
-        format = "The Int32 {" + index.ToString() + "," + alignment.ToString() + "}";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            str = str.Substring(format.IndexOf('{'));
-            //Validate the formatted string against primitive integer
-            actualValue = (int.Parse(str) == iArray[index]);
-            int lastIndex = str.LastIndexOf('\u0020');
-            actualValue = (lastIndex >= 0) && actualValue;
-            for (int j = 0; j <= lastIndex; j++)
-            {
-                actualValue = ('\u0020' == str[j]) && actualValue;
-            }
-            actualValue = (alignment == str.Length) && actualValue;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: alignment is positive, the length of the formatted Int32 value is greater than alignment";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int[] iArray = new int[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN + 1];
-        args = new Object[iArray.Length];
-        //boxing
-        for (int j = 0; j < iArray.Length; j++)
-        {
-            iArray[j] = TestLibrary.Generator.GetInt32(-55) % (Int32.MaxValue - 10) + 10;
-            args[j] = iArray[j];
-        }
-        int index = TestLibrary.Generator.GetInt32(-55) % iArray.Length;
-        int alignment =TestLibrary.Generator.GetInt32(-55) % (iArray[index].ToString().Length - 1) + 1;
-        format = "The Int32 {" + index.ToString() + "," + alignment.ToString() + "}";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == iArray[index]) && (str.Length == iArray[index].ToString().Length);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: alignment is zero";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int[] iArray = new int[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN + 1];
-        args = new Object[iArray.Length];
-        //boxing
-        for (int j = 0; j < iArray.Length; j++)
-        {
-            iArray[j] = TestLibrary.Generator.GetInt32(-55) % (Int32.MaxValue - 10) + 10;
-            args[j] = iArray[j];
-        }
-        int index = TestLibrary.Generator.GetInt32(-55) % iArray.Length;
-        int alignment = 0;
-        format = "The Int32 {" + index.ToString() + "," + alignment.ToString() + "}";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == iArray[index]) && (str.Length == iArray[index].ToString().Length);
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P005";
-        const string c_TEST_DESC = "PosTest5: alignment is negative, and its absolute value is greater than length of formatted object";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int[] iArray = new int[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN + 1];
-        args = new Object[iArray.Length];
-        //boxing
-        for (int j = 0; j < iArray.Length; j++)
-        {
-            iArray[j] = TestLibrary.Generator.GetInt32(-55) % (Int32.MaxValue - 10) + 10;
-            args[j] = iArray[j];
-        }
-        int index = TestLibrary.Generator.GetInt32(-55) % iArray.Length;
-        int alignment = -1 * (iArray[index].ToString().Length + TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN + 1);
-        format = "The Int32 {" + index.ToString() + "," + alignment.ToString() + "}";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            str = str.Substring(format.IndexOf('{'));
-
-            //
-            int firstIndex = str.IndexOf('\u0020');
-            actualValue = (int.Parse(str) == iArray[index]);
-            for (int j = firstIndex; j < str.Length; j++ )
-            {
-                actualValue = ('\u0020' == str[j]) && actualValue;
-            }
-            actualValue = (str.Length == (-1 * alignment)) && actualValue;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P006";
-        const string c_TEST_DESC = "PosTest6: alignment is negative, and its absolute value is less than or equal length of formatted object";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int[] iArray = new int[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN + 1];
-        args = new Object[iArray.Length];
-        //boxing
-        for (int j = 0; j < iArray.Length; j++)
-        {
-            iArray[j] = TestLibrary.Generator.GetInt32(-55) % (Int32.MaxValue - 10) + 10;
-            args[j] = iArray[j];
-        }
-        int index = TestLibrary.Generator.GetInt32(-55) % iArray.Length;
-        int alignment = -1 * (TestLibrary.Generator.GetInt32(-55) % (iArray[index].ToString().Length + 1));
-        format = "The Int32 {" + index.ToString() + "," + alignment.ToString() + "}";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (int.Parse(str) == iArray[index]);
-            actualValue = (str.Length == iArray[index].ToString().Length) && actualValue;
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P007";
-        const string c_TEST_DESC = "PosTest7: Formatted object is null";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        format = "The object is {0}";
-        args = new object[TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN + 1];
-        for (int i = 0; i < args.Length; i++)
-        {
-            args[i] = null;
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            str = str.Substring(format.IndexOf('{'));
-            actualValue = (0 == string.CompareOrdinal(str, string.Empty));
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P008";
-        const string c_TEST_DESC = @"PosTest8: format string contains { literal";
-
-        bool expectedValue = true;
-        bool actualValue = false;
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int[] iArray = new int[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN + 1];
-        args = new object[iArray.Length];
-        format = "{{0}}";
-        //boxing
-        for (int j = 0; j < iArray.Length; j++)
-        {
-            args[j] = iArray[j];
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string str = string.Format(format, args);
-            
-            actualValue = (0 == string.CompareOrdinal(str, "{0}"));
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-                TestLibrary.TestFramework.LogError("015" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("016" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: format is a null reference ";
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        format = null;
-        args = new object[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN]; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, args);
-            errorDesc = "ArgumentNullException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("017" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("018" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //FormatException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: The format item in format is invalid ";
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        char ch = TestLibrary.Generator.GetChar(-55);
-        format = "The object {" + ch.ToString() + "}";
-        args = new object[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN]; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, args);
-            errorDesc = "FormatException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("019" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("020" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: The index is greater than number of formatted objects ";
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        args = new object[TestLibrary.Generator.GetInt32(-55) % c_MIN_STRING_LEN]; //boxing
-        int i = TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN + 1 + args.Length;
-        format = "The object {" + i.ToString() + "}";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, args);
-            errorDesc = "FormatException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("021" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("022" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N004";
-        const string c_TEST_DESC = "NegTest4: The index is negative ";
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int i = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        format = "The object {" + i.ToString() + "}";
-        args = new object[TestLibrary.Generator.GetInt32(-55) % c_MAX_STRING_LEN]; //boxing
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, args);
-            errorDesc = "FormatException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("023" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("024" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentNullException
-    public bool NegTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N005";
-        const string c_TEST_DESC = "NegTest5: The formatted object array is negative ";
-        string errorDesc;
-
-        string format;
-        Object[] args;
-
-        int i = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        format = "The object {" + i.ToString() + "}";
-        args = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string.Format(format, args);
-            errorDesc = "ArgumentNullException is not thrown as expected";
-            //errorDesc += GetDataString(strA, indexA, strB, indexB, length, comparisonType);
-            TestLibrary.TestFramework.LogError("023" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("024" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringgetenumerator.cs b/tests/src/CoreMangLib/cti/system/string/stringgetenumerator.cs
deleted file mode 100644 (file)
index 35551ad..0000000
+++ /dev/null
@@ -1,217 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-
-/// <summary>
-/// String.GetEnumerator()
-/// Retrieves an object that can iterate through the individual characters in this string.  
-/// </summary>
-class StringGetEnumerator
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        StringGetEnumerator iege = new StringGetEnumerator();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.GetEnumerator()");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IEnumerator<Char> iterator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            iterator = ((IEnumerable<Char>)strSrc).GetEnumerator();
-
-            condition = true;
-            int index = 0;
-            while (iterator.MoveNext())
-            {
-                condition = object.Equals(iterator.Current, strSrc[index]) && condition;
-                index++;
-            }
-            iterator.Reset();
-            
-            actualValue = condition && (null != iterator);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: string.Empty ";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IEnumerator<Char> iterator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = string.Empty;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            iterator = ((IEnumerable<Char>)strSrc).GetEnumerator();
-
-            condition = true;
-            int index = 0;
-            while (iterator.MoveNext())
-            {
-                condition = object.Equals(iterator.Current, strSrc[index]) && condition;
-                index++;
-            }
-            iterator.Reset();
-
-            actualValue = condition && (null != iterator);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = @"PosTest3: string is \0 ";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IEnumerator<Char> iterator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = "\0";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            iterator = ((IEnumerable<Char>)strSrc).GetEnumerator();
-
-            condition = true;
-            int index = 0;
-            while (iterator.MoveNext())
-            {
-                condition = object.Equals(iterator.Current, strSrc[index]) && condition;
-                index++;
-            }
-            iterator.Reset();
-
-            actualValue = condition && (null != iterator);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    private string GetDataString(string strSrc)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringgethashcode.cs b/tests/src/CoreMangLib/cti/system/string/stringgethashcode.cs
deleted file mode 100644 (file)
index a55a413..0000000
+++ /dev/null
@@ -1,308 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.GetHashCode()
-/// Returns the hash code for this string.
-/// </summary>
-class StringGetHashCode
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    private const string c_POS_TEST_PREFIX = "PosTest";
-    private const string c_NEG_TEST_PREFIX = "NegTest";
-
-    private const string c_GREEK_SIGMA_STR_A = "\x03C2\x03C3\x03A3\x03C2\x03C3";
-    private const string c_GREEK_SIGMA_STR_B = "\x03A3\x03A3\x03A3\x03C3\x03C2";
-
-    private int totalTestCount;
-    private int posTestCount;
-    private int negTestCount;
-    private int passedTestCount;
-    private int failedTestCount;
-
-    private enum TestType { PositiveTest = 1, NegativeTest = 2 };
-    private enum TestResult { NotRun = 0, PassedTest = 1, FailedTest = 2 };
-    internal struct Parameters
-    {
-        public string strSrc;
-
-        public string DataString
-        {
-            get
-            {
-                string str, strA;
-                int lenA;
-
-                if (null == strSrc)
-                {
-                    strA = "null";
-                    lenA = 0;
-                }
-                else
-                {
-                    strA = strSrc;
-                    lenA = strSrc.Length;
-                }
-
-                str = string.Format("\n[String value]\nSource: \"{0}\"\n[String length]\n {1}", strA, lenA);
-
-                return str;
-            }
-        }
-    }
-
-    //Default constructor to ininitial all kind of test counts
-    public StringGetHashCode()
-    {
-        totalTestCount = posTestCount = negTestCount = 0;
-        passedTestCount = failedTestCount = 0;
-    }
-
-    #region Methods for all test scenarioes
-
-    //Update (postive or negative) and total test count at the beginning of test scenario
-    private void UpdateCounts(TestType testType)
-    {
-        if (TestType.PositiveTest == testType)
-        {
-            posTestCount++;
-            totalTestCount++;
-            return;
-        }
-
-        if (TestType.NegativeTest == testType)
-        {
-            negTestCount++;
-            totalTestCount++;
-            return;
-        }
-    }
-
-    //Update failed or passed test counts at the end of test scenario
-    private void UpdateCounts(TestResult testResult)
-    {
-        if (TestResult.PassedTest == testResult)
-        {
-            passedTestCount++;
-            return;
-        }
-
-        if (TestResult.FailedTest == testResult)
-        {
-            failedTestCount++;
-            return;
-        }
-    }
-
-    //Generate standard error number string
-    //i.e "9", "12" is not proper. Instead they should be "009", "012"
-    private string GenerateErrorNum(int errorNum)
-    {
-        string temp = errorNum.ToString();
-        string errorNumStr = new string('0', 3 - temp.Length) + temp;
-        return errorNumStr;
-    }
-
-    //Generate testId string
-    //i.e "P9", "N12" is not proper. Instead they should be "P009", "N012"
-    private string GenerateTestId(TestType testType)
-    {
-        string temp, testId;
-
-        if (testType == TestType.PositiveTest)
-        {
-            temp = this.posTestCount.ToString();
-            testId = "P" + new string('0', 3 - temp.Length) + temp;
-        }
-        else
-        {
-            temp = this.negTestCount.ToString();
-            testId = "N" + new string('0', 3 - temp.Length) + temp;
-        }
-
-        return testId;
-    }
-
-    #endregion
-
-    public static int Main()
-    {
-        StringGetHashCode sge = new StringGetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.GetHashCode()");
-        if (sge.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    #region Normal tests
-
-    public bool PosTest1()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "Random string";
-
-        paras.strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        return ExecutePosTest(paras, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #region String.Empty, "\0" and null
-
-    public bool PosTest2()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "String.Empty";
-
-        paras.strSrc = String.Empty;
-
-        return ExecutePosTest(paras, c_TEST_DESC);
-    }
-
-    public bool PosTest3()
-    {
-        Parameters paras;
-
-        const string c_TEST_DESC = "\"\0\"";
-
-        paras.strSrc = "\0";
-
-        return ExecutePosTest(paras, c_TEST_DESC);
-    }
-
-    #endregion
-
-    #endregion // end for positive test scenarioes
-
-    #region Helper methods for positive test scenarioes
-
-    private bool ExecutePosTest(Parameters paras, string testDesc)
-    {
-        bool retVal = true;
-        UpdateCounts(TestType.PositiveTest);
-        string testId = GenerateTestId(TestType.PositiveTest);
-        TestResult testResult = TestResult.NotRun;
-
-        string testInfo = c_POS_TEST_PREFIX + this.posTestCount.ToString() + ": " + testDesc;
-        object actualValue = null;
-
-        TestLibrary.TestFramework.BeginScenario(testInfo);
-        try
-        {
-            actualValue = this.CallTestMethod(paras);
-            if (null == actualValue)
-            {
-                string errorDesc = "Enumerator is not retrieved as expected, actually it is null";
-                errorDesc += paras.DataString + "\nTest scenario Id: " + testId;
-                TestLibrary.TestFramework.LogError(GenerateErrorNum(totalTestCount << 1 - 1) + " TestId -" + testId, errorDesc);
-                testResult = TestResult.FailedTest;
-                retVal = false;
-            }
-
-            testResult = TestResult.PassedTest;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(GenerateErrorNum(totalTestCount << 1) + " TestId -" + testId, "Unexpected exception: " + e + paras.DataString);
-            testResult = TestResult.FailedTest;
-            retVal = false;
-        }
-
-        UpdateCounts(testResult);
-        return retVal;
-    }
-
-    #endregion
-
-    //Involke the test method
-    private int CallTestMethod(Parameters paras)
-    {
-        return paras.strSrc.GetHashCode();
-    }
-
-    #region helper methods for generating test data
-    
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    private char GetUpperChar()
-    {
-        Char c;
-        //  Grab an ASCII letter
-        c = Convert.ToChar(TestLibrary.Generator.GetInt16(-55) % 26 + 'A');
-        return c;
-    }
-
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoboolean.cs
deleted file mode 100644 (file)
index 9d49ddb..0000000
+++ /dev/null
@@ -1,266 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.System.IConvertible.ToBoolean(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is not 
-/// intended to be used directly from your code. 
-/// Converts the value of the current String object to a Boolean value. 
-/// </summary>
-class IConvertibleToBoolean
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToBoolean iege = new IConvertibleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToBoolean(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: False string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = "false";
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (false == ((IConvertible)strSrc).ToBoolean(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: True string";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = "true";
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (true == ((IConvertible)strSrc).ToBoolean(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //new update 8-14-2006 Noter(v-yaduoj)
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: Trailing and leading white space";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = "  \n\r\ttrue \n\r\t ";
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (true == ((IConvertible)strSrc).ToBoolean(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //new update 8-14-2006 Noter(v-yaduoj)
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: Case insensitive";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = " TRue ";
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (true == ((IConvertible)strSrc).ToBoolean(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String is not TrueString or FalseString.";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToBoolean(provider);
-            TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletobyte.cs
deleted file mode 100644 (file)
index 1048697..0000000
+++ /dev/null
@@ -1,340 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToByte(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to an 8-bit unsigned integer. 
-/// </summary>
-class IConvertibleToByte
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToByte iege = new IConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToByte(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        byte b;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        b = TestLibrary.Generator.GetByte(-55);
-        strSrc = b.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (b == ((IConvertible)strSrc).ToByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        byte b;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        b = TestLibrary.Generator.GetByte(-55);
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.PositiveSign + b.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (b == ((IConvertible)strSrc).ToByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is Byte.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = byte.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (byte.MaxValue == ((IConvertible)strSrc).ToByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is Byte.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = byte.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (byte.MinValue == ((IConvertible)strSrc).ToByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToByte(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        i = byte.MaxValue + 1 + TestLibrary.Generator.GetByte(-55);
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToByte(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        // new update 8-14-2006 Noter(v-yaduoj)
-        i = -1*TestLibrary.Generator.GetByte(-55) - 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToByte(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletochar.cs
deleted file mode 100644 (file)
index 2fabde8..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToChar()
-/// This method supports the .NET Framework infrastructure and is not intended 
-/// to be used directly from your code. 
-/// Converts a non-empty string of length one to a Char object. 
-/// </summary>
-class IConvertibleToChar
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToChar iege = new IConvertibleToChar();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToChar(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        //retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random single char string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        char ch;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        ch = TestLibrary.Generator.GetChar(-55);
-        strSrc = ch.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (ch == ((IConvertible)strSrc).ToChar(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    //FormatException
-    public bool NegTest1() //bug
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The length of String object is greater than 1.";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, 2, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToChar(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //FormatException
-    public bool NegTest2() //bug
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The String object is string.Empty";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = string.Empty;
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToChar(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    } 
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint16.cs
deleted file mode 100644 (file)
index 8bcf888..0000000
+++ /dev/null
@@ -1,384 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToInt16(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to a 16-bit signed integer.  
-/// </summary>
-class IConvertibleToInt16
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToInt16 iege = new IConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToInt16(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int16 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt16(-55);
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        Int16 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt16(-55);
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false,false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.PositiveSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is Int16.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = Int16.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (Int16.MaxValue == ((IConvertible)strSrc).ToInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is Int16.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = Int16.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (Int16.MinValue == ((IConvertible)strSrc).ToInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5() // new update 8-14-2006 Noter(v-yaduoj)
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest5: Negative sign";
-        const string c_TEST_ID = "P005";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        Int16 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt16(-55);
-        ni.NegativeSign = TestLibrary.Generator.GetString(-55, false,false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.NegativeSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = ((-1*i) == ((IConvertible)strSrc).ToInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToInt16(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        // new update 8-14-2006 Noter(v-yaduoj)
-        i = TestLibrary.Generator.GetInt16(-55) + Int16.MaxValue + 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            // new update 8-14-2006 Noter(v-yaduoj)
-            ((IConvertible)strSrc).ToInt16(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        // new update 8-14-2006 Noter(v-yaduoj)
-        i = -1 * (TestLibrary.Generator.GetInt32(-55) % Int16.MaxValue) - Int16.MaxValue - 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToInt16(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint32.cs
deleted file mode 100644 (file)
index 6bd6ea8..0000000
+++ /dev/null
@@ -1,385 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToInt32(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to a 32-bit signed integer.  
-/// </summary>
-class IConvertibleToInt32
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToInt32 iege = new IConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToInt32(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int32 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt32(-55);
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        Int32 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt32(-55);
-        // positive signs cannot have emdedded nulls
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN).Replace((char)0, 'a');
-        strSrc = ni.PositiveSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is Int32.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = Int32.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (Int32.MaxValue == ((IConvertible)strSrc).ToInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is Int32.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = Int32.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (Int32.MinValue == ((IConvertible)strSrc).ToInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5() // new update 8-14-2006 Noter(v-yaduoj)
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest5: Negative sign";
-        const string c_TEST_ID = "P005";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        Int32 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt32(-55);
-        ni.NegativeSign = TestLibrary.Generator.GetString(-55, false, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.NegativeSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = ((-1*i) == ((IConvertible)strSrc).ToInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToInt32(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int64 i;
-
-        // new update 8-14-2006 Noter(v-yaduoj)
-        i = TestLibrary.Generator.GetInt64(-55) % Int32.MaxValue + Int32.MaxValue + 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            // new update 8-14-2006 Noter(v-yaduoj)
-            ((IConvertible)strSrc).ToInt32(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int64 i;
-
-        // new update 8-14-2006 Noter(v-yaduoj)
-        i = -1 * (TestLibrary.Generator.GetInt64(-55) % Int32.MaxValue) - Int32.MaxValue - 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToInt32(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletoint64.cs
deleted file mode 100644 (file)
index 1b6cea1..0000000
+++ /dev/null
@@ -1,385 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToInt64(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to a 32-bit signed integer.  
-/// </summary>
-class IConvertibleToInt64
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToInt64 iege = new IConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToInt64(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int64 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt64(-55);
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        Int64 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt64(-55);
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false,false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.PositiveSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is Int64.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = Int64.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (Int64.MaxValue == ((IConvertible)strSrc).ToInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is Int32.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = Int64.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (Int64.MinValue == ((IConvertible)strSrc).ToInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest5: Positive sign";
-        const string c_TEST_ID = "P005";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        Int64 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = TestLibrary.Generator.GetInt64(-55);
-        ni.NegativeSign = TestLibrary.Generator.GetString(-55, false,false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.NegativeSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = ((-1 * i) == ((IConvertible)strSrc).ToInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    //FormatException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToInt64(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2() //bug
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int64 i;
-
-        i = TestLibrary.Generator.GetInt64(-55);
-
-        strSrc = Int64.MaxValue.ToString() + i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToInt64(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3() //bug
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        IFormatProvider provider;
-        Int64 i;
-
-        i = TestLibrary.Generator.GetInt64(-55);
-        strSrc = ni.NegativeSign + Int64.MaxValue + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToInt64(provider);
-            TestLibrary.TestFramework.LogError("015" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletosbyte.cs
deleted file mode 100644 (file)
index c11e262..0000000
+++ /dev/null
@@ -1,383 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToSByte(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to an 8-bit signed integer. 
-/// </summary>
-class IConvertibleToSByte
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToSByte iege = new IConvertibleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToSByte(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random positive numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        sbyte b;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        b = (sbyte)(TestLibrary.Generator.GetByte(-55) % (sbyte.MaxValue + 1));
-        strSrc = b.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (b == ((IConvertible)strSrc).ToSByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        sbyte b;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        b = (sbyte)(TestLibrary.Generator.GetByte(-55) % (sbyte.MaxValue + 1));
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //ni.PositiveSign = "**";
-        strSrc = ni.PositiveSign + b.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (b == ((IConvertible)strSrc).ToSByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is SByte.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = sbyte.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (sbyte.MaxValue == ((IConvertible)strSrc).ToSByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is sByte.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = sbyte.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (sbyte.MinValue == ((IConvertible)strSrc).ToSByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest5: Negative sign";
-        const string c_TEST_ID = "P005";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        sbyte b;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        b = (sbyte)(TestLibrary.Generator.GetByte(-55) % (sbyte.MaxValue + 1));
-        ni.NegativeSign = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.NegativeSign + b.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = ((-1 * b) == ((IConvertible)strSrc).ToSByte(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    //FormatException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToSByte(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        i = sbyte.MaxValue + 1 + TestLibrary.Generator.GetByte(-55);
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToSByte(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        i = -1*(TestLibrary.Generator.GetByte(-55) % (sbyte.MaxValue)) +sbyte.MinValue - 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToSByte(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint16.cs
deleted file mode 100644 (file)
index 0b8ebbb..0000000
+++ /dev/null
@@ -1,339 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToUInt16(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to a 16-bit unsigned integer.  
-/// </summary>
-class IConvertibleToUInt16
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToUInt16 iege = new IConvertibleToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToUInt16(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        UInt16 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToUInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        UInt16 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.PositiveSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToUInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is Int16.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = UInt16.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (UInt16.MaxValue == ((IConvertible)strSrc).ToUInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is Int16.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = UInt16.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (UInt16.MinValue == ((IConvertible)strSrc).ToUInt16(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt16(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        i = TestLibrary.Generator.GetInt16(-55) + UInt16.MaxValue + 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt16(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        IFormatProvider provider;
-        int i;
-
-        i = -1 * (TestLibrary.Generator.GetInt32(-55) % UInt16.MaxValue) + UInt16.MinValue - 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt16(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint32.cs
deleted file mode 100644 (file)
index 3a84771..0000000
+++ /dev/null
@@ -1,339 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToUInt32(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to a 32-bit unsigned integer.  
-/// </summary>
-class IConvertibleToUInt32
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToUInt32 iege = new IConvertibleToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToUInt32(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        UInt32 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = (UInt32)(TestLibrary.Generator.GetInt64(-55) % (UInt32.MaxValue));
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToUInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        UInt32 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = (UInt32)(TestLibrary.Generator.GetInt64(-55) % (UInt32.MaxValue));
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.PositiveSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToUInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is UInt32.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = UInt32.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (UInt32.MaxValue == ((IConvertible)strSrc).ToUInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is UInt32.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = UInt32.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (UInt32.MinValue == ((IConvertible)strSrc).ToUInt32(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt32(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int64 i;
-
-        i = TestLibrary.Generator.GetInt64(-55) % UInt32.MaxValue + UInt32.MaxValue + 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt32(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        IFormatProvider provider;
-        Int64 i;
-
-        i = -1 * (TestLibrary.Generator.GetInt64(-55) % UInt32.MaxValue) + UInt32.MinValue - 1;
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt32(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/string/stringiconvertibletouint64.cs
deleted file mode 100644 (file)
index c86a3cc..0000000
+++ /dev/null
@@ -1,362 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// String.System.IConvertible.ToUInt64(IFormatProvider provider)
-/// This method supports the .NET Framework infrastructure and is 
-/// not intended to be used directly from your code. 
-/// Converts the value of the current String object to a 64-bit unsigned integer.  
-/// </summary>
-class IConvertibleToUInt64
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IConvertibleToUInt64 iege = new IConvertibleToUInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: String.System.IConvertible.ToUInt64(IFormatProvider)");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random numeric string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IFormatProvider provider;
-        UInt64 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = GetUInt64();
-        strSrc = i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToUInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Positive sign";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IFormatProvider provider;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        UInt64 i;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        i = GetUInt64();
-        ni.PositiveSign = TestLibrary.Generator.GetString(-55, false, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        strSrc = ni.PositiveSign + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (i == ((IConvertible)strSrc).ToUInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: string is Int64.MaxValue";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = Int64.MaxValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (Int64.MaxValue == ((IConvertible)strSrc).ToUInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: string is UInt32.MinValue";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        IFormatProvider provider;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = UInt64.MinValue.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            actualValue = (UInt64.MinValue == ((IConvertible)strSrc).ToUInt64(provider));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, provider);
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    #region Negative test scenarios
-
-    //FormatException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The value of String object cannot be parsed";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        IFormatProvider provider;
-
-        strSrc = "p" + TestLibrary.Generator.GetString(-55, false, 9, c_MAX_STRING_LEN);
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt64(provider);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "FormatException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The value of String object is a number greater than MaxValue";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        IFormatProvider provider;
-        UInt64 i;
-
-        i = GetUInt64();
-
-        strSrc = UInt64.MaxValue.ToString() + i.ToString();
-        provider = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt64(provider);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The value of String object is a number less than MinValue";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        NumberFormatInfo ni = new NumberFormatInfo();
-        IFormatProvider provider;
-        UInt64 i;
-
-        i = GetUInt64();
-        strSrc = ni.NegativeSign + UInt64.MaxValue + i.ToString();
-        provider = (IFormatProvider)ni;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            ((IConvertible)strSrc).ToUInt64(provider);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "OverflowException is not thrown as expected" + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strSrc, provider));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    // returns a non-negative UInt64 between 0 and UInt64.MadValue
-    public static UInt64 GetUInt64() // maybe bug
-    {
-        byte[] buffer = new byte[8];
-        UInt64 iVal;
-
-        TestLibrary.Generator.GetBytes(-55, buffer);
-
-        // convert to UInt64
-        iVal = 0;
-        for (int i = 0; i < buffer.Length; i++)
-        {
-            iVal |= ((UInt64)buffer[i] << (i * 8));
-        }
-
-        TestLibrary.TestFramework.LogInformation("Random UInt64 produced: " + iVal.ToString());
-        return iVal;
-    }
-
-    private string GetDataString(string strSrc, IFormatProvider provider)
-    {
-        string str1, str2, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str2 = (null == provider) ? "null" : provider.ToString();
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Format provider string]\n {0}", str2);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringienumerablegetenumerator.cs b/tests/src/CoreMangLib/cti/system/string/stringienumerablegetenumerator.cs
deleted file mode 100644 (file)
index 923009b..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections;
-
-/// <summary>
-/// IEnumerable.GetEnumerator()
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Returns an enumerator that iterates through the collection. 
-/// </summary>
-class IEnumerableGetEnumerator
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    public static int Main()
-    {
-        IEnumerableGetEnumerator iege = new IEnumerableGetEnumerator();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: string implementation of Collections.IEnumerable.GetEnumerator()");
-        if (iege.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarioes
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random string";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        IEnumerator iterator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            iterator = ((IEnumerable)strSrc).GetEnumerator();
-
-            condition = true;
-            int index = 0;
-            while (iterator.MoveNext())
-            {
-                condition = object.Equals(iterator.Current, strSrc[index]) && condition;
-                index++;
-            }
-            iterator.Reset();
-
-            actualValue = condition && (null != iterator);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: string.Empty ";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        IEnumerator iterator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = string.Empty;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            iterator = ((IEnumerable)strSrc).GetEnumerator();
-
-            condition = true;
-            int index = 0;
-            while (iterator.MoveNext())
-            {
-                condition = object.Equals(iterator.Current, strSrc[index]) && condition;
-                index++;
-            }
-            iterator.Reset();
-
-            actualValue = condition && (null != iterator);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = @"PosTest3: string is \0 ";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        IEnumerator iterator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = "\0";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            iterator = ((IEnumerable)strSrc).GetEnumerator();
-
-            condition = true;
-            int index = 0;
-            while (iterator.MoveNext())
-            {
-                condition = object.Equals(iterator.Current, strSrc[index]) && condition;
-                index++;
-            }
-            iterator.Reset();
-
-            actualValue = condition && (null != iterator);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion // end for positive test scenarioes
-
-    private string GetDataString(string strSrc)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringindexof10.cs b/tests/src/CoreMangLib/cti/system/string/stringindexof10.cs
deleted file mode 100644 (file)
index 979d96f..0000000
+++ /dev/null
@@ -1,185 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-using System.Globalization;
-using TestLibrary;
-
-public class StringIndexOf
-{
-    public static string[] InterestingStrings = new string[] { "", "a", "1", "-", "A", "!", "abc", "aBc", "a\u0400Bc", "I", "i", "\u0130", "\u0131", "A", "\uFF21", "\uFE57"};
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Compare interesting strings ordinally");
-
-        try
-        {
-            foreach (string s in InterestingStrings)
-            {
-                foreach (string r in InterestingStrings)
-                {
-                    retVal &= TestStrings(s, r);
-                }
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Compare many strings");
-
-        try
-        {
-            for (int i = 0; i < 1000; i++) 
-            {
-                string str1 = Generator.GetString(-55, false, 5, 20);
-                string str2 = Generator.GetString(-55, false, 5, 20);
-                if (str1.IndexOf(str1, StringComparison.Ordinal) != 0)
-                {
-                    TestLibrary.TestFramework.LogError("003.1", "Comparison not as expected! Actual result: " + str1.IndexOf(str1, StringComparison.Ordinal).ToString() + ", Expected result: 0");
-                    TestLibrary.TestFramework.LogInformation("String 1: <" + str1 + "> : " + BytesFromString(str1) + "\nString 2: <" + str1 + "> : " + BytesFromString(str1));
-                    retVal = false;
-                }
-                if (str2.IndexOf(str2, StringComparison.Ordinal) != 0)
-                {
-                    TestLibrary.TestFramework.LogError("003.2", "Comparison not as expected! Actual result: " + str2.IndexOf(str2, StringComparison.Ordinal).ToString() + ", Expected result: 0");
-                    TestLibrary.TestFramework.LogInformation("String 1: <" + str2 + "> : " + BytesFromString(str2) + "\nString 2: <" + str2 + "> : " + BytesFromString(str2));
-                    retVal = false;
-                }
-                TestStrings(str1, str2);
-                TestStrings(str1 + str2, str2);
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.4", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Specific regression cases");
-
-        try
-        {
-            CultureInfo oldCi = TestLibrary.Utilities.CurrentCulture;
-            TestLibrary.Utilities.CurrentCulture = new CultureInfo("hu-HU");
-            retVal &= TestStrings("Foodzsdzsbar", "ddzs");
-            TestLibrary.Utilities.CurrentCulture = oldCi;
-
-            retVal &= TestStrings("\u00C0nimal", "A\u0300");
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public static int Main()
-    {
-        StringIndexOf test = new StringIndexOf();
-
-        TestLibrary.TestFramework.BeginTestCase("StringIndexOf");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    private bool TestStrings(string str1, string str2)
-    {
-        bool retVal = true;
-
-        int expectValue = PredictValue(str1, str2);
-        int actualValue = str1.IndexOf(str2, StringComparison.Ordinal);
-
-        if (actualValue != expectValue)
-        {
-            TestLibrary.TestFramework.LogError("001.1", "Comparison not as expected! Actual result: " + actualValue + ", Expected result: " + expectValue);
-            TestLibrary.TestFramework.LogInformation("String 1: <" + str1 + "> : " + BytesFromString(str1) + "\nString 2: <" + str2 + "> : " + BytesFromString(str2));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    int PredictValue(string str1, string str2)
-    {
-        if (str1 == null)
-        {
-            if (str2 == null) return 0;
-            else return -1;
-        }
-        if (str2 == null) return -1;
-
-        if (str2.Length > str1.Length) return -1;
-        
-        for (int i = 0; i <= str1.Length - str2.Length; i++)
-        {
-            bool match = true;
-            for (int j = 0; j < str2.Length; j++)
-            {
-                if ((int)str1[i + j] != (int)str2[j])
-                {
-                    match = false;
-                    break;
-                }
-            }
-            if (match) return i;
-        }
-        return -1;
-    }
-
-    private static string BytesFromString(string str)
-    {
-        if (str == null) return string.Empty;
-        StringBuilder output = new StringBuilder();
-        for (int i = 0; i < str.Length; i++)
-        {
-            output.Append(TestLibrary.Utilities.ByteArrayToString(BitConverter.GetBytes(str[i])));
-            if (i != (str.Length - 1)) output.Append(", ");
-        }
-        return output.ToString();
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringinsert.cs b/tests/src/CoreMangLib/cti/system/string/stringinsert.cs
deleted file mode 100644 (file)
index 6b959c0..0000000
+++ /dev/null
@@ -1,374 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// String.Insert(Int32, String)  
-/// Inserts a specified instance of String at a specified index position in this instance. 
-/// </summary>
-class StringInsert
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringInsert si = new StringInsert();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Insert(Int32, string)");
-        if (si.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1() // new update 8-8-2006 Noter(v-yaduoj)
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Start index is 0";
-        const string c_TEST_ID = "P001";
-
-        int index;
-        string strSrc, strInserting;
-        bool condition1 = false; //Verify the inserting string
-        bool condition2 = false; //Verify the source string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        index = 0;
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //strSrc = "AABBB";
-        strInserting = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //strInserting = "%%";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strNew = strSrc.Insert(index, strInserting);
-
-            condition1 = (0 == string.CompareOrdinal(strInserting, strNew.Substring(index, strInserting.Length)));
-            condition2 = (0 == string.CompareOrdinal(strSrc, strNew.Substring(0, index) + strNew.Substring(index + strInserting.Length)));
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    // new update 8-8-2006 Noter(v-yaduoj)
-    public bool PosTest2() 
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "Start index equals the length of instance ";
-        const string c_TEST_ID = "P002";
-
-        int index;
-        string strSrc, strInserting;
-        bool condition1 = false; //Verify the inserting string
-        bool condition2 = false; //Verify the source string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        index = strSrc.Length;
-        strInserting = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strNew = strSrc.Insert(index, strInserting);
-
-            condition1 = (0 == string.CompareOrdinal(strInserting, strNew.Substring(index, strInserting.Length)));
-            condition2 = (0 == string.CompareOrdinal(strSrc, strNew.Substring(0, index) + strNew.Substring(index + strInserting.Length)));
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    // new update 8-8-2006 Noter(v-yaduoj)
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "Start index is a value between 1 and Instance.Length - 1 ";
-        const string c_TEST_ID = "P003";
-
-        int index;
-        string strSrc, strInserting;
-        bool condition1 = false; //Verify the inserting string
-        bool condition2 = false; //Verify the source string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        index = GetInt32(1, strSrc.Length - 1);
-        strInserting = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strNew = strSrc.Insert(index, strInserting);
-
-            condition1 = (0 == string.CompareOrdinal(strInserting, strNew.Substring(index, strInserting.Length)));
-            condition2 = (0 == string.CompareOrdinal(strSrc, strNew.Substring(0, index) + strNew.Substring(index + strInserting.Length)));
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    // new update 8-8-2006 Noter(v-yaduoj)
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "String inserted is Sting.Empty";
-        const string c_TEST_ID = "P004";
-
-        int index;
-        string strSrc, strInserting;
-        bool condition1 = false; //Verify the inserting string
-        bool condition2 = false; //Verify the source string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        index = GetInt32(0, strSrc.Length);
-        strInserting = String.Empty;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strNew = strSrc.Insert(index, strInserting);
-
-            condition1 = (0 == string.CompareOrdinal(strInserting, strNew.Substring(index, strInserting.Length)));
-            condition2 = (0 == string.CompareOrdinal(strSrc, strNew.Substring(0, index) + strNew.Substring(index + strInserting.Length)));
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("007" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenairos
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "The string inserted is null";
-        const string c_TEST_ID = "N001";
-
-        int index;
-        string strSource, str;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSource = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            index = GetInt32(0, strSource.Length);
-            str = null;
-
-            strSource.Insert(index, str);
-            TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, "ArgumentNullException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {}
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "The start index is greater than the length of instance.";
-        const string c_TEST_ID = "N002";
-
-        int index;
-        string strSource, str;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSource = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            index = GetInt32(strSource.Length + 1, Int32.MaxValue);
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-            strSource.Insert(index, str);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "The start index is a negative integer";
-        const string c_TEST_ID = "N003";
-
-        int index;
-        string strSource, str;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSource = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            index = -1 * GetInt32(0, Int32.MaxValue) - 1;
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-            strSource.Insert(index, str);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringisnullorempty.cs b/tests/src/CoreMangLib/cti/system/string/stringisnullorempty.cs
deleted file mode 100644 (file)
index 2b91b1e..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Text;
-/// <summary>
-/// String.IsNullOrEmpty(System.String)
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Indicates whether the specified String object is a null refere-
-/// nce (Nothing in Visual Basic) or an Empty string. 
-/// </summary>
-class StringIsNullOrEmpty
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringIsNullOrEmpty sin = new StringIsNullOrEmpty();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.IsNullOrEmpty(System.String)");
-        if(sin.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "String is null";
-        const string c_TEST_ID = "P001";
-
-        string str;
-        bool expectedValue = true; // True means that string is null.
-        bool actualValue = false;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = null;
-            actualValue = string.IsNullOrEmpty(str);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "String is empty";
-        const string c_TEST_ID = "P002";
-
-        string str;
-        bool expectedValue = true; // True means string is empty
-        bool actualValue = false;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = String.Empty;
-            actualValue = string.IsNullOrEmpty(str);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "String is unempty and non-null";
-        const string c_TEST_ID = "P003";
-
-        string str;
-        bool expectedValue = false; // False means string is unempty and non-null
-        bool actualValue = false;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            actualValue = string.IsNullOrEmpty(str);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "String consists of \"\\0\"";
-        const string c_TEST_ID = "P004";
-
-        string str;
-        bool expectedValue = false; // False means string is unempty and non-null
-        bool actualValue = false;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            char ch = '\0';
-            str = new string(ch, GetInt32(1, c_MAX_STRING_LEN));
-            actualValue = string.IsNullOrEmpty(str);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("007" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "String consists of \"\"";
-        const string c_TEST_ID = "P005";
-
-        string str;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str = "";
-            for (int i = GetInt32(1, c_MAX_STRING_LEN); i > 0; i--)
-            {
-                str += "";
-            }
-            actualValue = string.IsNullOrEmpty(str);
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringjoin.cs b/tests/src/CoreMangLib/cti/system/string/stringjoin.cs
deleted file mode 100644 (file)
index 8947fdc..0000000
Binary files a/tests/src/CoreMangLib/cti/system/string/stringjoin.cs and /dev/null differ
diff --git a/tests/src/CoreMangLib/cti/system/string/stringjoin1.cs b/tests/src/CoreMangLib/cti/system/string/stringjoin1.cs
deleted file mode 100644 (file)
index 5812f53..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// String.Join(String, String[])  
-/// Concatenates a specified separator String between each element 
-///  of a specified String array, yielding a single concatenated string. 
-/// </summary>
-class StringJoin1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    private const int c_MIN_STR_ARRAY_LEN = 4;
-    private const int c_MAX_STR_ARRAY_LEN = 127;
-
-    public static int Main()
-    {
-        StringJoin1 si = new StringJoin1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Join(String, String[])");
-        if (si.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        /*retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;*/
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "Random separator and random string array";
-        const string c_TEST_ID = "P001";
-
-        string separator, joinedStr;
-        bool condition1 = false; //Used to verify the element of the string array
-        bool condition2 = false;  //used to verify the separator
-        bool expectedValue, actualValue;
-        int i, j, startIndex1, startIndex2;
-        string[] strs;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-            //strs = new string[] { "AAAA", "BBBBB", "CCCCCC" };
-            separator = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-            joinedStr = string.Join(separator, strs);
-            i = GetInt32(0, strs.GetLength(0) - 1);
-            //i = 1;
-
-            //Get source array element's start position of the joined string
-            startIndex1 = 0;
-            for (int m = i; m > 0;)
-            {
-                startIndex1 += separator.Length + strs[--m].Length;
-            }
-
-            condition1 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex1, strs[i].Length), strs[i]));
-
-            if(strs.GetLength(0) > 1)
-            {
-                //new update 8-8-2006 Noter(v-yaduoj)
-                //Index of separator
-                j = GetInt32(1, strs.GetLength(0) - 1);
-                startIndex2 = 0;
-                while(j>0)
-                {
-                    startIndex2 += strs[j--].Length + separator.Length;
-                }
-                startIndex2 += strs[0].Length;
-                condition2 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex2, separator.Length), separator));
-            }
-            else
-            {
-                condition2 = true;
-            }
-
-            expectedValue = true;
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "Separator is null, random string array";
-        const string c_TEST_ID = "P002";
-
-        string separator, joinedStr;
-        bool condition1 = false; //Used to verify the element of the string array
-        bool condition2 = false;  //used to verify the separator
-        bool expectedValue, actualValue;
-        int i, j, startIndex1, startIndex2;
-        string[] strs;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-            separator = null;
-
-            joinedStr = string.Join(separator, strs);
-
-            separator = string.Empty;
-            i = GetInt32(0, strs.GetLength(0) - 1);
-
-            //Get source array element's start position of the joined string
-            startIndex1 = 0;
-            for (int m = i; m > 0; )
-            {
-                startIndex1 += separator.Length + strs[--m].Length;
-            }
-
-            condition1 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex1, strs[i].Length), strs[i]));
-
-            if (strs.GetLength(0) > 1)
-            {
-                //new update 8-8-2006 Noter(v-yaduoj)
-                //Index of separator
-                j = GetInt32(0, strs.GetLength(0) - 2); 
-                startIndex2 = 0;
-                while (j > 0)
-                {
-                    startIndex2 += strs[j--].Length + separator.Length;
-                }
-                startIndex2 += strs[0].Length;
-                condition2 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex2, separator.Length), separator));
-            }
-            else
-            {
-                condition2 = true;
-            }
-
-            expectedValue = true;
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenairos
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "The string array is null";
-        const string c_TEST_ID = "N001";
-
-        string separator;
-        string[] strs;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            separator = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            strs = null;
-
-            String.Join(separator, strs);
-            TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, "ArgumentNullException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {}
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("06" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringjoin2.cs b/tests/src/CoreMangLib/cti/system/string/stringjoin2.cs
deleted file mode 100644 (file)
index 89b78d3..0000000
+++ /dev/null
@@ -1,696 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-/// String.Join(String, String[], Int32, Int32)
-/// Concatenates a specified separator String between each 
-/// element of a specified String array, yielding a single concatenated string. 
-/// Parameters specify the first array element and number of elements to use. 
-/// </summary>
-class StringJoin2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    private const int c_MIN_STR_ARRAY_LEN = 4;
-    private const int c_MAX_STR_ARRAY_LEN = 127;
-
-    private const int c_SUPER_MAX_INTEGER = 1 << 17;
-
-    public static int Main()
-    {
-        StringJoin2 si = new StringJoin2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Join(String, String[], Int32, Int32)");
-        if (si.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        //retVal = NegTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random separator and random string array, positive count";
-        const string c_TEST_ID = "P001";
-
-        string separator, joinedStr;
-        int startIndex, count;
-        bool condition1 = false; //Used to verify the element of the string array
-        bool condition2 = false;  //used to verify the separator
-        bool expectedValue, actualValue;
-        int i, j, startIndex1, startIndex2;
-        string[] strs;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-        //strs = new string[] { "AAAA", "BBBBB", "CCCCCC", "ddd", "EEEE"};
-        separator = TestLibrary.Generator.GetString(-55, false, 1, c_MAX_STRING_LEN);
-        //separator = "&&";
-        startIndex = GetInt32(0, strs.GetLength(0) - 1);
-        //startIndex = 1;
-        count = GetInt32(1, strs.GetLength(0) - startIndex);
-        //count = 1;
-
-        try
-        {
-            joinedStr = string.Join(separator, strs, startIndex, count);
-
-            string[] strsUsed = new string[count];
-            for (int m = 0; m < count; m++)
-            {
-                strsUsed[m] = strs[startIndex + m];
-            }
-
-            i = GetInt32(0, strsUsed.GetLength(0) - 1);
-            //i = 1;
-
-            //Get source array element's start position of the joined string
-            startIndex1 = 0;
-            for (int m = i; m > 0;)
-            {
-                startIndex1 += separator.Length + strsUsed[--m].Length;
-            }
-
-            condition1 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex1, strsUsed[i].Length), strsUsed[i]));
-
-            if (strsUsed.GetLength(0) > 1)
-            {
-                //Index of separator
-                j = GetInt32(0, strsUsed.GetLength(0) - 2);
-                startIndex2 = 0;
-                while(j>0)
-                {
-                    startIndex2 += strsUsed[j--].Length + separator.Length;
-                }
-                startIndex2 += strsUsed[0].Length;
-                condition2 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex2, separator.Length), separator));
-            }
-            else
-            {
-                condition2 = true;
-            }
-
-            expectedValue = true;
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strs, separator, startIndex, count);
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strs, separator, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Random separator and random string array, count is zero";
-        const string c_TEST_ID = "P002";
-
-        string separator, joinedStr;
-        int startIndex, count;
-        bool expectedValue, actualValue;
-        string[] strs;
-
-        strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-        separator = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(0, strs.GetLength(0) - 1);
-        count = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            joinedStr = string.Join(separator, strs, startIndex, count);
-
-            expectedValue = true;
-            actualValue = (joinedStr == String.Empty);
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: Separator is null, random string array, positive count";
-        const string c_TEST_ID = "P003";
-
-        string separator, joinedStr;
-        int startIndex, count;
-        bool condition1 = false; //Used to verify the element of the string array
-        bool condition2 = false;  //used to verify the separator
-        bool expectedValue, actualValue;
-        int i, j, startIndex1, startIndex2;
-        string[] strs;
-
-        strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-        separator = null;
-        startIndex = GetInt32(0, strs.GetLength(0) - 1);
-        count = GetInt32(1, strs.GetLength(0) - startIndex);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            joinedStr = string.Join(separator, strs, startIndex, count);
-
-            separator = string.Empty;
-            string[] strsUsed = new string[count];
-            for (int m = 0; m < count; m++)
-            {
-                strsUsed[m] = strs[startIndex + m];
-            }
-
-            i = GetInt32(0, strsUsed.GetLength(0) - 1);
-
-            //Get source array element's start position of the joined string
-            startIndex1 = 0;
-            for (int m = i; m > 0; )
-            {
-                startIndex1 += separator.Length + strsUsed[--m].Length;
-            }
-
-            condition1 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex1, strsUsed[i].Length), strsUsed[i]));
-
-            if (strsUsed.GetLength(0) > 1)
-            {
-                //Index of separator
-                j = GetInt32(0, strsUsed.GetLength(0) - 2);
-                startIndex2 = 0;
-                while (j > 0)
-                {
-                    startIndex2 += strsUsed[j--].Length + separator.Length;
-                }
-                startIndex2 += strsUsed[0].Length;
-                condition2 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex2, separator.Length), separator));
-            }
-            else
-            {
-                condition2 = true;
-            }
-
-            expectedValue = true;
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest4: Start element is the last element of array, count of joined is 1";
-        const string c_TEST_ID = "P004";
-
-        string separator, joinedStr;
-        int startIndex, count;
-        bool condition1 = false; //Used to verify the element of the string array
-        bool condition2 = false;  //used to verify the separator
-        bool expectedValue, actualValue;
-        int i, j, startIndex1, startIndex2;
-        string[] strs;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-        //strs = new string[] { "AAAA", "BBBBB", "CCCCCC", "ddd", "EEEE"};
-        separator = TestLibrary.Generator.GetString(-55, false, 1, c_MAX_STRING_LEN);
-        //separator = "&&";
-        startIndex = strs.GetLength(0) - 1;
-        count = GetInt32(1, strs.GetLength(0) - startIndex);
-        count = 1;
-
-        try
-        {
-            joinedStr = string.Join(separator, strs, startIndex, count);
-
-            string[] strsUsed = new string[count];
-            for (int m = 0; m < count; m++)
-            {
-                strsUsed[m] = strs[startIndex + m];
-            }
-
-            i = GetInt32(0, strsUsed.GetLength(0) - 1);
-            //i = 1;
-
-            //Get source array element's start position of the joined string
-            startIndex1 = 0;
-            for (int m = i; m > 0; )
-            {
-                startIndex1 += separator.Length + strsUsed[--m].Length;
-            }
-
-            condition1 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex1, strsUsed[i].Length), strsUsed[i]));
-
-            if (strsUsed.GetLength(0) > 1)
-            {
-                //Index of separator
-                j = GetInt32(0, strsUsed.GetLength(0) - 2);
-                startIndex2 = 0;
-                while (j > 0)
-                {
-                    startIndex2 += strsUsed[j--].Length + separator.Length;
-                }
-                startIndex2 += strsUsed[0].Length;
-                condition2 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex2, separator.Length), separator));
-            }
-            else
-            {
-                condition2 = true;
-            }
-
-            expectedValue = true;
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strs, separator, startIndex, count);
-                TestLibrary.TestFramework.LogError("007" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strs, separator, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest5: Start element is the first element of array, join all elements of array";
-        const string c_TEST_ID = "P005";
-
-        string separator, joinedStr;
-        int startIndex, count;
-        bool condition1 = false; //Used to verify the element of the string array
-        bool condition2 = false;  //used to verify the separator
-        bool expectedValue, actualValue;
-        int i, j, startIndex1, startIndex2;
-        string[] strs;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-
-        strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-        separator = TestLibrary.Generator.GetString(-55, false, 1, c_MAX_STRING_LEN);
-        startIndex =0;
-        count =strs.GetLength(0);
-
-        try
-        {
-            joinedStr = string.Join(separator, strs, startIndex, count);
-
-            string[] strsUsed = new string[count];
-            for (int m = 0; m < count; m++)
-            {
-                strsUsed[m] = strs[startIndex + m];
-            }
-
-            i = GetInt32(0, strsUsed.GetLength(0) - 1);
-            //i = 1;
-
-            //Get source array element's start position of the joined string
-            startIndex1 = 0;
-            for (int m = i; m > 0; )
-            {
-                startIndex1 += separator.Length + strsUsed[--m].Length;
-            }
-
-            condition1 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex1, strsUsed[i].Length), strsUsed[i]));
-
-            if (strsUsed.GetLength(0) > 1)
-            {
-                //Index of separator
-                j = GetInt32(0, strsUsed.GetLength(0) - 2);
-                startIndex2 = 0;
-                while (j > 0)
-                {
-                    startIndex2 += strsUsed[j--].Length + separator.Length;
-                }
-                startIndex2 += strsUsed[0].Length;
-                condition2 = (0 == String.CompareOrdinal(joinedStr.Substring(startIndex2, separator.Length), separator));
-            }
-            else
-            {
-                condition2 = true;
-            }
-
-            expectedValue = true;
-            actualValue = condition1 && condition2;
-            if (expectedValue != actualValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strs, separator, startIndex, count);
-                TestLibrary.TestFramework.LogError("009" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(strs, separator, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenairos
-
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: The string array is a null reference";
-        const string c_TEST_ID = "N001";
-
-        string separator;
-        string[] strs;
-        int startIndex, count;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            separator = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            strs = null;
-            startIndex = 0;
-            count = 0;
-
-            String.Join(separator, strs, startIndex, count);
-            TestLibrary.TestFramework.LogError("011" + "TestId-" + c_TEST_ID, "ArgumentNullException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {}
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: The start index of array is a negative value";
-        const string c_TEST_ID = "N002";
-
-        string separator;
-        string[] strs;
-        int startIndex, count;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            separator = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-            startIndex = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-            count = 0;
-
-            String.Join(separator, strs, startIndex, count);
-            TestLibrary.TestFramework.LogError("013" + "TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: The count of array elements to join is a negative value";
-        const string c_TEST_ID = "N003";
-
-        string separator;
-        string[] strs;
-        int startIndex, count;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            separator = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-            startIndex = 0;
-            count = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-
-            String.Join(separator, strs, startIndex, count);
-            TestLibrary.TestFramework.LogError("015" + "TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest4: The start index plus joined count is greater than numbers of elements in string array";
-        const string c_TEST_ID = "N004";
-
-        string separator;
-        string[] strs;
-        int startIndex, count;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            separator = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-            strs = TestLibrary.Generator.GetStrings(-55, false, c_MIN_STR_ARRAY_LEN, c_MAX_STR_ARRAY_LEN);
-            startIndex = TestLibrary.Generator.GetInt32(-55);
-            count = strs.GetLength(0) - startIndex + GetInt32(1, Int32.MaxValue - strs.GetLength(0));
-
-            String.Join(separator, strs, startIndex, count);
-            TestLibrary.TestFramework.LogError("017" + "TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected");
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("018" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest5() //bug
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest5: Out of memory";
-        const string c_TEST_ID = "N005";
-
-        string separator;
-        string[] strs;
-        int startIndex, count;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            separator = new string(TestLibrary.Generator.GetChar(-55), c_SUPER_MAX_INTEGER);
-            strs = new string[c_SUPER_MAX_INTEGER];
-
-            //for (int i = 0; i < strs.GetLength(0); i++)
-            //{
-            //    strs[i] = new string(TestLibrary.Generator.GetChar(-55), 1);
-            //}
-            
-            startIndex = 0;
-            count = strs.GetLength(0);
-
-            string joinedStr = String.Join(separator, strs, startIndex, count);
-            TestLibrary.TestFramework.LogError("019" + "TestId-" + c_TEST_ID, "OutOfMemoryException is not thrown as expected");
-            retVal = false;
-        }
-        catch (OutOfMemoryException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("020" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string[] strs, string separator, int startIndex, int count)
-    {
-        string str1, str2, str;
-        int len1, len2;
-        str2 = string.Empty;
-
-        if (null == separator)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = separator;
-            len1 = separator.Length;
-        }
-        if (null == strs)
-        {
-            str2 = "null";
-            len2 = 0;
-        }
-        else 
-        {
-            len2 = strs.GetLength(0);
-            for (int i = 0; i < len2; i++)
-            {
-                str2 += "\n" + strs[i];
-            }
-        }
-
-        str = string.Format("\n[String array value]\n \"{0}\"", str2);
-        str += string.Format("\n[Separator string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of string array]\n \"{0}\"", len2);
-        str += string.Format("\n[Length of separator string]\n \"{0}\"", len1);
-        str += string.Format("\n[Joined elements start index]: {0}", startIndex);
-        str += string.Format("\n[Joined elements count]: {0}", count);
-
-        return str;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringlength.cs b/tests/src/CoreMangLib/cti/system/string/stringlength.cs
deleted file mode 100644 (file)
index 3a7bf9f..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.Length
-/// </summary>
-public class StringLength
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-
-    public static int Main()
-    {
-        StringLength sl = new StringLength();
-        TestLibrary.TestFramework.BeginTestCase("StringLength");
-
-        if (sl.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: empty string length");
-
-        try
-        {
-            strA = string.Empty;
-            ActualResult = strA.Length;
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string length ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: string with special symbols length one");
-
-        try
-        {
-            strA = "hello\u0061\u030aworld";
-            ActualResult = strA.Length;
-            if (ActualResult != 12)
-            {
-                TestLibrary.TestFramework.LogError("003", "string with special symbols length one ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: string with special symbols length two");
-
-        try
-        {
-            strA = "This\0String\0Is\0Valid";
-            ActualResult = strA.Length;
-            if (ActualResult != 20)
-            {
-                TestLibrary.TestFramework.LogError("005", "string with special symbols length two ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string strA;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: normal string length");
-        try
-        {
-            strA = new string(this.GetChar(c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH), c_MAX_STRING_LENGTH);
-            ActualResult = strA.Length;
-            if (ActualResult != c_MAX_STRING_LENGTH)
-            {
-                TestLibrary.TestFramework.LogError("007", "normal string length ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region Help method for geting test data
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    private Char GetChar(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return Convert.ToChar(minValue);
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToChar(Convert.ToInt32(TestLibrary.Generator.GetChar(-55)) % (maxValue - minValue) + minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-        return Convert.ToChar(minValue);
-    }
-    private string GetString(bool ValidPath, Int32 minValue, Int32 maxValue)
-    {
-        StringBuilder sVal = new StringBuilder();
-        string s;
-
-        if (0 == minValue && 0 == maxValue) return String.Empty;
-        if (minValue > maxValue) return null;
-
-        if (ValidPath)
-        {
-            return TestLibrary.Generator.GetString(-55, ValidPath, minValue, maxValue);
-        }
-        else
-        {
-            int length = this.GetInt32(minValue, maxValue);
-            for (int i = 0; length > i; i++)
-            {
-                char c = this.GetChar(minValue, maxValue);
-                sVal.Append(c);
-            }
-            s = sVal.ToString();
-            return s;
-        }
-
-
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringpadleft.cs b/tests/src/CoreMangLib/cti/system/string/stringpadleft.cs
deleted file mode 100644 (file)
index 4736b86..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-using System.Globalization;
-using TestLibrary;
-
-class StringPadLeft
-{
-    static int Main()
-    {
-        StringPadLeft test = new StringPadLeft();
-
-        TestFramework.BeginTestCase("String.PadLeft");
-
-        if (test.RunTests())
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-
-    }
-
-    public bool RunTests()
-    {
-        bool ret = true;
-
-        // Positive Tests
-        ret &= Test1();
-        ret &= Test2();
-        ret &= Test3();
-        ret &= Test4();
-        ret &= Test5();
-        ret &= Test6();
-        ret &= Test7();
-        ret &= Test8();
-
-        return ret;
-    }
-
-    public bool Test1() { return PositiveTest("TestString", 15, "     TestString", "00A"); }
-    public bool Test2() { return PositiveTest("", 5000, new string(' ', 5000), "00B"); }
-    public bool Test3() { return PositiveTest("TestString", 10, "TestString", "00B1"); }
-    public bool Test4() { return PositiveTest("TestString", 6, "TestString", "00B2"); }
-    public bool Test5() { return PositiveTest2("TestString", 15, '*', "*****TestString", "00C"); }
-    public bool Test6() { return PositiveTest2("", 5000, '*', new string('*', 5000), "00D"); }
-    public bool Test7() { return PositiveTest2("TestString", 100, '\0', new string('\0', 90) + "TestString", "00E"); }
-    public bool Test8() { return PositiveTest2("TestString", 100, '\u0400', new string('\u0400', 90) + "TestString", "00F"); }
-
-
-    public bool PositiveTest(string str1, int totalWidth, string expected, string id)
-    {
-        bool result = true;
-        TestFramework.BeginScenario(id + ": Padding " + str1 + " to " + totalWidth);
-        try
-        {
-            string output = str1.PadLeft(totalWidth);
-            if (output != expected)
-            {
-                result = false;
-                TestFramework.LogError("001", "Error in " + id + ", unexpected padding result. Actual string " + output + ", Expected: " + expected);
-            }
-        }
-        catch (Exception exc)
-        {
-            result = false;
-            TestFramework.LogError("002", "Unexpected exception in " + id + ", excpetion: " + exc.ToString());
-        }
-        return result;
-    }
-
-    public bool PositiveTest2(string str1, int totalWidth, char padder, string expected, string id)
-    {
-        bool result = true;
-        TestFramework.BeginScenario(id + ": Padding " + str1 + " to " + totalWidth);
-        try
-        {
-            string output = str1.PadLeft(totalWidth, padder);
-            if (output != expected)
-            {
-                result = false;
-                TestFramework.LogError("001", "Error in " + id + ", unexpected padding result. Actual string " + output + ", Expected: " + expected);
-            }
-        }
-        catch (Exception exc)
-        {
-            result = false;
-            TestFramework.LogError("002", "Unexpected exception in " + id + ", excpetion: " + exc.ToString());
-        }
-        return result;
-    }
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/string/stringpadleft1.cs b/tests/src/CoreMangLib/cti/system/string/stringpadleft1.cs
deleted file mode 100644 (file)
index 7eaebef..0000000
+++ /dev/null
@@ -1,276 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.PadLeft(Int32)  
-/// Right-aligns the characters in this instance, 
-/// padding with spaces on the left for a specified total length
-/// </summary>
-public class StringPadLeft1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringPadLeft1 spl = new StringPadLeft1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.PadLeft(Int32)");
-        if (spl.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Total width is greater than old string length";
-        const string c_TEST_ID = "P001";
-
-        int totalWidth;
-        string str;
-        bool condition1 = false; //Verify the space paded
-        bool condition2 = false; //Verify the old string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //str = "hello";
-        totalWidth = GetInt32(str.Length + 1, str.Length + c_MAX_STRING_LEN);
-        //totalWidth = 8;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadLeft(totalWidth);
-            
-            char[] trimChs = new char[] {'\x0020'};
-            string spaces = new string('\x0020', totalWidth - str.Length);
-
-            string spacesPaded = strPaded.Substring(0, totalWidth - str.Length);
-            condition1 = (string.CompareOrdinal(spaces, spacesPaded) == 0);
-            condition2 = (string.CompareOrdinal(strPaded.TrimStart(trimChs), str) == 0);
-            actualValue = condition1 && condition2;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth);
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2:  0 <= total width <= old string length";
-        const string c_TEST_ID = "P002";
-
-        int totalWidth;
-        string str;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        totalWidth = GetInt32(0, str.Length - 1);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadLeft(totalWidth);
-            actualValue = (0 == string.CompareOrdinal(strPaded, str));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth);
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-    
-    //ArgumentException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Total width is less than zero. ";
-        const string c_TEST_ID = "N001";
-
-        int totalWidth;
-        string str;
-
-        totalWidth = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadLeft(totalWidth);
-            TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected" + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-        catch (ArgumentException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e +GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //OutOfMemoryException
-    public bool NegTest2() // bug 8-8-2006 Noter(v-yaduoj)
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Too great width ";
-        const string c_TEST_ID = "N002";
-
-        int totalWidth;
-        string str;
-
-        totalWidth = Int32.MaxValue;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadLeft(totalWidth);
-            TestLibrary.TestFramework.LogError("007" + "TestId-" + c_TEST_ID, "OutOfMemoryException is not thrown as expected" + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-        catch (OutOfMemoryException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int totalWidth)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Total width]\n{0}", totalWidth);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringpadleft2.cs b/tests/src/CoreMangLib/cti/system/string/stringpadleft2.cs
deleted file mode 100644 (file)
index 51aced4..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.PadLeft(Int32, Char)  
-/// Right-aligns the characters in this instance, 
-/// padding on the left with a specified Unicode character for a specified total length. 
-/// </summary>
-public class StringPadLeft2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringPadLeft2 spl = new StringPadLeft2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.PadLeft(Int32, Char)");
-        if (spl.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Total width is greater than old string length";
-        const string c_TEST_ID = "P001";
-
-        int totalWidth;
-        char ch;
-        string str;
-        bool condition1 = false; //Verify the space paded
-        bool condition2 = false; //Verify the old string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //str = "hello";
-        totalWidth = GetInt32(str.Length + 1, str.Length + c_MAX_STRING_LEN);
-        //totalWidth = 8;
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadLeft(totalWidth, ch);
-
-            char[] trimChs = new char[] {ch};
-            string spaces = new string(ch, totalWidth - str.Length);
-
-            string spacesPaded = strPaded.Substring(0, totalWidth - str.Length);
-            condition1 = (string.CompareOrdinal(spaces, spacesPaded) == 0);
-            condition2 = (string.CompareOrdinal(strPaded.TrimStart(trimChs), str) == 0);
-            actualValue = condition1 && condition2;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth, ch);
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2:  0 <= total width <= old string length";
-        const string c_TEST_ID = "P002";
-
-        int totalWidth;
-        char ch;
-        string str;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        totalWidth = GetInt32(0, str.Length - 1);
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadLeft(totalWidth, ch);
-            actualValue = (0 == string.CompareOrdinal(strPaded, str));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth, ch);
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-    
-    //ArgumentException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Total width is less than zero. ";
-        const string c_TEST_ID = "N001";
-
-        int totalWidth;
-        char ch;
-        string str;
-
-        totalWidth = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadLeft(totalWidth);
-            TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected" + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-        catch (ArgumentException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e +GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //OutOfMemoryException
-    public bool NegTest2() // bug 8-8-2006 Noter(v-yaduoj)
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Too great width ";
-        const string c_TEST_ID = "N002";
-
-        int totalWidth;
-        char ch;
-        string str;
-
-        totalWidth = Int32.MaxValue;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadLeft(totalWidth,ch);
-            TestLibrary.TestFramework.LogError("007" + "TestId-" + c_TEST_ID, "OutOfMemoryException is not thrown as expected" + GetDataString(str, totalWidth,ch));
-            retVal = false;
-        }
-        catch (OutOfMemoryException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int totalWidth, char ch)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Total width]\n{0}", totalWidth);
-        str += string.Format("\n[Padding character]\n{0}", ch);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringpadright.cs b/tests/src/CoreMangLib/cti/system/string/stringpadright.cs
deleted file mode 100644 (file)
index 92343c1..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-using System.Globalization;
-using TestLibrary;
-
-class StringPadRight
-{
-    static int Main()
-    {
-        StringPadRight test = new StringPadRight();
-
-        TestFramework.BeginTestCase("String.PadRight");
-
-        if (test.RunTests())
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-
-    }
-
-    public bool RunTests()
-    {
-        bool ret = true;
-
-        // Positive Tests
-        ret &= Test1();
-        ret &= Test2();
-        ret &= Test3();
-        ret &= Test4();
-        ret &= Test5();
-        ret &= Test6();
-        ret &= Test7();
-        ret &= Test8();
-
-        return ret;
-    }
-
-    public bool Test1() { return PositiveTest("TestString", 15, "TestString     ", "00A"); }
-    public bool Test2() { return PositiveTest("", 5000, new string(' ', 5000), "00B"); }
-    public bool Test3() { return PositiveTest("TestString", 10, "TestString", "00B1"); }
-    public bool Test4() { return PositiveTest("TestString", 6, "TestString", "00B2"); }
-    public bool Test5() { return PositiveTest2("TestString", 15, '*', "TestString*****", "00C"); }
-    public bool Test6() { return PositiveTest2("", 5000, '*', new string('*', 5000), "00D"); }
-    public bool Test7() { return PositiveTest2("TestString", 100, '\0', "TestString" + new string('\0', 90), "00E"); }
-    public bool Test8() { return PositiveTest2("TestString", 100, '\u0400', "TestString" + new string('\u0400', 90), "00F"); }
-
-
-    public bool PositiveTest(string str1, int totalWidth, string expected, string id)
-    {
-        bool result = true;
-        TestFramework.BeginScenario(id + ": Padding " + str1 + " to " + totalWidth);
-        try
-        {
-            string output = str1.PadRight(totalWidth);
-            if (output != expected)
-            {
-                result = false;
-                TestFramework.LogError("001", "Error in " + id + ", unexpected padding result. Actual string " + output + ", Expected: " + expected);
-            }
-        }
-        catch (Exception exc)
-        {
-            result = false;
-            TestFramework.LogError("002", "Unexpected exception in " + id + ", excpetion: " + exc.ToString());
-        }
-        return result;
-    }
-
-    public bool PositiveTest2(string str1, int totalWidth, char padder, string expected, string id)
-    {
-        bool result = true;
-        TestFramework.BeginScenario(id + ": Padding " + str1 + " to " + totalWidth);
-        try
-        {
-            string output = str1.PadRight(totalWidth, padder);
-            if (output != expected)
-            {
-                result = false;
-                TestFramework.LogError("001", "Error in " + id + ", unexpected padding result. Actual string " + output + ", Expected: " + expected);
-            }
-        }
-        catch (Exception exc)
-        {
-            result = false;
-            TestFramework.LogError("002", "Unexpected exception in " + id + ", excpetion: " + exc.ToString());
-        }
-        return result;
-    }
-
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/string/stringpadright1.cs b/tests/src/CoreMangLib/cti/system/string/stringpadright1.cs
deleted file mode 100644 (file)
index ddc4a6f..0000000
+++ /dev/null
@@ -1,276 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.PadRight(Int32)  
-/// Right-aligns the characters in this instance, 
-/// padding with spaces on the left for a specified total length
-/// </summary>
-public class StringPadRight1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringPadRight1 spl = new StringPadRight1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.PadRight(Int32)");
-        if (spl.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Total width is greater than old string length";
-        const string c_TEST_ID = "P001";
-
-        int totalWidth;
-        string str;
-        bool condition1 = false; //Verify the space paded
-        bool condition2 = false; //Verify the old string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //str = "hello";
-        totalWidth = GetInt32(str.Length + 1, str.Length + c_MAX_STRING_LEN);
-        //totalWidth = 8;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadRight(totalWidth);
-            
-            char[] trimChs = new char[] {'\x0020'};
-            string spaces = new string('\x0020', totalWidth - str.Length);
-
-            string spacesPaded = strPaded.Substring(str.Length, totalWidth - str.Length);
-            condition1 = (string.CompareOrdinal(spaces, spacesPaded) == 0);
-            condition2 = (string.CompareOrdinal(strPaded.TrimEnd(trimChs), str) == 0);
-            actualValue = condition1 && condition2;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth);
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2:  0 <= total width <= old string length";
-        const string c_TEST_ID = "P002";
-
-        int totalWidth;
-        string str;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        totalWidth = GetInt32(0, str.Length - 1);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadRight(totalWidth);
-            actualValue = (0 == string.CompareOrdinal(strPaded, str));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth);
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-    
-    //ArgumentException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Total width is less than zero. ";
-        const string c_TEST_ID = "N001";
-
-        int totalWidth;
-        string str;
-
-        totalWidth = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadRight(totalWidth);
-            TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected" + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-        catch (ArgumentException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e +GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //OutOfMemoryException
-    public bool NegTest2() // bug 8-8-2006 Noter(v-yaduoj)
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Too great width ";
-        const string c_TEST_ID = "N002";
-
-        int totalWidth;
-        string str;
-
-        totalWidth = Int32.MaxValue;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadRight(totalWidth);
-            TestLibrary.TestFramework.LogError("007" + "TestId-" + c_TEST_ID, "OutOfMemoryException is not thrown as expected" + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-        catch (OutOfMemoryException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int totalWidth)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Total width]\n{0}", totalWidth);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringpadright2.cs b/tests/src/CoreMangLib/cti/system/string/stringpadright2.cs
deleted file mode 100644 (file)
index 4b603ad..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.PadRight(Int32, Char)  
-/// Right-aligns the characters in this instance, 
-/// padding on the left with a specified Unicode character for a specified total length. 
-/// </summary>
-public class StringPadRight2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringPadRight2 spl = new StringPadRight2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.PadRight(Int32, Char)");
-        if (spl.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Total width is greater than old string length";
-        const string c_TEST_ID = "P001";
-
-        int totalWidth;
-        char ch;
-        string str;
-        bool condition1 = false; //Verify the space paded
-        bool condition2 = false; //Verify the old string
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //str = "hello";
-        totalWidth = GetInt32(str.Length + 1, str.Length + c_MAX_STRING_LEN);
-        //totalWidth = 8;
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadRight(totalWidth, ch);
-
-            char[] trimChs = new char[] {ch};
-            string spaces = new string(ch, totalWidth - str.Length);
-
-            string spacesPaded = strPaded.Substring(str.Length, totalWidth - str.Length);
-            condition1 = (string.CompareOrdinal(spaces, spacesPaded) == 0);
-            condition2 = (string.CompareOrdinal(strPaded.TrimEnd(trimChs), str) == 0);
-            actualValue = condition1 && condition2;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth, ch);
-                TestLibrary.TestFramework.LogError("001" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2:  0 <= total width <= old string length";
-        const string c_TEST_ID = "P002";
-
-        int totalWidth;
-        char ch;
-        string str;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        totalWidth = GetInt32(0, str.Length - 1);
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strPaded = str.PadRight(totalWidth, ch);
-            actualValue = (0 == string.CompareOrdinal(strPaded, str));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(str, totalWidth, ch);
-                TestLibrary.TestFramework.LogError("003" + "TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-    
-    //ArgumentException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Total width is less than zero. ";
-        const string c_TEST_ID = "N001";
-
-        int totalWidth;
-        char ch;
-        string str;
-
-        totalWidth = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadRight(totalWidth);
-            TestLibrary.TestFramework.LogError("005" + "TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected" + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-        catch (ArgumentException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e +GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //OutOfMemoryException
-    public bool NegTest2() // bug 8-8-2006 Noter(v-yaduoj)
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Too great width ";
-        const string c_TEST_ID = "N002";
-
-        int totalWidth;
-        char ch;
-        string str;
-
-        totalWidth = Int32.MaxValue;
-        str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        ch = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            str.PadRight(totalWidth,ch);
-            TestLibrary.TestFramework.LogError("007" + "TestId-" + c_TEST_ID, "OutOfMemoryException is not thrown as expected" + GetDataString(str, totalWidth,ch));
-            retVal = false;
-        }
-        catch (OutOfMemoryException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + "TestId-" + c_TEST_ID, "Unexpected exception:" + e + GetDataString(str, totalWidth, ch));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int totalWidth, char ch)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Total width]\n{0}", totalWidth);
-        str += string.Format("\n[Padding character]\n{0}", ch);
-
-        return str;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringremove1.cs b/tests/src/CoreMangLib/cti/system/string/stringremove1.cs
deleted file mode 100644 (file)
index bb8033e..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.Remove(Int32)  
-/// Note: This method is new in the .NET Framework version 2.0. 
-/// Deletes all the characters from this string beginning at a specified 
-/// position and continuing through the last position. 
-/// </summary>
-public class StringRemove1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringRemove1 sr = new StringRemove1();
-        
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Remove(Int32)");
-        if(sr.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Valid start index between 0, source string's length minus 1";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        int startIndex;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(0, strSrc.Length - 1);
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReserved = strSrc.Remove(startIndex, strSrc.Length - startIndex);
-
-            actualValue = (0 == string.CompareOrdinal(strReserved, strSrc.Substring(0, startIndex)));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Start index is zero";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        int startIndex;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReserved = strSrc.Remove(startIndex, strSrc.Length);
-
-            actualValue = (0 == string.CompareOrdinal(strReserved, string.Empty));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test Scenarios
-
-    //ArgumentOutOfRangeException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Start index is too greater than source string's length";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        int startIndex;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(strSrc.Length, Int32.MaxValue);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Remove(startIndex, strSrc.Length);
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch(Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Start index is negative";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        int startIndex;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Remove(startIndex, strSrc.Length);
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int startIndex)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Start index]\n{0}", startIndex);
-
-        return str;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringremove2.cs b/tests/src/CoreMangLib/cti/system/string/stringremove2.cs
deleted file mode 100644 (file)
index 43fbf8b..0000000
+++ /dev/null
@@ -1,417 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.Remove(Int32, Int32)  
-/// Deletes a specified number of characters from this instance 
-/// beginning at a specified position.  
-/// </summary>
-public class StringRemove2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringRemove2 sr = new StringRemove2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Remove(Int32, Int32)");
-        if(sr.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Valid start index between 0, source string's length minus 1";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        int startIndex, count;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(0, strSrc.Length - 1);
-        count = GetInt32(1, strSrc.Length - startIndex);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReserved = strSrc.Remove(startIndex, count);
-
-            actualValue = (0 == string.CompareOrdinal(strReserved, strSrc.Substring(0, startIndex) + strSrc.Substring(startIndex + count)));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex, count);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Start index is zero, count equals whole string length";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        int startIndex, count;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = 0;
-        count = strSrc.Length;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReserved = strSrc.Remove(startIndex, count);
-
-            actualValue = (0 == string.CompareOrdinal(strReserved, String.Empty));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex, count);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: Count is zero, valid start index";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        int startIndex, count;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(0, strSrc.Length - 1);
-        count = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReserved = strSrc.Remove(startIndex, count);
-
-            actualValue = (0 == string.CompareOrdinal(strReserved, strSrc));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex, count);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test Scenarios
-
-    //ArgumentOutOfRangeException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Start index is too greater than source string's length";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        int startIndex, count;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(strSrc.Length, Int32.MaxValue);
-        count = GetInt32(0, strSrc.Length);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Remove(startIndex, count);
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch(Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Valid start index plus count is greater than string length";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        int startIndex, count;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(0, strSrc.Length - 1);
-        count = GetInt32(strSrc.Length - startIndex + 1, Int32.MaxValue);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Remove(startIndex, count);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: Valid count plus start index is greater than string length";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        int startIndex, count;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        count = GetInt32(0, strSrc.Length);
-        startIndex = GetInt32(strSrc.Length - count + 1, Int32.MaxValue);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Remove(startIndex, count);
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest4: Start index is negative, valid number of characters to delete";
-        const string c_TEST_ID = "N004";
-
-        string strSrc;
-        int startIndex, count;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        count = GetInt32(0, strSrc.Length);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Remove(startIndex, count);
-            TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest5: Valid start index, negative count of characters to delete";
-        const string c_TEST_ID = "N005";
-
-        string strSrc;
-        int startIndex, count;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(0, strSrc.Length - 1);
-        count = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Remove(startIndex, count);
-            TestLibrary.TestFramework.LogError("015" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, count));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int startIndex, int count)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Start index]\n{0}", startIndex);
-        str += string.Format("\n[Start index]\n{0}", count);
-
-        return str;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringreplace1.cs b/tests/src/CoreMangLib/cti/system/string/stringreplace1.cs
deleted file mode 100644 (file)
index 4b7c553..0000000
+++ /dev/null
@@ -1,379 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.Replace(Char, Char)
-/// Replaces all occurrences of a specified Unicode character in this instance 
-/// with another specified Unicode character. 
-/// </summary>
-public class StringReplace1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringReplace1 sr = new StringReplace1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Replace(Int32, Int32)");
-        if (sr.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Old char exists in source string, random new char.";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        char oldChar, newChar;
-        bool condition1 = false; //Verify the length invariant
-        bool condition2 = false; //Verify to replace correctly
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //New update: modified by Noter(v-yaduoj) 8-10-2006
-        oldChar = strSrc[TestLibrary.Generator.GetInt32(-55) % (strSrc.Length)];
-        newChar = TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReplaced = strSrc.Replace(oldChar, newChar);
-
-            condition1 = (strReplaced.Length == strSrc.Length);
-            if (condition1)
-            {
-                condition2 = true;
-                for (int i = 0; i < strReplaced.Length; i++)
-                {
-                    //Delete the incorrect check logic
-                    // new update 8-10-2006, Noter(v-yaduoj)
-                    if (strSrc[i] == oldChar)
-                    {
-                        condition2 = (strReplaced[i] == newChar) && condition2;
-                    }
-                    else
-                    {
-                        condition2 = (strSrc[i] == strReplaced[i]) && condition2;
-                    }
-                } // end for statement
-            } // end if
-
-            actualValue = condition1 && condition2;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, oldChar, newChar);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldChar, newChar));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Old char does not exist in source string, random new char.";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        char oldChar, newChar;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //New update: modified by Noter(v-yaduoj) 8-10-2006
-        oldChar = TestLibrary.Generator.GetChar(-55);
-        newChar = TestLibrary.Generator.GetChar(-55);
-
-        //Generate source string does not contain old char
-        int length = GetInt32(c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        int index = 0;
-        char ch;
-        strSrc = string.Empty;
-        while (index < length)
-        {
-            ch = TestLibrary.Generator.GetChar(-55);
-            if (oldChar == ch)
-            {
-                continue;
-            }
-            strSrc += ch.ToString();
-            index++;
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReplaced = strSrc.Replace(oldChar, newChar);
-
-            //New update: modified by Noter(v-yaduoj) 8-10-2006
-            actualValue = (0 == string.CompareOrdinal(strReplaced, strSrc));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, oldChar, newChar);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldChar, newChar));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = @"PosTest3: Old char exists in source string, new char is \0 ";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        char oldChar, newChar;
-        bool condition1 = false; //Verify the length invariant
-        bool condition2 = false; //Verify to replace correctly
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        oldChar = strSrc[TestLibrary.Generator.GetInt32(-55) % strSrc.Length];
-        newChar = '\0';
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReplaced = strSrc.Replace(oldChar, newChar);
-
-            condition1 = (strReplaced.Length == strSrc.Length);
-            if (condition1)
-            {
-                condition2 = true;
-                for (int i = 0; i < strReplaced.Length; i++)
-                {
-                    //Delete the incorrect check logic
-                    // new update 8-10-2006, Noter(v-yaduoj)
-                    if (strSrc[i] == oldChar)
-                    {
-                        condition2 = (strReplaced[i] == newChar) && condition2;
-                    }
-                    else
-                    {
-                        condition2 = (strSrc[i] == strReplaced[i]) && condition2;
-                    }
-                }// end for
-            } // end if
-
-            actualValue = condition1 && condition2;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, oldChar, newChar);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldChar, newChar));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //Zero weight character '\u0400'
-    // new update 8-10-2006, Noter(v-yaduoj)
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = @"PosTest4: Old char '\u0400' is zero weight character, random new char";
-        const string c_TEST_ID = "P004";
-
-        string strSrc;
-        char oldChar, newChar;
-        bool condition1 = false; //Verify the length invariant
-        bool condition2 = false; //Verify to replace correctly
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        oldChar = '\u0400';
-        newChar = TestLibrary.Generator.GetChar(-55);
-
-        //Generate source string contains '\u0400'
-        int length = GetInt32(c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        char[] chs = new char[length];
-
-        strSrc = oldChar.ToString();
-        for (int i, index = 1; index < length; index++)
-        {
-            i = TestLibrary.Generator.GetInt32(-55) % 6;
-            if (4 == i)
-            {
-                strSrc += oldChar.ToString();
-            }
-            else
-            {
-                strSrc += TestLibrary.Generator.GetChar(-55);
-            }
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReplaced = strSrc.Replace(oldChar, newChar);
-
-            condition1 = (strReplaced.Length == strSrc.Length);
-            if (condition1)
-            {
-                condition2 = true;
-                for (int i = 0; i < strReplaced.Length; i++)
-                {
-                    if (strSrc[i] == oldChar)
-                    {
-                        condition2 = (strReplaced[i] == newChar) && condition2;
-                    }
-                    else
-                    {
-                        condition2 = (strSrc[i] == strReplaced[i]) && condition2;
-                    }
-                }// end for
-            } // end if
-
-            actualValue = condition1 && condition2;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, oldChar, newChar);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldChar, newChar));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, char oldChar, char newChar)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Old char]\n{0}", oldChar);
-        str += string.Format("\n[New char]\n{0}", newChar);
-
-        return str;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringreplace2.cs b/tests/src/CoreMangLib/cti/system/string/stringreplace2.cs
deleted file mode 100644 (file)
index f6a44b4..0000000
+++ /dev/null
@@ -1,374 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.Replace(String, String)
-/// Replaces all occurrences of a specified Unicode character in this instance 
-/// with another specified Unicode character. 
-/// </summary>
-public class StringReplace2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringReplace2 sr = new StringReplace2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Replace(String, String)");
-        if(sr.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Source string contains old string.";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        string oldStr, newStr;
-        bool condition;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //Initialize the parameters
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        int startIndex;
-        startIndex = GetInt32(0, strSrc.Length - 1);
-        oldStr = strSrc.Substring(startIndex, GetInt32(1, strSrc.Length - startIndex));
-        newStr = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReplaced = strSrc.Replace(oldStr, newStr);
-
-            string subStrOld, subStrNew;
-            int oldIndex = 0;
-            int newIndex;
-            int maxValidIndex = strReplaced.Length - newStr.Length;
-            condition = true;
-            // compare string replaed and source string
-            for (newIndex = 0; newIndex < maxValidIndex; )
-            {
-                subStrNew = strReplaced.Substring(newIndex, newStr.Length);
-
-                if(0 == string.CompareOrdinal(subStrNew, newStr))
-                {
-                    subStrOld = strSrc.Substring(oldIndex, oldStr.Length);
-                    condition = (0 == string.CompareOrdinal(subStrOld, oldStr)) && condition;
-                    oldIndex += oldStr.Length;
-                    newIndex += newStr.Length;
-                }
-                else
-                {
-                    condition = (strReplaced[newIndex] == strSrc[oldIndex]) && condition;
-                    oldIndex++;
-                    newIndex++;
-                }
-            }
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, oldStr, newStr);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldStr, newStr));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Source string does not contain old string.";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        string oldStr, newStr;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //Initialize the parameters
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        oldStr = strSrc + TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        newStr = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReplaced = strSrc.Replace(oldStr, newStr);
-
-            actualValue = (0 == string.CompareOrdinal(strSrc, strReplaced));
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, oldStr, newStr);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldStr, newStr));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //new update added by Noter(v-yaduoj) 8-10-2006
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: Source string contains old string, replace with \"\\0\"";
-        const string c_TEST_ID = "P003";
-
-        string strSrc;
-        string oldStr, newStr;
-        bool condition;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //Initialize the parameters
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        int startIndex;
-        startIndex = GetInt32(0, strSrc.Length - 1);
-        oldStr = strSrc.Substring(startIndex, GetInt32(1, strSrc.Length - startIndex));
-        newStr = "\0";
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string strReplaced = strSrc.Replace(oldStr, newStr);
-
-            string subStrOld, subStrNew;
-            int oldIndex = 0;
-            int newIndex;
-            int maxValidIndex = strReplaced.Length - newStr.Length;
-            condition = true;
-            // compare string replaed and source string
-            for (newIndex = 0; newIndex < maxValidIndex; )
-            {
-                subStrNew = strReplaced.Substring(newIndex, newStr.Length);
-
-                if (0 == string.CompareOrdinal(subStrNew, newStr))
-                {
-                    subStrOld = strSrc.Substring(oldIndex, oldStr.Length);
-                    condition = (0 == string.CompareOrdinal(subStrOld, oldStr)) && condition;
-                    oldIndex += oldStr.Length;
-                    newIndex += newStr.Length;
-                }
-                else
-                {
-                    condition = (strReplaced[newIndex] == strSrc[oldIndex]) && condition;
-                    oldIndex++;
-                    newIndex++;
-                }
-            }
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, oldStr, newStr);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldStr, newStr));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: old string value is null reference.";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        string oldStr, newStr;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        oldStr = null;
-        newStr = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try 
-        {
-            strSrc.Replace(oldStr, newStr);
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, "ArgumentNullException is not thrown as expected." + GetDataString(strSrc, oldStr, newStr));
-            retVal = false;
-        }
-        catch (ArgumentNullException)
-        {}
-        catch(Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldStr, newStr));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    //ArgumentException
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: old string value is String.Empty";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        string oldStr, newStr;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        oldStr = String.Empty;
-        newStr = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Replace(oldStr, newStr);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "ArgumentException is not thrown as expected." + GetDataString(strSrc, oldStr, newStr));
-            retVal = false;
-        }
-        catch (ArgumentException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, oldStr, newStr));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, string oldStr, string newStr)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Old string]\n{0}", oldStr);
-        str += string.Format("\n[New string]\n{0}", newStr);
-
-        return str;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringreplace3.cs b/tests/src/CoreMangLib/cti/system/string/stringreplace3.cs
deleted file mode 100644 (file)
index 88c20af..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.Replace(String, String)
-/// Replaces all occurrences of a specified Unicode character in this instance 
-/// with another specified Unicode character. 
-/// </summary>
-public class StringReplace3
-{
-    public static int Main()
-    {
-        int result =  Test1() && Test2() && Test3() && Test4() && Test5() && Test6() && Test7() ? 100 : -1;
-
-        return result; 
-    }
-
-    private static bool Test1()
-    {
-        string strExpected = "Test HEY with HEYAND HEY";
-        string strActual = "Test %token% with %TOKEN%AND %tokeN%".Replace("%token%", "HEY", StringComparison.InvariantCultureIgnoreCase);
-
-        return strExpected == strActual;
-    }
-
-    private static bool Test2()
-    {
-        string strExpected = "Test HEY with HEYAND Test!";
-        string strActual = "Test %token% with %TOKEN%AND Test!".Replace("%token%", "HEY", StringComparison.InvariantCultureIgnoreCase);
-
-        return strExpected == strActual;
-    }
-
-    private static bool Test3()
-    {
-        string strExpected = "HEYTest HEY with HEYAND Test!";
-        string strActual = "%TOKEN%Test %token% with %TOKEN%AND Test!".Replace("%token%", "HEY", StringComparison.InvariantCultureIgnoreCase);
-
-        return strExpected == strActual;
-    }
-
-    private static bool Test4()
-    {
-        string strExpected = "HEYHEYTest HEY with HEYAND Test!";
-        string strActual = "%TOKEN%%token%Test %token% with %TOKEN%AND Test!".Replace("%token%", "HEY", StringComparison.InvariantCultureIgnoreCase);
-
-        return strExpected == strActual;
-    }
-
-    private static bool Test5()
-    {
-        string strExpected = "dof";
-        string strActual = "d\u00e9f".Replace("e\u0301", "o", StringComparison.InvariantCultureIgnoreCase);
-
-        return strExpected == strActual;
-    }
-
-    private static bool Test6()
-    {
-        string strExpected = "dof";
-        string strActual = "de\u0301f".Replace("\u00e9", "o", StringComparison.InvariantCultureIgnoreCase);
-
-        return strExpected == strActual;
-    }
-
-    private static bool Test7()
-    {
-        string strExpected = "dfo";
-        string strActual = "de\u0301fo".Replace("\u00e9", "", StringComparison.InvariantCultureIgnoreCase);
-
-        return strExpected == strActual;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringsplit1.cs b/tests/src/CoreMangLib/cti/system/string/stringsplit1.cs
deleted file mode 100644 (file)
index 8113de7..0000000
+++ /dev/null
@@ -1,401 +0,0 @@
-using System;
-
-/// <summary>
-/// String.Split(params Char[])  
-/// Returns a String array containing the substrings in this 
-/// instance that are delimited by elements of a specified Char array.
-/// </summary>
-public class StringSplit1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringSplit1 sr = new StringSplit1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.Split(params Char[])");
-        if (sr.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-
-        //while (sr.RunTests() != false)
-        //{ }
-        //return 0;
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        //TestLibrary.TestFramework.LogInformation("[Negative]");
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Random old char random new char.";
-        const string c_TEST_ID = "P001";
-
-        string strSrc, delimiterStr;
-        char[] separator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, 10, 10);
-        //strSrc = "?ÏÀÈ¡?????a¤T";
-        delimiterStr = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        //delimiterStr = new string('a', 5);
-        separator = new char[delimiterStr.Length];
-        for (int i = 0; i < delimiterStr.Length; i++)
-        {
-            separator[i] = delimiterStr[i];
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string[] strs = strSrc.Split(separator);
-
-            string subStrSrc;
-            int indexSrc;
-            int indexStrsArray = 0;
-
-            condition = true; //
-            // compare string array after splitting and source string
-            for (indexSrc = 0; indexSrc < strSrc.Length; )
-            {
-                if (delimiterStr.Contains(strSrc[indexSrc].ToString())) //Begin if
-                {
-                    bool adjacent = 
-                        ((0 < indexSrc) 
-                        && (indexSrc < strSrc.Length - 1) 
-                        && (delimiterStr.Contains(strSrc[indexSrc + 1].ToString())));
-
-                    if ((0 == indexSrc) || ((strSrc.Length - 1) == indexSrc))
-                    {
-                        condition = (0 == string.CompareOrdinal(strs[indexStrsArray], string.Empty)) && condition;
-                        indexSrc++;
-                        indexStrsArray++;
-                        continue;
-                    }
-                    if (adjacent)
-                    {
-                        condition = (0 == string.CompareOrdinal(strs[indexStrsArray], string.Empty)) && condition;
-                        indexSrc += 2;
-                        indexStrsArray++;
-                        continue;
-                    }
-                    indexSrc++;
-                }
-                else
-                {
-                    subStrSrc = strSrc.Substring(indexSrc, strs[indexStrsArray].Length); //error
-                    condition = (0 == string.CompareOrdinal(subStrSrc, strs[indexStrsArray])) && condition;
-                    indexSrc += strs[indexStrsArray].Length;
-                    indexStrsArray++;
-                } //End if
-            }
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, separator);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, separator));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: Adjacent delimiters exist in the source string";
-        const string c_TEST_ID = "P002";
-
-        string strSrc, delimiterStr;
-        int j;
-        char[] separator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, 10, 10);
-        j = GetInt32(1, strSrc.Length - 2);
-        delimiterStr = strSrc.Substring(j, 2);
-        //delimiterStr = new string('a', 5);
-        separator = new char[delimiterStr.Length];
-        for (int i = 0; i < delimiterStr.Length; i++)
-        {
-            separator[i] = delimiterStr[i];
-        }
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string[] strs = strSrc.Split(separator);
-
-            string subStrSrc;
-            int indexSrc;
-            int indexStrsArray = 0;
-
-            condition = true; //
-            // compare string array after splitting and source string
-            for (indexSrc = 0; indexSrc < strSrc.Length; )
-            {
-                if (delimiterStr.Contains(strSrc[indexSrc].ToString())) //Begin if
-                {
-                    bool adjacent =
-                        ((0 < indexSrc)
-                        && (indexSrc < strSrc.Length - 1)
-                        && (delimiterStr.Contains(strSrc[indexSrc + 1].ToString())));
-
-                    if ((0 == indexSrc) || ((strSrc.Length - 1) == indexSrc))
-                    {
-                        condition = (0 == string.CompareOrdinal(strs[indexStrsArray], string.Empty)) && condition;
-                        indexSrc++;
-                        indexStrsArray++;
-                        continue;
-                    }
-                    if (adjacent)
-                    {
-                        condition = (0 == string.CompareOrdinal(strs[indexStrsArray], string.Empty)) && condition;
-                        indexSrc += 2;
-                        indexStrsArray++;
-                        continue;
-                    }
-                    indexSrc++;
-                }
-                else
-                {
-                    subStrSrc = strSrc.Substring(indexSrc, strs[indexStrsArray].Length); //error
-                    condition = (0 == string.CompareOrdinal(subStrSrc, strs[indexStrsArray])) && condition;
-                    indexSrc += strs[indexStrsArray].Length;
-                    indexStrsArray++;
-                } //End if
-            }
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, separator);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, separator));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest3: Separator char array is a null reference";
-        const string c_TEST_ID = "P003";
-
-        string strSrc, delimiterStr;
-        char[] separator;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        strSrc = "\tWEre\t\rasdfsdf\n\nweer\r23123\t456\v\x0020678op~";
-        delimiterStr = null;
-        separator = null;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string[] strs = strSrc.Split(separator);
-
-            delimiterStr = "\n\r\t\v\x0020";
-            separator = new char[delimiterStr.Length];
-            for (int i = 0; i < delimiterStr.Length; i++)
-            {
-                separator[i] = delimiterStr[i];
-            }
-
-            string subStrSrc;
-            int indexSrc;
-            int indexStrsArray = 0;
-
-            condition = true; //
-            // compare string array after splitting and source string
-            for (indexSrc = 0; indexSrc < strSrc.Length; )
-            {
-                if (delimiterStr.Contains(strSrc[indexSrc].ToString())) //Begin if
-                {
-                    bool adjacent =
-                        ((0 < indexSrc)
-                        && (indexSrc < strSrc.Length - 1)
-                        && (delimiterStr.Contains(strSrc[indexSrc + 1].ToString())));
-
-                    if ((0 == indexSrc) || ((strSrc.Length - 1) == indexSrc))
-                    {
-                        condition = (0 == string.CompareOrdinal(strs[indexStrsArray], string.Empty)) && condition;
-                        indexSrc++;
-                        indexStrsArray++;
-                        continue;
-                    }
-                    if (adjacent)
-                    {
-                        condition = (0 == string.CompareOrdinal(strs[indexStrsArray], string.Empty)) && condition;
-                        indexSrc += 2;
-                        indexStrsArray++;
-                        continue;
-                    }
-                    indexSrc++;
-                }
-                else
-                {
-                    subStrSrc = strSrc.Substring(indexSrc, strs[indexStrsArray].Length); //error
-                    condition = (0 == string.CompareOrdinal(subStrSrc, strs[indexStrsArray])) && condition;
-                    indexSrc += strs[indexStrsArray].Length;
-                    indexStrsArray++;
-                } //End if
-            }
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, separator);
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, separator));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, char[] separator)
-    {
-        string str1, str, str2;
-        int len1, len2;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        if (null == separator)
-        {
-            str2 = "white-space";
-            len2 = 0;
-        }
-        else
-        {
-            str2 = string.Empty;
-            for (int i = 0; i < separator.Length; i++)
-            {
-                str2 += separator[i].ToString();
-            }
-            len2 = separator.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Sepator char array]\n{0}", str2);
-        str += string.Format("\n[Sepator char array's length]\n{0}", len2);
-
-        return str;
-    }
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/string/stringsubstring1.cs b/tests/src/CoreMangLib/cti/system/string/stringsubstring1.cs
deleted file mode 100644 (file)
index 18b1860..0000000
+++ /dev/null
@@ -1,276 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.SubString(Int32)
-/// Retrieves a substring from this instance. The substring starts at a specified character position.  
-/// </summary>
-public class StringSubString1
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringSubString1 sss = new StringSubString1();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.SubString(Int32)");
-        if(sss.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Start index is valid random value.";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        int startIndex;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //Initialize the parameters
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = TestLibrary.Generator.GetInt32(-55) % (strSrc.Length);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string subStr = strSrc.Substring(startIndex);
-
-            condition = true;
-            for (int i = 0; i < subStr.Length; i++)
-            {
-                condition = (subStr[i] == strSrc[i + startIndex]) && condition;
-            }
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2: startIndex equals the length of this instance.";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        int startIndex;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //Initialize the parameters
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = strSrc.Length;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string subStr = strSrc.Substring(startIndex);
-            condition = (0 == String.CompareOrdinal(string.Empty, subStr));
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-
-    //ArgumentOutOfRangeException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Start index is negative";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        int startIndex;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try 
-        {
-            strSrc.Substring(startIndex);
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {}
-        catch(Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Start index is greater than string length";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        int startIndex;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = GetInt32(strSrc.Length + 1, Int32.MaxValue);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Substring(startIndex);
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int startIndex)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Start index]\n{0}", startIndex);
-
-        return str;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringsubstring2.cs b/tests/src/CoreMangLib/cti/system/string/stringsubstring2.cs
deleted file mode 100644 (file)
index 77d0836..0000000
+++ /dev/null
@@ -1,355 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// String.SubString(Int32, Int32)
-/// Retrieves a substring from this instance. 
-/// The substring starts at a specified character position and has a specified length.   
-/// </summary>
-public class StringSubString2
-{
-    private const int c_MIN_STRING_LEN = 8;
-    private const int c_MAX_STRING_LEN = 256;
-
-    private const int c_MAX_SHORT_STR_LEN = 31;//short string (<32 chars)
-    private const int c_MIN_LONG_STR_LEN = 257;//long string ( >256 chars)
-    private const int c_MAX_LONG_STR_LEN = 65535;
-
-    public static int Main()
-    {
-        StringSubString2 sss = new StringSubString2();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: System.String.SubString(Int32, Int32)");
-        if(sss.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive test scenarios
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest1: Valid random start index, valid random substring's length";
-        const string c_TEST_ID = "P001";
-
-        string strSrc;
-        int startIndex;
-        int length;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //Initialize the parameters
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = TestLibrary.Generator.GetInt32(-55) % (strSrc.Length);
-        length = TestLibrary.Generator.GetInt32(-55) % (strSrc.Length + 1 - startIndex);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string subStr = strSrc.Substring(startIndex, length);
-
-            condition = true;
-            for (int i = 0; i < subStr.Length; i++)
-            {
-                condition = (subStr[i] == strSrc[i + startIndex]) && condition;
-            }
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex, length);
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "PosTest2:startIndex equals source string's length and substring length is zero";
-        const string c_TEST_ID = "P002";
-
-        string strSrc;
-        int startIndex;
-        int length;
-        bool condition = false;
-        bool expectedValue = true;
-        bool actualValue = false;
-
-        //Initialize the parameters
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = strSrc.Length;
-        length = 0;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            string subStr = strSrc.Substring(startIndex, length);
-            condition = (0 == string.CompareOrdinal(subStr, string.Empty));
-
-            actualValue = condition;
-            if (actualValue != expectedValue)
-            {
-                string errorDesc = "Value is not " + expectedValue + " as expected: Actual(" + actualValue + ")";
-                errorDesc += GetDataString(strSrc, startIndex, length);
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Negative test scenarios
-
-    //ArgumentOutOfRangeException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest1: Start index is negative";
-        const string c_TEST_ID = "N001";
-
-        string strSrc;
-        int startIndex;
-        int length;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-        length = TestLibrary.Generator.GetInt32(-55) % (strSrc.Length + 1);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try 
-        {
-            strSrc.Substring(startIndex, length);
-            TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        {}
-        catch(Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest2: Substring's length is negative";
-        const string c_TEST_ID = "N002";
-
-        string strSrc;
-        int startIndex;
-        int length;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = TestLibrary.Generator.GetInt32(-55) % (strSrc.Length);
-        length =  -1 * TestLibrary.Generator.GetInt32(-55) - 1;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Substring(startIndex, length);
-            TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest3: valid startIndex, too great length \n Their sum is greater than source string's length";
-        const string c_TEST_ID = "N003";
-
-        string strSrc;
-        int startIndex;
-        int length;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        startIndex = TestLibrary.Generator.GetInt32(-55) % (strSrc.Length);
-        length = GetInt32(strSrc.Length - startIndex + 1, Int32.MaxValue);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Substring(startIndex, length);
-            TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_DESC = "NegTest4: Valid length, too great start index \n Their sum is greater than string's length";
-        const string c_TEST_ID = "N004";
-
-        string strSrc;
-        int startIndex;
-        int length;
-
-        strSrc = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LEN, c_MAX_STRING_LEN);
-        length = TestLibrary.Generator.GetInt32(-55) % (strSrc.Length + 1);
-        startIndex = GetInt32(strSrc.Length - length + 1, Int32.MaxValue);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            strSrc.Substring(startIndex, length);
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, "ArgumentOutOfRangeException is not thrown as expected." + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-        catch (ArgumentOutOfRangeException)
-        { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, "Unexpected exception: " + e + GetDataString(strSrc, startIndex, length));
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region helper methods for generating test data
-
-    private bool GetBoolean()
-    {
-        Int32 i = this.GetInt32(1, 2);
-        return (i == 1) ? true : false;
-    }
-
-    //Get a non-negative integer between minValue and maxValue
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    private Int32 Min(Int32 i1, Int32 i2)
-    {
-        return (i1 <= i2) ? i1 : i2;
-    }
-
-    private Int32 Max(Int32 i1, Int32 i2)
-    {
-        return (i1 >= i2) ? i1 : i2;
-    }
-
-    #endregion
-
-    private string GetDataString(string strSrc, int startIndex, int length)
-    {
-        string str1, str;
-        int len1;
-
-        if (null == strSrc)
-        {
-            str1 = "null";
-            len1 = 0;
-        }
-        else
-        {
-            str1 = strSrc;
-            len1 = strSrc.Length;
-        }
-
-        str = string.Format("\n[Source string value]\n \"{0}\"", str1);
-        str += string.Format("\n[Length of source string]\n {0}", len1);
-        str += string.Format("\n[Start index]\n{0}", startIndex);
-        str += string.Format("\n[Substring's length]\n{0}", length);
-
-        return str;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/string/stringtochararray.cs b/tests/src/CoreMangLib/cti/system/string/stringtochararray.cs
deleted file mode 100644 (file)
index 6830b0c..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.ToCharArray()
-/// </summary>
-public class StringToCharArray
-{
-    private int c_MAX_STRING_LENGTH = 256;
-
-    public static int Main()
-    {
-        StringToCharArray stca = new StringToCharArray();
-        TestLibrary.TestFramework.BeginTestCase("StringToCharArray");
-
-        if (stca.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }        
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    #region PositiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        char[]ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: empty string ToCharArray");
-        try
-        {
-            strA = string.Empty;
-            ActualResult = strA.ToCharArray();
-            char[] Expect = new char[0];
-            if (ActualResult.ToString()!= Expect.ToString() || ActualResult.Length !=0)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string ToCharArray ActualResult is not the ExpectResult");
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA = "";
-        char[] ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2 : normal string ToCharArray");
-        try
-        {
-            char[] Expect = new char[256];
-            for (int i = 0; i < c_MAX_STRING_LENGTH; i++)
-            {
-                char charA = TestLibrary.Generator.GetChar(-55);
-                Expect[i] = charA;
-                strA += charA.ToString();
-            }
-            ActualResult = strA.ToCharArray();
-            for (int j = 0; j < ActualResult.Length; j++)
-            {
-                if (ActualResult[j] != Expect[j])
-                {
-                    TestLibrary.TestFramework.LogError("001", "normal string ToCharArray ActualResult is not ExpectResult");
-                    retVal = false;
-                    break;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringtostring1.cs b/tests/src/CoreMangLib/cti/system/string/stringtostring1.cs
deleted file mode 100644 (file)
index 2366cd4..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.ToString()
-/// </summary>
-public class StringToString1
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-
-    public static int Main()
-    {
-        StringToString1 sts1 = new StringToString1();
-        TestLibrary.TestFramework.BeginTestCase("StringToString1");
-
-        if (sts1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: normal string ToString()");
-        try
-        {
-            strA = string.Empty;
-            ActualResult = strA.ToString();
-            if (ActualResult != string.Empty || !(object.ReferenceEquals(strA, ActualResult)))
-            {
-                TestLibrary.TestFramework.LogError("001", "normal string ToString() ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: empty string ToString()");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            ActualResult = strA.ToString();
-            char[] charStrA = strA.ToCharArray();
-            char[] charActual = ActualResult.ToCharArray();
-            for (int i = 0; strA.Length > i; i++)
-            {
-                if (charStrA[i] != charActual[i])
-                {
-                    TestLibrary.TestFramework.LogError("001", "normal string ToString() ActualResult is not the ExpectResult");
-                    retVal = false;
-                    break;
-                }
-            }
-            if (!object.ReferenceEquals(strA, ActualResult))
-            {
-                TestLibrary.TestFramework.LogError("002", "normal string ToString() ActualResult is not ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringtrim1.cs b/tests/src/CoreMangLib/cti/system/string/stringtrim1.cs
deleted file mode 100644 (file)
index d9008da..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.Trim()
-/// </summary>
-public class StringTrim1
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-
-       // U+200B stops being trimmable http://msdn2.microsoft.com/en-us/library/t97s7bs3.aspx
-       // U+FEFF has been deprecate as a trimmable space
-       private string[] spaceStrings = new string[]{"\u0009","\u000A","\u000B","\u000C","\u000D","\u0020",
-                               "\u00A0","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005",
-                                "\u2006","\u2007","\u2008","\u2009","\u200A","\u3000"};
-
-    public static int Main()
-    {
-        StringTrim1 st1 = new StringTrim1();
-        TestLibrary.TestFramework.BeginTestCase("StringTrim1");
-
-        if (st1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: empty string trim()");
-
-        try
-        {
-            strA = string.Empty;
-            ActualResult = strA.Trim();
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string trim() ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-      
-        TestLibrary.TestFramework.BeginScenario("PosTest2:normal string trim one");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = strB + "H" + strA + "D" + strB;
-            ActualResult = strA1.Trim();
-            if (ActualResult.ToString() != "H" + strA.ToString() + "D")
-            {
-                TestLibrary.TestFramework.LogError("003", "normal string trim one when space is ("+strB.ToString()+") ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:normal string trim two");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = strB + "H" + strB + strA + strB+ "D" + strB;
-            ActualResult = strA1.Trim();
-            if (ActualResult.ToString() != "H" + strB + strA.ToString() + strB + "D")
-            {
-                TestLibrary.TestFramework.LogError("005", "normal string trim two ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region Help method for geting test data
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    private Char GetChar(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return Convert.ToChar(minValue);
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToChar(Convert.ToInt32(TestLibrary.Generator.GetChar(-55)) % (maxValue - minValue) + minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-        return Convert.ToChar(minValue);
-    }
-    private string GetString(bool ValidPath, Int32 minValue, Int32 maxValue)
-    {
-        StringBuilder sVal = new StringBuilder();
-        string s;
-
-        if (0 == minValue && 0 == maxValue) return String.Empty;
-        if (minValue > maxValue) return null;
-
-        if (ValidPath)
-        {
-            return TestLibrary.Generator.GetString(-55, ValidPath, minValue, maxValue);
-        }
-        else
-        {
-            int length = this.GetInt32(minValue, maxValue);
-            for (int i = 0; length > i; i++)
-            {
-                char c = this.GetChar(minValue, maxValue);
-                sVal.Append(c);
-            }
-            s = sVal.ToString();
-            return s;
-        }
-
-
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringtrim1b.cs b/tests/src/CoreMangLib/cti/system/string/stringtrim1b.cs
deleted file mode 100644 (file)
index ba2dd7c..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.Trim()
-/// </summary>
-public class StringTrim1
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-
-       // U+200B stops being trimmable http://msdn2.microsoft.com/en-us/library/t97s7bs3.aspx
-       // U+FEFF has been deprecate as a trimmable space
-       private string[] spaceStrings = new string[]{"\u0009","\u000A","\u000B","\u000C","\u000D","\u0020",
-                               "\u00A0","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005",
-                                "\u2006","\u2007","\u2008","\u2009","\u200A","\u3000"};
-
-    public static int Main()
-    {
-        StringTrim1 st1 = new StringTrim1();
-        TestLibrary.TestFramework.BeginTestCase("StringTrim1");
-        //while (st1.RunTests())
-        //{
-        //    Console.WriteLine(")");
-        //}
-        //return 100;
-        if (st1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: empty string trim()");
-
-        try
-        {
-            strA = string.Empty;
-            ActualResult = strA.Trim();
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string trim() ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-      
-        TestLibrary.TestFramework.BeginScenario("PosTest2:normal string trim one");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-                       int i = this.GetInt32(0, spaceStrings.Length);
-            string strB = spaceStrings[i];
-            string strA1 = strB + "H" + strA + "D" + strB;
-            ActualResult = strA1.Trim();
-            if (ActualResult.ToString() != "H" + strA.ToString() + "D")
-            {
-                               TestLibrary.TestFramework.LogError("003", "normal string trim one when space is (" + i + ":'" + strB.ToString() + "') ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:normal string trim two");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-                       int i = this.GetInt32(0, spaceStrings.Length);
-                       string strB = spaceStrings[i];
-            string strA1 = strB + "H" + strB + strA + strB+ "D" + strB;
-            ActualResult = strA1.Trim();
-            if (ActualResult.ToString() != "H" + strB + strA.ToString() + strB + "D")
-            {
-                               TestLibrary.TestFramework.LogError("005", "normal string trim one when space is ("+i+":'" + strB.ToString() + "') ActualResult is not the ExpectResult");
-                               retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region Help method for geting test data
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    private Char GetChar(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return Convert.ToChar(minValue);
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToChar(Convert.ToInt32(TestLibrary.Generator.GetChar(-55)) % (maxValue - minValue) + minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-        return Convert.ToChar(minValue);
-    }
-    private string GetString(bool ValidPath, Int32 minValue, Int32 maxValue)
-    {
-        StringBuilder sVal = new StringBuilder();
-        string s;
-
-        if (0 == minValue && 0 == maxValue) return String.Empty;
-        if (minValue > maxValue) return null;
-
-        if (ValidPath)
-        {
-            return TestLibrary.Generator.GetString(-55, ValidPath, minValue, maxValue);
-        }
-        else
-        {
-            int length = this.GetInt32(minValue, maxValue);
-            for (int i = 0; length > i; i++)
-            {
-                char c = this.GetChar(minValue, maxValue);
-                sVal.Append(c);
-            }
-            s = sVal.ToString();
-            return s;
-        }
-
-
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringtrim2.cs b/tests/src/CoreMangLib/cti/system/string/stringtrim2.cs
deleted file mode 100644 (file)
index 88f949f..0000000
+++ /dev/null
@@ -1,332 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.Trim(char[])
-/// </summary>
-public class StringTrim2
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-
-       // U+200B stops being trimmable http://msdn2.microsoft.com/en-us/library/t97s7bs3.aspx
-       // U+FEFF has been deprecate as a trimmable space
-       private string[] spaceStrings = new string[]{"\u0009","\u000A","\u000B","\u000C","\u000D","\u0020",
-                               "\u00A0","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005",
-                                "\u2006","\u2007","\u2008","\u2009","\u200A","\u3000"};
-
-
-    public static int Main()
-    {
-        StringTrim2 st2 = new StringTrim2();
-        TestLibrary.TestFramework.BeginTestCase("StringTrim2");
-
-        if (st2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        return retVal;
-    }
-    #region PostiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: empty string trim char[]");
-
-        try
-        {
-            strA = string.Empty;
-            charA = new char[] {TestLibrary.Generator.GetChar(-55),TestLibrary.Generator.GetChar(-55),TestLibrary.Generator.GetChar(-55) };
-            ActualResult = strA.Trim(charA);
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string trim char[] ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:normal string trim char[] one");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char char1 = this.GetChar(0, c_MINI_STRING_LENGTH);
-            char char2 = this.GetChar(c_MINI_STRING_LENGTH, c_MINI_STRING_LENGTH + 68);
-            char char3 = this.GetChar(c_MINI_STRING_LENGTH + 68, c_MAX_STRING_LENGTH / 2);
-            char charEnd = this.GetChar(c_MAX_STRING_LENGTH / 2, c_MAX_STRING_LENGTH);
-            charA = new char[] { char1, char2, char3 };
-
-            string strA1 = char1.ToString() + char3.ToString() + charEnd.ToString() + strA + charEnd.ToString();
-            ActualResult = strA1.Trim(charA);
-            if (ActualResult.ToString() !=  charEnd.ToString() + strA.ToString() + charEnd.ToString())
-            {
-                TestLibrary.TestFramework.LogError("003", "normal string trim char[] one ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:normal string trim char[] two");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char char1 = this.GetChar(0, c_MINI_STRING_LENGTH);
-            char char2 = this.GetChar(c_MINI_STRING_LENGTH, c_MINI_STRING_LENGTH + 68);
-            char char3 = this.GetChar(c_MAX_STRING_LENGTH + 68, c_MAX_STRING_LENGTH / 2);
-            char charStart = this.GetChar(c_MAX_STRING_LENGTH / 2, c_MAX_STRING_LENGTH);
-            charA = new char[] { char1, char2, char3 };
-
-            string strA1 = charStart.ToString() + strA + charStart.ToString() + char2.ToString() + char3.ToString();
-            ActualResult = strA1.Trim(charA);
-            if (ActualResult.ToString() != charStart.ToString() + strA + charStart.ToString())
-            {
-                TestLibrary.TestFramework.LogError("005", "normal string trim char[] two ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4:normal string trim char[] three");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char char1 = this.GetChar(0, c_MINI_STRING_LENGTH);
-            char char2 = this.GetChar(c_MINI_STRING_LENGTH, c_MINI_STRING_LENGTH + 68);
-            char char3 = this.GetChar(c_MAX_STRING_LENGTH + 68, c_MAX_STRING_LENGTH / 2);
-            char charStart = this.GetChar(c_MAX_STRING_LENGTH / 2, c_MAX_STRING_LENGTH);
-            charA = new char[] { char1, char2, char3 };
-
-            string strA1 = char1.ToString() + charStart.ToString() + char2.ToString() + strA + charStart.ToString() + char3.ToString();
-            ActualResult = strA1.Trim(charA);
-            if (ActualResult.ToString() != charStart.ToString() + char2.ToString() + strA + charStart.ToString())
-            {
-                TestLibrary.TestFramework.LogError("007", "normal string trim char[] three ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5:normal string trim char[] four");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            charA = new char[0];
-            string strB = spaceStrings[this.GetInt32(0,spaceStrings.Length)];
-            string strA1 = strB + "H" + strA + "D";
-            ActualResult = strA1.Trim(charA);
-            if (ActualResult.ToString() != "H" + strA + "D")
-            {
-                TestLibrary.TestFramework.LogError("009", "normal string trim char[] four ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6:normal string trim char[] five");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            charA = new char[0];
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = strB + "H" + strB + strA + "D" + strB;
-            ActualResult = strA1.Trim(charA);
-            if (ActualResult.ToString() != "H" + strB + strA + "D")
-            {
-                TestLibrary.TestFramework.LogError("011", "normal string trim char[] five ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest7:normal string trim char[] six");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            charA = new char[0];
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = "H" + strA + "D" + strB;
-            ActualResult = strA1.Trim(charA);
-            if (ActualResult.ToString() != "H" + strA + "D")
-            {
-                TestLibrary.TestFramework.LogError("013", "normal string trim char[] six ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region Help method for geting test data
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    private Char GetChar(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return Convert.ToChar(minValue);
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToChar(Convert.ToInt32(TestLibrary.Generator.GetChar(-55)) % (maxValue - minValue) + minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-        return Convert.ToChar(minValue);
-    }
-    private string GetString(bool ValidPath, Int32 minValue, Int32 maxValue)
-    {
-        StringBuilder sVal = new StringBuilder();
-        string s;
-
-        if (0 == minValue && 0 == maxValue) return String.Empty;
-        if (minValue > maxValue) return null;
-
-        if (ValidPath)
-        {
-            return TestLibrary.Generator.GetString(-55, ValidPath, minValue, maxValue);
-        }
-        else
-        {
-            int length = this.GetInt32(minValue, maxValue);
-            for (int i = 0; length > i; i++)
-            {
-                char c = this.GetChar(minValue, maxValue);
-                sVal.Append(c);
-            }
-            s = sVal.ToString();
-            return s;
-        }
-
-
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringtrim3.cs b/tests/src/CoreMangLib/cti/system/string/stringtrim3.cs
deleted file mode 100644 (file)
index 76fcb89..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.TrimEnd(char[])
-/// </summary>
-public class StringTrim3
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-
-       // U+200B stops being trimmable http://msdn2.microsoft.com/en-us/library/t97s7bs3.aspx
-       // U+FEFF has been deprecate as a trimmable space
-    private string[] spaceStrings = new string[]{"\u0009","\u000A","\u000B","\u000C","\u000D","\u0020",
-                               "\u00A0","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005",
-                                "\u2006","\u2007","\u2008","\u2009","\u200A","\u3000"};
-
-    public static int Main()
-    {
-        StringTrim3 st3 = new StringTrim3();
-        TestLibrary.TestFramework.BeginTestCase("StringTrim3");
-
-        if (st3.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-
-    #region PostiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: empty string trimEnd char[]");
-
-        try
-        {
-            strA = string.Empty;
-            charA = new char[] { TestLibrary.Generator.GetChar(-55), TestLibrary.Generator.GetChar(-55), TestLibrary.Generator.GetChar(-55) };
-            ActualResult = strA.TrimEnd(charA);
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string trimEnd char[] ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:normal string trimStart char[] one");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char char1 = this.GetChar(0, c_MINI_STRING_LENGTH);
-            char char2 = this.GetChar(c_MINI_STRING_LENGTH, c_MINI_STRING_LENGTH + 68);
-            char char3 = this.GetChar(c_MINI_STRING_LENGTH + 68, c_MAX_STRING_LENGTH / 2);
-            char charEnd = this.GetChar(c_MAX_STRING_LENGTH / 2, c_MAX_STRING_LENGTH);
-            charA = new char[] { char1, char2, char3 };
-
-            string strA1 = char1.ToString() + char3.ToString() + strA + charEnd.ToString() + char1.ToString() + char3.ToString();
-            ActualResult = strA1.TrimEnd(charA);
-            if (ActualResult.ToString() != char1.ToString() + char3.ToString() + strA.ToString() + charEnd.ToString())
-            {
-                TestLibrary.TestFramework.LogError("003", "normal string trimEnd char[] one ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:normal string trimEnd char[] two");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char char1 = this.GetChar(0, c_MINI_STRING_LENGTH);
-            char char2 = this.GetChar(c_MINI_STRING_LENGTH, c_MINI_STRING_LENGTH + 68);
-            char char3 = this.GetChar(c_MAX_STRING_LENGTH + 68, c_MAX_STRING_LENGTH / 2);
-            char charStart = this.GetChar(c_MAX_STRING_LENGTH / 2, c_MAX_STRING_LENGTH);
-            charA = new char[] { char1, char2, char3 };
-
-            string strA1 = char1.ToString() + char3.ToString() + charStart.ToString() + strA + char2.ToString() + charStart.ToString() + char1.ToString() + char3.ToString();
-            ActualResult = strA1.TrimEnd(charA);
-            if (ActualResult.ToString() != char1.ToString() + char3.ToString() + charStart.ToString() + strA + char2.ToString() + charStart.ToString())
-            {
-                TestLibrary.TestFramework.LogError("005", "normal string trimEnd char[] two ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4:normal string trimEnd char[] three");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            charA = new char[0];
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = strB + "H" + strA + "D" + strB;
-            ActualResult = strA1.TrimEnd(charA);
-            if (ActualResult.ToString() != strB + "H" + strA + "D")
-            {
-                TestLibrary.TestFramework.LogError("007", "normal string trimEnd char[] three ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5:normal string trimEnd char[] four");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            charA = new char[0];
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = strB + "H" + strB + strA + "D" + strB;
-            ActualResult = strA1.TrimEnd(charA);
-            if (ActualResult.ToString() != strB + "H" + strB + strA + "D")
-            {
-                TestLibrary.TestFramework.LogError("009", "normal string trimEnd char[] four ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region Help method for geting test data
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    private Char GetChar(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return Convert.ToChar(minValue);
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToChar(Convert.ToInt32(TestLibrary.Generator.GetChar(-55)) % (maxValue - minValue) + minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-        return Convert.ToChar(minValue);
-    }
-    private string GetString(bool ValidPath, Int32 minValue, Int32 maxValue)
-    {
-        StringBuilder sVal = new StringBuilder();
-        string s;
-
-        if (0 == minValue && 0 == maxValue) return String.Empty;
-        if (minValue > maxValue) return null;
-
-        if (ValidPath)
-        {
-            return TestLibrary.Generator.GetString(-55, ValidPath, minValue, maxValue);
-        }
-        else
-        {
-            int length = this.GetInt32(minValue, maxValue);
-            for (int i = 0; length > i; i++)
-            {
-                char c = this.GetChar(minValue, maxValue);
-                sVal.Append(c);
-            }
-            s = sVal.ToString();
-            return s;
-        }
-
-
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/string/stringtrim4.cs b/tests/src/CoreMangLib/cti/system/string/stringtrim4.cs
deleted file mode 100644 (file)
index bfbd3bb..0000000
+++ /dev/null
@@ -1,298 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// String.TrimStart
-/// </summary>
-public class StringTrim4
-{
-    private int c_MINI_STRING_LENGTH = 8;
-    private int c_MAX_STRING_LENGTH = 256;
-
-       // U+200B stops being trimmable http://msdn2.microsoft.com/en-us/library/t97s7bs3.aspx
-       // U+FEFF has been deprecate as a trimmable space
-       private string[] spaceStrings = new string[]{"\u0009","\u000A","\u000B","\u000C","\u000D","\u0020",
-                               "\u00A0","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005",
-                                "\u2006","\u2007","\u2008","\u2009","\u200A","\u3000"};
-
-    public static int Main()
-    {
-        StringTrim4 st4 = new StringTrim4();
-        TestLibrary.TestFramework.BeginTestCase("StringTrim4");
-
-        if (st4.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        return retVal;
-    }
-
-    #region PostiveTesting
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: empty string trimStart char[]");
-
-        try
-        {
-            strA = string.Empty;
-            charA = new char[] { TestLibrary.Generator.GetChar(-55), TestLibrary.Generator.GetChar(-55), TestLibrary.Generator.GetChar(-55) };
-            ActualResult = strA.TrimStart(charA);
-            if (ActualResult != string.Empty)
-            {
-                TestLibrary.TestFramework.LogError("001", "empty string trimStart char[] ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:normal string trimStart char[] one");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char char1 = this.GetChar(0, c_MINI_STRING_LENGTH);
-            char char2 = this.GetChar(c_MINI_STRING_LENGTH, c_MINI_STRING_LENGTH + 68);
-            char char3 = this.GetChar(c_MINI_STRING_LENGTH + 68, c_MAX_STRING_LENGTH / 2);
-            char charEnd = this.GetChar(c_MAX_STRING_LENGTH / 2, c_MAX_STRING_LENGTH);
-            charA = new char[] { char1, char2, char3 };
-
-            string strA1 = char1.ToString() + char3.ToString() + charEnd.ToString() + strA + char1.ToString() + char3.ToString();
-            ActualResult = strA1.TrimStart(charA);
-            if (ActualResult.ToString() != charEnd.ToString() + strA.ToString() + char1.ToString() + char3.ToString())
-            {
-                TestLibrary.TestFramework.LogError("003", "normal string trimStart char[] one ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3:normal string trimStart char[] two");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            char char1 = this.GetChar(0, c_MINI_STRING_LENGTH);
-            char char2 = this.GetChar(c_MINI_STRING_LENGTH, c_MINI_STRING_LENGTH + 68);
-            char char3 = this.GetChar(c_MAX_STRING_LENGTH + 68, c_MAX_STRING_LENGTH / 2);
-            char charStart = this.GetChar(c_MAX_STRING_LENGTH / 2, c_MAX_STRING_LENGTH);
-            charA = new char[] { char1, char2, char3 };
-
-            string strA1 = char1.ToString() + char3.ToString() + charStart.ToString() + strA + char2.ToString() + charStart.ToString() + char1.ToString() + char3.ToString();
-            ActualResult = strA1.TrimStart(charA);
-            if (ActualResult.ToString() != charStart.ToString() + strA + char2.ToString() + charStart.ToString() + char1.ToString() + char3.ToString())
-            {
-                TestLibrary.TestFramework.LogError("005", "normal string trimStart char[] two ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4:normal string trimStart char[] three");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            charA = new char[0];
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = strB + "H" + strA + "D" + strB;
-            ActualResult = strA1.TrimStart(charA);
-            if (ActualResult.ToString() != "H" + strA + "D" + strB)
-            {
-                TestLibrary.TestFramework.LogError("007", "normal string trimStart char[] three ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        string strA;
-        char[] charA;
-        string ActualResult;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5:normal string trimStart char[] four");
-        try
-        {
-            strA = TestLibrary.Generator.GetString(-55, false, c_MINI_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            charA = new char[0];
-            string strB = spaceStrings[this.GetInt32(0, spaceStrings.Length)];
-            string strA1 = strB + "H" + strB + strA + "D" + strB;
-            ActualResult = strA1.TrimStart(charA);
-            if (ActualResult.ToString() != "H" + strB + strA + "D" + strB)
-            {
-                TestLibrary.TestFramework.LogError("009", "normal string trimStart char[] four ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-       int iCountErrors = 0;
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Trim consistent with char.IsWhitespace");
-       
-               StringBuilder sb = new StringBuilder(); 
-               for (char c = char.MinValue; c < char.MaxValue; ++c)
-               {
-                       if (char.IsWhiteSpace(c))
-                       sb.Append(c);
-               }
-
-               string t = sb.ToString().Trim();
-               for(int i = 0; i<t.Length; i++) 
-               {
-                       iCountErrors++;
-                       TestLibrary.TestFramework.LogError("011", "Failure: " + t[i] + " not trimmed correctly.");
-               }
-               
-
-               ///// Finish diagnostics and reporting of results.
-
-               if ( iCountErrors == 0 ) { return true; }
-               else { return false;}
-    } 
-
-
-    #endregion
-    #region Help method for geting test data
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    private Char GetChar(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return Convert.ToChar(minValue);
-            }
-            if (minValue < maxValue)
-            {
-                return Convert.ToChar(Convert.ToInt32(TestLibrary.Generator.GetChar(-55)) % (maxValue - minValue) + minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-        return Convert.ToChar(minValue);
-    }
-    private string GetString(bool ValidPath, Int32 minValue, Int32 maxValue)
-    {
-        StringBuilder sVal = new StringBuilder();
-        string s;
-
-        if (0 == minValue && 0 == maxValue) return String.Empty;
-        if (minValue > maxValue) return null;
-
-        if (ValidPath)
-        {
-            return TestLibrary.Generator.GetString(-55, ValidPath, minValue, maxValue);
-        }
-        else
-        {
-            int length = this.GetInt32(minValue, maxValue);
-            for (int i = 0; length > i; i++)
-            {
-                char c = this.GetChar(minValue, maxValue);
-                sVal.Append(c);
-            }
-            s = sVal.ToString();
-            return s;
-        }
-
-
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/stringcompare/StringComparerCtor.csproj b/tests/src/CoreMangLib/cti/system/stringcompare/StringComparerCtor.csproj
deleted file mode 100644 (file)
index 286c99c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="stringcomparerctor.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/stringcompare/stringcomparerctor.cs b/tests/src/CoreMangLib/cti/system/stringcompare/stringcomparerctor.cs
deleted file mode 100644 (file)
index a620ea2..0000000
+++ /dev/null
@@ -1,214 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-/// <summary>
-
-///  StringComparerActor[v-chche]
-
-/// </summary>
-#region StringComparerCtorTest
-public class StringComparerCtorTest : StringComparer
-{
-
-    public StringComparerCtorTest()
-        : base() { }
-
-    public override bool Equals(object obj)
-    {
-        return false;
-    }
-
-    public override bool Equals(string str1,string str2)
-    {
-        return false;
-    }
-    public override int GetHashCode(string str)
-    {
-        return 0;
-    }
-
-    public override int GetHashCode()
-    {
-        return 0;
-    }
-
-    public override int Compare(string x, string y)
-    {
-        return 0;
-    }
-}
-#endregion 
-
-public class StringComparerActor
-{
-
-    #region Public Methods
-
-    public bool RunTests()
-    {
-
-        bool retVal = true;
-
-
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal = PosTest1() && retVal;
-
-
-
-        //
-
-        // TODO: Add your negative test cases here
-
-        //
-
-        // TestLibrary.TestFramework.LogInformation("[Negative]");
-
-        // retVal = NegTest1() && retVal;
-
-
-
-        return retVal;
-
-    }
-
-
-
-    #region Positive Test Cases
-
-    public bool PosTest1()
-    {
-
-        bool retVal = true;
-
-
-
-        // Add your scenario description here
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Verify Class StringComparer Ctor");
-
-
-
-        try
-        {
-
-            StringComparer sc = new StringComparerCtorTest();
-            if (sc == null)
-            {
-                TestLibrary.TestFramework.LogError("001.1", " StringComparer Ctor Err.");
-                retVal = false;
-            }
-
-        }
-
-        catch (Exception e)
-        {
-
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-
-            retVal = false;
-
-        }
-
-
-
-        return retVal;
-
-    }
-
-    #endregion
-
-
-
-    #region Nagetive Test Cases
-
-    //public bool NegTest1()
-
-    //{
-
-    //    bool retVal = true;
-
-
-
-    //    TestLibrary.TestFramework.BeginScenario("NegTest1: ");
-
-
-
-    //    try
-
-    //    {
-
-    //          //
-
-    //          // Add your test logic here
-
-    //          //
-
-    //    }
-
-    //    catch (Exception e)
-
-    //    {
-
-    //        TestLibrary.TestFramework.LogError("101", "Unexpected exception: " + e);
-
-    //        TestLibrary.TestFramework.LogInformation(e.StackTrace);
-
-    //        retVal = false;
-
-    //    }
-
-
-
-    //    return retVal;
-
-    //}
-
-    #endregion
-
-    #endregion
-
-
-
-    public static int Main()
-    {
-
-        StringComparerActor test = new StringComparerActor();
-
-
-
-        TestLibrary.TestFramework.BeginTestCase("StringComparerActor");
-
-
-
-        if (test.RunTests())
-        {
-
-            TestLibrary.TestFramework.EndTestCase();
-
-            TestLibrary.TestFramework.LogInformation("PASS");
-
-            return 100;
-
-        }
-
-        else
-        {
-
-            TestLibrary.TestFramework.EndTestCase();
-
-            TestLibrary.TestFramework.LogInformation("FAIL");
-
-            return 0;
-
-        }
-
-    }
-
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventCtor.csproj b/tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventCtor.csproj
deleted file mode 100644 (file)
index 4ed56fc..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="autoreseteventctor.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventReSet.csproj b/tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventReSet.csproj
deleted file mode 100644 (file)
index 8e31773..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="autoreseteventreset.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventSet.csproj b/tests/src/CoreMangLib/cti/system/threading/autoresetevent/AutoResetEventSet.csproj
deleted file mode 100644 (file)
index 21f4afc..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="autoreseteventset.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventctor.cs b/tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventctor.cs
deleted file mode 100644 (file)
index ad00140..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using System;
-using System.Diagnostics;
-using System.Threading;
-
-public class AutoResetEventCtor
-{
-    private const int  c_MILLISECONDS_TOWAIT = 5000;   // milliseconds
-    private const long c_DELTA               = 9999999;        // ticks  (.999 seconds)
-
-    public static int Main()
-    {
-        AutoResetEventCtor test = new AutoResetEventCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("AutoResetEventCtor");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool           retVal = true;
-        AutoResetEvent are;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: AutoResetEvent.Ctor(true)");
-
-        try
-        {
-            // true means that the initial state should be signaled
-            are = new AutoResetEvent(true);
-
-            // verify that the autoreset event is signaled
-            // if it is not signaled the following call will block for ever
-            TestLibrary.TestFramework.LogInformation("Calling AutoResetEvent.WaitOne()... if the event is not signaled it will hang");
-            are.WaitOne();
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool           retVal = true;
-        AutoResetEvent are;
-        Stopwatch      sw;
-        long           elapsedTicks;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: AutoResetEvent.Ctor(false)");
-
-        try
-        {
-            // true means that the initial state should be signaled
-            are = new AutoResetEvent(false);
-
-            sw = Stopwatch.StartNew();
-
-            // verify that the autoreset event is signaled
-            // if it is not signaled the following call will block for ever
-            TestLibrary.TestFramework.LogInformation("Calling AutoResetEvent.WaitOne()... if the event is signaled it will not wait long enough");
-            are.WaitOne(c_MILLISECONDS_TOWAIT);
-
-            sw.Stop();
-            elapsedTicks = sw.Elapsed.Ticks;
-
-            if (c_DELTA < Math.Abs(elapsedTicks - (c_MILLISECONDS_TOWAIT*10000)))
-            {
-                TestLibrary.TestFramework.LogError("002", "AutoResetEvent did not wait long enough... this implies that the parameter was not respected.");
-                TestLibrary.TestFramework.LogError("002", " WaitTime=" + elapsedTicks + " (ticks)");
-                TestLibrary.TestFramework.LogError("002", " Execpted=" + (c_MILLISECONDS_TOWAIT*10000) + " (ticks)");
-                TestLibrary.TestFramework.LogError("002", " Acceptable Delta=" + c_DELTA + " (ticks)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventreset.cs b/tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventreset.cs
deleted file mode 100644 (file)
index 9a3df93..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-public class AutoResetEventReset
-{
-    private const int  c_MILLISECONDS_TOWAIT = 5000;   // milliseconds
-    private const long c_DELTA               = 9999999;        // ticks  (0.999 seconds)
-
-    public static int Main()
-    {
-        AutoResetEventReset test = new AutoResetEventReset();
-
-        TestLibrary.TestFramework.BeginTestCase("AutoResetEventReset");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool           retVal = true;
-        AutoResetEvent are;
-       long           ticksBefore;
-       long           ticksAfter;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: AutoResetEvent.Reset()");
-
-        try
-        {
-            // true means that the initial state should be signaled
-            are = new AutoResetEvent(true);
-            if (!are.Reset())
-            {
-                TestLibrary.TestFramework.LogError("001", "AutoResetEvent.Reset() failed");
-                retVal = false;
-            }
-
-            ticksBefore = DateTime.Now.Ticks;
-
-            // verify that the autoreset event is signaled
-            // if it is not signaled the following call will block for ever
-            TestLibrary.TestFramework.LogInformation("Calling AutoResetEvent.WaitOne()... if the event is signaled it will not wait long enough");
-            are.WaitOne(c_MILLISECONDS_TOWAIT);
-
-            ticksAfter = DateTime.Now.Ticks;
-
-            if (c_DELTA < Math.Abs((ticksAfter - ticksBefore) - (c_MILLISECONDS_TOWAIT*10000)))
-            {
-                TestLibrary.TestFramework.LogError("002", "AutoResetEvent did not wait long enough... this implies that the parameter was not respected.");
-                TestLibrary.TestFramework.LogError("002", " WaitTime=" + (ticksAfter-ticksBefore) + " (ticks)");
-                TestLibrary.TestFramework.LogError("002", " Execpted=" + (c_MILLISECONDS_TOWAIT*10000) + " (ticks)");
-                TestLibrary.TestFramework.LogError("002", " Acceptable Delta=" + c_DELTA + " (ticks)");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventset.cs b/tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventset.cs
deleted file mode 100644 (file)
index dea515c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-public class AutoResetEventSet
-{
-    public static int Main()
-    {
-        AutoResetEventSet test = new AutoResetEventSet();
-
-        TestLibrary.TestFramework.BeginTestCase("AutoResetEventSet");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool           retVal = true;
-        AutoResetEvent are;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: AutoResetEvent.Set()");
-
-        try
-        {
-            // false means that the initial state should be not signaled
-            are = new AutoResetEvent(false);
-
-            // set the signal
-            if (!are.Set())
-            {
-                TestLibrary.TestFramework.LogError("001", "AutoResetEvent.Set() failed");
-                retVal = false;
-            }
-
-            // verify that the autoreset event is signaled
-            // if it is not signaled the following call will block for ever
-            TestLibrary.TestFramework.LogInformation("Calling AutoResetEvent.WaitOne()... if the event is not signaled it will hang");
-            are.WaitOne();
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/threading/manualresetevent/ManualResetEventCtor.csproj b/tests/src/CoreMangLib/cti/system/threading/manualresetevent/ManualResetEventCtor.csproj
deleted file mode 100644 (file)
index 9830970..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="manualreseteventctor.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/manualresetevent/manualreseteventctor.cs b/tests/src/CoreMangLib/cti/system/threading/manualresetevent/manualreseteventctor.cs
deleted file mode 100644 (file)
index d2e3eec..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-///<summary>
-///System.Threading.ManualResetEvent.Ctor(bool) [v-zuolan]
-///</summary>
-
-public class ManualResetEventCtor
-{
-
-    public static int Main()
-    {
-        ManualResetEventCtor testObj = new ManualResetEventCtor();
-        TestLibrary.TestFramework.BeginTestCase("for constructor of System.Threading.ManualResetEvent");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("Positive");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-
-    #region Test Logic
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        ManualResetEvent expectedValue = new ManualResetEvent(true);
-        ManualResetEvent actualValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Set initialState as true and Create a instance");
-        try
-        {
-            actualValue = (ManualResetEvent)(new ManualResetEvent(true));
-            if (expectedValue.Equals(actualValue))
-            {
-                TestLibrary.TestFramework.LogError("001", "ExpectedValue(" + expectedValue + ") !=ActualValue(" + actualValue + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        ManualResetEvent expectedValue = new ManualResetEvent(false);
-        ManualResetEvent actualValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Set initialState as false and Create a instance");
-        try
-        {
-            actualValue = (ManualResetEvent)(new ManualResetEvent(false));
-            if (expectedValue.Equals(actualValue))
-            {
-                TestLibrary.TestFramework.LogError("003", "ExpectedValue(" + expectedValue + ") !=ActualValue(" + actualValue + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/threading/timeout/TimeOutInfinite.csproj b/tests/src/CoreMangLib/cti/system/threading/timeout/TimeOutInfinite.csproj
deleted file mode 100644 (file)
index 1bda517..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="timeoutinfinite.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/timeout/timeoutinfinite.cs b/tests/src/CoreMangLib/cti/system/threading/timeout/timeoutinfinite.cs
deleted file mode 100644 (file)
index 8ecc862..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-///<summary>
-///System.Threading.TimeOut.Infinite [v-zuolan]
-///</summary>
-
-public class TimeOutInfinite
-{
-
-    public static int Main()
-    {
-        TimeOutInfinite testObj = new TimeOutInfinite();
-        TestLibrary.TestFramework.BeginTestCase("for field of System.Threading.TimeOut.Infinite");
-        if (testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("Positive");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-
-
-    #region Test Logic
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        int expectedValue = -1;
-        int actualValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1:Get the property.");
-        try
-        {
-            actualValue = Timeout.Infinite;
-
-            if (expectedValue != actualValue)
-            {
-                TestLibrary.TestFramework.LogError("001", "ExpectedValue(" + expectedValue + ") !=ActualValue(" + actualValue + ")");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleCtor.csproj b/tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleCtor.csproj
deleted file mode 100644 (file)
index abf8cda..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="waithandlector.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleDispose1.csproj b/tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleDispose1.csproj
deleted file mode 100644 (file)
index f2b74dd..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="waithandledispose1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleDispose3.csproj b/tests/src/CoreMangLib/cti/system/threading/waithandle/WaitHandleDispose3.csproj
deleted file mode 100644 (file)
index d1a9a2f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="waithandledispose3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
diff --git a/tests/src/CoreMangLib/cti/system/threading/waithandle/waithandlector.cs b/tests/src/CoreMangLib/cti/system/threading/waithandle/waithandlector.cs
deleted file mode 100644 (file)
index 1fcbf1d..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-public class TestWaitHandle : WaitHandle
-{
-    public TestWaitHandle()
-        : base()
-    {
-    }
-}
-
-/// <summary>
-/// Ctor
-/// </summary>
-public class WaitHandleCtor
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Ctor to construct a new instance of WaitHandle");
-
-        try
-        {
-            TestWaitHandle handle = new TestWaitHandle();
-
-            if (handle == null)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling Ctor to construct a new instance of WaitHandle returns a null reference");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.0", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        WaitHandleCtor test = new WaitHandleCtor();
-
-        TestLibrary.TestFramework.BeginTestCase("WaitHandleCtor");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/threading/waithandle/waithandledispose1.cs b/tests/src/CoreMangLib/cti/system/threading/waithandle/waithandledispose1.cs
deleted file mode 100644 (file)
index 986188a..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-// WaitHandle is typically used as a base 
-// class for synchronization objects.  In this case,
-// we just subclass it.
-public class TestWaitHandle1 : WaitHandle
-{
-    public TestWaitHandle1()
-    {
-    }
-
-    public void DoDispose(bool explicitDisposing)
-    {
-        Dispose(explicitDisposing);
-    }
-}
-
-/// <summary>
-/// Dispose(System.Boolean)
-/// </summary>
-
-
-// Tests that we can call Dispose on a subclass
-// of WaitHandle, with explicitDisposing = true and false.
-// Dispose is called by the WaitHandle.Dispose() 
-// method and the Finalize method. Dispose() invokes this 
-// protected method with the explicitDisposing parameter set to 
-// true (Dispose both managed and unmanaged resources). 
-// Finalize invokes Dispose with explicitDisposing set to false 
-// (Dispose only unmanaged resources).
-public class WaitHandleDispose1
-{
-    #region Public Constants
-    public const int c_DEFAULT_WAIT_TIME = 1000; // 1 second
-    #endregion
-    
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = false;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Dispose with explicitDisposing set to true");
-
-        try
-        {
-            // Create a WaitHandle-derived object
-            TestWaitHandle1 handle = new TestWaitHandle1();
-
-            // Dispose both managed and 
-            // unmanaged resources (DoDispose just calls
-            // Dispose)
-            handle.DoDispose(true);
-
-            // Do a waitone on the handle, should immediately throw
-            // ObjectDisposedException
-            handle.WaitOne(c_DEFAULT_WAIT_TIME);
-
-            // if we get here, it wasn't disposed of, error
-            TestLibrary.TestFramework.LogError("001", "handle.Dispose(true) did not dispose of the handle");
-            retVal = false;
-        }
-        catch (ObjectDisposedException)
-        {
-            // swallow it, this is where we wanted to go
-            retVal = true;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = false;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call Dispose with explicitDisposing set to false");
-
-        try
-        {
-            TestWaitHandle1 handle = new TestWaitHandle1();
-
-            // Dispose only unmanaged resources.
-            // (DoDispose just calls Dispose)
-            handle.DoDispose(false);
-
-            // Do a waitone on the handle, should get ObjectDisposedException
-            handle.WaitOne(c_DEFAULT_WAIT_TIME);
-
-            // if we get here, it wasn't disposed of, error
-            TestLibrary.TestFramework.LogError("003", "handle.Dispose(false) did not dispose of the handle");
-            retVal = false;
-        }
-        catch (ObjectDisposedException)
-        {
-            // swallow it, this is where we wanted to go
-            retVal = true;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        WaitHandleDispose1 test = new WaitHandleDispose1();
-
-        TestLibrary.TestFramework.BeginTestCase("WaitHandleDispose1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/threading/waithandle/waithandledispose3.cs b/tests/src/CoreMangLib/cti/system/threading/waithandle/waithandledispose3.cs
deleted file mode 100644 (file)
index 40dc102..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-/// <summary>
-/// System.IDisposable.Dispose
-/// </summary>
-
-// Tests disposing of a WaitHandle-derived type
-// via the IDisposable interface.
-// This test has been made to work for Silverlight
-// by using AutoResetEvent instead of Mutex
-public class WaitHandleDispose3
-{
-    #region Public Constants
-    public const int c_DEFAULT_WAIT_TIME = 1000; // 1 second
-    #endregion
-    
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    // no need for security attributes
-    // [System.Security.SecuritySafeCritical]
-    // [System.Security.SecurityCritical]
-    public bool PosTest1()
-    {
-        bool retVal = false;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Dispose");
-
-        try
-        {
-            // AutoResetEvent derives from WaitHandle, 
-            // and normally you don't create a WaitHandle
-            // was: WaitHandle handle = new Mutex();
-            // create unsignaled
-            WaitHandle handle = new AutoResetEvent(false);
-
-            // cast to IDisposable, because waithandle does not implement .dispose
-             IDisposable disposable = handle as IDisposable;
-             disposable.Dispose();
-
-            
-            // Do a waitone on the handle, should immediately throw
-            // ObjectDisposedException
-            handle.WaitOne(c_DEFAULT_WAIT_TIME);
-
-            // if we get here, it wasn't disposed of, error
-            TestLibrary.TestFramework.LogError("001", "handle.Dispose() did not dispose of the handle");
-            retVal = false;
-        }
-        catch (ObjectDisposedException)
-        {
-            // swallow it, this is where we wanted to go
-            retVal = true;
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    // should be no need for security attributes
-    // [System.Security.SecurityCritical]
-    public static int Main()
-    {
-        WaitHandleDispose3 test = new WaitHandleDispose3();
-
-        TestLibrary.TestFramework.BeginTestCase("WaitHandleDispose3");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16CompareTo1.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16CompareTo1.csproj
deleted file mode 100644 (file)
index 97787a1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16compareto1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16Equals1.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16Equals1.csproj
deleted file mode 100644 (file)
index ccadd13..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16equals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16Equals2.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16Equals2.csproj
deleted file mode 100644 (file)
index 13c6972..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16equals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index d2e9d1b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToByte.csproj
deleted file mode 100644 (file)
index 1886a31..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToChar.csproj
deleted file mode 100644 (file)
index 1da1d18..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index a1898f0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 6c7ad3a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToDouble.csproj
deleted file mode 100644 (file)
index 9da2a25..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt16.csproj
deleted file mode 100644 (file)
index afe9785..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 8a9a522..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 3dfdcb2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToSByte.csproj
deleted file mode 100644 (file)
index 03a9e31..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToSingle.csproj
deleted file mode 100644 (file)
index 839b793..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToType.csproj
deleted file mode 100644 (file)
index de9246f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index 5da0ec7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index bba7142..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16IConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 17cf9e7..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16iconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16ToString3.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16ToString3.csproj
deleted file mode 100644 (file)
index d196e93..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16tostring3.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/UInt16ToString4.csproj b/tests/src/CoreMangLib/cti/system/uint16/UInt16ToString4.csproj
deleted file mode 100644 (file)
index 42b361d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint16tostring4.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16compareto1.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16compareto1.cs
deleted file mode 100644 (file)
index dc8b594..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.CompareTo(System.UInt16)
-/// </summary>
-public class UInt16CompareTo
-{
-    public static int Main()
-    {
-        UInt16CompareTo ui32ct2 = new UInt16CompareTo();
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.CompareTo(UInt16)");
-
-        if (ui32ct2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: UInt16 value is larger than the instance");
-        try
-        {
-            UInt16 uintA = 0;
-            UInt16 comValue = (UInt16)this.GetInt32(1, UInt16.MaxValue);
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: UInt16 value is less than the instance");
-        try
-        {
-            UInt16 uintA = 0xffff;
-            UInt16 comValue = (UInt16)this.GetInt32(0, UInt16.MaxValue);
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: UInt16 value is equal the instance");
-        try
-        {
-            UInt16 uintA = 0xffff;
-            UInt16 comValue = UInt16.MaxValue;
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: UInt16 value is UInt16 min value");
-        try
-        {
-            UInt32 uintA = 0xffff;
-            UInt32 comValue = UInt16.MinValue;
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16equals1.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16equals1.cs
deleted file mode 100644 (file)
index 7e0ad00..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.Equals(System.Object)
-/// </summary>
-public class UInt16Equals
-{
-    public static int Main()
-    {
-        UInt16Equals ui32e1 = new UInt16Equals();
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.Equals(Object)");
-
-        if (ui32e1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: object value is null");
-        try
-        {
-            UInt16 uintA = (UInt16)this.GetInt32(0, UInt16.MaxValue);
-            object comValue = null;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: object value is declaring class");
-        try
-        {
-            UInt16 uintA = (UInt16)this.GetInt32(0, UInt16.MaxValue);
-            object comValue = new MyTest();
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: object value is the instance value but the types are different");
-        try
-        {
-            Int16 comValue = TestLibrary.Generator.GetInt16(-55);
-            UInt16 uintA = (UInt16)comValue;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: object and the instance have the same type and the same value 1");
-        try
-        {
-            UInt16 uintA = 0xffff;
-            UInt16 comValue = UInt16.MaxValue;
-            ActualResult = uintA.Equals(comValue);
-            if (!ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: object and the instance have the same type and the same value 2");
-        try
-        {
-            UInt16 uintA = 0;
-            UInt16 comValue = UInt16.MinValue;
-            ActualResult = uintA.Equals(comValue);
-            if (!ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    public class MyTest { }
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16equals2.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16equals2.cs
deleted file mode 100644 (file)
index 6f9664a..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.Equals(System.UInt16)
-/// </summary>
-public class UInt16Equals
-{
-    public static int Main(string[] args)
-    {
-        UInt16Equals ui32e2 = new UInt16Equals();
-        TestLibrary.TestFramework.BeginTestCase("UInt16.Equals(UInt16)");
-
-        if (ui32e2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: UInt16 value is zero");
-        try
-        {
-            UInt16 uintA = (UInt16)this.GetInt32(1, UInt16.MaxValue);
-            UInt16 comValue = 0;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: UInt32 value is different from the instance 1");
-        try
-        {
-            UInt16 intA = (UInt16)this.GetInt32(0, UInt16.MaxValue - 1);
-            UInt16 uintA = (UInt16)intA;
-            UInt16 comValue = (UInt16)(intA + 1);
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: UInt32 value is different from the instance 2");
-        try
-        {
-            UInt16 intA = (UInt16)this.GetInt32(0, UInt16.MaxValue);
-            UInt16 uintA = (UInt16)(intA + 1);
-            UInt16 comValue = (UInt16)intA;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: UInt32 value is equal the instance ");
-        try
-        {
-            UInt16 uintA = 0xffff;
-            UInt16 comValue = UInt16.MaxValue;
-            ActualResult = uintA.Equals(comValue);
-            if (!ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoboolean.cs
deleted file mode 100644 (file)
index 484cd7c..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToBoolean(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToBoolean
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToBoolean testObj = new UInt16IConvertibleToBoolean();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToBoolean(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        bool expectedValue;
-        bool actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToBoolean(null);
-            expectedValue = 0 != uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The boolean value of " + uintA + " is not the value " + expectedValue + 
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        bool expectedValue;
-        bool actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToBoolean(null);
-            expectedValue = 0 != uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The boolean value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        bool expectedValue;
-        bool actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToBoolean(null);
-            expectedValue = 0 != uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The boolean value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletobyte.cs
deleted file mode 100644 (file)
index a5bf1b0..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToByte(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToByte
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToByte testObj = new UInt16IConvertibleToByte();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToByte(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Byte expectedValue;
-        Byte actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (Byte.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and Byte.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToByte(null);
-            expectedValue = (byte)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The byte value of " + uintA + " is not the value " + expectedValue + 
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Byte expectedValue;
-        Byte actualValue;
-        IConvertible convert;
-
-        uintA = byte.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: value is Byte.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-            actualValue = convert.ToByte(null);
-            expectedValue = (byte)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The byte value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Byte expectedValue;
-        Byte actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-            actualValue = convert.ToByte(null);
-            expectedValue = (byte)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The byte value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-
-    //OverflowException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: value is greater than Byte.MaxValue";
-        string errorDesc;
-
-        UInt16 uintA;
-        IConvertible convert;
-
-        uintA = byte.MaxValue + 1;
-        convert = (IConvertible)uintA;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            convert.ToByte(null);
-            errorDesc = "OverflowException is not thrown as expected.";
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletochar.cs
deleted file mode 100644 (file)
index f58fd26..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToChar(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToChar
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToChar testObj = new UInt16IConvertibleToChar();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToChar(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        char expectedValue;
-        char actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToChar(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        char expectedValue;
-        char actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToChar(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        char expectedValue;
-        char actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToChar(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodatetime.cs
deleted file mode 100644 (file)
index ee5687f..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToDateTime(IFormatProvider)
-/// Note   This conversion is not supported. Attempting to do so throws an InvalidCastException. 
-/// </summary>
-public class UInt16IConvertibleToDateTime
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToDateTime testObj = new UInt16IConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToDateTime(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Negative tests
-    //InvalidCastException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: Random character";
-        string errorDesc;
-
-        UInt16 i = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        IConvertible convert;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            convert = (IConvertible)i;
-            convert.ToDateTime(null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe UInt16 value is {0}", i);
-            TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is {0}", i);
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodecimal.cs
deleted file mode 100644 (file)
index 1300be4..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToDecimal(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToDecimal
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToDecimal testObj = new UInt16IConvertibleToDecimal();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToDecimal(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        decimal expectedValue;
-        decimal actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToDecimal(null);
-            expectedValue = (decimal)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        decimal expectedValue;
-        decimal actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToDecimal(null);
-            expectedValue = (decimal)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        decimal expectedValue;
-        decimal actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (decimal)uintA;
-
-            actualValue = convert.ToDecimal(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletodouble.cs
deleted file mode 100644 (file)
index c98d2cb..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToDouble(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToDouble
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToDouble testObj = new UInt16IConvertibleToDouble();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToDouble(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Double expectedValue;
-        Double actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToDouble(null);
-            expectedValue = (Double)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Double expectedValue;
-        Double actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToDouble(null);
-            expectedValue = (Double)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Double expectedValue;
-        Double actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (Double)uintA;
-
-            actualValue = convert.ToDouble(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint16.cs
deleted file mode 100644 (file)
index 5160f77..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToInt16(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToInt16
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToInt16 testObj = new UInt16IConvertibleToInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToInt16(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int16 expectedValue;
-        Int16 actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (Int16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and Byte.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToInt16(null);
-            expectedValue = (Int16)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The Int16 value of " + uintA + " is not the value " + expectedValue + 
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int16 expectedValue;
-        Int16 actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)Int16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: value is Int16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-            actualValue = convert.ToInt16(null);
-            expectedValue = (Int16)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The Int16 value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int16 expectedValue;
-        Int16 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-            actualValue = convert.ToInt16(null);
-            expectedValue = (Int16)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The Int16 value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-
-    //OverflowException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: value is greater than Int16.MaxValue";
-        string errorDesc;
-
-        UInt16 uintA;
-        IConvertible convert;
-
-        uintA = Int16.MaxValue + 1;
-        convert = (IConvertible)uintA;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            convert.ToInt16(null);
-            errorDesc = "OverflowException is not thrown as expected.";
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint32.cs
deleted file mode 100644 (file)
index 8a133a8..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToInt32(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToInt32
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToInt32 testObj = new UInt16IConvertibleToInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToInt32(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int32 expectedValue;
-        Int32 actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToInt32(null);
-            expectedValue = (Int32)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int32 expectedValue;
-        Int32 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToInt32(null);
-            expectedValue = (Int32)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int32 expectedValue;
-        Int32 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (Int32)uintA;
-
-            actualValue = convert.ToInt32(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletoint64.cs
deleted file mode 100644 (file)
index 83131c3..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToInt64(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToInt64
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToInt64 testObj = new UInt16IConvertibleToInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToInt64(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int64 expectedValue;
-        Int64 actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToInt64(null);
-            expectedValue = (Int64)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int64 expectedValue;
-        Int64 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToInt64(null);
-            expectedValue = (Int64)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Int64 expectedValue;
-        Int64 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (Int64)uintA;
-
-            actualValue = convert.ToInt64(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletosbyte.cs
deleted file mode 100644 (file)
index 96a3f61..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToSByte(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToSByte
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToSByte testObj = new UInt16IConvertibleToSByte();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToSByte(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        SByte expectedValue;
-        SByte actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (SByte.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and SByte.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToSByte(null);
-            expectedValue = (SByte)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The SByte value of " + uintA + " is not the value " + expectedValue + 
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        SByte expectedValue;
-        SByte actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)SByte.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: value is SByte.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-            actualValue = convert.ToSByte(null);
-            expectedValue = (SByte)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The SByte value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        SByte expectedValue;
-        SByte actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-            actualValue = convert.ToSByte(null);
-            expectedValue = (SByte)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = "The SByte value of " + uintA + " is not the value " + expectedValue +
-                                 " as expected: actual(" + actualValue + ")";
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-
-    //OverflowException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: value is greater than SByte.MaxValue";
-        string errorDesc;
-
-        UInt16 uintA;
-        IConvertible convert;
-
-        uintA = SByte.MaxValue + 1;
-        convert = (IConvertible)uintA;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            convert.ToSByte(null);
-            errorDesc = "OverflowException is not thrown as expected.";
-            TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletosingle.cs
deleted file mode 100644 (file)
index 55a4924..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToSingle(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToSingle
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToSingle testObj = new UInt16IConvertibleToSingle();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToSingle(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Single expectedValue;
-        Single actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToSingle(null);
-            expectedValue = (Single)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Single expectedValue;
-        Single actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToSingle(null);
-            expectedValue = (Single)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        Single expectedValue;
-        Single actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (Single)uintA;
-
-            actualValue = convert.ToSingle(null);
-            expectedValue = (char)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletotype.cs
deleted file mode 100644 (file)
index 530b60e..0000000
+++ /dev/null
@@ -1,626 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToType(Type, IFormatProvider)
-/// Converts the current UInt16 value to an object of the specified type using 
-/// the specified IFormatProvider object. 
-/// </summary>
-public class UInt16IConvertibleToType
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToType testObj = new UInt16IConvertibleToType();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToType(Type, IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        retVal = PosTest9() && retVal;
-        retVal = PosTest10() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        retVal = NegTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P001";
-        const string c_TEST_DESC = "PosTest1: Conversion to byte";
-        string errorDesc;
-
-        byte b;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        b = TestLibrary.Generator.GetByte(-55);
-        uintA = (UInt16)b;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = b;
-            actualObj = converter.ToType(typeof(byte), numberFormat);
-            
-            if (((byte)expectedObj != (byte)actualObj) || !(actualObj is byte))
-            {
-                errorDesc = string.Format("Byte value of UInt16 {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("002" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P002";
-        const string c_TEST_DESC = "PosTest2: Conversion to sbyte";
-        string errorDesc;
-
-        sbyte sb;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        sb = (sbyte)(TestLibrary.Generator.GetByte(-55) % (sbyte.MaxValue + 1));
-        uintA = (UInt16)sb;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = sb;
-            actualObj = converter.ToType(typeof(sbyte), numberFormat);
-
-            if (((sbyte)expectedObj != (sbyte)actualObj) || !(actualObj is sbyte))
-            {
-                errorDesc = string.Format("SByte value of character {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("003" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("004" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P003";
-        const string c_TEST_DESC = "PosTest3: Conversion to Int16";
-        string errorDesc;
-
-        Int16 i;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        i = (Int16)(TestLibrary.Generator.GetInt32(-55) % (Int16.MaxValue + 1));
-        uintA = (UInt16)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(Int16), numberFormat);
-
-            if (((Int16)expectedObj != (Int16)actualObj) || !(actualObj is Int16))
-            {
-                errorDesc = string.Format("Int16 value of character {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("005" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("006" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P004";
-        const string c_TEST_DESC = "PosTest4: Conversion to UInt16";
-        string errorDesc;
-
-        UInt16 i;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        i = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        uintA = (UInt16)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(UInt16), numberFormat);
-
-            if (((UInt16)expectedObj != (UInt16)actualObj) || !(actualObj is UInt16))
-            {
-                errorDesc = string.Format("UInt16 value of character {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("007" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("008" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P005";
-        const string c_TEST_DESC = "PosTest5: Conversion to Int32";
-        string errorDesc;
-
-        int i;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        i = TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1);
-        uintA = (UInt16)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(int), numberFormat);
-
-            if (((int)expectedObj != (int)actualObj) || !(actualObj is int))
-            {
-                errorDesc = string.Format("Int32 value of character {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("009" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("010" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P006";
-        const string c_TEST_DESC = "PosTest6: Conversion to UInt32";
-        string errorDesc;
-
-        UInt32 i;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        i = (UInt32)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        uintA = (UInt16)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(UInt32), numberFormat);
-
-            if (((UInt32)expectedObj != (UInt32)actualObj) || !(actualObj is UInt32))
-            {
-                errorDesc = string.Format("UInt32 value of character {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("011" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("012" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P007";
-        const string c_TEST_DESC = "PosTest7: Conversion to Int64";
-        string errorDesc;
-
-        Int64 i;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        i = TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1);
-        uintA = (UInt16)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(Int64), numberFormat);
-
-            if (((Int64)expectedObj != (Int64)actualObj) || !(actualObj is Int64))
-            {
-                errorDesc = string.Format("Int64 value of character {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("013" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("014" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P008";
-        const string c_TEST_DESC = "PosTest8: Conversion to UInt64";
-        string errorDesc;
-
-        UInt64 i;
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        i = (UInt64)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-        uintA = (UInt16)i;
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            NumberFormatInfo numberFormat = new NumberFormatInfo();
-            IFormatProvider provider = numberFormat;
-            IConvertible converter = uintA;
-
-            expectedObj = i;
-            actualObj = converter.ToType(typeof(UInt64), numberFormat);
-
-            if (((UInt64)expectedObj != (UInt64)actualObj) || !(actualObj is UInt64))
-            {
-                errorDesc = string.Format("UInt64 value of character {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("015" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("016" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest9()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P009";
-        const string c_TEST_DESC = "PosTest9: Conversion to char";
-        string errorDesc;
-
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        uintA = (UInt16)TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = uintA;
-
-            expectedObj = (char)uintA;
-            actualObj = converter.ToType(typeof(char), null);
-
-            if (((char)expectedObj != (char)actualObj) || !(actualObj is char))
-            {
-                errorDesc = string.Format("char value of UInt16 {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("017" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("018" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest10()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "P010";
-        const string c_TEST_DESC = "PosTest10: Conversion to string";
-        string errorDesc;
-
-        object expectedObj;
-        object actualObj;
-        UInt16 uintA;
-        uintA = (UInt16)TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = uintA;
-            expectedObj = uintA.ToString();
-            actualObj = converter.ToType(typeof(string), null);
-
-            if (((string)expectedObj != (string)actualObj) || !(actualObj is string))
-            {
-                errorDesc = string.Format("string value of UInt16 {0} is not ", uintA);
-                errorDesc += expectedObj + " as expected: Actual(" + actualObj + ")";
-                TestLibrary.TestFramework.LogError("019" + " TestId-" + c_TEST_ID, errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            TestLibrary.TestFramework.LogError("020" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //bug
-    //ArgumentNullException
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: type is a null reference (Nothing in Visual Basic).";
-        string errorDesc;
-
-        UInt16 uintA = (UInt16)TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(c_TEST_DESC);
-        try
-        {
-            IConvertible converter = uintA;
-            converter.ToType(null, null);
-
-            errorDesc = "ArgumentNullException is not thrown as expected.";
-            errorDesc +=  string.Format("\nThe UInt16 value is {0}", uintA);
-            TestLibrary.TestFramework.LogError("021" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-
-        }
-        catch (ArgumentNullException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe UInt16 value is {0}", uintA);
-            TestLibrary.TestFramework.LogError("022" + " TestId-" + c_TEST_ID, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    //bug
-    //InvalidCastException
-    public bool NegTest2()
-    {
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: type is DateTime";
-
-        return this.DoInvalidCastTest(c_TEST_ID, c_TEST_DESC, "023", "024", typeof(DateTime));
-    }
-
-    //bug
-    //OverflowException
-    public bool NegTest3()
-    {
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: Value is too large for destination type -- Int16";
-        return this.DoOverflowTest(c_TEST_ID, c_TEST_DESC, "025", typeof(Int16), Int16.MaxValue);
-    }
-
-    public bool NegTest4()
-    {
-        const string c_TEST_ID = "N004";
-        const string c_TEST_DESC = "NegTest4: Value is too large for destination type -- byte";
-
-        return this.DoOverflowTest(c_TEST_ID, c_TEST_DESC, "026", typeof(byte), byte.MaxValue);
-    }
-
-    public bool NegTest5()
-    {
-        const string c_TEST_ID = "N005";
-        const string c_TEST_DESC = "NegTest5: Value is too large for destination type -- sbyte";
-
-        return this.DoOverflowTest(c_TEST_ID, c_TEST_DESC, "027", typeof(sbyte), sbyte.MaxValue);
-    }
-    #endregion
-
-    #region Helper methods for negative tests
-    private bool DoInvalidCastTest(string testId,
-                                                string testDesc,
-                                                string errorNum1,
-                                                string errorNum2,
-                                                Type destType)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA = (UInt16)TestLibrary.Generator.GetChar(-55);
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            IConvertible converter = uintA;
-            converter.ToType(destType, null);
-
-            errorDesc = "InvalidCastException is not thrown as expected.";
-            errorDesc += string.Format("\nThe UInt16 value is {0}", uintA);
-            TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-        catch (InvalidCastException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe character is {0}", uintA);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    private bool DoOverflowTest(string testId,
-                                            string testDesc,
-                                            string errorNum,
-                                            Type destType,
-                                            int destTypeMaxValue)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        int i;
-        UInt16 uintA;
-        i = Int16.MaxValue + 1 +
-             TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue - destTypeMaxValue);
-        uintA = (UInt16)i;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            IConvertible converter = uintA;
-            converter.ToType(destType, null);
-        }
-        catch (OverflowException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc += string.Format("\nThe UInt16 value is {0}", uintA);
-            TestLibrary.TestFramework.LogError(errorNum + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint16.cs
deleted file mode 100644 (file)
index 4885e37..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToUInt16(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToUInt16
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToUInt16 testObj = new UInt16IConvertibleToUInt16();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToUInt16(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt16 expectedValue;
-        UInt16 actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt16(null);
-            expectedValue = uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt16 expectedValue;
-        UInt16 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt16(null);
-            expectedValue = uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt16 expectedValue;
-        UInt16 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt16(null);
-            expectedValue = (UInt16)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint32.cs
deleted file mode 100644 (file)
index ae9bf35..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToUInt32(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToUInt32
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToUInt32 testObj = new UInt16IConvertibleToUInt32();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToUInt32(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt32 expectedValue;
-        UInt32 actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt32(null);
-            expectedValue = (UInt32)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt32 expectedValue;
-        UInt32 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt32(null);
-            expectedValue = (UInt32)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt32 expectedValue;
-        UInt32 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt32(null);
-            expectedValue = (UInt32)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16iconvertibletouint64.cs
deleted file mode 100644 (file)
index 8169cc2..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToUInt64(IFormatPrvoider)
-/// </summary>
-public class UInt16IConvertibleToUInt64
-{
-    public static int Main()
-    {
-        UInt16IConvertibleToUInt64 testObj = new UInt16IConvertibleToUInt64();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.IConvertible.ToUInt64(IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive tests
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt64 expectedValue;
-        UInt64 actualValue;
-        IConvertible convert;
-
-        uintA = (UInt16)(TestLibrary.Generator.GetInt32(-55) % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Random UInt16 value between 0 and UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt64(null);
-            expectedValue = (UInt64)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc = 
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})", 
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt64 expectedValue;
-        UInt64 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MaxValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Value is UInt16.MaxValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt64(null);
-            expectedValue = (UInt64)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("003", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("004", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA;
-        UInt64 expectedValue;
-        UInt64 actualValue;
-        IConvertible convert;
-
-        uintA = UInt16.MinValue;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Value is UInt16.MinValue.");
-        try
-        {
-            convert = (IConvertible)uintA;
-
-            actualValue = convert.ToUInt64(null);
-            expectedValue = (UInt64)uintA;
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The char value of {0} is not the value \\u{1:x} as expected: actual(\\u{2:x})",
-                    uintA, (int)expectedValue, (int)actualValue);
-                TestLibrary.TestFramework.LogError("005", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            TestLibrary.TestFramework.LogError("006", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16tostring3.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16tostring3.cs
deleted file mode 100644 (file)
index fca5e5c..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization; //for NumberFormatInfo
-using TestLibrary;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToString(string)
-/// Converts the numeric value of this instance to its equivalent string representation 
-/// using the specified format. 
-/// </summary>
-public class UInt16ToString
-{
-    public static int Main()
-    {
-        UInt16ToString testObj = new UInt16ToString();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.ToString(string)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        
-        retVal &= DoPosTest("PosTest1: Value is UInt16.MinValue, format is hexadecimal \"X\".", "PostTest1", UInt16.MinValue, "X", "0");
-        retVal &= DoPosTest("PosTest2: Value is UInt16 integer, format is hexadecimal \"X\".", "PostTest2", 8542, "X", "215E");
-        retVal &= DoPosTest("PosTest3: Value is UInt16.MaxValue, format is hexadecimal \"X\".", "PostTest3", UInt16.MaxValue, "X", "FFFF");
-
-        TestLibrary.Utilities.CurrentCulture = CustomCulture;
-        retVal &= DoPosTest("PosTest4: Value is UInt16.MinValue, format is hexadecimal \"X\".", "PosTest4", UInt16.MinValue, "X", "0");
-        
-        retVal &= DoPosTest("PosTest5: Value is UInt16 integer,  format is general \"G\".", "PosTest5", 5641, "G", "5641");
-        retVal &= DoPosTest("PosTest6: Value is UInt16.MaxValue, format is general \"G\".", "PosTest6", UInt16.MaxValue, "G", "65535");
-
-        retVal &= DoPosTest("PosTest7: Value is UInt16 integer, format is currency \"C\".", "PosTest7", 8423, "C", "84.23,000USD");
-        retVal &= DoPosTest("PosTest8: Value is UInt16.MaxValue, format is currency \"C\".", "PosTes8", UInt16.MaxValue, "C", "6.55.35,000USD");
-        retVal &= DoPosTest("PosTest9: Value is UInt16.MinValue, format is currency \"C\".", "PosTes9", UInt16.MinValue, "C", "0,000USD");
-
-        retVal &= DoPosTest("PosTest10: Value is UInt16 integer, format is decimal \"D\".", "PosTest10", 2351, "D", "2351");
-        retVal &= DoPosTest("PosTest11: Value is UInt16.MaxValue integer, format is decimal \"D\".", "PosTest11", UInt16.MaxValue, "D", "65535");
-        retVal &= DoPosTest("PosTest12: Value is UInt16.MinValue integer, format is decimal \"D\".", "PosTest12", UInt16.MinValue, "D", "0");
-
-        retVal &= DoPosTest("PosTest13: Value is UInt16 integer, format is decimal \"E\".", "PosTest13", 2351, "E", "2,351000E++003");
-        retVal &= DoPosTest("PosTest14: Value is UInt16.MaxValue integer, format is decimal \"E\".", "PosTest14", UInt16.MaxValue, "E", "6,553500E++004");
-        retVal &= DoPosTest("PosTest15: Value is UInt16.MinValue integer, format is decimal \"E\".", "PosTest15", UInt16.MinValue, "E", "0,000000E++000");
-
-        retVal &= DoPosTest("PosTest16: Value is UInt16 integer, format is decimal \"F\".", "PosTest16", 2341, "F", "2341,000");
-
-        retVal &= DoPosTest("PosTest17: Value is UInt16 integer, format is decimal \"P\".", "PosTest17", 2341, "P", "234,100,0000~");
-
-        retVal &= DoPosTest("PosTest18: Value is UInt16 integer, format is decimal \"N\".", "PosTest18", 2341, "N", "23#41,000");
-
-        retVal &= DoPosTest("PosTest19: Value is UInt16 integer, format is decimal \"N\".", "PosTest19", 2341, null, "2341");
-        
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-    #endregion
-    #region Helper method for tests
-    public bool DoPosTest(string testDesc, string id, UInt16 uintA, string format, string expectedValue)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        string actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            actualValue = uintA.ToString(format);
-        
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The string representation of {0} is not the value {1} as expected: actual({2})",
-                    uintA, expectedValue, actualValue);
-                errorDesc += "\nThe format info is \"" + format + "\" specified.";
-                TestLibrary.TestFramework.LogError(id + "_001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            errorDesc += "\nThe UInt16 integer is " + uintA + 
-                               ", format info is \"" + format + "\" speicifed.";
-            TestLibrary.TestFramework.LogError(id + "_002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region Negative tests
-    //FormatException
-    public bool NegTest1()
-    {
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: The format parameter is invalid -- \"R\". ";
-
-        return this.DoInvalidFormatTest(c_TEST_ID, c_TEST_DESC, "39", "40", "R");
-    }
-
-    public bool NegTest2()
-    {
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: The format parameter is invalid -- \"r\". ";
-
-        return this.DoInvalidFormatTest(c_TEST_ID, c_TEST_DESC, "41", "42", "r");
-    }
-
-    public bool NegTest3()
-    {
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: The format parameter is invalid -- \"z\". ";
-
-        return this.DoInvalidFormatTest(c_TEST_ID, c_TEST_DESC, "43", "44", "z");
-    }
-    #endregion
-
-    #region Private Methods
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NegativeSign = "@";                 //Default: "-"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-                nfi.PositiveSign = "++";                //Default: "+"
-
-                //For "E"
-                // PositiveSign, NegativeSign, and NumberDecimalSeparator. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-
-                //For "R"
-                // NegativeSign, NumberDecimalSeparator and PositiveSign
-
-                //For "X", The result string isn't affected by the formatting information of the current NumberFormatInfo
-
-                //For "C"
-                // CurrencyPositivePattern, CurrencySymbol, CurrencyDecimalDigits, CurrencyDecimalSeparator, CurrencyGroupSeparator, CurrencyGroupSizes, NegativeSign and CurrencyNegativePattern
-                nfi.CurrencyDecimalDigits = 3;          //Default: 2
-                nfi.CurrencyDecimalSeparator = ",";     //Default: ","
-                nfi.CurrencyGroupSeparator = ".";       //Default: "."
-                nfi.CurrencyGroupSizes = new int[] { 2 };  //Default: new int[]{3}
-                nfi.CurrencyNegativePattern = 2;        //Default: 0
-                nfi.CurrencyPositivePattern = 1;        //Default: 0
-                nfi.CurrencySymbol = "USD";             //Default: "$" 
-
-                //For "D"
-                // NegativeSign
-
-                //For "E"
-                // PositiveSign, NumberDecimalSeparator and NegativeSign. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-
-                //For "F"
-                // NumberDecimalDigits, and NumberDecimalSeparator and NegativeSign.
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-
-                //For "N"
-                // NumberGroupSizes, NumberGroupSeparator, NumberDecimalSeparator, NumberDecimalDigits, NumberNegativePattern and NegativeSign.
-                nfi.NumberGroupSizes = new int[] { 2 }; //Default: 3
-                nfi.NumberGroupSeparator = "#";         //Default: ","
-
-                //For "P"
-                // PercentPositivePattern, PercentNegativePattern, NegativeSign, PercentSymbol, PercentDecimalDigits, PercentDecimalSeparator, PercentGroupSeparator and PercentGroupSizes 
-                nfi.PercentPositivePattern = 1;         //Default: 0
-                nfi.PercentNegativePattern = 2;         //Default: 0
-                nfi.PercentSymbol = "~";                //Default: "%"
-                nfi.PercentDecimalDigits = 4;           //Default: 2
-                nfi.PercentDecimalSeparator = ",";      //Default: "."
-                nfi.PercentGroupSizes[0] = 2;           //Default: 3
-                nfi.PercentGroupSeparator = ",";
-
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-    #endregion
-
-    #region Helper methods for negative tests
-    public bool DoInvalidFormatTest(string testId,
-                                                  string testDesc,
-                                                  string errorNum1,
-                                                  string errorNum2,
-                                                  string format)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        UInt16 uintA = (UInt16)(TestLibrary.Generator.GetInt32() % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            uintA.ToString(format);
-            errorDesc = "FormatException is not thrown as expected.";
-            errorDesc = string.Format("\nUInt16 value is {0}, format is {1}.", uintA, format);
-            TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc = string.Format("\nUInt16 value is {0}, format is {1}.", uintA, format);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint16/uint16tostring4.cs b/tests/src/CoreMangLib/cti/system/uint16/uint16tostring4.cs
deleted file mode 100644 (file)
index 2a2a2c0..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization; //for NumberFormatInfo
-using TestLibrary;
-
-/// <summary>
-/// UInt16.System.IConvertible.ToString(string, IFormatProvider)
-/// Converts the numeric value of this instance to its equivalent string representation 
-/// using the specified format and culture-specific format information. 
-/// </summary>
-public class UInt16ToString
-{
-    public static int Main()
-    {
-        UInt16ToString testObj = new UInt16ToString();
-
-        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.System.ToString(string, IFormatProvider)");
-        if(testObj.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-
-        retVal &= DoPosTest("PosTest1: Value is UInt16.MinValue, format is hexadecimal \"X\".", "PostTest1", UInt16.MinValue, "X", "0", CurrentNFI);
-        retVal &= DoPosTest("PosTest2: Value is UInt16 integer, format is hexadecimal \"X\".", "PostTest2", 8542, "X", "215E", CurrentNFI);
-        retVal &= DoPosTest("PosTest3: Value is UInt16.MaxValue, format is hexadecimal \"X\".", "PostTest3", UInt16.MaxValue, "X", "FFFF", CurrentNFI);
-        retVal &= DoPosTest("PosTest4: Value is UInt16.MinValue, format is hexadecimal \"X\".", "PosTest4", UInt16.MinValue, "X", "0", CustomNFI);
-
-        retVal &= DoPosTest("PosTest5: Value is UInt16 integer,  format is general \"G\".", "PosTest5", 5641, "G", "5641", CustomNFI);
-        retVal &= DoPosTest("PosTest6: Value is UInt16.MaxValue, format is general \"G\".", "PosTest6", UInt16.MaxValue, "G", "65535", CustomNFI);
-
-        retVal &= DoPosTest("PosTest7: Value is UInt16 integer, format is currency \"C\".", "PosTest7", 8423, "C", "84.23,000USD", CustomNFI);
-        retVal &= DoPosTest("PosTest8: Value is UInt16.MaxValue, format is currency \"C\".", "PosTes8", UInt16.MaxValue, "C", "6.55.35,000USD", CustomNFI);
-        retVal &= DoPosTest("PosTest9: Value is UInt16.MinValue, format is currency \"C\".", "PosTes9", UInt16.MinValue, "C", "0,000USD", CustomNFI);
-
-        retVal &= DoPosTest("PosTest10: Value is UInt16 integer, format is decimal \"D\".", "PosTest10", 2351, "D", "2351", CustomNFI);
-        retVal &= DoPosTest("PosTest11: Value is UInt16.MaxValue integer, format is decimal \"D\".", "PosTest11", UInt16.MaxValue, "D", "65535", CustomNFI);
-        retVal &= DoPosTest("PosTest12: Value is UInt16.MinValue integer, format is decimal \"D\".", "PosTest12", UInt16.MinValue, "D", "0", CustomNFI);
-
-        retVal &= DoPosTest("PosTest13: Value is UInt16 integer, format is decimal \"E\".", "PosTest13", 2351, "E", "2,351000E++003", CustomNFI);
-        retVal &= DoPosTest("PosTest14: Value is UInt16.MaxValue integer, format is decimal \"E\".", "PosTest14", UInt16.MaxValue, "E", "6,553500E++004", CustomNFI);
-        retVal &= DoPosTest("PosTest15: Value is UInt16.MinValue integer, format is decimal \"E\".", "PosTest15", UInt16.MinValue, "E", "0,000000E++000", CustomNFI);
-
-        retVal &= DoPosTest("PosTest16: Value is UInt16 integer, format is decimal \"F\".", "PosTest16", 2341, "F", "2341,000", CustomNFI);
-
-        retVal &= DoPosTest("PosTest17: Value is UInt16 integer, format is decimal \"P\".", "PosTest17", 2341, "P", "234,100,0000~", CustomNFI);
-
-        retVal &= DoPosTest("PosTest18: Value is UInt16 integer, format is decimal \"N\".", "PosTest18", 2341, "N", "23#41,000", CustomNFI);
-
-        retVal &= DoPosTest("PosTest19: Value is UInt16 integer, format is decimal \"N\".", "PosTest19", 2341, null, "2341", CustomNFI);
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-
-        return retVal;
-    }
-    #endregion
-
-    #region Helper method for tests
-    public bool DoPosTest(string testDesc, string id, UInt16 uintA, string format, String expectedValue, NumberFormatInfo _NFI)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        string actualValue;
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            actualValue = uintA.ToString(format, _NFI);
-
-            if (actualValue != expectedValue)
-            {
-                errorDesc =
-                    string.Format("The string representation of {0} is not the value {1} as expected: actual({2})",
-                    uintA, expectedValue, actualValue);
-                errorDesc += "\nThe format info is \"" + ((format == null) ? "null" : format) + "\" speicifed";
-                TestLibrary.TestFramework.LogError(id + "_001", errorDesc);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpect exception:" + e;
-            errorDesc += "\nThe UInt16 integer is " + uintA + ", format info is \"" + format + "\" speicifed.";
-            TestLibrary.TestFramework.LogError(id + "_002", errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-
-    #region Private Methods
-    private NumberFormatInfo CurrentNFI = CultureInfo.CurrentCulture.NumberFormat;
-    private NumberFormatInfo nfi = null;
-
-    private NumberFormatInfo CustomNFI
-    {
-        get
-        {
-            if (null == nfi)
-            {
-                nfi = new CultureInfo(CultureInfo.CurrentCulture.Name).NumberFormat;
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NegativeSign = "@";                 //Default: "-"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-                nfi.PositiveSign = "++";                //Default: "+"
-
-                //For "E"
-                // PositiveSign, NegativeSign, and NumberDecimalSeparator. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-
-                //For "R"
-                // NegativeSign, NumberDecimalSeparator and PositiveSign
-
-                //For "X", The result string isn't affected by the formatting information of the current NumberFormatInfo
-
-                //For "C"
-                // CurrencyPositivePattern, CurrencySymbol, CurrencyDecimalDigits, CurrencyDecimalSeparator, CurrencyGroupSeparator, CurrencyGroupSizes, NegativeSign and CurrencyNegativePattern
-                nfi.CurrencyDecimalDigits = 3;          //Default: 2
-                nfi.CurrencyDecimalSeparator = ",";     //Default: ","
-                nfi.CurrencyGroupSeparator = ".";       //Default: "."
-                nfi.CurrencyGroupSizes = new int[] { 2 };  //Default: new int[]{3}
-                nfi.CurrencyNegativePattern = 2;        //Default: 0
-                nfi.CurrencyPositivePattern = 1;        //Default: 0
-                nfi.CurrencySymbol = "USD";             //Default: "$" 
-
-                //For "D"
-                // NegativeSign
-
-                //For "E"
-                // PositiveSign, NumberDecimalSeparator and NegativeSign. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-
-                //For "F"
-                // NumberDecimalDigits, and NumberDecimalSeparator and NegativeSign.
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-
-                //For "N"
-                // NumberGroupSizes, NumberGroupSeparator, NumberDecimalSeparator, NumberDecimalDigits, NumberNegativePattern and NegativeSign.
-                nfi.NumberGroupSizes = new int[] { 2 }; //Default: 3
-                nfi.NumberGroupSeparator = "#";         //Default: ","
-
-                //For "P"
-                // PercentPositivePattern, PercentNegativePattern, NegativeSign, PercentSymbol, PercentDecimalDigits, PercentDecimalSeparator, PercentGroupSeparator and PercentGroupSizes 
-                nfi.PercentPositivePattern = 1;         //Default: 0
-                nfi.PercentNegativePattern = 2;         //Default: 0
-                nfi.PercentSymbol = "~";                //Default: "%"
-                nfi.PercentDecimalDigits = 4;           //Default: 2
-                nfi.PercentDecimalSeparator = ",";      //Default: "."
-                nfi.PercentGroupSizes[0] = 2;           //Default: 3
-                nfi.PercentGroupSeparator = ",";
-            }
-            return nfi;
-        }
-    }
-    #endregion
-
-    #region Negative tests
-    //FormatException
-    public bool NegTest1()
-    {
-        const string c_TEST_ID = "N001";
-        const string c_TEST_DESC = "NegTest1: The format parameter is invalid -- \"R\". ";
-        CultureInfo culture = CultureInfo.CurrentCulture;
-
-        return this.DoInvalidFormatTest(c_TEST_ID, c_TEST_DESC, "39", "40", "R", culture);
-    }
-
-    public bool NegTest2()
-    {
-        const string c_TEST_ID = "N002";
-        const string c_TEST_DESC = "NegTest2: The format parameter is invalid -- \"r\". ";
-        CultureInfo culture = CultureInfo.CurrentCulture;
-
-        return this.DoInvalidFormatTest(c_TEST_ID, c_TEST_DESC, "41", "42", "r", culture);
-    }
-
-    public bool NegTest3()
-    {
-        const string c_TEST_ID = "N003";
-        const string c_TEST_DESC = "NegTest3: The format parameter is invalid -- \"z\". ";
-        CultureInfo culture = CultureInfo.CurrentCulture;
-
-        return this.DoInvalidFormatTest(c_TEST_ID, c_TEST_DESC, "43", "44", "z", culture);
-    }
-    #endregion
-
-    #region Helper methods for negative tests
-    public bool DoInvalidFormatTest(string testId,
-                                                  string testDesc,
-                                                  string errorNum1,
-                                                  string errorNum2,
-                                                  string format,
-                                                  CultureInfo culture)
-    {
-        bool retVal = true;
-        string errorDesc;
-
-        IFormatProvider provider;
-        UInt16 uintA = (UInt16)(TestLibrary.Generator.GetInt32() % (UInt16.MaxValue + 1));
-
-        TestLibrary.TestFramework.BeginScenario(testDesc);
-        try
-        {
-            provider = (IFormatProvider)culture.NumberFormat;
-            uintA.ToString(format, provider);
-            errorDesc = "FormatException is not thrown as expected.";
-            errorDesc = string.Format("\nUInt16 value is {0}, format string is {1} and the culture is {3}.", 
-                             uintA, format, culture.Name);
-            TestLibrary.TestFramework.LogError(errorNum1 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-        catch (FormatException)
-        { }
-        catch (Exception e)
-        {
-            errorDesc = "Unexpected exception: " + e;
-            errorDesc = string.Format("\nUInt16 value is {0}, format string is {1} and the culture is {3}.",
-                             uintA, format, culture.Name);
-            TestLibrary.TestFramework.LogError(errorNum2 + " TestId-" + testId, errorDesc);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32CompareTo2.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32CompareTo2.csproj
deleted file mode 100644 (file)
index afe517b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32compareto2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32Equals1.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32Equals1.csproj
deleted file mode 100644 (file)
index a78675f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32equals1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32Equals2.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32Equals2.csproj
deleted file mode 100644 (file)
index 494f966..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32equals2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32GetHashCode.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32GetHashCode.csproj
deleted file mode 100644 (file)
index bca9135..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32gethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index c17ff8c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToByte.csproj
deleted file mode 100644 (file)
index df73733..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToChar.csproj
deleted file mode 100644 (file)
index 277498d..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index 822549e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToDouble.csproj
deleted file mode 100644 (file)
index 92d1620..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt16.csproj
deleted file mode 100644 (file)
index 8f934da..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt32.csproj
deleted file mode 100644 (file)
index e4486b0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToInt64.csproj
deleted file mode 100644 (file)
index cc6fdfa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToSByte.csproj
deleted file mode 100644 (file)
index 6873a6e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToSingle.csproj
deleted file mode 100644 (file)
index 420f9f0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToType.csproj
deleted file mode 100644 (file)
index 51d02f0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index 2994142..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index c25b7d0..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32IConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 5c4cdd4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32iconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32MaxValue.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32MaxValue.csproj
deleted file mode 100644 (file)
index 422a898..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32maxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32MinValue.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32MinValue.csproj
deleted file mode 100644 (file)
index 9f0487e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32minvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/UInt32ToString2.csproj b/tests/src/CoreMangLib/cti/system/uint32/UInt32ToString2.csproj
deleted file mode 100644 (file)
index 2790165..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint32tostring2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32compareto2.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32compareto2.cs
deleted file mode 100644 (file)
index 6979e32..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-/// <summary>
-/// UInt32.CompareTo(System.UInt32)
-/// </summary>
-public class UInt32CompareTo2
-{
-    public static int Main()
-    {
-        UInt32CompareTo2 ui32ct2 = new UInt32CompareTo2();
-        TestLibrary.TestFramework.BeginTestCase("UInt32CompareTo2");
-
-        if (ui32ct2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: object value is larger than the instance");
-        try
-        {
-            UInt32 uintA = 0;
-            UInt32 comValue = (UInt32)this.GetInt32(1, Int32.MaxValue);
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult >= 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: object value is less than the instance");
-        try
-        {
-            UInt32 uintA = 0xffffffff;
-            UInt32 comValue = (UInt32)this.GetInt32(0, Int32.MaxValue);
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: object value is equal the instance");
-        try
-        {
-            UInt32 uintA = 0xffffffff;
-            UInt32 comValue = 4294967295;
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult != 0)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        int ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: object value is UInt16 max value");
-        try
-        {
-            UInt32 uintA = 0xffffffff;
-            UInt32 comValue = UInt16.MaxValue;
-            ActualResult = uintA.CompareTo(comValue);
-            if (ActualResult <= 0)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-
-    #endregion
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32equals1.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32equals1.cs
deleted file mode 100644 (file)
index ff71426..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.Equals(System.Object)
-/// </summary>
-public class UInt32Equals1
-{
-    public static int Main()
-    {
-        UInt32Equals1 ui32e1 = new UInt32Equals1();
-        TestLibrary.TestFramework.BeginTestCase("UInt32Equals1");
-
-        if (ui32e1.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        return retVal;
-    }
-    #region
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: object value is null");
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(0, Int32.MaxValue);
-            object comValue = null;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: object value is declaring class");
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(0, Int32.MaxValue);
-            object comValue = new MyTest();
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: object value is the instance value but the types are different");
-        try
-        {
-            int comValue = this.GetInt32(0, Int32.MaxValue);
-            UInt32 uintA = (UInt32)comValue;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: object and the instance have the same type but different value");
-        try
-        {
-            int intA = this.GetInt32(0,Int32.MaxValue);
-            UInt32 uintA = (UInt32)intA;
-            UInt32 comValue = (UInt32)(intA + 1);
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest5: object and the instance have the same type and the same value 1");
-        try
-        {
-            UInt32 uintA = 0xffffffff;
-            UInt32 comValue = UInt32.MaxValue;
-            ActualResult = uintA.Equals(comValue);
-            if (!ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest6: object and the instance have the same type and the same value 2");
-        try
-        {
-            UInt32 uintA = 0;
-            UInt32 comValue = UInt32.MinValue;
-            ActualResult = uintA.Equals(comValue);
-            if (!ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("011", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    public class MyTest { }
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32equals2.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32equals2.cs
deleted file mode 100644 (file)
index 37e9b1a..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-/// <summary>
-/// UInt32.Equals(System.UInt32)
-/// </summary>
-public class UInt32Equals2
-{
-    public static int Main(string[] args)
-    {
-        UInt32Equals2 ui32e2 = new UInt32Equals2();
-        TestLibrary.TestFramework.BeginTestCase("UInt32Equals2");
-
-        if (ui32e2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: object value is null");
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(0, Int32.MaxValue);
-            object comValue = null;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: UInt32 value is different from the instance 1");
-        try
-        {
-            int intA = this.GetInt32(0, Int32.MaxValue);
-            UInt32 uintA = (UInt32)intA;
-            UInt32 comValue = (UInt32)(intA + 1);
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: UInt32 value is different from the instance 2");
-        try
-        {
-            int intA = this.GetInt32(0, Int32.MaxValue);
-            UInt32 uintA = (UInt32)(intA + 1);
-            UInt32 comValue = (UInt32)intA;
-            ActualResult = uintA.Equals(comValue);
-            if (ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        bool ActualResult;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: UInt32 value is equal the instance ");
-        try
-        {
-            UInt32 uintA = 0xffffffff;
-            UInt32 comValue = UInt32.MaxValue;
-            ActualResult = uintA.Equals(comValue);
-            if (!ActualResult)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32gethashcode.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32gethashcode.cs
deleted file mode 100644 (file)
index a5d218f..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-public class UInt32GetHashCode
-{
-    public static int Main()
-    {
-        UInt32GetHashCode ui32ghc = new UInt32GetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("UInt32GetHashCode");
-
-        if (ui32ghc.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: the UInt32 instance is the UInt32 MinValue ");
-
-        try
-        {
-            UInt32 uintA = 0;
-            Int32 uintB = uintA.GetHashCode();
-            if (uintB != 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: the UInt32 instance is the UInt32 MaxValue");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            Int32 uintB = uintA.GetHashCode();
-            if (uintB != -1)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: the UInt32 instance is the Int32 MaxValue");
-
-        try
-        {
-            UInt32 uintA = (UInt32)Int32.MaxValue;
-            Int32 uintB = uintA.GetHashCode();
-            if (uintB != Int32.MaxValue)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: the UInt32 instance is larger than Int32 MaxValue but less than the UInt32 MaxValue");
-
-        try
-        {
-            int intA = this.GetInt32(1, Int32.MaxValue);
-            UInt32 uintA = (UInt32)Int32.MaxValue + (UInt32)intA;
-            Int32 uintB = uintA.GetHashCode();
-            if (uintB != (-1)*(Int32.MaxValue - intA + 2))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: the UInt32 instance is less than the Int32 MaxValue");
-
-        try
-        {
-            int intA = this.GetInt32(1, Int32.MaxValue);
-            UInt32 uintA = (UInt32)intA;
-            Int32 uintB = uintA.GetHashCode();
-            if (uintB != intA)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoboolean.cs
deleted file mode 100644 (file)
index 7490bd8..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToBoolean
-/// </summary>
-public class UInt32IConvertibleToBoolean
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToBoolean ui32ictbool = new UInt32IConvertibleToBoolean();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToBoolean");
-        if (ui32ictbool.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random UInt32 to boolean 1");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(1, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (!iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("001","the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: genarate a random UInt32 to boolean 2");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (!iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: UInt32 MinValue to boolean");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: UInt32 MaxValue to boolean");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (!iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletobyte.cs
deleted file mode 100644 (file)
index d2ed158..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToByte
-/// </summary>
-public class UInt32IConvertibleToByte
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToByte ui32ictbyte = new UInt32IConvertibleToByte();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToByte");
-        if (ui32ictbyte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random UInt32 to byte");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(1, 256);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = iConvert.ToByte(null);
-            if (byteA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: UInt32 MinValue to byte");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = iConvert.ToByte(null);
-            if (byteA != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Number between 256 to UInt32.MaxValue to Byte");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(256, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = iConvert.ToByte(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletochar.cs
deleted file mode 100644 (file)
index c82ba57..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToChar
-/// </summary>
-public class UInt32IConvertibleToChar
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToChar ui32ictchar = new UInt32IConvertibleToChar();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToChar");
-        if (ui32ictchar.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random UInt32 to char");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(1, 65536);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Char charA = iConvert.ToChar(null);
-            if (charA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: UInt32.MinValue to Char");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Char charA = iConvert.ToChar(null);
-            if (charA != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Number between 65536 to UInt32.MaxValue to char");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(65536, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Char charA = iConvert.ToChar(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletodecimal.cs
deleted file mode 100644 (file)
index 5545b9b..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToDecimal
-/// </summary>
-public class UInt32IConvertibleToDecimal
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToDecimal ui32ictdecimal = new UInt32IConvertibleToDecimal();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToDecimal");
-        if (ui32ictdecimal.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MaxValue to Decimal");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 MinValue to Decimal");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Random UInt32 between minValue and MaxValue to Decimal");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletodouble.cs
deleted file mode 100644 (file)
index a3956f3..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToDouble
-/// </summary>
-public class UInt32IConvertibleToDouble
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToDouble ui32ictdouble = new UInt32IConvertibleToDouble();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToDouble");
-        if (ui32ictdouble.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MaxValue to Double");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Double doubleA = iConvert.ToDouble(null);
-            if (doubleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 MinValue to Double");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Double doubleA = iConvert.ToDouble(null);
-            if (doubleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Random UInt32 between minValue and MaxValue to Double");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Double doubleA = iConvert.ToDouble(null);
-            if (doubleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint16.cs
deleted file mode 100644 (file)
index c4d29b9..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToInt16
-/// </summary>
-public class UInt32IConvertibleToInt16
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToInt16 ui32ictint16 = new UInt32IConvertibleToInt16();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToInt16");
-        if (ui32ictint16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to Int16");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = iConvert.ToInt16(null);
-            if (int16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 num between UInt32.MinValue to Int16.MaxValue");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(0,Int16.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = iConvert.ToInt16(null);
-            if (int16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt32 num between Int16.MaxValue to UInt32.MaxValue");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(Int16.MaxValue + 1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = iConvert.ToInt16(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint32.cs
deleted file mode 100644 (file)
index 2d2a9fe..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToInt32
-/// </summary>
-public class UInt32IConvertibleToInt32
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToInt32 ui32ictint32 = new UInt32IConvertibleToInt32();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToInt32");
-        if (ui32ictint32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to Int32");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = iConvert.ToInt32(null);
-            if (int32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 num between UInt32.MinValue to Int32.MaxValue");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = iConvert.ToInt32(null);
-            if (int32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt32 num between Int32.MaxValue to UInt32.MaxValue");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(Int32.MaxValue, Int32.MaxValue) + this.GetInt32(1, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = iConvert.ToInt32(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletoint64.cs
deleted file mode 100644 (file)
index 411a8f7..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToInt64
-/// </summary>
-public class UInt32IConvertibleToInt64
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToInt64 ui32ictint64 = new UInt32IConvertibleToInt64();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToInt64");
-        if (ui32ictint64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to Int64");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int64 int64A = iConvert.ToInt64(null);
-            if (int64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 MaxValue to Int64");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int64 int64A = iConvert.ToInt64(null);
-            if (int64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:UInt32 between UInt32 minValue and MaxValue to Int64");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int64 int64A = iConvert.ToInt64(null);
-            if (int64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletosbyte.cs
deleted file mode 100644 (file)
index 9ad3386..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToSByte
-/// </summary>
-public class UInt32IConvertibleToSByte
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToSByte ui32ictsbyte = new UInt32IConvertibleToSByte();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToSByte");
-        if (ui32ictsbyte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to SByte");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sbyteA = iConvert.ToSByte(null);
-            if (sbyteA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 between MinValue to SByte.MaxValue to SByte");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(1, SByte.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sbyteA = iConvert.ToSByte(null);
-            if (sbyteA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt32 num between SByte.MaxValue to UInt32.MaxValue");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(SByte.MaxValue + 1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sbyteA = iConvert.ToSByte(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletosingle.cs
deleted file mode 100644 (file)
index 6f1d466..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToSingle
-/// </summary>
-public class UInt32IConvertibleToSingle
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToSingle ui32ictsingle = new UInt32IConvertibleToSingle();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToSingle");
-        if (ui32ictsingle.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to Single");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Single singleA = iConvert.ToSingle(null);
-            if (singleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 MaxValue to Single");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Single singleA = iConvert.ToSingle(null);
-            if (singleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:UInt32 between MinValue and MaxValue to Single");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Single singleA = iConvert.ToSingle(null);
-            if (singleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletotype.cs
deleted file mode 100644 (file)
index 5389612..0000000
+++ /dev/null
@@ -1,340 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-
-public class UInt32IConvertibleToType
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToType ui32icttype = new UInt32IConvertibleToType();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToType");
-        if (ui32icttype.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-        retVal = NegTest3() && retVal;
-        retVal = NegTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to Type of string");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            string strA = (string)iConvert.ToType(typeof(string), null);
-            if (strA != uintA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 MinValue to Type of bool");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            bool boolA = (bool)iConvert.ToType(typeof(bool), null);
-            if (boolA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:UInt32 MaxValue to Type of bool");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            bool boolA = (bool)iConvert.ToType(typeof(bool), null);
-            if (!boolA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:UInt32 MaxValue to Type of Int64,double and decimal");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int64 int64A = (Int64)iConvert.ToType(typeof(Int64), null);
-            Double doubleA = (Double)iConvert.ToType(typeof(Double), null);
-            Decimal decimalA = (Decimal)iConvert.ToType(typeof(Decimal), null);
-            Single singleA = (Single)iConvert.ToType(typeof(Single), null);
-            if (int64A != uintA || doubleA!= uintA || decimalA != uintA || singleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:UInt32 between MinValue to Int32.Max to Type of Int32");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(0, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = (Int32)iConvert.ToType(typeof(Int32), null);
-            if (int32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest6:UInt32 between MinValue to Int16.Max to Type of Int16");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(0, Int16.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = (Int16)iConvert.ToType(typeof(Int16), null);
-            if (int16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("011", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest7:UInt32 between MinValue and SByte.Max to Type of SByte");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(0, SByte.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sbyteA = (SByte)iConvert.ToType(typeof(SByte), null);
-            if (sbyteA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("013", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:UInt32 between MinValue and Byte.Max to Type of Byte");
-
-        try
-        {
-            UInt32 uintA = (UInt32)this.GetInt32(0, Byte.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = (Byte)iConvert.ToType(typeof(Byte), null);
-            if (byteA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("015", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt32 between Int32.MaxValue and UInt32.MaxValue to Type of Int32");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(0, Int32.MaxValue) + Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = (Int32)iConvert.ToType(typeof(Int32), null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2:UInt32 between Int16.Max and UInt32.MaxValue Type of Int16");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(Int16.MaxValue + this.GetInt32(1, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = (Int16)iConvert.ToType(typeof(Int16), null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest3:UInt32 between SByte.Max and UInt32.MaxValue to Type of SByte");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(SByte.MaxValue + this.GetInt32(1, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sbyteA = (SByte)iConvert.ToType(typeof(SByte), null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N003", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest4:UInt32 between Byte.Max and UInt32.MaxValue to Type of Byte");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(Byte.MaxValue + this.GetInt32(1,Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = (Byte)iConvert.ToType(typeof(Byte), null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint16.cs
deleted file mode 100644 (file)
index 7a95c26..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToUInt16
-/// </summary>
-public class UInt32IConvertibleToUInt16
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToUInt16 ui32ictuint16 = new UInt32IConvertibleToUInt16();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToUInt16");
-        if (ui32ictuint16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to UInt16");
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt16 uint16A = iConvert.ToUInt16(null);
-            if (uint16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 num between UInt32.MinValue to UInt16.MaxValue");
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(0, UInt16.MaxValue + 1));
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt16 uint16A = iConvert.ToUInt16(null);
-            if (uint16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt32 num between UInt16.MaxValue to UInt32.MaxValue");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(UInt16.MaxValue + 1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt16 uint16A = iConvert.ToUInt16(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint32.cs
deleted file mode 100644 (file)
index 9e0b063..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToUInt32
-/// </summary>
-public class UInt32IConvertibleToUInt32
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToUInt32 ui32ictuint32 = new UInt32IConvertibleToUInt32();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToUInt32");
-        if (ui32ictuint32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to UInt32");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt32 uint32A = iConvert.ToUInt32(null);
-            if (uint32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:random UInt32 IConvertible to UInt32");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(0, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt32 uint32A = iConvert.ToUInt32(null);
-            if (uint32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:UInt32 MaxValue to UInt32");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt32 uint32A = iConvert.ToUInt32(null);
-            if (uint32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32iconvertibletouint64.cs
deleted file mode 100644 (file)
index 215a587..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt32.System.IConvertible.ToUInt64
-/// </summary>
-public class UInt32IConvertibleToUInt64
-{
-    public static int Main()
-    {
-        UInt32IConvertibleToUInt64 ui32ictuint64 = new UInt32IConvertibleToUInt64();
-        TestLibrary.TestFramework.BeginTestCase("UInt32IConvertibleToUInt64");
-        if (ui32ictuint64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt32 MinValue to UInt64");
-
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt64 uint64A = iConvert.ToUInt64(null);
-            if (uint64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt32 MaxValue to UInt64");
-
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt64 uint64A = iConvert.ToUInt64(null);
-            if (uint64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:UInt32 between UInt32 minValue and MaxValue to UInt64");
-
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt64 uint64A = iConvert.ToUInt64(null);
-            if (uint64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32maxvalue.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32maxvalue.cs
deleted file mode 100644 (file)
index 145e817..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-using System.IO;
-
-/// <summary>
-/// Unint32.MaxValue
-/// </summary>
-public class UInt32MaxValue
-{
-    private UInt32 c_UINT32_MAXVALUE = 4294967295;
-    public static int Main()
-    {
-        UInt32MaxValue ui32mv = new UInt32MaxValue();
-        TestLibrary.TestFramework.BeginTestCase("UInt32MaxValue");
-
-        if (ui32mv.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        return retVal;
-    }
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: UnInt32.MaxValue should return the UnInt32' maxValue 1");
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            if (uintA != c_UINT32_MAXVALUE)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: UnInt32.MaxValue should return the UnInt32' maxValue 2");
-        try
-        {
-            UInt32 uintA = UInt32.MaxValue;
-            if (uintA != 0xffffffff)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32minvalue.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32minvalue.cs
deleted file mode 100644 (file)
index 73f3c5d..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-
-/// <summary>
-/// UInt32.MinValue
-/// </summary>
-public class UInt32MinValue
-{
-    private UInt32 c_UINT32_MINVALUE = 0;
-
-    public static int Main()
-    {
-        UInt32MinValue ui32minv = new UInt32MinValue();
-        TestLibrary.TestFramework.BeginTestCase("UInt32MinValue");
-
-        if (ui32minv.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        return retVal;
-    }
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: UnInt32.MinValue should return the UnInt32' minValue");
-        try
-        {
-            UInt32 uintA = UInt32.MinValue;
-            if (uintA != c_UINT32_MINVALUE)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpect exception:" + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/uint32/uint32tostring2.cs b/tests/src/CoreMangLib/cti/system/uint32/uint32tostring2.cs
deleted file mode 100644 (file)
index a60a999..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-using System.Collections.Generic;
-using System.Text;
-using TestLibrary;
-
-/// <summary>
-/// UInt32.ToString(System.string)
-/// </summary>
-public class UInt32ToString2
-{
-    public static int Main()
-    {
-        UInt32ToString2 ui32ts2 = new UInt32ToString2();
-        TestLibrary.TestFramework.BeginTestCase("UInt32ToString2");
-
-        if (ui32ts2.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Methods
-    private CultureInfo CurrentCulture = TestLibrary.Utilities.CurrentCulture;
-    private CultureInfo customCulture = null;
-
-    private CultureInfo CustomCulture
-    {
-        get
-        {
-            if (null == customCulture)
-            {
-                customCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
-                NumberFormatInfo nfi = customCulture.NumberFormat;
-                //For "G"
-                // NegativeSign, NumberDecimalSeparator, NumberDecimalDigits, PositiveSign
-                nfi.NegativeSign = "@";                 //Default: "-"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-                nfi.PositiveSign = "++";                //Default: "+"
-
-                //For "E"
-                // PositiveSign, NegativeSign, and NumberDecimalSeparator. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-
-                //For "R"
-                // NegativeSign, NumberDecimalSeparator and PositiveSign
-
-                //For "X", The result string isn't affected by the formatting information of the current NumberFormatInfo
-
-                //For "C"
-                // CurrencyPositivePattern, CurrencySymbol, CurrencyDecimalDigits, CurrencyDecimalSeparator, CurrencyGroupSeparator, CurrencyGroupSizes, NegativeSign and CurrencyNegativePattern
-                nfi.CurrencyDecimalDigits = 3;          //Default: 2
-                nfi.CurrencyDecimalSeparator = ",";     //Default: ","
-                nfi.CurrencyGroupSeparator = ".";       //Default: "."
-                nfi.CurrencyGroupSizes = new int[] { 2 };  //Default: new int[]{3}
-                nfi.CurrencyNegativePattern = 2;        //Default: 0
-                nfi.CurrencyPositivePattern = 1;        //Default: 0
-                nfi.CurrencySymbol = "USD";             //Default: "$" 
-
-                //For "D"
-                // NegativeSign
-
-                //For "E"
-                // PositiveSign, NumberDecimalSeparator and NegativeSign. 
-                // If precision specifier is omitted, a default of six digits after the decimal point is used.
-                nfi.PositiveSign = "++";                //Default: "+"
-                nfi.NumberDecimalSeparator = ",";       //Default: "."
-
-                //For "F"
-                // NumberDecimalDigits, and NumberDecimalSeparator and NegativeSign.
-                nfi.NumberDecimalDigits = 3;            //Default: 2
-
-                //For "N"
-                // NumberGroupSizes, NumberGroupSeparator, NumberDecimalSeparator, NumberDecimalDigits, NumberNegativePattern and NegativeSign.
-                nfi.NumberGroupSizes = new int[] { 2 }; //Default: 3
-                nfi.NumberGroupSeparator = "#";         //Default: ","
-
-                //For "P"
-                // PercentPositivePattern, PercentNegativePattern, NegativeSign, PercentSymbol, PercentDecimalDigits, PercentDecimalSeparator, PercentGroupSeparator and PercentGroupSizes 
-                nfi.PercentPositivePattern = 1;         //Default: 0
-                nfi.PercentNegativePattern = 2;         //Default: 0
-                nfi.PercentSymbol = "~";                //Default: "%"
-                nfi.PercentDecimalDigits = 4;           //Default: 2
-                nfi.PercentDecimalSeparator = ",";      //Default: "."
-                nfi.PercentGroupSizes[0] = 2;           //Default: 3
-                nfi.PercentGroupSeparator = ",";
-
-                customCulture.NumberFormat = nfi;
-            }
-            return customCulture;
-        }
-    }
-
-    private bool VerifyToString(String id, UInt32 myInt, String format, String expected)
-    {
-        try
-        {
-            String actual = myInt.ToString(format);
-            if (actual != expected)
-            {
-                TestLibrary.TestFramework.LogError(id + "_001", "Expected: " + expected + " Actual: " + actual);
-                return false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError(id + "_002", "Unexpected exception occurs: " + e);
-            return false;
-        }
-        return true;
-    }
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal &= VerifyToString("PostTest1", UInt32.MaxValue, "X", "FFFFFFFF");
-
-        TestLibrary.Utilities.CurrentCulture = CustomCulture;
-        retVal &= VerifyToString("PostTest2", UInt32.MinValue, "G", "0");
-        retVal &= VerifyToString("PostTest3", UInt32.MinValue, "f", "0,000");
-        retVal &= VerifyToString("PostTest4", UInt32.MaxValue, "G", "4294967295");
-        retVal &= VerifyToString("PostTest5", UInt32.MaxValue, "f", "4294967295,000");
-        retVal &= VerifyToString("PostTest6", UInt32.MaxValue, "E", "4,294967E++009");
-        retVal &= VerifyToString("PostTest7", UInt32.MaxValue, "N", "42#94#96#72#95,000");
-        retVal &= VerifyToString("PostTest8", UInt32.MaxValue, "P", "429,496,729,500,0000~");
-        retVal &= VerifyToString("PostTest9", UInt32.MaxValue, "D", "4294967295");
-        retVal &= VerifyToString("PostTest10", 00065536, "G", "65536");
-        retVal &= VerifyToString("PostTest11", 00065536, "P", "6,553,600,0000~");
-        retVal &= VerifyToString("PostTest12", 00065536, "E", "6,553600E++004");
-        retVal &= VerifyToString("PostTest13", 00065536, String.Empty, "65536");
-        retVal &= VerifyToString("PostTest14", 00065536, null, "65536");
-
-        TestLibrary.Utilities.CurrentCulture = CurrentCulture;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal &= NegTest1();
-
-        return retVal;
-    }
-    #endregion
-    
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The Format parameter is Invalid");
-        try
-        {
-            UInt32 uintA = (UInt32)(this.GetInt32(1, Int32.MaxValue) + this.GetInt32(0, Int32.MaxValue));
-            String strA = uintA.ToString("Q");
-            retVal = false;
-        }
-        catch (FormatException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-
-
-    private Int32 GetInt32(Int32 minValue, Int32 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + TestLibrary.Generator.GetInt32() % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64GetHashCode.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64GetHashCode.csproj
deleted file mode 100644 (file)
index 03a1ed1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64gethashcode.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToBoolean.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToBoolean.csproj
deleted file mode 100644 (file)
index 4038340..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletoboolean.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToByte.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToByte.csproj
deleted file mode 100644 (file)
index 5b9f375..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletobyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToChar.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToChar.csproj
deleted file mode 100644 (file)
index d6b093c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletochar.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDateTime.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDateTime.csproj
deleted file mode 100644 (file)
index ba0e7c8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletodatetime.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDecimal.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDecimal.csproj
deleted file mode 100644 (file)
index eb5668b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletodecimal.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDouble.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToDouble.csproj
deleted file mode 100644 (file)
index 12c554b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletodouble.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt16.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt16.csproj
deleted file mode 100644 (file)
index c339f2f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletoint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt32.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt32.csproj
deleted file mode 100644 (file)
index 6f7fde1..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletoint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt64.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToInt64.csproj
deleted file mode 100644 (file)
index 0deb395..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletoint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToSByte.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToSByte.csproj
deleted file mode 100644 (file)
index fb404eb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletosbyte.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToSingle.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToSingle.csproj
deleted file mode 100644 (file)
index cc8ab37..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletosingle.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToType.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToType.csproj
deleted file mode 100644 (file)
index b55ba87..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletotype.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt16.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt16.csproj
deleted file mode 100644 (file)
index acefb82..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletouint16.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt32.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt32.csproj
deleted file mode 100644 (file)
index 30e17e3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletouint32.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt64.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64IConvertibleToUInt64.csproj
deleted file mode 100644 (file)
index 5d12baa..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64iconvertibletouint64.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64MaxValue.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64MaxValue.csproj
deleted file mode 100644 (file)
index 7791143..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64maxvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64MinValue.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64MinValue.csproj
deleted file mode 100644 (file)
index 7e95a50..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64minvalue.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/UInt64ToString2.csproj b/tests/src/CoreMangLib/cti/system/uint64/UInt64ToString2.csproj
deleted file mode 100644 (file)
index 2bd3ebd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="uint64tostring2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64gethashcode.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64gethashcode.cs
deleted file mode 100644 (file)
index 0f41e43..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.UInt64.GetHashCode
-/// </summary>
-public class UInt64GetHashCode
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Check the return hash code not equal to zero");
-
-        try
-        {
-            UInt64 u64 = this.GetUInt64(0, UInt64.MaxValue);
-            int hash = u64.GetHashCode();
-            if (hash == 0)
-            {
-                TestLibrary.TestFramework.LogError("001", "UInt64.gethashcode is equal to zero : " + u64);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Check the return hash code is the same");
-
-        try
-        {
-            UInt64 u64 = this.GetUInt64(0, UInt64.MaxValue);
-            int hash1 = u64.GetHashCode();
-            int hash2 = u64.GetHashCode();
-            if (hash1 != hash2)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected " + u64);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        UInt64GetHashCode test = new UInt64GetHashCode();
-
-        TestLibrary.TestFramework.BeginTestCase("UInt64GetHashCode");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    private UInt64 GetUInt64(ulong minValue, ulong maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return (ulong)(minValue + (ulong)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue));
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoboolean.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoboolean.cs
deleted file mode 100644 (file)
index 90e3c88..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToBoolean
-/// </summary>
-public class UInt64IConvertibleToBoolean
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToBoolean ui64ictbool = new UInt64IConvertibleToBoolean();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToBoolean");
-        if (ui64ictbool.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random UInt64 to boolean 1");
-
-        try
-        {
-            UInt64 uintA = (UInt64)this.GetInt64(1, Int64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (!iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: genarate a random UInt64 to boolean 2");
-
-        try
-        {
-            UInt64 uintA = (UInt64)(this.GetInt64(1, Int64.MaxValue) + this.GetInt64(0, Int64.MaxValue));
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (!iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: UInt64 MinValue to boolean");
-
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4: UInt64MaxValue to boolean");
-
-        try
-        {
-            UInt64 uintA = UInt64.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            if (!iConvert.ToBoolean(null))
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletobyte.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletobyte.cs
deleted file mode 100644 (file)
index 416c55b..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToByte
-/// </summary>
-public class UInt64IConvertibleToByte
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToByte ui64ictbyte = new UInt64IConvertibleToByte();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToByte");
-        if (ui64ictbyte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random UInt64to byte");
-
-        try
-        {
-            UInt64 uintA = (UInt64)this.GetInt64(1, 256);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = iConvert.ToByte(null);
-            if (byteA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: UInt64 MinValue to byte");
-
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = iConvert.ToByte(null);
-            if (byteA != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Number between 256 to UInt64.MaxValue to Byte");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(256, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = iConvert.ToByte(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletochar.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletochar.cs
deleted file mode 100644 (file)
index 4a80e4a..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToChar
-/// </summary>
-public class UInt64IConvertibleToChar
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToChar ui64ictchar = new UInt64IConvertibleToChar();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToChar");
-        if (ui64ictchar.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1: genarate a random UInt64 to char");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(1, 65536);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Char charA = iConvert.ToChar(null);
-            if (charA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2: UInt64.MinValue to Char");
-
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Char charA = iConvert.ToChar(null);
-            if (charA != 0)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Number between 65536 to UInt64.MaxValue to char");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(65536, Int64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Char charA = iConvert.ToChar(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodatetime.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodatetime.cs
deleted file mode 100644 (file)
index 8f09932..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToDateTime
-/// </summary>
-public class UInt64IConvertibleToDateTime
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: Convert an random UInt64 to DateTime ");
-
-        try
-        {
-            UInt64 u64 = (ulong)TestLibrary.Generator.GetInt64(-55);
-            IConvertible Icon1 = (IConvertible)u64;
-            DateTime d1 = Icon1.ToDateTime(null);
-            TestLibrary.TestFramework.LogError("101", "The InvalidCastException was not thrown as expected");
-            retVal = false;
-
-        }
-        catch (System.InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool NegTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest2: Convert zero to DateTime ");
-
-        try
-        {
-            UInt64 u64 = 0;
-            DateTime d1 = (u64 as IConvertible).ToDateTime(null);
-            TestLibrary.TestFramework.LogError("103", "The InvalidCastException was not thrown as expected");
-            retVal = false;
-
-        }
-        catch (System.InvalidCastException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("104", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        UInt64IConvertibleToDateTime test = new UInt64IConvertibleToDateTime();
-
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToDateTime");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodecimal.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodecimal.cs
deleted file mode 100644 (file)
index 450aaef..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToDecimal
-/// </summary>
-public class UInt64IConvertibleToDecimal
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToDecimal ui64ictdecimal = new UInt64IConvertibleToDecimal();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToDecimal");
-        if (ui64ictdecimal.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MaxValue to Decimal");
-
-        try
-        {
-            UInt64 uintA = UInt64.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 MinValue to Decimal");
-
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Random UInt64 between minValue and MaxValue to Decimal");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(1, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Decimal decimalA = iConvert.ToDecimal(null);
-            if (decimalA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodouble.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletodouble.cs
deleted file mode 100644 (file)
index 8c6b560..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToDouble
-/// </summary>
-public class UInt64IConvertibleToDouble
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToDouble ui64ictdouble = new UInt64IConvertibleToDouble();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToDouble");
-        if (ui64ictdouble.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MaxValue to Double");
-
-        try
-        {
-            UInt64 uintA = UInt64.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Double doubleA = iConvert.ToDouble(null);
-            if (doubleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 MinValue to Double");
-
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Double doubleA = iConvert.ToDouble(null);
-            if (doubleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Random UInt64 between minValue and MaxValue to Double");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Double doubleA = iConvert.ToDouble(null);
-            if (doubleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint16.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint16.cs
deleted file mode 100644 (file)
index fa42d29..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToInt16
-/// </summary>
-public class UInt64IConvertibleToInt16
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToInt16 ui64ictuint16 = new UInt64IConvertibleToInt16();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToInt16");
-        if (ui64ictuint16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to Int16");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = iConvert.ToInt16(null);
-            if ((ulong)int16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 number between UInt64.MinValue to Int16.MaxValue");
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, Int16.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = iConvert.ToInt16(null);
-            if ((ulong)int16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt64 number between Int16.MaxValue to UInt64.MaxValue");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(Int16.MaxValue + 1, UInt64.MaxValue); ;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = iConvert.ToInt16(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint32.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint32.cs
deleted file mode 100644 (file)
index da152b9..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToInt32
-/// </summary>
-public class UInt64IConvertibleToInt32
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToInt32 ui64ictuint32 = new UInt64IConvertibleToInt32();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToInt32");
-        if (ui64ictuint32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to Int32");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = iConvert.ToInt32(null);
-            if ((ulong)int32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 number between UInt64.MinValue to Int32.MaxValue");
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = iConvert.ToInt32(null);
-            if ((ulong)int32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt64 number between Int32.MaxValue to UInt64.MaxValue");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64((ulong)(Int32.MaxValue) + 1, UInt64.MaxValue); ;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = iConvert.ToInt32(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint64.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletoint64.cs
deleted file mode 100644 (file)
index 18159d9..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToInt64
-/// </summary>
-public class UInt64IConvertibleToInt64
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToInt64 ui64ictuint64 = new UInt64IConvertibleToInt64();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToInt64");
-        if (ui64ictuint64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to Int64");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int64 int64A = iConvert.ToInt64(null);
-            if ((ulong)int64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 number between UInt64.MinValue to Int64.MaxValue");
-        try
-        {
-
-            UInt64 uintA = this.GetInt64(0, (ulong)(Int64.MaxValue) + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int64 int64A = iConvert.ToInt64(null);
-            if ((ulong)int64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt64 number between Int64.MaxValue to UInt64.MaxValue");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64((ulong)(Int64.MaxValue) + 1, UInt64.MaxValue); ;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int64 int64A = iConvert.ToInt64(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletosbyte.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletosbyte.cs
deleted file mode 100644 (file)
index f485546..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToSByte
-/// </summary>
-public class UInt64IConvertibleToSByte
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToSByte ui64ictSByte = new UInt64IConvertibleToSByte();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToSByte");
-        if (ui64ictSByte.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to SByte");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sByte = iConvert.ToSByte(null);
-            if ((ulong)sByte != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 number between UInt64.MinValue to SByte.MaxValue");
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, SByte.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sByte = iConvert.ToSByte(null);
-            if ((ulong)sByte != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt64 number between SByte.MaxValue to UInt64.MaxValue");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(SByte.MaxValue + 1, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sByte = iConvert.ToSByte(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletosingle.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletosingle.cs
deleted file mode 100644 (file)
index 0d319e1..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToSingle
-/// </summary>
-public class UInt64IConvertibleToSingle
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToSingle ui64ictSingle = new UInt64IConvertibleToSingle();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToSingle");
-        if (ui64ictSingle.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to SByte");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Single single = iConvert.ToSingle(null);
-            if ((ulong)single != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:Convert a random Uint64 less than 10000000 to float");
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, 10000000);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Single single = iConvert.ToSingle(null);
-            if (single != (float)uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:Convert a random UInt64 between 10000000 UInt64.MaxValue to Single");
-        try
-        {
-            UInt64 uintA = this.GetInt64(10000000, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Single single = iConvert.ToSingle(null);
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletotype.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletotype.cs
deleted file mode 100644 (file)
index 38f9cdf..0000000
+++ /dev/null
@@ -1,300 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToType(Type,provider)
-/// </summary>
-public class UInt64IConvertibleToType
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToType ui64icttype = new UInt64IConvertibleToType();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToType");
-        if (ui64icttype.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        retVal = NegTest2() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to Type of string");
-
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            string strA = (string)iConvert.ToType(typeof(string), null);
-            if (strA != uintA.ToString())
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 MinValue to Type of bool");
-
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            bool boolA = (bool)iConvert.ToType(typeof(bool), null);
-            if (boolA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3:UInt64 MaxValue to Type of bool");
-
-        try
-        {
-            UInt64 uintA = UInt64.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            bool boolA = (bool)iConvert.ToType(typeof(bool), null);
-            if (!boolA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest4()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest4:Convert a random UInt64 to Type of double,decimal and single");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, UInt64.MaxValue); ;
-            IConvertible iConvert = (IConvertible)(uintA);
-            Double doubleA = (Double)iConvert.ToType(typeof(Double), null);
-            Decimal decimalA = (Decimal)iConvert.ToType(typeof(Decimal), null);
-            Single singleA = (Single)iConvert.ToType(typeof(Single), null);
-            if (doubleA != uintA || decimalA != uintA || singleA != uintA)
-            {
-                TestLibrary.TestFramework.LogError("007", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest5()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest5:UInt64 between MinValue to Int32.Max to Type of Int32");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, Int32.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = (Int32)iConvert.ToType(typeof(Int32), null);
-            if (int32A != (Int32)uintA)
-            {
-                TestLibrary.TestFramework.LogError("009", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest6()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest6:UInt64 between MinValue to Int16.Max to Type of Int16");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, Int16.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int16 int16A = (Int16)iConvert.ToType(typeof(Int16), null);
-            if (int16A != (Int16)uintA)
-            {
-                TestLibrary.TestFramework.LogError("011", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("012", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest7()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest7:UInt64 between MinValue and SByte.Max to Type of SByte");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, SByte.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            SByte sbyteA = (SByte)iConvert.ToType(typeof(SByte), null);
-            if (sbyteA != (SByte)uintA)
-            {
-                TestLibrary.TestFramework.LogError("013", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("014", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest8()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest8:UInt64 between MinValue and Byte.Max to Type of Byte");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, Byte.MaxValue + 1);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Byte byteA = (Byte)iConvert.ToType(typeof(Byte), null);
-            if (byteA != (Byte)uintA)
-            {
-                TestLibrary.TestFramework.LogError("015", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("016", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt64 between Int32.MaxValue and UInt64.MaxValue to Type of Int32");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64((ulong)Int32.MaxValue + 1, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            Int32 int32A = (Int32)iConvert.ToType(typeof(Int32), null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool NegTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest2: The argument type is a null reference");
-
-        try
-        {
-            UInt64 uintA = 100;
-            IConvertible iConvert = (IConvertible)(uintA);
-            object oBject = (Int16)iConvert.ToType(null, null);
-            retVal = false;
-        }
-        catch (ArgumentNullException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint16.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint16.cs
deleted file mode 100644 (file)
index bd81f31..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToUInt16
-/// </summary>
-public class UInt64IConvertibleToUInt16
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToUInt16 ui64ictuint16 = new UInt64IConvertibleToUInt16();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToUInt16");
-        if (ui64ictuint16.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to UInt16");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt16 uint16A = iConvert.ToUInt16(null);
-            if (uint16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 number between UInt64.MinValue to UInt16.MaxValue");
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, UInt16.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt16 uint16A = iConvert.ToUInt16(null);
-            if (uint16A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt64 number between UInt16.MaxValue to UInt64.MaxValue");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64(UInt16.MaxValue + 1, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt16 uint16A = iConvert.ToUInt16(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint32.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint32.cs
deleted file mode 100644 (file)
index 19bc44c..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToUInt32
-/// </summary>
-public class UInt64IConvertibleToUInt32
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToUInt32 ui64ictuint32 = new UInt64IConvertibleToUInt32();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToUInt32");
-        if (ui64ictuint32.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        retVal = NegTest1() && retVal;
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to UInt32");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt32 uint32A = iConvert.ToUInt32(null);
-            if (uint32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 number between UInt64.MinValue to UInt32.MaxValue");
-        try
-        {
-            UInt64 uintA = this.GetInt64(0, UInt32.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt32 uint32A = iConvert.ToUInt32(null);
-            if (uint32A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    public bool NegTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("NegTest1:UInt64 number between UInt32.MaxValue to UInt64.MaxValue");
-
-        try
-        {
-            UInt64 uintA = this.GetInt64((ulong)(UInt32.MaxValue) + 1, UInt64.MaxValue);
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt32 uint32A = iConvert.ToUInt32(null);
-            retVal = false;
-        }
-        catch (OverflowException) { }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("N001", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint64.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64iconvertibletouint64.cs
deleted file mode 100644 (file)
index ce8b212..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-/// <summary>
-/// UInt64.System.IConvertible.ToUInt64
-/// </summary>
-public class UInt64IConvertibleToUInt64
-{
-    public static int Main()
-    {
-        UInt64IConvertibleToUInt64 ui64ictuint64 = new UInt64IConvertibleToUInt64();
-        TestLibrary.TestFramework.BeginTestCase("UInt64IConvertibleToUInt64");
-        if (ui64ictuint64.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    public bool RunTests()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-
-        return retVal;
-    }
-    #region PositiveTest
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest1:UInt64 MinValue to UInt64");
-        try
-        {
-            UInt64 uintA = UInt64.MinValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt64 uint64A = iConvert.ToUInt64(null);
-            if (uint64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("001", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest2:UInt64 MaxValue to UInt64");
-        try
-        {
-            UInt64 uintA = UInt64.MaxValue;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt64 uint64A = iConvert.ToUInt64(null);
-            if (uint64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("003", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Convert a random Uint64 to UInt64");
-        try
-        {
-            UInt64 uintA = this.GetInt64(1, UInt64.MaxValue); ;
-            IConvertible iConvert = (IConvertible)(uintA);
-            UInt64 uint64A = iConvert.ToUInt64(null);
-            if (uint64A != uintA)
-            {
-                TestLibrary.TestFramework.LogError("005", "the ActualResult is not the ExpectResult");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-        return retVal;
-    }
-    #endregion
-    #region NegativeTest
-    #endregion
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64maxvalue.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64maxvalue.cs
deleted file mode 100644 (file)
index dba20a0..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.UInt64.MaxValue
-/// </summary>
-public class UInt64MaxValue
-{
-    private UInt64 c_UINT64_MAXVALUE = 18446744073709551615;
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Normally test the uint64.MaxValue");
-
-        try
-        {
-            UInt64 uint64 = UInt64.MaxValue;
-            if (uint64 != c_UINT64_MAXVALUE)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Using hex number to check the Uint64.MaxValue");
-
-        try
-        {
-            UInt64 uint64 = UInt64.MaxValue;
-            if (uint64 != 0xFFFFFFFFFFFFFFFF)
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        UInt64MaxValue test = new UInt64MaxValue();
-
-        TestLibrary.TestFramework.BeginTestCase("UInt64MaxValue");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64minvalue.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64minvalue.cs
deleted file mode 100644 (file)
index 4a3b7c1..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-/// <summary>
-/// System.UInt64.MinValue
-/// </summary>
-public class UInt64MinValue
-{
-    private UInt64 c_UINT64_MINVALUE = 0;
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Normally test the uint64.MinValue");
-
-        try
-        {
-            ulong uint64 = UInt64.MinValue;
-            if (uint64 != c_UINT64_MINVALUE)
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    #endregion
-
-    #region Nagetive Test Cases
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        UInt64MinValue test = new UInt64MinValue();
-
-        TestLibrary.TestFramework.BeginTestCase("UInt64MinValue");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/uint64/uint64tostring2.cs b/tests/src/CoreMangLib/cti/system/uint64/uint64tostring2.cs
deleted file mode 100644 (file)
index 497efe3..0000000
+++ /dev/null
@@ -1,238 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Globalization;
-using TestLibrary;
-
-/// <summary>
-/// UInt64.ToString(System.IFormatProvider)
-/// </summary>
-public class UInt64ToString1
-{
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        TestLibrary.TestFramework.LogInformation("[Negative]");
-        if (TestLibrary.Utilities.IsWindows)
-        {
-      //      retVal = NegTest1() && retVal;   // Disabled until neutral cultures are available
-        }
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Convert UInt64MaxValue to string value and using cultureinfo \"en-US\"");
-
-        try
-        {
-            UInt64 u64 = UInt64.MaxValue;
-            CultureInfo cultureInfo = new CultureInfo("en-US");
-            string str = u64.ToString(cultureInfo);
-            if (str != "18446744073709551615")
-            {
-                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Convert UInt64MinValue to string value and using cultureinfo \"fr-FR\"");
-
-        try
-        {
-            UInt64 u64 = UInt64.MinValue;
-            CultureInfo cultureInfo = new CultureInfo("fr-FR");
-            string str = u64.ToString(cultureInfo);
-            if (str != "0")
-            {
-                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: A UInt64 number begin with zeros and using cultureinfo \"en-US\"");
-
-        try
-        {
-            UInt64 u64 = 00009876;
-            CultureInfo cultureInfo = new CultureInfo("en-US");
-            string str = u64.ToString(cultureInfo);
-            if (str != "9876")
-            {
-                TestLibrary.TestFramework.LogError("005", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Convert a random uint64 to string value and using \"en-GB\"");
-
-        try
-        {
-            UInt64 u64 = this.GetInt64(0, UInt64.MaxValue);
-            CultureInfo cultureInfo = new CultureInfo("en-GB");
-            string str = u64.ToString(cultureInfo);
-            string str2 = Convert.ToString(u64);
-            if (str != str2)
-            {
-                TestLibrary.TestFramework.LogError("007", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: The provider is a null reference");
-
-        try
-        {
-            UInt64 u64 = 000217639083000;
-            CultureInfo cultureInfo = null;
-            string str = u64.ToString(cultureInfo);
-            if (str != "217639083000")
-            {
-                TestLibrary.TestFramework.LogError("009", "The result is not the value as expected");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("010", "Unexpected exception: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-
-    #region Nagetive Test Cases
-    public bool NegTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("NegTest1: The provider argument is invalid");
-
-        try
-        {
-            UInt64 u64 = 1234500233;
-            CultureInfo cultureInfo = new CultureInfo("pl");
-            string str = u64.ToString(cultureInfo);
-            TestLibrary.TestFramework.LogError("101", "The NotSupportedException is not thrown as expected");
-            retVal = false;
-        }
-        catch (NotSupportedException)
-        {
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("102", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        UInt64ToString1 test = new UInt64ToString1();
-
-        TestLibrary.TestFramework.BeginTestCase("UInt64ToString1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-    #region ForTestObject
-    private UInt64 GetInt64(UInt64 minValue, UInt64 maxValue)
-    {
-        try
-        {
-            if (minValue == maxValue)
-            {
-                return minValue;
-            }
-            if (minValue < maxValue)
-            {
-                return minValue + (UInt64)TestLibrary.Generator.GetInt64(-55) % (maxValue - minValue);
-            }
-        }
-        catch
-        {
-            throw;
-        }
-
-        return minValue;
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor1_PSC.csproj b/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor1_PSC.csproj
deleted file mode 100644 (file)
index b8f47f7..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="weakreferencector1.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor2_PSC.csproj b/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor2_PSC.csproj
deleted file mode 100644 (file)
index 52764ee..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="helper.cs" />
-    <Compile Include="weakreferencector2.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor2b_PSC.csproj b/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceCtor2b_PSC.csproj
deleted file mode 100644 (file)
index 9443940..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="weakreferencector2b.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceIsAlive_PSC.csproj b/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceIsAlive_PSC.csproj
deleted file mode 100644 (file)
index 051408e..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="helper.cs" />
-    <Compile Include="weakreferenceisalive.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceIsAliveb_PSC.csproj b/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceIsAliveb_PSC.csproj
deleted file mode 100644 (file)
index fce5e82..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="weakreferenceisaliveb.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceTargetb_PSC.csproj b/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceTargetb_PSC.csproj
deleted file mode 100644 (file)
index bef1d83..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="weakreferencetargetb.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceTrackResurrection_cti_PSC.csproj b/tests/src/CoreMangLib/cti/system/weakreference/WeakReferenceTrackResurrection_cti_PSC.csproj
deleted file mode 100644 (file)
index a47f852..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <CLRTestKind>BuildAndRun</CLRTestKind>
-    <CLRTestPriority>1</CLRTestPriority>
-    <GCStressIncompatible>true</GCStressIncompatible>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-  </PropertyGroup>
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <ItemGroup>
-    <!-- Add Compile Object Here -->
-    <Compile Include="weakreferencetrackresurrection_cti.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="$(SourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
-  </PropertyGroup>
-</Project>
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/helper.cs b/tests/src/CoreMangLib/cti/system/weakreference/helper.cs
deleted file mode 100644 (file)
index e78e14d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-
-public class myClass
-{
-    public string myString;
-
-    // The C# compiler converts destructors to Finalize methods. Without a Finalize method,
-    // a long weak reference to an object of the type becomes a short weak reference.
-    ~myClass()
-    {
-    }
-}
-
-public class WRHelper
-{
-    public static myClass CreateAnObject(string s)
-    {
-        myClass _mc = new myClass();
-        _mc.myString = s;
-        return _mc;
-    }
-
-    public static bool VerifyObject(WeakReference wr, string s)
-    {
-        if (((myClass)wr.Target).myString != s)
-            return false;
-        else
-            return true;
-    }
-}
\ No newline at end of file
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/weakreferencector1.cs b/tests/src/CoreMangLib/cti/system/weakreference/weakreferencector1.cs
deleted file mode 100644 (file)
index 7d78331..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-
-public struct TestStruct
-{
-    public int IntValue;
-    public string StringValue;
-}
-
-public class DisposableClass : IDisposable
-{
-    public void Dispose()
-    {
-    }
-}
-
-/// <summary>
-/// ctor(System.Object, System.Boolean)
-/// </summary>
-
-[SecuritySafeCritical]
-public class WeakReferenceCtor1
-{
-    #region Private Fields
-    private const int c_MIN_STRING_LENGTH = 8;
-    private const int c_MAX_STRING_LENGTH = 1024;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-        retVal = PosTest8() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Ctor with valid target reference and set trackResurrection to false");
-
-        try
-        {
-            Object obj = new Object();
-            WeakReference reference = new WeakReference(obj, false);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(obj)) )
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", obj = " + obj.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call Ctor with valid target reference and set trackResurrection to true");
-
-        try
-        {
-            Object obj = new Object();
-            WeakReference reference = new WeakReference(obj, true);
-
-            if ((reference.TrackResurrection != true) || (!reference.Target.Equals(obj)))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", obj = " + obj.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Call Ctor with value type target reference");
-
-        try
-        {
-            int randValue = TestLibrary.Generator.GetInt32(-55);
-            WeakReference reference = new WeakReference(randValue, true);
-
-            if ((reference.TrackResurrection != true) || (!reference.Target.Equals(randValue)))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", randValue = " + randValue.ToString());
-                retVal = false;
-            }
-
-            reference = new WeakReference(randValue, false);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(randValue)))
-            {
-                TestLibrary.TestFramework.LogError("003.2", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", randValue = " + randValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Call Ctor with reference type target reference and set trackResurrection to true");
-
-        try
-        {
-            string randValue = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            WeakReference reference = new WeakReference(randValue, true);
-
-            if ((reference.TrackResurrection != true) || (!reference.Target.Equals(randValue)))
-            {
-                TestLibrary.TestFramework.LogError("004.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", randValue = " + randValue.ToString());
-                retVal = false;
-            }
-
-            reference = new WeakReference(randValue, false);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(randValue)))
-            {
-                TestLibrary.TestFramework.LogError("004.2", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", randValue = " + randValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Call Ctor with null reference and set trackResurrection to true");
-
-        try
-        {
-            WeakReference reference = new WeakReference(null, true);
-
-            if ((reference.TrackResurrection != true) || (reference.Target != null))
-            {
-                TestLibrary.TestFramework.LogError("005.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString());
-                retVal = false;
-            }
-
-            reference = new WeakReference(null, false);
-
-            if ((reference.TrackResurrection != false) || (reference.Target != null))
-            {
-                TestLibrary.TestFramework.LogError("005.2", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Call Ctor with IntPtr reference and set trackResurrection to true");
-
-        try
-        {
-            Object desiredValue = IntPtr.Zero;
-            WeakReference reference = new WeakReference(desiredValue, true);
-
-            if ((reference.TrackResurrection != true) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("006.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-
-            desiredValue = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-            reference = new WeakReference(desiredValue, false);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("006.2", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Call Ctor with IntPtr reference and set trackResurrection to true");
-
-        try
-        {
-            TestStruct ts = new TestStruct();
-            ts.IntValue = TestLibrary.Generator.GetInt32(-55);
-            ts.StringValue = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            Object desiredValue = ts;
-            WeakReference reference = new WeakReference(desiredValue, true);
-
-            if ((reference.TrackResurrection != true) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("007.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-
-            reference = new WeakReference(desiredValue, false);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("007.2", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest8()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest8: Call Ctor with IntPtr reference and set trackResurrection to true");
-
-        try
-        {
-            DisposableClass dc = new DisposableClass();
-            Object desiredValue = dc;
-            WeakReference reference = new WeakReference(desiredValue, true);
-
-            if ((reference.TrackResurrection != true) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("008.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-
-            reference = new WeakReference(desiredValue, false);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("008.2", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("008.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        WeakReferenceCtor1 test = new WeakReferenceCtor1();
-
-        TestLibrary.TestFramework.BeginTestCase("WeakReferenceCtor1");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/weakreferencector2.cs b/tests/src/CoreMangLib/cti/system/weakreference/weakreferencector2.cs
deleted file mode 100644 (file)
index 02a4000..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-using TestLibrary;
-
-
-[SecuritySafeCritical]
-public class WeakReferenceCtor
-{
-    public static int Main(string[] args)
-    {
-        WeakReferenceCtor test = new WeakReferenceCtor();
-        TestFramework.BeginTestCase("Testing WeakReference.Ctor (2)");
-
-        if (test.RunTests())
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-    // ATTENTION!!! ATTENTION!!! ATTENTION!!!
-    //
-    // There is no guarantee that WeakReference objects will be collected after GC.Collect().
-    // The bottom line is, compiler generated temps for objects created locally (within the
-    // same function), castings, boxing/unboxing will get their lifetimes extended to the
-    // end of the function.
-    //
-    // All these are due to changes related to the MinOpts feature made during the 
-    // Silverlight/Arrowhead timeframe. For more information, see DevDiv Bugs 170524.
-    //
-    // Many of these behaviors are not documented. If any of the underlying implementation is
-    // changed, the tests will need to be updated as well.
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestFramework.BeginScenario("Test short WeakReference ctor");
-
-        try
-        {
-            string testStr = "Test";
-            WeakReference extWR = new WeakReference(WRHelper.CreateAnObject(testStr), false);
-
-            if (!WRHelper.VerifyObject(extWR, testStr))
-            {
-                TestFramework.LogError("001", "WeakReference target not as expected. Expected : Test; Actual: " + extWR.Target.ToString());
-                retVal = false;
-            }
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            //Dev10 Bug #413556: WeakReference object incorrectly kept alive. Enable after the test is fixed.
-            //
-            //if (extWR.Target != null)
-            //{
-            //    TestFramework.LogError("002", "WeakReference target not as expected. Expected : null; Actual: " + extWR.Target.ToString());
-            //    retVal = false;
-            //}
-
-            if (extWR.TrackResurrection != false)
-            {
-                TestFramework.LogError("003", "WeakReference track resurrection not as expected. Expected : false; Actual: " + extWR.TrackResurrection);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestFramework.LogError("004", "Unexpected exception occurred: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestFramework.BeginScenario("Test long WeakReference ctor");
-
-        try
-        {
-            string testStr = "Test";
-            WeakReference extWR = new WeakReference(WRHelper.CreateAnObject(testStr), true);
-
-            if (!WRHelper.VerifyObject(extWR, testStr))
-            {
-                TestFramework.LogError("005", "WeakReference target not as expected. Expected : Test; Actual: " + extWR.Target.ToString());
-                retVal = false;
-            }
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            if (!WRHelper.VerifyObject(extWR, testStr))
-            {
-                TestFramework.LogError("006", "WeakReference target not as expected. Expected : null; Actual: " + extWR.Target.ToString());
-                retVal = false;
-            }
-
-            if (extWR.TrackResurrection != true)
-            {
-                TestFramework.LogError("007", "WeakReference track resurrection not as expected. Expected : true; Actual: " + extWR.TrackResurrection);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestFramework.LogError("008", "Unexpected exception occurred: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
-
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/weakreferencector2b.cs b/tests/src/CoreMangLib/cti/system/weakreference/weakreferencector2b.cs
deleted file mode 100644 (file)
index 474c4b4..0000000
+++ /dev/null
@@ -1,296 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-
-
-public struct TestStruct
-{
-    public int IntValue;
-    public string StringValue;
-}
-
-public class DisposableClass : IDisposable
-{
-    public void Dispose()
-    {
-    }
-}
-
-/// <summary>
-/// ctor(System.Object)
-/// </summary>
-
-[SecuritySafeCritical]
-public class WeakReferenceCtor2
-{
-    #region Private Fields
-    private const int c_MIN_STRING_LENGTH = 8;
-    private const int c_MAX_STRING_LENGTH = 1024;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Ctor with valid target reference");
-
-        try
-        {
-            Object obj = new Object();
-            WeakReference reference = new WeakReference(obj);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(obj)))
-            {
-                TestLibrary.TestFramework.LogError("001.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", obj = " + obj.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call Ctor with IntPtr.Zero reference");
-
-        try
-        {
-            Object desiredValue = IntPtr.Zero;
-            WeakReference reference = new WeakReference(desiredValue);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("002.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-
-            desiredValue = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-            reference = new WeakReference(desiredValue);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("002.2", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Call Ctor with value type target reference");
-
-        try
-        {
-            int randValue = TestLibrary.Generator.GetInt32(-55);
-            WeakReference reference = new WeakReference(randValue);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(randValue)))
-            {
-                TestLibrary.TestFramework.LogError("003.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", randValue = " + randValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Call Ctor with reference type target reference");
-
-        try
-        {
-            string randValue = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            WeakReference reference = new WeakReference(randValue);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(randValue)))
-            {
-                TestLibrary.TestFramework.LogError("004.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", randValue = " + randValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: Call Ctor with null reference");
-
-        try
-        {
-            WeakReference reference = new WeakReference(null);
-
-            if ((reference.TrackResurrection != false) || (reference.Target != null))
-            {
-                TestLibrary.TestFramework.LogError("005.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: Call Ctor with IntPtr reference and set trackResurrection to true");
-
-        try
-        {
-            DisposableClass dc = new DisposableClass();
-            Object desiredValue = dc;
-            WeakReference reference = new WeakReference(desiredValue);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("006.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006.7", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest7: Call Ctor with IntPtr reference and set trackResurrection to true");
-
-        try
-        {
-            TestStruct ts = new TestStruct();
-            ts.IntValue = TestLibrary.Generator.GetInt32(-55);
-            ts.StringValue = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            Object desiredValue = ts;
-            WeakReference reference = new WeakReference(desiredValue);
-
-            if ((reference.TrackResurrection != false) || (!reference.Target.Equals(desiredValue)))
-            {
-                TestLibrary.TestFramework.LogError("007.1", "Calling Ctor with valid target reference and set trackResurrection to false constructs wrong instance");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] reference.TrackResurrection = " + reference.TrackResurrection.ToString() +
-                                                                                                                  ", reference.Target = " + reference.Target.ToString() +
-                                                                                                                  ", desiredValue = " + desiredValue.ToString());
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        WeakReferenceCtor2 test = new WeakReferenceCtor2();
-
-        TestLibrary.TestFramework.BeginTestCase("WeakReferenceCtor2");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/weakreferenceisalive.cs b/tests/src/CoreMangLib/cti/system/weakreference/weakreferenceisalive.cs
deleted file mode 100644 (file)
index b9a55d6..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-using TestLibrary;
-
-public class WeakReferenceIsAlive
-{
-    [SecuritySafeCritical]
-    public static int Main(string[] args)
-    {
-        WeakReferenceIsAlive test = new WeakReferenceIsAlive();
-        TestFramework.BeginTestCase("Testing WeakReference.IsAlive");
-
-        if (test.RunTests())
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestFramework.EndTestCase();
-            TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-
-    [SecuritySafeCritical]
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-
-        return retVal;
-    }
-
-
-    [SecuritySafeCritical]
-
-    // ATTENTION!!! ATTENTION!!! ATTENTION!!!
-    //
-    // If you encounter issues with object lifetime, please see more comments in WeakReferenceCtor2.cs
-
-    public bool PosTest1()
-    {
-        bool retVal = true;
-        TestFramework.BeginScenario("Test IsAlive with short WeakReference");
-
-        try
-        {
-            WeakReference extWR = new WeakReference(WRHelper.CreateAnObject("Test"), false);
-
-            if (!extWR.IsAlive)
-            {
-                TestFramework.LogError("001", "WeakReference IsAlive not as expected. Expected : True; Actual: " + extWR.IsAlive);
-                retVal = false;
-            }
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            //Dev10 Bug #413556: WeakReference object incorrectly kept alive. Enable after the test is fixed.
-            //
-            //if (extWR.IsAlive)
-            //{
-            //    TestFramework.LogError("002", "WeakReference IsAlive not as expected. Expected : False; Actual: " + extWR.IsAlive);
-            //    retVal = false;
-            //}
-        }
-        catch (Exception e)
-        {
-            TestFramework.LogError("003", "Unexpected exception occured: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-
-    [SecuritySafeCritical]
-    public bool PosTest2()
-    {
-        bool retVal = true;
-        TestFramework.BeginScenario("Test IsAlive with long WeakReference");
-
-        try
-        {
-            WeakReference extWR = new WeakReference(WRHelper.CreateAnObject("Test"), true);
-
-            if (!extWR.IsAlive)
-            {
-                TestFramework.LogError("004", "WeakReference IsAlive not as expected. Expected : True; Actual: " + extWR.IsAlive);
-                retVal = false;
-            }
-
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            if (!extWR.IsAlive)
-            {
-                TestFramework.LogError("005", "WeakReference IsAlive not as expected. Expected : True; Actual: " + extWR.IsAlive);
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestFramework.LogError("006", "Unexpected exception occured: " + e);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-}
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/weakreferenceisaliveb.cs b/tests/src/CoreMangLib/cti/system/weakreference/weakreferenceisaliveb.cs
deleted file mode 100644 (file)
index b6b6f35..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-
-public class DisposableClass : IDisposable
-{
-    public void Dispose()
-    {
-    }
-}
-
-/// <summary>
-/// IsAlive
-/// </summary>
-
-[SecuritySafeCritical]
-public class WeakReferenceIsAlive
-{
-    #region Private Fields
-    private const int c_MIN_STRING_LENGTH = 8;
-    private const int c_MAX_STRING_LENGTH = 1024;
-
-    private WeakReference[] m_References;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: IsAlive should return true before GC collecting memory for short weak references");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            GenerateUnusedData1();
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                if (!m_References[i].IsAlive)
-                {
-                    TestLibrary.TestFramework.LogError("001.1", "IsAlive return false before GC collecting memory");
-                    if (m_References[i].Target != null)
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = " + m_References[i].Target.ToString());
-                    }
-                    else
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = null");
-                    }
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: IsAlive should return false before GC collecting memory for weak references reference null");
-
-        try
-        {
-            WeakReference reference = new WeakReference(null, false);
-            if (reference.IsAlive)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "IsAlive returns true before GC collecting memory");
-                retVal = false;
-            }
-
-            reference = new WeakReference(null, true);
-            if (reference.IsAlive)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "IsAlive returns true before GC collecting memory");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: IsAlive should return false after GC collecting memory for short weak references");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-            
-            GenerateUnusedData1();
-
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                if (m_References[i].IsAlive)
-                {
-                    TestLibrary.TestFramework.LogError("003.1", "IsAlive returns true after GC collecting memory");
-                    if (m_References[i].Target != null)
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = " + m_References[i].Target.ToString());
-                    }
-                    else
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = null");
-                    }
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: IsAlive should return true before GC collecting memory for long weak references");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            GenerateUnusedData2();
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                if (!m_References[i].IsAlive)
-                {
-                    TestLibrary.TestFramework.LogError("004.1", "IsAlive return false before GC collecting memory");
-                    if (m_References[i].Target != null)
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[" + i.ToString() + "] = " + m_References[i].Target.ToString());
-                    }
-                    else
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[" + i.ToString() + "] = null");
-                    }
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: IsAlive should return true after GC collecting memory for long weak references");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            GenerateUnusedData2();
-
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                if (m_References[i].IsAlive)
-                {
-                    TestLibrary.TestFramework.LogError("005.1", "IsAlive returns true before GC collecting memory");
-                    if (m_References[i].Target != null)
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = " + m_References[i].Target.ToString());
-                    }
-                    else
-                    {
-                        TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = null");
-                    }
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.2", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        WeakReferenceIsAlive test = new WeakReferenceIsAlive();
-
-        TestLibrary.TestFramework.BeginTestCase("WeakReferenceIsAlive");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Methods
-    private void GenerateUnusedData1()
-    {
-        int intRandValue = TestLibrary.Generator.GetInt32(-55);
-        long longRandValue = TestLibrary.Generator.GetInt64(-55);
-        double doubleRandValue = TestLibrary.Generator.GetDouble(-55);
-
-        object obj = new object();
-        string str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-        Byte[] randBytes = new Byte[c_MAX_STRING_LENGTH];
-        TestLibrary.Generator.GetBytes(-55, randBytes);
-
-        WeakReferenceIsAlive thisClass = new WeakReferenceIsAlive();
-        DisposableClass dc = new DisposableClass();
-        IntPtr ptr = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-
-        m_References = new WeakReference[] {
-            new WeakReference(obj, false),
-            new WeakReference(str, false),
-            new WeakReference(randBytes, false),
-            new WeakReference(thisClass, false),
-            new WeakReference(ptr, false),
-            new WeakReference(IntPtr.Zero, false),
-            new WeakReference(dc, false)
-        };
-    }
-
-    private void GenerateUnusedData2()
-    {
-        object obj = new object();
-        string str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-        Byte[] randBytes = new Byte[c_MAX_STRING_LENGTH];
-        TestLibrary.Generator.GetBytes(-55, randBytes);
-
-        WeakReferenceIsAlive thisClass = new WeakReferenceIsAlive();
-        DisposableClass dc = new DisposableClass();
-        IntPtr ptr = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-        m_References = new WeakReference[] {
-            new WeakReference(obj, true),
-            new WeakReference(str, true),
-            new WeakReference(randBytes, true),
-            new WeakReference(thisClass, true),
-            new WeakReference(ptr, true),
-            new WeakReference(IntPtr.Zero, true),
-            new WeakReference(dc, true)
-        };
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/weakreferencetargetb.cs b/tests/src/CoreMangLib/cti/system/weakreference/weakreferencetargetb.cs
deleted file mode 100644 (file)
index b717ccc..0000000
+++ /dev/null
@@ -1,392 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-
-public struct TestStruct
-{
-    public int IntValue;
-    public string StringValue;
-}
-
-public class DisposableClass : IDisposable
-{
-    public void Dispose()
-    {
-    }
-}
-
-/// <summary>
-/// Target
-/// </summary>
-
-
-[SecuritySafeCritical]
-public class WeakReferenceTarget
-{
-    #region Private Fields
-    private const int c_MIN_STRING_LENGTH = 8;
-    private const int c_MAX_STRING_LENGTH = 1024;
-
-    private WeakReference[] m_References;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: Call Target on short weak reference to instance of an object");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            retVal = GenerateUnusedData1("001.1") && retVal;
-
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                if (m_References[i].Target != null)
-                {
-                    TestLibrary.TestFramework.LogError("001.2", "Target is not null after GC collecting memory");
-                    TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = " + m_References[i].Target.ToString());
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: Call Target on long weak reference to instance of an object");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            retVal = GenerateUnusedData2("002.1") && retVal;
-
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                if (m_References[i].Target != null)
-                {
-                    TestLibrary.TestFramework.LogError("002.2", "Target is not null after GC collecting memory");
-                    TestLibrary.TestFramework.LogInformation("WARNING: m_References[i] = " + m_References[i].Target.ToString());
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: Call set_Target on short weak reference to instance of an object before GC");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            retVal = GenerateUnusedData1("003.1") && retVal;
-
-            object obj = new object();
-            string str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            Byte[] randBytes = new Byte[c_MAX_STRING_LENGTH];
-            TestLibrary.Generator.GetBytes(-55, randBytes);
-;
-
-            WeakReferenceTarget thisClass = new WeakReferenceTarget();
-            DisposableClass dc = new DisposableClass();
-            IntPtr ptr = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-
-            Object[] objs = new object[] {
-                obj,
-                str,
-                randBytes,
-                thisClass,
-                dc,
-                ptr,
-                IntPtr.Zero
-            };
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                m_References[i].Target = objs[i];
-
-                if (!m_References[i].Target.Equals(objs[i]))
-                {
-                    TestLibrary.TestFramework.LogError("003.2", "Target is not set correctly");
-                    TestLibrary.TestFramework.LogInformation("WARNING: m_References[i].Target = " + m_References[i].Target.ToString() +
-                                                                                                                  ", objs = " + objs[i].ToString() +
-                                                                                                                  ", i = " + i.ToString());
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: Call set_Target on long weak reference to instance of an object before GC");
-
-        try
-        {
-            // Reclaim memories
-            GC.Collect();
-            GC.WaitForPendingFinalizers();
-
-            retVal = GenerateUnusedData2("004.1") && retVal;
-
-            object obj = new object();
-            string str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            Byte[] randBytes = new Byte[c_MAX_STRING_LENGTH];
-            TestLibrary.Generator.GetBytes(-55, randBytes);
-
-            WeakReferenceTarget thisClass = new WeakReferenceTarget();
-            DisposableClass dc = new DisposableClass();
-            IntPtr ptr = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-
-            Object[] objs = new object[] {
-                obj,
-                str,
-                randBytes,
-                thisClass,
-                dc,
-                ptr,
-                IntPtr.Zero
-            };
-
-            for (int i = 0; i < m_References.Length; ++i)
-            {
-                m_References[i].Target = objs[i];
-
-                if (!m_References[i].Target.Equals(objs[i]))
-                {
-                    TestLibrary.TestFramework.LogError("004.2", "Target is not set correctly");
-                    TestLibrary.TestFramework.LogInformation("WARNING: m_References[i].Target = " + m_References[i].Target.ToString() +
-                                                                                                                  ", objs = " + objs[i].ToString() +
-                                                                                                                  ", i = " + i.ToString());
-                    retVal = false;
-                }
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-        finally
-        {
-            m_References = null;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        WeakReferenceTarget test = new WeakReferenceTarget();
-
-        TestLibrary.TestFramework.BeginTestCase("WeakReferenceTarget");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-
-    #region Private Methods
-    private bool GenerateUnusedData1(string errorNo)
-    {
-        bool retVal = true;
-
-        object obj = new object();
-        string str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-        Byte[] randBytes = new Byte[c_MAX_STRING_LENGTH];
-        TestLibrary.Generator.GetBytes(-55, randBytes);
-
-        WeakReferenceTarget thisClass = new WeakReferenceTarget();
-        DisposableClass dc = new DisposableClass();
-        IntPtr ptr = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-
-        Object[] objs = new object[] {
-            obj,
-            str,
-            randBytes,
-            thisClass,
-            dc,
-            ptr,
-            IntPtr.Zero
-        };
-
-        m_References = new WeakReference[objs.Length];
-        for (int i = 0; i < objs.Length; ++i)
-        {
-            m_References[i] = new WeakReference(objs[i], false);
-        }
-
-        for (int i = 0; i < m_References.Length; ++i)
-        {
-            if (!m_References[i].Target.Equals(objs[i]))
-            {
-                TestLibrary.TestFramework.LogError(errorNo, "Target returns wrong value for weak references");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] i = " + i.ToString() +
-                                                                                                                  ", m_References[i].Target = " + m_References[i].Target.ToString() +
-                                                                                                                  ", objs[i] = " + objs[i].ToString());
-                retVal = false;
-            }
-        }
-
-        return retVal;
-    }
-
-    private bool GenerateUnusedData2(string errorNo)
-    {
-        bool retVal = true;
-
-        object obj = new object();
-        string str = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-        Byte[] randBytes = new Byte[c_MAX_STRING_LENGTH];
-        TestLibrary.Generator.GetBytes(-55, randBytes);
-
-        TestStruct ts = new TestStruct();
-        ts.IntValue = TestLibrary.Generator.GetInt32(-55);
-
-        WeakReferenceTarget thisClass = new WeakReferenceTarget();
-        DisposableClass dc = new DisposableClass();
-        IntPtr ptr = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-
-        Object[] objs = new object[] {
-            obj,
-            str,
-            randBytes,
-            thisClass,
-            dc,
-            ptr,
-            IntPtr.Zero
-        };
-
-        m_References = new WeakReference[objs.Length];
-        for (int i = 0; i < objs.Length; ++i)
-        {
-            m_References[i] = new WeakReference(objs[i], true);
-        }
-
-        for (int i = 0; i < m_References.Length; ++i)
-        {
-            if (!m_References[i].Target.Equals(objs[i]))
-            {
-                TestLibrary.TestFramework.LogError(errorNo, "Target returns wrong value for weak references");
-                TestLibrary.TestFramework.LogInformation("WARNING [LOCAL VARIABLES] i = " + i.ToString() +
-                                                                                                                  ", m_References[i].Target = " + m_References[i].Target.ToString() +
-                                                                                                                  ", objs[i] = " + objs[i].ToString());
-                retVal = false;
-            }
-        }
-
-        return retVal;
-    }
-
-    private void GenerateUnusedDisposableData()
-    {
-        DisposableClass dc = null;
-        m_References = new WeakReference[1];
-
-        try
-        {
-            dc = new DisposableClass();
-            m_References[0] = new WeakReference(dc);
-        }
-        finally
-        {
-            if (null != dc)
-            {
-                dc.Dispose();
-            }
-        }
-
-        GC.Collect();
-    }
-    #endregion
-}
diff --git a/tests/src/CoreMangLib/cti/system/weakreference/weakreferencetrackresurrection_cti.cs b/tests/src/CoreMangLib/cti/system/weakreference/weakreferencetrackresurrection_cti.cs
deleted file mode 100644 (file)
index 31c3438..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System.Security;
-using System;
-
-public struct TestStruct
-{
-    public int IntValue;
-    public string StringValue;
-}
-
-public class DisposableClass : IDisposable
-{
-    public void Dispose()
-    {
-    }
-}
-
-/// <summary>
-/// TrackResurrection
-/// </summary>
-
-[SecuritySafeCritical]
-public class WeakReferenceTrackResurrection
-{
-    #region Private Fields
-    private const int c_MIN_STRING_LENGTH = 8;
-    private const int c_MAX_STRING_LENGTH = 1024;
-    #endregion
-
-    #region Public Methods
-    public bool RunTests()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.LogInformation("[Positive]");
-        retVal = PosTest1() && retVal;
-        retVal = PosTest2() && retVal;
-        retVal = PosTest3() && retVal;
-        retVal = PosTest4() && retVal;
-        retVal = PosTest5() && retVal;
-        retVal = PosTest6() && retVal;
-        retVal = PosTest7() && retVal;
-
-        return retVal;
-    }
-
-    #region Positive Test Cases
-    public bool PosTest1()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest1: TrackResurrection will return correct value when construct the WeakReference for an object instance");
-
-        try
-        {
-            Object obj = new Object();
-            WeakReference reference = new WeakReference(obj, true);
-
-            if (!reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("001.1", "TrackResurrection returns false when construct the WeakReference for an object instance");
-                retVal = false;
-            }
-
-            reference = new WeakReference(obj, false);
-
-            if (reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("001.2", "TrackResurrection returns true when construct the WeakReference for an object instance");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("001.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest2()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest2: TrackResurrection will return correct value when construct the WeakReference for an value type instance");
-
-        try
-        {
-            int randValue = TestLibrary.Generator.GetInt32(-55);
-            WeakReference reference = new WeakReference(randValue, true);
-
-            if (!reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("002.1", "TrackResurrection returns false when construct the WeakReference for an value type instance");
-                retVal = false;
-            }
-
-            reference = new WeakReference(randValue, false);
-
-            if (reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("002.2", "TrackResurrection returns true when construct the WeakReference for an value type instance");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("002.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest3()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest3: TrackResurrection will return correct value when construct the WeakReference for an reference type instance");
-
-        try
-        {
-            string randValue = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            WeakReference reference = new WeakReference(randValue, true);
-
-            if (!reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("003.1", "TrackResurrection returns false when construct the WeakReference for an reference type instance");
-                retVal = false;
-            }
-
-            reference = new WeakReference(randValue, false);
-
-            if (reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("003.2", "TrackResurrection returns true when construct the WeakReference for an reference type instance");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("003.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest4()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest4: TrackResurrection will return correct value when construct the WeakReference for null reference");
-
-        try
-        {
-            WeakReference reference = new WeakReference(null, true);
-
-            if (!reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("004.1", "TrackResurrection returns false when construct the WeakReference for null reference");
-                retVal = false;
-            }
-
-            reference = new WeakReference(null, false);
-
-            if (reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("004.2", "TrackResurrection returns true when construct the WeakReference for null reference");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("004.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    
-    public bool PosTest5()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest5: TrackResurrection will return correct value when construct the WeakReference for a disposable instance");
-
-        try
-        {
-            DisposableClass dc = new DisposableClass();
-            Object desiredValue = dc;
-            WeakReference reference = new WeakReference(desiredValue, true);
-
-            if (!reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("005.1", "TrackResurrection returns false when construct the WeakReference for a disposable instance");
-                retVal = false;
-            }
-
-            reference = new WeakReference(desiredValue, false);
-
-            if (reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("005.2", "TrackResurrection returns true when construct the WeakReference for a disposable instance");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("005.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest6()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest6: TrackResurrection will return correct value when construct the WeakReference for a IntPtr instance");
-
-        try
-        {
-            Object desiredValue = IntPtr.Zero;
-            WeakReference reference = new WeakReference(desiredValue, true);
-
-            if (!reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("006.1", "TrackResurrection returns false when construct the WeakReference for a IntPtr instance");
-                retVal = false;
-            }
-
-            desiredValue = new IntPtr(TestLibrary.Generator.GetInt32(-55));
-            reference = new WeakReference(desiredValue, false);
-
-            if (reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("006.2", "TrackResurrection returns true when construct the WeakReference for a IntPtr instance");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("006.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-
-    public bool PosTest7()
-    {
-        bool retVal = true;
-
-        TestLibrary.TestFramework.BeginScenario("PosTest7: TrackResurrection will return correct value when construct the WeakReference for a struct instance");
-
-        try
-        {
-            TestStruct ts = new TestStruct();
-            ts.IntValue = TestLibrary.Generator.GetInt32(-55);
-            ts.StringValue = TestLibrary.Generator.GetString(-55, false, c_MIN_STRING_LENGTH, c_MAX_STRING_LENGTH);
-            Object desiredValue = ts;
-            WeakReference reference = new WeakReference(desiredValue, true);
-
-            if (!reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("007.1", "TrackResurrection returns false when construct the WeakReference for a struct instance");
-                retVal = false;
-            }
-
-            reference = new WeakReference(desiredValue, false);
-
-            if (reference.TrackResurrection)
-            {
-                TestLibrary.TestFramework.LogError("007.2", "TrackResurrection returns true when construct the WeakReference for a struct instance");
-                retVal = false;
-            }
-        }
-        catch (Exception e)
-        {
-            TestLibrary.TestFramework.LogError("007.3", "Unexpected exception: " + e);
-            TestLibrary.TestFramework.LogInformation(e.StackTrace);
-            retVal = false;
-        }
-
-        return retVal;
-    }
-    #endregion
-    #endregion
-
-    public static int Main()
-    {
-        WeakReferenceTrackResurrection test = new WeakReferenceTrackResurrection();
-
-        TestLibrary.TestFramework.BeginTestCase("WeakReferenceTrackResurrection");
-
-        if (test.RunTests())
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("PASS");
-            return 100;
-        }
-        else
-        {
-            TestLibrary.TestFramework.EndTestCase();
-            TestLibrary.TestFramework.LogInformation("FAIL");
-            return 0;
-        }
-    }
-}
index affc629..4fe5cef 100644 (file)
@@ -25,6 +25,8 @@ add_subdirectory(PrimitiveMarshalling/EnumMarshalling)
 add_subdirectory(FuncPtrAsDelegateParam)
 add_subdirectory(SimpleStruct)
 add_subdirectory(StructMarshalling/PInvoke)
+add_subdirectory(StructMarshalling/ReversePInvoke/MarshalExpStruct)
+add_subdirectory(StructMarshalling/ReversePInvoke/MarshalSeqStruct)
 add_subdirectory(BestFitMapping)
 add_subdirectory(RefInt)
 add_subdirectory(RefCharArray)
@@ -41,9 +43,9 @@ add_subdirectory(DllImportAttribute/Simple)
 add_subdirectory(ExecInDefAppDom)
 
 if(WIN32)
+    add_subdirectory(PInvoke/NativeCallManagedComVisible)
     # This test doesn't necessarily need to be Windows-only, but the implementation is very tied to Windows APIs
     add_subdirectory(PInvoke/DateTime)
-
     add_subdirectory(COM/NativeServer)
     add_subdirectory(COM/NativeClients/Primitives)
     add_subdirectory(IJW/FakeMscoree)
index fb0fcd5..b23edaf 100644 (file)
@@ -11,6 +11,9 @@
     <ProjectTypeGuids>{209912F9-0DA1-4184-9CC1-8D583BAF4A28};{87799F5D-CEBD-499D-BDBA-B2C6105CD766}</ProjectTypeGuids>
     <ApplicationManifest>App.manifest</ApplicationManifest>
 
+    <!-- Blocked on ILAsm supporting embedding resources. See https://github.com/dotnet/coreclr/issues/20819 -->
+    <IlrtTestKind>BuildOnly</IlrtTestKind>
+
     <!-- Test unsupported outside of windows -->
     <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
     <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
index d98acf8..6d51df2 100644 (file)
@@ -11,6 +11,9 @@
     <ProjectTypeGuids>{209912F9-0DA1-4184-9CC1-8D583BAF4A28};{87799F5D-CEBD-499D-BDBA-B2C6105CD766}</ProjectTypeGuids>
     <ApplicationManifest>App.manifest</ApplicationManifest>
 
+    <!-- Blocked on ILAsm supporting embedding resources. See https://github.com/dotnet/coreclr/issues/20819 -->
+    <IlrtTestKind>BuildOnly</IlrtTestKind>
+
     <!-- Test unsupported outside of windows -->
     <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
     <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
index ca4cac4..56fcc20 100644 (file)
@@ -11,6 +11,9 @@
     <ProjectTypeGuids>{209912F9-0DA1-4184-9CC1-8D583BAF4A28};{87799F5D-CEBD-499D-BDBA-B2C6105CD766}</ProjectTypeGuids>
     <ApplicationManifest>App.manifest</ApplicationManifest>
 
+    <!-- Blocked on ILAsm supporting embedding resources. See https://github.com/dotnet/coreclr/issues/20819 -->
+    <IlrtTestKind>BuildOnly</IlrtTestKind>
+
     <!-- Test unsupported outside of windows -->
     <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
     <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
index e184d0d..19d0574 100644 (file)
@@ -37,6 +37,7 @@ namespace NetClient
 
             this.Marshal_Float(a / 100f, b / 100f);
             this.Marshal_Double(a / 100.0, b / 100.0);
+            this.Marshal_ManyInts();
         }
 
         static private bool EqualByBound(float expected, float actual)
@@ -189,5 +190,15 @@ namespace NetClient
             this.server.Add_Double_Out(a, b, out c);
             Assert.IsTrue(EqualByBound(expected, c));
         }
+
+        private void Marshal_ManyInts()
+        {
+            var expected = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11;
+            Console.WriteLine($"{expected.GetType().Name} 11 test invariant: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 = {expected}");
+            Assert.IsTrue(expected == this.server.Add_ManyInts11(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11));
+            expected = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12;
+            Console.WriteLine($"{expected.GetType().Name} 12 test invariant: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 = {expected}");
+            Assert.IsTrue(expected == this.server.Add_ManyInts12(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12));
+        }
     }
 }
index c6b1163..4ed713d 100644 (file)
@@ -190,4 +190,14 @@ public class NumericTesting : Server.Contract.INumericTesting
     {
         c = a + b;
     }
+
+    public int Add_ManyInts11(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11)
+    {
+        return i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + i10 + i11;
+    }
+
+    public int Add_ManyInts12(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11, int i12)
+    {
+        return i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + i10 + i11 + i12;
+    }
 }
\ No newline at end of file
index 3d1a624..4afebb3 100644 (file)
@@ -196,6 +196,25 @@ namespace
         THROW_IF_FAILED(numericTesting->Add_Double_Out(a, b, &c));
         THROW_FAIL_IF_FALSE(EqualByBound(expected, c));
     }
+
+    void MarshalManyInts(_In_ INumericTesting *numericTesting)
+    {
+        HRESULT hr;
+
+        int expected = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11;
+        ::printf("Many ints 11 test invariant: 1 + 2 + 3 + 4... + 11 = %d\n", expected);
+
+        int result = 0;
+        THROW_IF_FAILED(numericTesting->Add_ManyInts11(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, &result));
+        THROW_FAIL_IF_FALSE(result == expected);
+
+        expected = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12;
+        ::printf("Many ints 12 test invariant: 1 + 2 + 3 + 4... + 11 + 12= %d\n", expected);
+
+        result = 0;
+        THROW_IF_FAILED(numericTesting->Add_ManyInts12(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, &result));
+        THROW_FAIL_IF_FALSE(result == expected);
+    }
 }
 
 void Run_NumericTests()
@@ -224,4 +243,5 @@ void Run_NumericTests()
     MarshalULong(numericTesting, (uint64_t)a, (uint64_t)b);
     MarshalFloat(numericTesting, (float)a / 100.f, (float)b / 100.f);
     MarshalDouble(numericTesting, (double)a / 100.0, (double)b / 100.0);
+    MarshalManyInts(numericTesting);
 }
index a6e76ec..aa703be 100644 (file)
@@ -246,6 +246,43 @@ public:
         return S_OK;
     }
 
+    DEF_FUNC(Add_ManyInts11)(
+        /*[in]*/ int i1,
+        /*[in]*/ int i2,
+        /*[in]*/ int i3,
+        /*[in]*/ int i4,
+        /*[in]*/ int i5,
+        /*[in]*/ int i6,
+        /*[in]*/ int i7,
+        /*[in]*/ int i8,
+        /*[in]*/ int i9,
+        /*[in]*/ int i10,
+        /*[in]*/ int i11,
+        /*[out]*/ int * result )
+    {
+        *result = i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + i10 + i11;
+        return S_OK;
+    }
+
+    DEF_FUNC(Add_ManyInts12)(
+        /*[in]*/ int i1,
+        /*[in]*/ int i2,
+        /*[in]*/ int i3,
+        /*[in]*/ int i4,
+        /*[in]*/ int i5,
+        /*[in]*/ int i6,
+        /*[in]*/ int i7,
+        /*[in]*/ int i8,
+        /*[in]*/ int i9,
+        /*[in]*/ int i10,
+        /*[in]*/ int i11,
+        /*[in]*/ int i12,
+        /*[out]*/ int * result )
+    {
+        *result = i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + i10 + i11 + i12;
+        return S_OK;
+    }
+
 public: // IUnknown
     STDMETHOD(QueryInterface)(
         /* [in] */ REFIID riid,
index 0aa247f..cc003ed 100644 (file)
@@ -44,6 +44,9 @@ namespace Server.Contract
         void Add_ULong_Out(ulong a, ulong b, out ulong c);
         void Add_Float_Out(float a, float b, out float c);
         void Add_Double_Out(double a, double b, out double c);
+
+        int Add_ManyInts11(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11);
+        int Add_ManyInts12(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11, int i12);
     }
 
     [ComVisible(true)]
index 9723106..a15f39f 100644 (file)
@@ -148,6 +148,33 @@ INumericTesting : IUnknown
         /*[in]*/ double a,
         /*[in]*/ double b,
         /*[out]*/ double * c ) = 0;
+      virtual HRESULT STDMETHODCALLTYPE Add_ManyInts11 (
+        /*[in]*/ int i1,
+        /*[in]*/ int i2,
+        /*[in]*/ int i3,
+        /*[in]*/ int i4,
+        /*[in]*/ int i5,
+        /*[in]*/ int i6,
+        /*[in]*/ int i7,
+        /*[in]*/ int i8,
+        /*[in]*/ int i9,
+        /*[in]*/ int i10,
+        /*[in]*/ int i11,
+        /*[out]*/ int * result ) = 0;
+      virtual HRESULT STDMETHODCALLTYPE Add_ManyInts12 (
+        /*[in]*/ int i1,
+        /*[in]*/ int i2,
+        /*[in]*/ int i3,
+        /*[in]*/ int i4,
+        /*[in]*/ int i5,
+        /*[in]*/ int i6,
+        /*[in]*/ int i7,
+        /*[in]*/ int i8,
+        /*[in]*/ int i9,
+        /*[in]*/ int i10,
+        /*[in]*/ int i11,
+        /*[in]*/ int i12,
+        /*[out]*/ int * result ) = 0;
 };
 
 struct __declspec(uuid("7731cb31-e063-4cc8-bcd2-d151d6bc8f43"))
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.cs b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.cs
new file mode 100644 (file)
index 0000000..5d1cd11
--- /dev/null
@@ -0,0 +1,913 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using NativeCallManagedComVisible;
+using TestLibrary;
+
+// Setting ComVisible to true makes the types in this assembly visible 
+// to COM components by default.  If you don't need to access a type in 
+// this assembly from COM, set the ComVisible attribute to false on that type.
+[assembly: ComVisible(true)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("41DDB0BD-1E88-4B0C-BD23-FD3B7E4037A8")]
+
+/// <summary>
+/// Interface with ComImport.
+/// </summary>
+[ComImport]
+[Guid("52E5F852-BD3E-4DF2-8826-E1EC39557943")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceComImport
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("8FDE13DC-F917-44FF-AAC8-A638FD27D647")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not visible with ComVisible(false).
+/// </summary>
+[ComVisible(false)]
+[Guid("0A2EF649-371D-4480-B0C7-07F455C836D3")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not visible without ComVisible().
+/// </summary>
+[Guid("FB504D72-39C4-457F-ACF4-3E5D8A31AAE4")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceWithoutVisible
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not public.
+/// </summary>
+[ComVisible(true)]
+[Guid("11320010-13FA-4B40-8580-8CF92EE70774")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+interface IInterfaceNotPublic
+{
+    int Foo();
+}
+
+/// <summary>
+/// Generic interface with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("BA4B32D4-1D73-4605-AD0A-900A31E75BC3")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceGenericVisibleTrue<T>
+{
+    T Foo();
+}
+
+/// <summary>
+/// Generic class for guid generator.
+/// </summary>
+public class GenericClassW2Pars<T1, T2>
+{
+    T1 Foo(T2 a) { return default(T1); }
+}
+
+/// <summary>
+/// Derived interface visible with ComVisible(true) and GUID.
+/// </summary>
+[ComVisible(true)]
+[Guid("FE62A5B9-34C4-4EAF-AF0A-1AD390B15BDB")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IDerivedInterfaceVisibleTrueGuid
+{
+    int Foo();
+}
+
+/// <summary>
+/// Derived interface visible with ComVisible(true) wothout GUID.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IDerivedInterfaceVisibleTrueNoGuid
+{
+    int Foo1(UInt16 int16Val, bool boolVal);
+    int Foo5(Int32 int32Val);
+}
+
+/// <summary>
+/// Derived interface without visibility and without GUID.
+/// </summary>
+public interface IDerivedInterfaceWithoutVisibleNoGuid
+{
+    int Foo7(Int32 int32Val);
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true) and without Custom Attribute Guid.
+/// Note that in this test, change the method sequence in the interface will 
+///  change the GUID and could reduce the test efficiency.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrueNoGuid : IDerivedInterfaceVisibleTrueGuid, IDerivedInterfaceVisibleTrueNoGuid, IDerivedInterfaceWithoutVisibleNoGuid
+{
+    new int Foo1(UInt16 int16Val, bool boolVal);
+    new int Foo();
+    int Foo2(string str, out int outIntVal, IntPtr intPtrVal, int[] arrayVal, byte inByteVal = 0, int inIntVal = 0);
+    int Foo3(ref short refShortVal, params byte[] paramsList);
+    int Foo4(ref List<short> refShortVal, GenericClassW2Pars<int, short> genericClass, params object[] paramsList);
+}
+
+/// <summary>
+/// Interface not visible and without Custom Attribute Guid.
+/// </summary>
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceNotVisibleNoGuid
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true), without Custom Attribute Guid and a generic method.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrueNoGuidGeneric
+{
+    int Foo<T>(T genericVal);
+}
+
+/// <summary>
+/// Interface with ComImport derived from an interface with ComImport.
+/// </summary>
+[ComImport]
+[Guid("943759D7-3552-43AD-9C4D-CC2F787CF36E")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceComImport_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComImport.
+/// </summary>
+[ComVisible(true)]
+[Guid("75DE245B-0CE3-4B07-8761-328906C750B7")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(false) derived from an interface with ComImport.
+/// </summary>
+[ComVisible(false)]
+[Guid("C73D96C3-B005-42D6-93F5-E30AEE08C66C")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("60B3917B-9CC2-40F2-A975-CD6898DA697F")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(false) derived from an interface with ComVisible(true).
+/// </summary>
+[ComVisible(false)]
+[Guid("2FC59DDB-B1D0-4678-93AF-6A48E838B705")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComVisible(false).
+/// </summary>
+[ComVisible(true)]
+[Guid("C82C25FC-FBAD-4EA9-BED1-343C887464B5")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_VisibleFalse : IInterfaceVisibleFalse
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an not public interface.
+/// </summary>
+[ComVisible(true)]
+[Guid("8A4C1691-5615-4762-8568-481DC671F9CE")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+interface IInterfaceNotPublic_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+
+/// <summary>
+/// Class visible with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("48FC2EFC-C7ED-4E02-8D02-F05B6A439FC9")]
+public sealed class ClassVisibleTrueServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic,
+    IInterfaceVisibleTrueNoGuid, IInterfaceNotVisibleNoGuid,
+    IInterfaceComImport_ComImport, IInterfaceVisibleTrue_ComImport, IInterfaceVisibleFalse_ComImport,
+    IInterfaceVisibleTrue_VisibleTrue, IInterfaceVisibleFalse_VisibleTrue, IInterfaceVisibleTrue_VisibleFalse, IInterfaceNotPublic_VisibleTrue
+{
+    int IInterfaceComImport.Foo() { return 1; }
+    int IInterfaceVisibleTrue.Foo() { return 2; }
+    int IInterfaceVisibleFalse.Foo() { return 3; }
+    int IInterfaceWithoutVisible.Foo() { return 4; }
+    int IInterfaceNotPublic.Foo() { return 5; }
+
+    int IInterfaceVisibleTrueNoGuid.Foo() { return 6; }
+    int IInterfaceVisibleTrueNoGuid.Foo1(UInt16 int16Val, bool boolVal) { return 7; }
+    int IInterfaceVisibleTrueNoGuid.Foo2(string str, out int outIntVal, IntPtr intPtrVal, int[] arrayVal, byte inByteVal, int inIntVal)
+    {
+        outIntVal = 10;
+        return 8;
+    }
+    int IInterfaceVisibleTrueNoGuid.Foo3(ref short refShortVal, params byte[] paramsList) { return 9; }
+    int IInterfaceVisibleTrueNoGuid.Foo4(ref List<short> refShortVal, GenericClassW2Pars<int, short> genericClass, params object[] paramsList) { return 10; }
+    int IDerivedInterfaceVisibleTrueGuid.Foo() { return 12; }
+    int IDerivedInterfaceVisibleTrueNoGuid.Foo1(UInt16 int16Val, bool boolVal) { return 13; }
+    int IDerivedInterfaceVisibleTrueNoGuid.Foo5(Int32 int32Val) { return 14; }
+    int IDerivedInterfaceWithoutVisibleNoGuid.Foo7(Int32 int32Val) { return 15; }
+    int IInterfaceNotVisibleNoGuid.Foo() { return 16; } 
+
+    int IInterfaceComImport_ComImport.Foo() { return 101; }
+    int IInterfaceVisibleTrue_ComImport.Foo() { return 102; }
+    int IInterfaceVisibleFalse_ComImport.Foo() { return 103; }
+    int IInterfaceVisibleTrue_VisibleTrue.Foo() { return 104; }
+    int IInterfaceVisibleFalse_VisibleTrue.Foo() { return 105; }
+    int IInterfaceVisibleTrue_VisibleFalse.Foo() { return 106; }
+    int IInterfaceNotPublic_VisibleTrue.Foo() { return 107; }
+
+    int Foo() { return 9; }
+}
+
+/// <summary>
+/// Class not visible with ComVisible(false).
+/// </summary>
+[ComVisible(false)]
+[Guid("6DF17EC1-A8F4-4693-B195-EDB27DF00170")]
+public sealed class ClassVisibleFalseServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic
+{
+    int IInterfaceComImport.Foo() { return 120; }
+    int IInterfaceVisibleTrue.Foo() { return 121; }
+    int IInterfaceVisibleFalse.Foo() { return 122; }
+    int IInterfaceWithoutVisible.Foo() { return 123; }
+    int IInterfaceNotPublic.Foo() { return 124; }
+    int Foo() { return 129; }
+}
+
+/// <summary>
+/// Class not visible without ComVisible().
+/// </summary>
+[Guid("A57430B8-E0C1-486E-AE57-A15D6A729F99")]
+public sealed class ClassWithoutVisibleServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic
+{
+    int IInterfaceComImport.Foo() { return 130; }
+    int IInterfaceVisibleTrue.Foo() { return 131; }
+    int IInterfaceVisibleFalse.Foo() { return 132; }
+    int IInterfaceWithoutVisible.Foo() { return 133; }
+    int IInterfaceNotPublic.Foo() { return 134; }
+    int Foo() { return 139; }
+}
+
+/// <summary>
+/// Generic visible class with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("3CD290FA-1CD0-4370-B8E6-5A573F78C9F7")]
+public sealed class ClassGenericServer<T> : IInterfaceVisibleTrue, IInterfaceGenericVisibleTrue<T>, IInterfaceComImport
+{
+    int IInterfaceComImport.Foo() { return 140; }
+    int IInterfaceVisibleTrue.Foo() { return 141; }
+    T IInterfaceGenericVisibleTrue<T>.Foo() { return default(T); }
+    T Foo() { return default(T); }
+}
+
+
+public class ComVisibleServer
+{
+    /// <summary>
+    /// Nested interface with ComImport.
+    /// </summary>
+    [ComImport]
+    [Guid("1D927BC5-1530-4B8E-A183-995425CE4A0A")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceComImport
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface visible with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("39209692-2568-4B1E-A6C8-A5C7F141D278")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not visible with ComVisible(false).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("1CE4B033-4927-447A-9F91-998357B32ADF")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not visible without ComVisible().
+    /// </summary>
+    [Guid("C770422A-C363-49F1-AAA1-3EC81A452816")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceWithoutVisible
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not public.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("F776FF8A-0673-49C2-957A-33C2576062ED")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    interface INestedInterfaceNotPublic
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested visible interface with ComVisible(true).
+    /// </summary>
+    public class NestedClass
+    {
+        [ComVisible(true)]
+        [Guid("B31B4EC1-3B59-41C4-B3A0-CF89638CB837")]
+        [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+        public interface INestedInterfaceNestedInClass
+        {
+            int Foo();
+        }
+    }
+
+    /// <summary>
+    /// Generic interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("D7A8A196-5D85-4C85-94E4-8344ED2C7277")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceGenericVisibleTrue<T>
+    {
+        T Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComImport derived from an interface with ComImport.
+    /// </summary>
+    [ComImport]
+    [Guid("C57D849A-A1A9-4CDC-A609-789D79F9332C")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceComImport_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComImport.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("81F28686-F257-4B7E-A47F-57C9775BE2CE")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(false) derived from an interface with ComImport.
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("FAAB7E6C-8548-429F-AD34-0CEC3EBDD7B7")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("BEFD79A9-D8E6-42E4-8228-1892298460D7")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(false) derived from an interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("5C497454-EA83-4F79-B990-4EB28505E801")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComVisible(false).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("A17CF08F-EEC4-4EA5-B12C-5A603101415D")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_VisibleFalse : INestedInterfaceVisibleFalse
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an not public interface.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("40B723E9-E1BE-4F55-99CD-D2590D191A53")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    interface INestedInterfaceNotPublic_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested class visible with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("CF681980-CE6D-421E-8B21-AEAE3F1B7DAC")]
+    public sealed class NestedClassVisibleTrueServer : 
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic,
+        NestedClass.INestedInterfaceNestedInClass, INestedInterfaceComImport_ComImport, INestedInterfaceVisibleTrue_ComImport, INestedInterfaceVisibleFalse_ComImport,
+        INestedInterfaceVisibleTrue_VisibleTrue, INestedInterfaceVisibleFalse_VisibleTrue, INestedInterfaceVisibleTrue_VisibleFalse, INestedInterfaceNotPublic_VisibleTrue
+    {
+        int INestedInterfaceComImport.Foo() { return 10; }
+        int INestedInterfaceVisibleTrue.Foo() { return 11; }
+        int INestedInterfaceVisibleFalse.Foo() { return 12; }
+        int INestedInterfaceWithoutVisible.Foo() { return 13; }
+        int INestedInterfaceNotPublic.Foo() { return 14; }
+
+        int NestedClass.INestedInterfaceNestedInClass.Foo() { return 110; }
+        int INestedInterfaceComImport_ComImport.Foo() { return 111; }
+        int INestedInterfaceVisibleTrue_ComImport.Foo() { return 112; }
+        int INestedInterfaceVisibleFalse_ComImport.Foo() { return 113; }
+        int INestedInterfaceVisibleTrue_VisibleTrue.Foo() { return 114; }
+        int INestedInterfaceVisibleFalse_VisibleTrue.Foo() { return 115; }
+        int INestedInterfaceVisibleTrue_VisibleFalse.Foo() { return 116; }
+        int INestedInterfaceNotPublic_VisibleTrue.Foo() { return 117; }
+
+        int Foo() { return 19; }
+    }
+
+    /// <summary>
+    /// Nested class not visible with ComVisible(false).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("6DF17EC1-A8F4-4693-B195-EDB27DF00170")]
+    public sealed class NestedClassVisibleFalseServer : 
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic
+    {
+        int INestedInterfaceComImport.Foo() { return 20; }
+        int INestedInterfaceVisibleTrue.Foo() { return 21; }
+        int INestedInterfaceVisibleFalse.Foo() { return 22; }
+        int INestedInterfaceWithoutVisible.Foo() { return 23; }
+        int INestedInterfaceNotPublic.Foo() { return 24; }
+        int Foo() { return 29; }
+    }
+
+    /// <summary>
+    /// Nested class not visible without ComVisible().
+    /// </summary>
+    [Guid("A57430B8-E0C1-486E-AE57-A15D6A729F99")]
+    public sealed class NestedClassWithoutVisibleServer : 
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic
+    {
+        int INestedInterfaceComImport.Foo() { return 30; }
+        int INestedInterfaceVisibleTrue.Foo() { return 31; }
+        int INestedInterfaceVisibleFalse.Foo() { return 32; }
+        int INestedInterfaceWithoutVisible.Foo() { return 33; }
+        int INestedInterfaceNotPublic.Foo() { return 34; }
+        int Foo() { return 39; }
+    }
+
+    /// <summary>
+    /// Generic visible nested class with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("CAFBD2FF-710A-4E83-9229-42FA16963424")]
+    public sealed class NestedClassGenericServer<T> : INestedInterfaceVisibleTrue, INestedInterfaceGenericVisibleTrue<T>, INestedInterfaceComImport
+    {
+        int INestedInterfaceComImport.Foo() { return 40; }
+        int INestedInterfaceVisibleTrue.Foo() { return 41; }
+        T INestedInterfaceGenericVisibleTrue<T>.Foo() { return default(T); }
+        T Foo() { return default(T); }
+    }
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+    
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+    
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceWithoutVisible([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotPublic([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrueNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotVisibleNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceGenericVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceComImport_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_VisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotPublic_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceWithoutVisible([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNotPublic([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+    
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNestedInClass([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceGenericVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceComImport_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_VisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNotPublic_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    /// <summary>
+    /// Test case set for ComVisible. The assembly is set as [assembly: ComVisible(false)]
+    /// </summary>
+    /// <returns></returns>
+    private static void RunComVisibleTests()
+    {
+        int fooSuccessVal = 0;
+        //
+        // Tests for class with ComVisible(true)
+        //
+        Console.WriteLine("Class with ComVisible(true)");
+        ClassVisibleTrueServer visibleBaseClass = new ClassVisibleTrueServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(1, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(2, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceWithoutVisible((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(4, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrueNoGuid");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrueNoGuid((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(6, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceNotVisibleNoGuid");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceNotVisibleNoGuid((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(16, fooSuccessVal, "COM method didn't return the expected value.");
+
+        //
+        // Tests for nested Interface in a class with ComVisible(true)
+        //
+        Console.WriteLine("Nested Interface in a class with ComVisible(true)");
+        
+        Console.WriteLine("CCWTest_InterfaceComImport_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport_ComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(101, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_ComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(102, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse_ComImport");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse_ComImport((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_VisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(104, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_VisibleFalse");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_VisibleFalse((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(106, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for class with ComVisible(false)
+        //
+        Console.WriteLine("Class with ComVisible(false)");
+        ClassVisibleFalseServer visibleFalseBaseClass = new ClassVisibleFalseServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(120, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(121, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)visibleFalseBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceWithoutVisible((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(123, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)visibleFalseBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for class without ComVisible()
+        //
+        Console.WriteLine("Class without ComVisible()");
+        ClassWithoutVisibleServer withoutVisibleBaseClass = new ClassWithoutVisibleServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(130, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(131, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)withoutVisibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceWithoutVisible((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(133, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)withoutVisibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+
+        //
+        // Tests for generic class with ComVisible(true)
+        //
+        Console.WriteLine("Generic class with ComVisible(true)");
+        ClassGenericServer<int> genericServer = new ClassGenericServer<int>();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)genericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(140, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)genericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(141, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceGenericVisibleTrue");
+        Assert.AreEqual(Helpers.COR_E_INVALIDOPERATION, CCWTest_InterfaceGenericVisibleTrue((object)genericServer, out fooSuccessVal), "Returned diferent exception than the expected COR_E_INVALIDOPERATION.");
+
+        //
+        // Tests for nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested class with ComVisible(true)");
+        NestedClassVisibleTrueServer visibleNestedBaseClass = new NestedClassVisibleTrueServer();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(10, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(11, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceWithoutVisible((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(13, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested Interface in a nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested Interface in a nested class with ComVisible(true)");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNestedInClass");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceNestedInClass((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(110, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceComImport_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(111, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(112, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse_ComImport");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_VisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(114, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_VisibleFalse");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_VisibleFalse((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(116, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested class with ComVisible(false)
+        //
+        Console.WriteLine("Nested class with ComVisible(false)");
+        NestedClassVisibleFalseServer visibleFalseNestedBaseClass = new NestedClassVisibleFalseServer();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(20, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(21, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)visibleFalseNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceWithoutVisible((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(23, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)visibleFalseNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested class without ComVisible()
+        //
+        Console.WriteLine("Nested class without ComVisible()");
+        NestedClassWithoutVisibleServer withoutVisibleNestedBaseClass = new NestedClassWithoutVisibleServer();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(30, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(31, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceWithoutVisible((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(33, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for generic nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested generic class with ComVisible(true)");
+        NestedClassGenericServer<int> nestedGenericServer = new NestedClassGenericServer<int>();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)nestedGenericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(40, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)nestedGenericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(41, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceGenericVisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceGenericVisibleTrue((object)nestedGenericServer, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+    }
+    
+    public static int Main()
+    {
+        try
+        {
+            RunComVisibleTests();
+
+            return 100;
+        }
+        catch (Exception e)
+        {
+            Console.WriteLine($"Test Failure: {e}");
+            return 101;
+        }
+    }
+}
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.csproj b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.csproj
new file mode 100644 (file)
index 0000000..52e7207
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>AssemblyTrueTest</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F1E66554-8C8E-4141-85CF-D0CD6A0CD0B0}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
+    <DefineConstants>$(DefineConstants);STATIC</DefineConstants>
+    <!-- Test unsupported outside of windows -->
+    <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
+    <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="AssemblyTrueTest.cs" />
+    <Compile Include="..\Helpers.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CMakeLists.txt" />
+  </ItemGroup>
+  <Import Project="../../../Interop.settings.targets" />
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+</Project>
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.cs b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.cs
new file mode 100644 (file)
index 0000000..7643a04
--- /dev/null
@@ -0,0 +1,912 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+using NativeCallManagedComVisible;
+using TestLibrary;
+
+// Don't set ComVisible.
+// [assembly: ComVisible(true)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("41DDB0BD-1E88-4B0C-BD23-FD3B7E4037A8")]
+
+/// <summary>
+/// Interface with ComImport.
+/// </summary>
+[ComImport]
+[Guid("52E5F852-BD3E-4DF2-8826-E1EC39557943")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceComImport
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("8FDE13DC-F917-44FF-AAC8-A638FD27D647")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not visible with ComVisible(false).
+/// </summary>
+[ComVisible(false)]
+[Guid("0A2EF649-371D-4480-B0C7-07F455C836D3")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not visible without ComVisible().
+/// </summary>
+[Guid("FB504D72-39C4-457F-ACF4-3E5D8A31AAE4")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceWithoutVisible
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not public.
+/// </summary>
+[ComVisible(true)]
+[Guid("11320010-13FA-4B40-8580-8CF92EE70774")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+interface IInterfaceNotPublic
+{
+    int Foo();
+}
+
+/// <summary>
+/// Generic interface with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("BA4B32D4-1D73-4605-AD0A-900A31E75BC3")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceGenericVisibleTrue<T>
+{
+    T Foo();
+}
+
+/// <summary>
+/// Generic class for guid generator.
+/// </summary>
+public class GenericClassW2Pars<T1, T2>
+{
+    T1 Foo(T2 a) { return default(T1); }
+}
+
+/// <summary>
+/// Derived interface visible with ComVisible(true) and GUID.
+/// </summary>
+[ComVisible(true)]
+[Guid("FE62A5B9-34C4-4EAF-AF0A-1AD390B15BDB")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IDerivedInterfaceVisibleTrueGuid
+{
+    int Foo();
+}
+
+/// <summary>
+/// Derived interface visible with ComVisible(true) wothout GUID.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IDerivedInterfaceVisibleTrueNoGuid
+{
+    int Foo1(UInt16 int16Val, bool boolVal);
+    int Foo5(Int32 int32Val);
+}
+
+/// <summary>
+/// Derived interface without visibility and without GUID.
+/// </summary>
+public interface IDerivedInterfaceWithoutVisibleNoGuid
+{
+    int Foo7(Int32 int32Val);
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true) and without Custom Attribute Guid.
+/// Note that in this test, change the method sequence in the interface will 
+///  change the GUID and could reduce the test efficiency.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrueNoGuid : IDerivedInterfaceVisibleTrueGuid, IDerivedInterfaceVisibleTrueNoGuid, IDerivedInterfaceWithoutVisibleNoGuid
+{
+    new int Foo1(UInt16 int16Val, bool boolVal);
+    new int Foo();
+    int Foo2(string str, out int outIntVal, IntPtr intPtrVal, int[] arrayVal, byte inByteVal = 0, int inIntVal = 0);
+    int Foo3(ref short refShortVal, params byte[] paramsList);
+    int Foo4(ref List<short> refShortVal, GenericClassW2Pars<int, short> genericClass, params object[] paramsList);
+}
+
+/// <summary>
+/// Interface not visible and without Custom Attribute Guid.
+/// </summary>
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceNotVisibleNoGuid
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true), without Custom Attribute Guid and a generic method.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrueNoGuidGeneric
+{
+    int Foo<T>(T genericVal);
+}
+
+/// <summary>
+/// Interface with ComImport derived from an interface with ComImport.
+/// </summary>
+[ComImport]
+[Guid("943759D7-3552-43AD-9C4D-CC2F787CF36E")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceComImport_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComImport.
+/// </summary>
+[ComVisible(true)]
+[Guid("75DE245B-0CE3-4B07-8761-328906C750B7")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(false) derived from an interface with ComImport.
+/// </summary>
+[ComVisible(false)]
+[Guid("C73D96C3-B005-42D6-93F5-E30AEE08C66C")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("60B3917B-9CC2-40F2-A975-CD6898DA697F")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(false) derived from an interface with ComVisible(true).
+/// </summary>
+[ComVisible(false)]
+[Guid("2FC59DDB-B1D0-4678-93AF-6A48E838B705")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComVisible(false).
+/// </summary>
+[ComVisible(true)]
+[Guid("C82C25FC-FBAD-4EA9-BED1-343C887464B5")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_VisibleFalse : IInterfaceVisibleFalse
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an not public interface.
+/// </summary>
+[ComVisible(true)]
+[Guid("8A4C1691-5615-4762-8568-481DC671F9CE")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+interface IInterfaceNotPublic_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+
+/// <summary>
+/// Class visible with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("48FC2EFC-C7ED-4E02-8D02-F05B6A439FC9")]
+public sealed class ClassVisibleTrueServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic,
+    IInterfaceVisibleTrueNoGuid, IInterfaceNotVisibleNoGuid,
+    IInterfaceComImport_ComImport, IInterfaceVisibleTrue_ComImport, IInterfaceVisibleFalse_ComImport,
+    IInterfaceVisibleTrue_VisibleTrue, IInterfaceVisibleFalse_VisibleTrue, IInterfaceVisibleTrue_VisibleFalse, IInterfaceNotPublic_VisibleTrue
+{
+    int IInterfaceComImport.Foo() { return 1; }
+    int IInterfaceVisibleTrue.Foo() { return 2; }
+    int IInterfaceVisibleFalse.Foo() { return 3; }
+    int IInterfaceWithoutVisible.Foo() { return 4; }
+    int IInterfaceNotPublic.Foo() { return 5; }
+
+    int IInterfaceVisibleTrueNoGuid.Foo() { return 6; }
+    int IInterfaceVisibleTrueNoGuid.Foo1(UInt16 int16Val, bool boolVal) { return 7; }
+    int IInterfaceVisibleTrueNoGuid.Foo2(string str, out int outIntVal, IntPtr intPtrVal, int[] arrayVal, byte inByteVal, int inIntVal)
+    {
+        outIntVal = 10;
+        return 8;
+    }
+    int IInterfaceVisibleTrueNoGuid.Foo3(ref short refShortVal, params byte[] paramsList) { return 9; }
+    int IInterfaceVisibleTrueNoGuid.Foo4(ref List<short> refShortVal, GenericClassW2Pars<int, short> genericClass, params object[] paramsList) { return 10; }
+    int IDerivedInterfaceVisibleTrueGuid.Foo() { return 12; }
+    int IDerivedInterfaceVisibleTrueNoGuid.Foo1(UInt16 int16Val, bool boolVal) { return 13; }
+    int IDerivedInterfaceVisibleTrueNoGuid.Foo5(Int32 int32Val) { return 14; }
+    int IDerivedInterfaceWithoutVisibleNoGuid.Foo7(Int32 int32Val) { return 15; }
+    int IInterfaceNotVisibleNoGuid.Foo() { return 16; }
+
+    int IInterfaceComImport_ComImport.Foo() { return 101; }
+    int IInterfaceVisibleTrue_ComImport.Foo() { return 102; }
+    int IInterfaceVisibleFalse_ComImport.Foo() { return 103; }
+    int IInterfaceVisibleTrue_VisibleTrue.Foo() { return 104; }
+    int IInterfaceVisibleFalse_VisibleTrue.Foo() { return 105; }
+    int IInterfaceVisibleTrue_VisibleFalse.Foo() { return 106; }
+    int IInterfaceNotPublic_VisibleTrue.Foo() { return 107; }
+
+    int Foo() { return 9; }
+}
+
+/// <summary>
+/// Class not visible with ComVisible(false).
+/// </summary>
+[ComVisible(false)]
+[Guid("6DF17EC1-A8F4-4693-B195-EDB27DF00170")]
+public sealed class ClassVisibleFalseServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic
+{
+    int IInterfaceComImport.Foo() { return 120; }
+    int IInterfaceVisibleTrue.Foo() { return 121; }
+    int IInterfaceVisibleFalse.Foo() { return 122; }
+    int IInterfaceWithoutVisible.Foo() { return 123; }
+    int IInterfaceNotPublic.Foo() { return 124; }
+    int Foo() { return 129; }
+}
+
+/// <summary>
+/// Class not visible without ComVisible().
+/// </summary>
+[Guid("A57430B8-E0C1-486E-AE57-A15D6A729F99")]
+public sealed class ClassWithoutVisibleServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic
+{
+    int IInterfaceComImport.Foo() { return 130; }
+    int IInterfaceVisibleTrue.Foo() { return 131; }
+    int IInterfaceVisibleFalse.Foo() { return 132; }
+    int IInterfaceWithoutVisible.Foo() { return 133; }
+    int IInterfaceNotPublic.Foo() { return 134; }
+    int Foo() { return 139; }
+}
+
+/// <summary>
+/// Generic visible class with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("3CD290FA-1CD0-4370-B8E6-5A573F78C9F7")]
+public sealed class ClassGenericServer<T> : IInterfaceVisibleTrue, IInterfaceGenericVisibleTrue<T>, IInterfaceComImport
+{
+    int IInterfaceComImport.Foo() { return 140; }
+    int IInterfaceVisibleTrue.Foo() { return 141; }
+    T IInterfaceGenericVisibleTrue<T>.Foo() { return default(T); }
+    T Foo() { return default(T); }
+}
+
+
+public class ComVisibleServer
+{
+    /// <summary>
+    /// Nested interface with ComImport.
+    /// </summary>
+    [ComImport]
+    [Guid("1D927BC5-1530-4B8E-A183-995425CE4A0A")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceComImport
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface visible with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("39209692-2568-4B1E-A6C8-A5C7F141D278")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not visible with ComVisible(false).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("1CE4B033-4927-447A-9F91-998357B32ADF")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not visible without ComVisible().
+    /// </summary>
+    [Guid("C770422A-C363-49F1-AAA1-3EC81A452816")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceWithoutVisible
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not public.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("F776FF8A-0673-49C2-957A-33C2576062ED")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    interface INestedInterfaceNotPublic
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested visible interface with ComVisible(true).
+    /// </summary>
+    public class NestedClass
+    {
+        [ComVisible(true)]
+        [Guid("B31B4EC1-3B59-41C4-B3A0-CF89638CB837")]
+        [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+        public interface INestedInterfaceNestedInClass
+        {
+            int Foo();
+        }
+    }
+
+    /// <summary>
+    /// Generic interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("D7A8A196-5D85-4C85-94E4-8344ED2C7277")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceGenericVisibleTrue<T>
+    {
+        T Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComImport derived from an interface with ComImport.
+    /// </summary>
+    [ComImport]
+    [Guid("C57D849A-A1A9-4CDC-A609-789D79F9332C")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceComImport_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComImport.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("81F28686-F257-4B7E-A47F-57C9775BE2CE")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(false) derived from an interface with ComImport.
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("FAAB7E6C-8548-429F-AD34-0CEC3EBDD7B7")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("BEFD79A9-D8E6-42E4-8228-1892298460D7")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(false) derived from an interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("5C497454-EA83-4F79-B990-4EB28505E801")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComVisible(false).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("A17CF08F-EEC4-4EA5-B12C-5A603101415D")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_VisibleFalse : INestedInterfaceVisibleFalse
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an not public interface.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("40B723E9-E1BE-4F55-99CD-D2590D191A53")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    interface INestedInterfaceNotPublic_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested class visible with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("CF681980-CE6D-421E-8B21-AEAE3F1B7DAC")]
+    public sealed class NestedClassVisibleTrueServer :
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic,
+        NestedClass.INestedInterfaceNestedInClass, INestedInterfaceComImport_ComImport, INestedInterfaceVisibleTrue_ComImport, INestedInterfaceVisibleFalse_ComImport,
+        INestedInterfaceVisibleTrue_VisibleTrue, INestedInterfaceVisibleFalse_VisibleTrue, INestedInterfaceVisibleTrue_VisibleFalse, INestedInterfaceNotPublic_VisibleTrue
+    {
+        int INestedInterfaceComImport.Foo() { return 10; }
+        int INestedInterfaceVisibleTrue.Foo() { return 11; }
+        int INestedInterfaceVisibleFalse.Foo() { return 12; }
+        int INestedInterfaceWithoutVisible.Foo() { return 13; }
+        int INestedInterfaceNotPublic.Foo() { return 14; }
+
+        int NestedClass.INestedInterfaceNestedInClass.Foo() { return 110; }
+        int INestedInterfaceComImport_ComImport.Foo() { return 111; }
+        int INestedInterfaceVisibleTrue_ComImport.Foo() { return 112; }
+        int INestedInterfaceVisibleFalse_ComImport.Foo() { return 113; }
+        int INestedInterfaceVisibleTrue_VisibleTrue.Foo() { return 114; }
+        int INestedInterfaceVisibleFalse_VisibleTrue.Foo() { return 115; }
+        int INestedInterfaceVisibleTrue_VisibleFalse.Foo() { return 116; }
+        int INestedInterfaceNotPublic_VisibleTrue.Foo() { return 117; }
+
+        int Foo() { return 19; }
+    }
+
+    /// <summary>
+    /// Nested class not visible with ComVisible(false).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("6DF17EC1-A8F4-4693-B195-EDB27DF00170")]
+    public sealed class NestedClassVisibleFalseServer :
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic
+    {
+        int INestedInterfaceComImport.Foo() { return 20; }
+        int INestedInterfaceVisibleTrue.Foo() { return 21; }
+        int INestedInterfaceVisibleFalse.Foo() { return 22; }
+        int INestedInterfaceWithoutVisible.Foo() { return 23; }
+        int INestedInterfaceNotPublic.Foo() { return 24; }
+        int Foo() { return 29; }
+    }
+
+    /// <summary>
+    /// Nested class not visible without ComVisible().
+    /// </summary>
+    [Guid("A57430B8-E0C1-486E-AE57-A15D6A729F99")]
+    public sealed class NestedClassWithoutVisibleServer :
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic
+    {
+        int INestedInterfaceComImport.Foo() { return 30; }
+        int INestedInterfaceVisibleTrue.Foo() { return 31; }
+        int INestedInterfaceVisibleFalse.Foo() { return 32; }
+        int INestedInterfaceWithoutVisible.Foo() { return 33; }
+        int INestedInterfaceNotPublic.Foo() { return 34; }
+        int Foo() { return 39; }
+    }
+
+    /// <summary>
+    /// Generic visible nested class with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("CAFBD2FF-710A-4E83-9229-42FA16963424")]
+    public sealed class NestedClassGenericServer<T> : INestedInterfaceVisibleTrue, INestedInterfaceGenericVisibleTrue<T>, INestedInterfaceComImport
+    {
+        int INestedInterfaceComImport.Foo() { return 40; }
+        int INestedInterfaceVisibleTrue.Foo() { return 41; }
+        T INestedInterfaceGenericVisibleTrue<T>.Foo() { return default(T); }
+        T Foo() { return default(T); }
+    }
+
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceWithoutVisible([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotPublic([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrueNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotVisibleNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceGenericVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceComImport_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_VisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotPublic_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceWithoutVisible([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNotPublic([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNestedInClass([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceGenericVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceComImport_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_VisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNotPublic_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    /// <summary>
+    /// Test case set for ComVisible. The assembly is set as [assembly: ComVisible(false)]
+    /// </summary>
+    /// <returns></returns>
+    private static void RunComVisibleTests()
+    {
+        int fooSuccessVal = 0;
+        //
+        // Tests for class with ComVisible(true)
+        //
+        Console.WriteLine("Class with ComVisible(true)");
+        ClassVisibleTrueServer visibleBaseClass = new ClassVisibleTrueServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(1, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(2, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceWithoutVisible((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(4, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrueNoGuid");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrueNoGuid((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(6, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceNotVisibleNoGuid");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceNotVisibleNoGuid((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(16, fooSuccessVal, "COM method didn't return the expected value.");
+
+        //
+        // Tests for nested Interface in a class with ComVisible(true)
+        //
+        Console.WriteLine("Nested Interface in a class with ComVisible(true)");
+
+        Console.WriteLine("CCWTest_InterfaceComImport_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport_ComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(101, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_ComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(102, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse_ComImport");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse_ComImport((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_VisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(104, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_VisibleFalse");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_VisibleFalse((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(106, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceNotPublic_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for class with ComVisible(false)
+        //
+        Console.WriteLine("Class with ComVisible(false)");
+        ClassVisibleFalseServer visibleFalseBaseClass = new ClassVisibleFalseServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(120, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(121, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)visibleFalseBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceWithoutVisible((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(123, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)visibleFalseBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for class without ComVisible()
+        //
+        Console.WriteLine("Class without ComVisible()");
+        ClassWithoutVisibleServer withoutVisibleBaseClass = new ClassWithoutVisibleServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(130, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(131, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)withoutVisibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceWithoutVisible((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(133, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)withoutVisibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+
+        //
+        // Tests for generic class with ComVisible(true)
+        //
+        Console.WriteLine("Generic class with ComVisible(true)");
+        ClassGenericServer<int> genericServer = new ClassGenericServer<int>();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)genericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(140, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)genericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(141, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceGenericVisibleTrue");
+        Assert.AreEqual(Helpers.COR_E_INVALIDOPERATION, CCWTest_InterfaceGenericVisibleTrue((object)genericServer, out fooSuccessVal), "Returned diferent exception than the expected COR_E_INVALIDOPERATION.");
+
+        //
+        // Tests for nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested class with ComVisible(true)");
+        NestedClassVisibleTrueServer visibleNestedBaseClass = new NestedClassVisibleTrueServer();
+
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(10, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(11, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceWithoutVisible((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(13, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested Interface in a nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested Interface in a nested class with ComVisible(true)");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNestedInClass");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceNestedInClass((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(110, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceComImport_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(111, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(112, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse_ComImport");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_VisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(114, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_VisibleFalse");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_VisibleFalse((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(116, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested class with ComVisible(false)
+        //
+        Console.WriteLine("Nested class with ComVisible(false)");
+        NestedClassVisibleFalseServer visibleFalseNestedBaseClass = new NestedClassVisibleFalseServer();
+
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(20, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(21, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)visibleFalseNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceWithoutVisible((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(23, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)visibleFalseNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested class without ComVisible()
+        //
+        Console.WriteLine("Nested class without ComVisible()");
+        NestedClassWithoutVisibleServer withoutVisibleNestedBaseClass = new NestedClassWithoutVisibleServer();
+
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(30, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(31, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceWithoutVisible((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(33, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for generic nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested generic class with ComVisible(true)");
+        NestedClassGenericServer<int> nestedGenericServer = new NestedClassGenericServer<int>();
+
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)nestedGenericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(40, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)nestedGenericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(41, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceGenericVisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceGenericVisibleTrue((object)nestedGenericServer, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+    }
+    
+    public static int Main()
+    {
+        try
+        {
+            RunComVisibleTests();
+
+            return 100;
+        }
+        catch (Exception e)
+        {
+            Console.WriteLine($"Test Failure: {e}");
+            return 101;
+        }
+    }
+}
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.csproj b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.csproj
new file mode 100644 (file)
index 0000000..7be7e30
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>AssemblyWithoutComVisibleTest</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F1E66554-8C8E-4141-85CF-D0CD6A0CD0B0}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
+    <DefineConstants>$(DefineConstants);STATIC</DefineConstants>
+    <!-- Test unsupported outside of windows -->
+    <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
+    <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="AssemblyWithoutComVisibleTest.cs" />
+    <Compile Include="..\Helpers.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CMakeLists.txt" />
+  </ItemGroup>
+  <Import Project="../../../Interop.settings.targets" />
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+</Project>
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt
new file mode 100644 (file)
index 0000000..db15381
--- /dev/null
@@ -0,0 +1,13 @@
+#VCXPROJ 
+cmake_minimum_required (VERSION 2.6) 
+project (ComVisibleNative) 
+include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") 
+include_directories(${INC_PLATFORM_DIR}) 
+set(SOURCES 
+    ComVisibleNative.cpp 
+) 
+# Additional files to reference: 
+# add the executable 
+add_library (ComVisibleNative SHARED ${SOURCES}) 
+# add the install targets 
+install (TARGETS ComVisibleNative DESTINATION bin) 
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/ComVisibleNative.cpp b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/ComVisibleNative.cpp
new file mode 100644 (file)
index 0000000..c674f66
--- /dev/null
@@ -0,0 +1,518 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <windows.h>
+#include <Objbase.h>
+#include <xplatform.h>
+
+//
+// Standard function to call the managed COM.
+//
+template <class T> class CCWTestTemplate
+{
+public:
+       static HRESULT CallManagedCom(IUnknown* pUnk, int* fooSuccessVal)
+       {
+               T *pTargetInterface = NULL;
+               (*fooSuccessVal) = -1;
+
+               HRESULT hr = pUnk->QueryInterface(_uuidof(T), reinterpret_cast<void**>(&pTargetInterface));
+               if (FAILED(hr))
+                       return hr;
+
+               hr = pTargetInterface->Foo(fooSuccessVal);
+               pTargetInterface->Release();
+
+               return hr;
+       }
+};
+
+
+//
+// Non Nested Interface:
+//
+
+//
+// IInterfaceComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("52E5F852-BD3E-4DF2-8826-E1EC39557943")) IInterfaceComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("8FDE13DC-F917-44FF-AAC8-A638FD27D647")) IInterfaceVisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleFalse
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("0A2EF649-371D-4480-B0C7-07F455C836D3")) IInterfaceVisibleFalse : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleFalse(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleFalse>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceWithoutVisible
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("FB504D72-39C4-457F-ACF4-3E5D8A31AAE4")) IInterfaceWithoutVisible : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceWithoutVisible(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceWithoutVisible>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceNotPublic
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("11320010-13FA-4B40-8580-8CF92EE70774")) IInterfaceNotPublic : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceNotPublic(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceNotPublic>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleTrueNoGuid
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("ad50a327-d23a-38a4-9d6e-b32b32acf572")) IInterfaceVisibleTrueNoGuid : IUnknown
+{
+       STDMETHOD(Foo1)(int* fooSuccessVal) = 0;
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+       STDMETHOD(Foo2)(int* fooSuccessVal) = 0;
+       STDMETHOD(Foo3)(int* fooSuccessVal) = 0;
+       STDMETHOD(Foo4)(int* fooSuccessVal) = 0;
+       STDMETHOD(Foo5)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleTrueNoGuid(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleTrueNoGuid>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleTrueNoGuidGenericInterface
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("384f0b5c-28d0-368c-8c7e-5e31a84a5c84")) IInterfaceVisibleTrueNoGuidGenericInterface : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+       STDMETHOD(Foo9)(int* fooSuccessVal, int listInt[]) = 0;
+       STDMETHOD(Foo10)(int* fooSuccessVal, void* intCollection, void* stringCollection) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleTrueNoGuidGenericInterface(IUnknown* pUnk, int* fooSuccessVal)
+{
+       IInterfaceVisibleTrueNoGuidGenericInterface *pTargetInterface = NULL;
+       (*fooSuccessVal) = -1;
+
+       HRESULT hr = pUnk->QueryInterface(_uuidof(IInterfaceVisibleTrueNoGuidGenericInterface), reinterpret_cast<void**>(&pTargetInterface));
+       if (FAILED(hr))
+               return hr;
+
+       hr = pTargetInterface->Foo(fooSuccessVal);
+       if (FAILED(hr))
+       {
+               pTargetInterface->Release();
+               return hr;
+       }
+
+       hr = pTargetInterface->Foo9(fooSuccessVal, NULL);
+       if (FAILED(hr))
+               pTargetInterface->Release();
+       else
+               hr = (HRESULT)(pTargetInterface->Release());
+
+       return hr;
+}
+
+//
+// IInterfaceNotVisibleNoGuid
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("b45587ec-9671-35bc-8b8e-f6bfb18a4d3a")) IInterfaceNotVisibleNoGuid : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceNotVisibleNoGuid(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceNotVisibleNoGuid>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+
+//
+// IInterfaceGenericVisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("BA4B32D4-1D73-4605-AD0A-900A31E75BC3")) IInterfaceGenericVisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceGenericVisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceGenericVisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceComImport_ComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("943759D7-3552-43AD-9C4D-CC2F787CF36E")) IInterfaceComImport_ComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceComImport_ComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceComImport_ComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleTrue_ComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("75DE245B-0CE3-4B07-8761-328906C750B7")) IInterfaceVisibleTrue_ComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleTrue_ComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleTrue_ComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleFalse_ComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("C73D96C3-B005-42D6-93F5-E30AEE08C66C")) IInterfaceVisibleFalse_ComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleFalse_ComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleFalse_ComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleTrue_VisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("60B3917B-9CC2-40F2-A975-CD6898DA697F")) IInterfaceVisibleTrue_VisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleTrue_VisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleTrue_VisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleFalse_VisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("2FC59DDB-B1D0-4678-93AF-6A48E838B705")) IInterfaceVisibleFalse_VisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleFalse_VisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleFalse_VisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceVisibleTrue_VisibleFalse
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("C82C25FC-FBAD-4EA9-BED1-343C887464B5")) IInterfaceVisibleTrue_VisibleFalse : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceVisibleTrue_VisibleFalse(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceVisibleTrue_VisibleFalse>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// IInterfaceNotPublic_VisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("8A4C1691-5615-4762-8568-481DC671F9CE")) IInterfaceNotPublic_VisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_InterfaceNotPublic_VisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<IInterfaceNotPublic_VisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+
+//
+// Nested Interfaces:
+//
+
+//
+// INestedInterfaceComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("1D927BC5-1530-4B8E-A183-995425CE4A0A")) INestedInterfaceComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("39209692-2568-4B1E-A6C8-A5C7F141D278")) INestedInterfaceVisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleFalse
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("1CE4B033-4927-447A-9F91-998357B32ADF")) INestedInterfaceVisibleFalse : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleFalse(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleFalse>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceWithoutVisible
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("C770422A-C363-49F1-AAA1-3EC81A452816")) INestedInterfaceWithoutVisible : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceWithoutVisible(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceWithoutVisible>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceNotPublic
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("F776FF8A-0673-49C2-957A-33C2576062ED")) INestedInterfaceNotPublic : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceNotPublic(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceNotPublic>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceNestedInClass
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("B31B4EC1-3B59-41C4-B3A0-CF89638CB837")) INestedInterfaceNestedInClass : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceNestedInClass(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceNestedInClass>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceNestedInClassNoGuid
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("486bcec9-904d-3445-871c-e7084a52eb1a")) INestedInterfaceNestedInClassNoGuid : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceNestedInClassNoGuid(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceNestedInClassNoGuid>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleTrueNoGuid
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("0ea2cb33-db9f-3655-9240-47ef1dea0f1e")) INestedInterfaceVisibleTrueNoGuid : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleTrueNoGuid(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleTrueNoGuid>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceGenericVisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("CAFBD2FF-710A-4E83-9229-42FA16963424")) INestedInterfaceGenericVisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceGenericVisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceGenericVisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceComImport_ComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("C57D849A-A1A9-4CDC-A609-789D79F9332C")) INestedInterfaceComImport_ComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceComImport_ComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceComImport_ComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleTrue_ComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("81F28686-F257-4B7E-A47F-57C9775BE2CE")) INestedInterfaceVisibleTrue_ComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleTrue_ComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleTrue_ComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleFalse_ComImport
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("FAAB7E6C-8548-429F-AD34-0CEC3EBDD7B7")) INestedInterfaceVisibleFalse_ComImport : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleFalse_ComImport(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleFalse_ComImport>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleTrue_VisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("BEFD79A9-D8E6-42E4-8228-1892298460D7")) INestedInterfaceVisibleTrue_VisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleTrue_VisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleTrue_VisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleFalse_VisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("5C497454-EA83-4F79-B990-4EB28505E801")) INestedInterfaceVisibleFalse_VisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleFalse_VisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleFalse_VisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceVisibleTrue_VisibleFalse
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("A17CF08F-EEC4-4EA5-B12C-5A603101415D")) INestedInterfaceVisibleTrue_VisibleFalse : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceVisibleTrue_VisibleFalse(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceVisibleTrue_VisibleFalse>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
+//
+// INestedInterfaceNotPublic_VisibleTrue
+// Interface definition and auxiliar function that will call the managed COM.
+//
+struct __declspec(uuid("40B723E9-E1BE-4F55-99CD-D2590D191A53")) INestedInterfaceNotPublic_VisibleTrue : IUnknown
+{
+       STDMETHOD(Foo)(int* fooSuccessVal) = 0;
+};
+
+extern "C" DLL_EXPORT HRESULT _stdcall CCWTest_NestedInterfaceNotPublic_VisibleTrue(IUnknown* pUnk, int* fooSuccessVal)
+{
+       return CCWTestTemplate<INestedInterfaceNotPublic_VisibleTrue>::CallManagedCom(pUnk, fooSuccessVal);
+}
+
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.cs b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.cs
new file mode 100644 (file)
index 0000000..dac3bbf
--- /dev/null
@@ -0,0 +1,1024 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Runtime.InteropServices;
+using System.Reflection;
+using System.Collections.Generic;
+using NativeCallManagedComVisible;
+using TestLibrary;
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components by default.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("41DDB0BD-1E88-4B0C-BD23-FD3B7E4037A8")]
+
+/// <summary>
+/// Interface with ComImport.
+/// </summary>
+[ComImport]
+[Guid("52E5F852-BD3E-4DF2-8826-E1EC39557943")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceComImport
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("8FDE13DC-F917-44FF-AAC8-A638FD27D647")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not visible with ComVisible(false).
+/// </summary>
+[ComVisible(false)]
+[Guid("0A2EF649-371D-4480-B0C7-07F455C836D3")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not visible without ComVisible().
+/// </summary>
+[Guid("FB504D72-39C4-457F-ACF4-3E5D8A31AAE4")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceWithoutVisible
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface not public.
+/// </summary>
+[ComVisible(true)]
+[Guid("11320010-13FA-4B40-8580-8CF92EE70774")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+interface IInterfaceNotPublic
+{
+    int Foo();
+}
+
+/// <summary>
+/// Generic interface with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("BA4B32D4-1D73-4605-AD0A-900A31E75BC3")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceGenericVisibleTrue<T>
+{
+    T Foo();
+}
+
+/// <summary>
+/// Generic class for guid generator.
+/// </summary>
+public class GenericClassW2Pars <T1,T2>
+{
+    T1 Foo(T2 a) { return default(T1); }
+}
+
+/// <summary>
+/// Derived interface visible with ComVisible(true) and GUID.
+/// </summary>
+[ComVisible(true)]
+[Guid("FE62A5B9-34C4-4EAF-AF0A-1AD390B15BDB")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IDerivedInterfaceVisibleTrueGuid
+{
+    int Foo();
+}
+
+/// <summary>
+/// Derived interface visible with ComVisible(true) wothout GUID.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IDerivedInterfaceVisibleTrueNoGuid
+{
+    int Foo1(UInt16 int16Val, bool boolVal);
+    int Foo5(Int32 int32Val);
+}
+
+/// <summary>
+/// Derived interface without visibility and without GUID.
+/// </summary>
+public interface IDerivedInterfaceWithoutVisibleNoGuid
+{
+    int Foo7(Int32 int32Val);
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true) and without Custom Attribute Guid.
+/// Note that in this test, change the method sequence in the interface will 
+///  change the GUID and could reduce the test efficiency.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrueNoGuid : IDerivedInterfaceVisibleTrueGuid, IDerivedInterfaceVisibleTrueNoGuid, IDerivedInterfaceWithoutVisibleNoGuid
+{
+    new int Foo1(UInt16 int16Val, bool boolVal);
+    new int Foo();
+    int Foo2(string str, out int outIntVal, IntPtr intPtrVal, int[] arrayVal, byte inByteVal = 0, int inIntVal = 0);
+    int Foo3(ref short refShortVal, params byte[] paramsList);
+    int Foo4(ref List<short> refShortVal, GenericClassW2Pars<int, short> genericClass, params object[] paramsList);
+}
+
+/// <summary>
+/// Interface not visible and without Custom Attribute Guid.
+/// </summary>
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceNotVisibleNoGuid
+{
+    int Foo();
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true), without Custom Attribute Guid and a generic method.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrueNoGuidGeneric
+{
+    int Foo<T>(T genericVal);
+}
+
+/// <summary>
+/// Interface visible with ComVisible(true), without Custom Attribute Guid and a method with a parameter which is a generic interface.
+/// </summary>
+[ComVisible(true)]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrueNoGuidGenericInterface
+{
+    int Foo();
+    int Foo9(List<int> listInt);
+    int Foo10(ICollection<int> intCollection, ICollection<string> stringCollection);
+}
+
+/// <summary>
+/// Interface with ComImport derived from an interface with ComImport.
+/// </summary>
+[ComImport]
+[Guid("943759D7-3552-43AD-9C4D-CC2F787CF36E")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceComImport_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComImport.
+/// </summary>
+[ComVisible(true)]
+[Guid("75DE245B-0CE3-4B07-8761-328906C750B7")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(false) derived from an interface with ComImport.
+/// </summary>
+[ComVisible(false)]
+[Guid("C73D96C3-B005-42D6-93F5-E30AEE08C66C")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse_ComImport : IInterfaceComImport
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("60B3917B-9CC2-40F2-A975-CD6898DA697F")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(false) derived from an interface with ComVisible(true).
+/// </summary>
+[ComVisible(false)]
+[Guid("2FC59DDB-B1D0-4678-93AF-6A48E838B705")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleFalse_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an interface with ComVisible(false).
+/// </summary>
+[ComVisible(true)]
+[Guid("C82C25FC-FBAD-4EA9-BED1-343C887464B5")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+public interface IInterfaceVisibleTrue_VisibleFalse : IInterfaceVisibleFalse
+{
+    new int Foo();
+}
+
+/// <summary>
+/// Interface with ComVisible(true) derived from an not public interface.
+/// </summary>
+[ComVisible(true)]
+[Guid("8A4C1691-5615-4762-8568-481DC671F9CE")]
+[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+interface IInterfaceNotPublic_VisibleTrue : IInterfaceVisibleTrue
+{
+    new int Foo();
+}
+
+
+/// <summary>
+/// Class visible with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("48FC2EFC-C7ED-4E02-8D02-F05B6A439FC9")]
+public sealed class ClassVisibleTrueServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic, 
+    IInterfaceVisibleTrueNoGuid, IInterfaceNotVisibleNoGuid, IInterfaceVisibleTrueNoGuidGenericInterface,
+    IInterfaceComImport_ComImport, IInterfaceVisibleTrue_ComImport, IInterfaceVisibleFalse_ComImport,
+    IInterfaceVisibleTrue_VisibleTrue, IInterfaceVisibleFalse_VisibleTrue, IInterfaceVisibleTrue_VisibleFalse, IInterfaceNotPublic_VisibleTrue
+{
+    int IInterfaceComImport.Foo() { return 1; }
+    int IInterfaceVisibleTrue.Foo() { return 2; }
+    int IInterfaceVisibleFalse.Foo() { return 3; }
+    int IInterfaceWithoutVisible.Foo() { return 4; }
+    int IInterfaceNotPublic.Foo() { return 5; }
+
+    int IInterfaceVisibleTrueNoGuid.Foo() { return 6; }
+    int IInterfaceVisibleTrueNoGuid.Foo1(UInt16 int16Val, bool boolVal) { return 7; }
+    int IInterfaceVisibleTrueNoGuid.Foo2(string str, out int outIntVal, IntPtr intPtrVal, int[] arrayVal, byte inByteVal, int inIntVal) 
+    {
+        outIntVal = 10; 
+        return 8; 
+    }
+    int IInterfaceVisibleTrueNoGuid.Foo3(ref short refShortVal, params byte[] paramsList) { return 9; }
+    int IInterfaceVisibleTrueNoGuid.Foo4(ref List<short> refShortVal, GenericClassW2Pars<int, short> genericClass, params object[] paramsList) { return 10; }
+    int IDerivedInterfaceVisibleTrueGuid.Foo() { return 12; }
+    int IDerivedInterfaceVisibleTrueNoGuid.Foo1(UInt16 int16Val, bool boolVal) { return 13; }
+    int IDerivedInterfaceVisibleTrueNoGuid.Foo5(Int32 int32Val) { return 14; }
+    int IDerivedInterfaceWithoutVisibleNoGuid.Foo7(Int32 int32Val) { return 15; }
+    int IInterfaceNotVisibleNoGuid.Foo() { return 16; }
+    int IInterfaceVisibleTrueNoGuidGenericInterface.Foo() { return 17; }
+    int IInterfaceVisibleTrueNoGuidGenericInterface.Foo9(List<int> listInt) { return 18; }
+    int IInterfaceVisibleTrueNoGuidGenericInterface.Foo10(ICollection<int> intCollection, ICollection<string> stringCollection) { return 19; }
+    
+    int IInterfaceComImport_ComImport.Foo() { return 101; }
+    int IInterfaceVisibleTrue_ComImport.Foo() { return 102; }
+    int IInterfaceVisibleFalse_ComImport.Foo() { return 103; }
+    int IInterfaceVisibleTrue_VisibleTrue.Foo() { return 104; }
+    int IInterfaceVisibleFalse_VisibleTrue.Foo() { return 105; }
+    int IInterfaceVisibleTrue_VisibleFalse.Foo() { return 106; }
+    int IInterfaceNotPublic_VisibleTrue.Foo() { return 107; }
+
+    int Foo() { return 9; }
+}
+
+/// <summary>
+/// Class not visible with ComVisible(false).
+/// </summary>
+[ComVisible(false)]
+[Guid("6DF17EC1-A8F4-4693-B195-EDB27DF00170")]
+public sealed class ClassVisibleFalseServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic
+{
+    int IInterfaceComImport.Foo() { return 120; }
+    int IInterfaceVisibleTrue.Foo() { return 121; }
+    int IInterfaceVisibleFalse.Foo() { return 122; }
+    int IInterfaceWithoutVisible.Foo() { return 123; }
+    int IInterfaceNotPublic.Foo() { return 124; }
+    int Foo() { return 129; }
+}
+
+/// <summary>
+/// Class not visible without ComVisible().
+/// </summary>
+[Guid("A57430B8-E0C1-486E-AE57-A15D6A729F99")]
+public sealed class ClassWithoutVisibleServer :
+    IInterfaceComImport, IInterfaceVisibleTrue, IInterfaceVisibleFalse, IInterfaceWithoutVisible, IInterfaceNotPublic
+{
+    int IInterfaceComImport.Foo() { return 130; }
+    int IInterfaceVisibleTrue.Foo() { return 131; }
+    int IInterfaceVisibleFalse.Foo() { return 132; }
+    int IInterfaceWithoutVisible.Foo() { return 133; }
+    int IInterfaceNotPublic.Foo() { return 134; }
+    int Foo() { return 139; }
+}
+
+/// <summary>
+/// Generic visible class with ComVisible(true).
+/// </summary>
+[ComVisible(true)]
+[Guid("3CD290FA-1CD0-4370-B8E6-5A573F78C9F7")]
+public sealed class ClassGenericServer<T> : IInterfaceVisibleTrue, IInterfaceGenericVisibleTrue<T>, IInterfaceComImport
+{
+    int IInterfaceComImport.Foo() { return 140; }
+    int IInterfaceVisibleTrue.Foo() { return 141; }
+    T IInterfaceGenericVisibleTrue<T>.Foo() { return default(T); }
+    T Foo() { return default(T); }
+}
+
+/// <summary>
+/// Class visible with ComVisible(true) and without Custom Attribute Guid.
+/// Note that in this test, change the method sequence in the interface will 
+///  change the GUID and could broke the test or reduce the test efficiency.
+/// </summary>
+[ComVisible(true)]
+[Guid("afb3aafc-75bc-35d3-be41-a399c2701929")]
+public sealed class ClassVisibleTrueServerNoGuid : IInterfaceVisibleTrue
+{
+    int IInterfaceVisibleTrue.Foo() { return 150; }
+
+    private int privateVal;
+}
+
+public class ComVisibleServer
+{
+    /// <summary>
+    /// Nested interface with ComImport.
+    /// </summary>
+    [ComImport]
+    [Guid("1D927BC5-1530-4B8E-A183-995425CE4A0A")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceComImport
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface visible with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("39209692-2568-4B1E-A6C8-A5C7F141D278")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not visible with ComVisible(false).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("1CE4B033-4927-447A-9F91-998357B32ADF")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not visible without ComVisible().
+    /// </summary>
+    [Guid("C770422A-C363-49F1-AAA1-3EC81A452816")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceWithoutVisible
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface not public.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("F776FF8A-0673-49C2-957A-33C2576062ED")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    interface INestedInterfaceNotPublic
+    {
+        int Foo();
+    }
+
+    /// <summary>
+    /// Nested visible interface with ComVisible(true).
+    /// </summary>
+    public class NestedClass
+    {
+        [ComVisible(true)]
+        [Guid("B31B4EC1-3B59-41C4-B3A0-CF89638CB837")]
+        [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+        public interface INestedInterfaceNestedInClass
+        {
+            int Foo();
+        }
+
+        [ComVisible(true)]
+        [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+        public interface INestedInterfaceNestedInClassNoGuid
+        {
+            int Foo();
+        }
+    }
+
+    /// <summary>
+    /// Generic interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("D7A8A196-5D85-4C85-94E4-8344ED2C7277")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceGenericVisibleTrue<T>
+    {
+        T Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComImport derived from an interface with ComImport.
+    /// </summary>
+    [ComImport]
+    [Guid("C57D849A-A1A9-4CDC-A609-789D79F9332C")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceComImport_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComImport.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("81F28686-F257-4B7E-A47F-57C9775BE2CE")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(false) derived from an interface with ComImport.
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("FAAB7E6C-8548-429F-AD34-0CEC3EBDD7B7")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse_ComImport : INestedInterfaceComImport
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("BEFD79A9-D8E6-42E4-8228-1892298460D7")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(false) derived from an interface with ComVisible(true).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("5C497454-EA83-4F79-B990-4EB28505E801")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleFalse_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an interface with ComVisible(false).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("A17CF08F-EEC4-4EA5-B12C-5A603101415D")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrue_VisibleFalse : INestedInterfaceVisibleFalse
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface with ComVisible(true) derived from an not public interface.
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("40B723E9-E1BE-4F55-99CD-D2590D191A53")]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    interface INestedInterfaceNotPublic_VisibleTrue : INestedInterfaceVisibleTrue
+    {
+        new int Foo();
+    }
+
+    /// <summary>
+    /// Nested interface visible with ComVisible(true) without Guid.
+    /// </summary>
+    [ComVisible(true)]
+    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+    public interface INestedInterfaceVisibleTrueNoGuid
+    {
+        int Foo();
+    }
+
+
+    /// <summary>
+    /// Nested class visible with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("CF681980-CE6D-421E-8B21-AEAE3F1B7DAC")]
+    public sealed class NestedClassVisibleTrueServer : 
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic,
+        INestedInterfaceVisibleTrueNoGuid, NestedClass.INestedInterfaceNestedInClassNoGuid,
+        NestedClass.INestedInterfaceNestedInClass, INestedInterfaceComImport_ComImport, INestedInterfaceVisibleTrue_ComImport, INestedInterfaceVisibleFalse_ComImport,
+        INestedInterfaceVisibleTrue_VisibleTrue, INestedInterfaceVisibleFalse_VisibleTrue, INestedInterfaceVisibleTrue_VisibleFalse, INestedInterfaceNotPublic_VisibleTrue
+    {
+        int INestedInterfaceComImport.Foo() { return 10; }
+        int INestedInterfaceVisibleTrue.Foo() { return 11; }
+        int INestedInterfaceVisibleFalse.Foo() { return 12; }
+        int INestedInterfaceWithoutVisible.Foo() { return 13; }
+        int INestedInterfaceNotPublic.Foo() { return 14; }
+
+        int INestedInterfaceVisibleTrueNoGuid.Foo() { return 50; }
+        int NestedClass.INestedInterfaceNestedInClassNoGuid.Foo() { return 51; }
+
+        int NestedClass.INestedInterfaceNestedInClass.Foo() { return 110; }
+        int INestedInterfaceComImport_ComImport.Foo() { return 111; }
+        int INestedInterfaceVisibleTrue_ComImport.Foo() { return 112; }
+        int INestedInterfaceVisibleFalse_ComImport.Foo() { return 113; }
+        int INestedInterfaceVisibleTrue_VisibleTrue.Foo() { return 114; }
+        int INestedInterfaceVisibleFalse_VisibleTrue.Foo() { return 115; }
+        int INestedInterfaceVisibleTrue_VisibleFalse.Foo() { return 116; }
+        int INestedInterfaceNotPublic_VisibleTrue.Foo() { return 117; }
+
+        int Foo() { return 19; }
+    }
+
+    /// <summary>
+    /// Nested class not visible with ComVisible(false).
+    /// </summary>
+    [ComVisible(false)]
+    [Guid("6DF17EC1-A8F4-4693-B195-EDB27DF00170")]
+    public sealed class NestedClassVisibleFalseServer : 
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic
+    {
+        int INestedInterfaceComImport.Foo() { return 20; }
+        int INestedInterfaceVisibleTrue.Foo() { return 21; }
+        int INestedInterfaceVisibleFalse.Foo() { return 22; }
+        int INestedInterfaceWithoutVisible.Foo() { return 23; }
+        int INestedInterfaceNotPublic.Foo() { return 24; }
+        int Foo() { return 29; }
+    }
+
+    /// <summary>
+    /// Nested class not visible without ComVisible().
+    /// </summary>
+    [Guid("A57430B8-E0C1-486E-AE57-A15D6A729F99")]
+    public sealed class NestedClassWithoutVisibleServer : 
+        INestedInterfaceComImport, INestedInterfaceVisibleTrue, INestedInterfaceVisibleFalse, INestedInterfaceWithoutVisible, INestedInterfaceNotPublic
+    {
+        int INestedInterfaceComImport.Foo() { return 30; }
+        int INestedInterfaceVisibleTrue.Foo() { return 31; }
+        int INestedInterfaceVisibleFalse.Foo() { return 32; }
+        int INestedInterfaceWithoutVisible.Foo() { return 33; }
+        int INestedInterfaceNotPublic.Foo() { return 34; }
+        int Foo() { return 39; }
+    }
+
+    /// <summary>
+    /// Generic visible nested class with ComVisible(true).
+    /// </summary>
+    [ComVisible(true)]
+    [Guid("CAFBD2FF-710A-4E83-9229-42FA16963424")]
+    public sealed class NestedClassGenericServer<T> : INestedInterfaceVisibleTrue, INestedInterfaceGenericVisibleTrue<T>, INestedInterfaceComImport
+    {
+        int INestedInterfaceComImport.Foo() { return 40; }
+        int INestedInterfaceVisibleTrue.Foo() { return 41; }
+        T INestedInterfaceGenericVisibleTrue<T>.Foo() { return default(T); }
+        T Foo() { return default(T); }
+    }
+
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+    
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+    
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceWithoutVisible([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotPublic([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrueNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrueNoGuidGenericInterface([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotVisibleNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceGenericVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceComImport_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleFalse_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceVisibleTrue_VisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_InterfaceNotPublic_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceWithoutVisible([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNotPublic([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+    
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNestedInClass([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNestedInClassNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrueNoGuid([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceGenericVisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceComImport_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse_ComImport([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleFalse_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceVisibleTrue_VisibleFalse([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    [DllImport("ComVisibleNative")]
+    public static extern int CCWTest_NestedInterfaceNotPublic_VisibleTrue([MarshalAs(UnmanagedType.IUnknown)] object unk, out int fooSuccessVal);
+
+    /// <summary>
+    /// Test case set for ComVisible. The assembly is set as [assembly: ComVisible(false)]
+    /// </summary>
+    /// <returns></returns>
+    private static void RunComVisibleTests()
+    {
+        int fooSuccessVal = 0;
+        //
+        // Tests for class with ComVisible(true)
+        //
+        Console.WriteLine("Class with ComVisible(true)");
+        ClassVisibleTrueServer visibleBaseClass = new ClassVisibleTrueServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(1, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(2, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceWithoutVisible((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrueNoGuid");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrueNoGuid((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(6, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrueNoGuidGenericInterface");
+        Assert.AreEqual(Helpers.COR_E_GENERICMETHOD, CCWTest_InterfaceVisibleTrueNoGuidGenericInterface((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_InterfaceNotVisibleNoGuid");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotVisibleNoGuid((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested Interface in a class with ComVisible(true)
+        //
+        Console.WriteLine("Nested Interface in a class with ComVisible(true)");
+        
+        Console.WriteLine("CCWTest_InterfaceComImport_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport_ComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(101, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_ComImport((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(102, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse_ComImport");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse_ComImport((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_VisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(104, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue_VisibleFalse");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue_VisibleFalse((object)visibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(106, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic_VisibleTrue((object)visibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for class with ComVisible(false)
+        //
+        Console.WriteLine("Class with ComVisible(false)");
+        ClassVisibleFalseServer visibleFalseBaseClass = new ClassVisibleFalseServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(120, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)visibleFalseBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(121, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)visibleFalseBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceWithoutVisible((object)visibleFalseBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)visibleFalseBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for class without ComVisible()
+        //
+        Console.WriteLine("Class without ComVisible()");
+        ClassWithoutVisibleServer withoutVisibleBaseClass = new ClassWithoutVisibleServer();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(130, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)withoutVisibleBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(131, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceVisibleFalse((object)withoutVisibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceWithoutVisible((object)withoutVisibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_InterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_InterfaceNotPublic((object)withoutVisibleBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for generic class with ComVisible(true)
+        //
+        Console.WriteLine("Generic class with ComVisible(true)");
+        ClassGenericServer<int> genericServer = new ClassGenericServer<int>();
+
+        Console.WriteLine("CCWTest_InterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceComImport((object)genericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(140, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)genericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(141, fooSuccessVal, "COM method didn't return the expected value.");
+        
+        Console.WriteLine("CCWTest_InterfaceGenericVisibleTrue");
+        Assert.AreEqual(Helpers.COR_E_INVALIDOPERATION, CCWTest_InterfaceGenericVisibleTrue((object)genericServer, out fooSuccessVal), "Returned diferent exception than the expected COR_E_INVALIDOPERATION.");
+
+        //
+        // Tests for nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested class with ComVisible(true)");
+        NestedClassVisibleTrueServer visibleNestedBaseClass = new NestedClassVisibleTrueServer();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(10, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(11, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceWithoutVisible((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested Interface in a nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested Interface in a nested class with ComVisible(true)");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNestedInClass");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceNestedInClass((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(110, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrueNoGuid");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrueNoGuid((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(50, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNestedInClassNoGuid");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceNestedInClassNoGuid((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(51, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceComImport_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(111, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_ComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(112, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse_ComImport");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse_ComImport((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_VisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(114, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+        
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue_VisibleFalse");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue_VisibleFalse((object)visibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(116, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic_VisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic_VisibleTrue((object)visibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested class with ComVisible(false)
+        //
+        Console.WriteLine("Nested class with ComVisible(false)");
+        NestedClassVisibleFalseServer visibleFalseNestedBaseClass = new NestedClassVisibleFalseServer();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(20, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)visibleFalseNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(21, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)visibleFalseNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceWithoutVisible((object)visibleFalseNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)visibleFalseNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for nested class without ComVisible()
+        //
+        Console.WriteLine("Nested class without ComVisible()");
+        NestedClassWithoutVisibleServer withoutVisibleNestedBaseClass = new NestedClassWithoutVisibleServer();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(30, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(31, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleFalse");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceVisibleFalse((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceWithoutVisible");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceWithoutVisible((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceNotPublic");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceNotPublic((object)withoutVisibleNestedBaseClass, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for generic nested class with ComVisible(true)
+        //
+        Console.WriteLine("Nested generic class with ComVisible(true)");
+        NestedClassGenericServer<int> nestedGenericServer = new NestedClassGenericServer<int>();
+        
+        Console.WriteLine("CCWTest_NestedInterfaceComImport");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceComImport((object)nestedGenericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(40, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_NestedInterfaceVisibleTrue((object)nestedGenericServer, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(41, fooSuccessVal, "COM method didn't return the expected value.");
+
+        Console.WriteLine("CCWTest_NestedInterfaceGenericVisibleTrue");
+        Assert.AreEqual(Helpers.E_NOINTERFACE, CCWTest_NestedInterfaceGenericVisibleTrue((object)nestedGenericServer, out fooSuccessVal), "Returned diferent exception than the expected E_NOINTERFACE.");
+
+        //
+        // Tests for class with ComVisible(true) without Custom Attribute Guid.
+        //
+        Console.WriteLine("Class with ComVisible(true) without GUID");
+        ClassVisibleTrueServerNoGuid visibleBaseClassNoGuid = new ClassVisibleTrueServerNoGuid();
+
+        Console.WriteLine("CCWTest_InterfaceVisibleTrue");
+        Assert.AreEqual(Helpers.S_OK, CCWTest_InterfaceVisibleTrue((object)visibleBaseClassNoGuid, out fooSuccessVal), "COM method thrown an unexpected exception.");
+        Assert.AreEqual(150, fooSuccessVal, "COM method didn't return the expected value.");
+
+        //
+        // Tests for get the GetTypeInfo().GUID for Interface and class without Custom Attribute Guid.
+        //
+        Console.WriteLine("GetTypeInfo().GUID for Interface and Class without GUID");
+
+        Console.WriteLine("IInterfaceVisibleTrueNoGuid.GUID");
+        Assert.AreEqual<Guid>(new Guid("ad50a327-d23a-38a4-9d6e-b32b32acf572"), typeof(IInterfaceVisibleTrueNoGuid).GetTypeInfo().GUID,
+            typeof(IInterfaceVisibleTrueNoGuid).GetTypeInfo() + " returns a wrong GUID {" + typeof(IInterfaceVisibleTrueNoGuid).GetTypeInfo().GUID + "}");
+
+        Console.WriteLine("IInterfaceNotVisibleNoGuid.GUID");
+        Assert.AreEqual<Guid>(new Guid("b45587ec-9671-35bc-8b8e-f6bfb18a4d3a"), typeof(IInterfaceNotVisibleNoGuid).GetTypeInfo().GUID,
+            typeof(IInterfaceNotVisibleNoGuid).GetTypeInfo() + " returns a wrong GUID {" + typeof(IInterfaceNotVisibleNoGuid).GetTypeInfo().GUID + "}");
+
+        Console.WriteLine("IDerivedInterfaceVisibleTrueNoGuid.GUID");
+        Assert.AreEqual<Guid>(new Guid("c3f73319-f6b3-3ef6-a095-8cb04fb8cf8b"), typeof(IDerivedInterfaceVisibleTrueNoGuid).GetTypeInfo().GUID,
+            typeof(IDerivedInterfaceVisibleTrueNoGuid).GetTypeInfo() + " returns a wrong GUID {" + typeof(IDerivedInterfaceVisibleTrueNoGuid).GetTypeInfo().GUID + "}");
+
+        Console.WriteLine("IInterfaceVisibleTrueNoGuidGeneric.GUID");
+        Assert.AreEqual<Guid>(new Guid("50c0a59c-b6e1-36dd-b488-a905b54910d4"), typeof(IInterfaceVisibleTrueNoGuidGeneric).GetTypeInfo().GUID,
+            typeof(IInterfaceVisibleTrueNoGuidGeneric).GetTypeInfo() + " returns a wrong GUID {" + typeof(IInterfaceVisibleTrueNoGuidGeneric).GetTypeInfo().GUID + "}");
+
+        Console.WriteLine("IInterfaceVisibleTrueNoGuidGenericInterface.GUID");
+        Assert.AreEqual<Guid>(new Guid("384f0b5c-28d0-368c-8c7e-5e31a84a5c84"), typeof(IInterfaceVisibleTrueNoGuidGenericInterface).GetTypeInfo().GUID,
+            typeof(IInterfaceVisibleTrueNoGuidGenericInterface).GetTypeInfo() + " returns a wrong GUID {" + typeof(IInterfaceVisibleTrueNoGuidGenericInterface).GetTypeInfo().GUID + "}");
+
+        Console.WriteLine("ClassVisibleTrueServerNoGuid.GUID");
+        Assert.AreEqual<Guid>(new Guid("afb3aafc-75bc-35d3-be41-a399c2701929"), typeof(ClassVisibleTrueServerNoGuid).GetTypeInfo().GUID,
+            typeof(ClassVisibleTrueServerNoGuid).GetTypeInfo() + " returns a wrong GUID {" + typeof(ClassVisibleTrueServerNoGuid).GetTypeInfo().GUID + "}");
+
+        Console.WriteLine("INestedInterfaceNestedInClassNoGuid.GUID");
+        Assert.AreEqual<Guid>(new Guid("486bcec9-904d-3445-871c-e7084a52eb1a"), typeof(NestedClass.INestedInterfaceNestedInClassNoGuid).GetTypeInfo().GUID,
+            typeof(NestedClass.INestedInterfaceNestedInClassNoGuid).GetTypeInfo() + " returns a wrong GUID {" + typeof(NestedClass.INestedInterfaceNestedInClassNoGuid).GetTypeInfo().GUID + "}");
+
+        Console.WriteLine("INestedInterfaceVisibleTrueNoGuid.GUID");
+        Assert.AreEqual<Guid>(new Guid("0ea2cb33-db9f-3655-9240-47ef1dea0f1e"), typeof(INestedInterfaceVisibleTrueNoGuid).GetTypeInfo().GUID,
+            typeof(INestedInterfaceVisibleTrueNoGuid).GetTypeInfo() + " returns a wrong GUID {" + typeof(INestedInterfaceVisibleTrueNoGuid).GetTypeInfo().GUID + "}");
+    }
+    
+    public static int Main()
+    {
+        try
+        {
+            RunComVisibleTests();
+
+            return 100;
+        }
+        catch (Exception e)
+        {
+            Console.WriteLine($"Test Failure: {e}");
+            return 101;
+        }
+    }
+}
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.csproj b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.csproj
new file mode 100644 (file)
index 0000000..e3cb2fa
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>DefaultTest</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F1E66554-8C8E-4141-85CF-D0CD6A0CD0B0}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
+    <DefineConstants>$(DefineConstants);STATIC</DefineConstants>
+    <!-- Test unsupported outside of windows -->
+    <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
+    <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="DefaultTest.cs" />
+    <Compile Include="..\Helpers.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CMakeLists.txt" />
+  </ItemGroup>
+  <Import Project="../../../Interop.settings.targets" />
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+</Project>
diff --git a/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Helpers.cs b/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Helpers.cs
new file mode 100644 (file)
index 0000000..47d7753
--- /dev/null
@@ -0,0 +1,14 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace NativeCallManagedComVisible
+{
+    public static class Helpers
+    {
+        public static int S_OK = 0;
+        public static int E_NOINTERFACE = unchecked((int)0x80004002);
+        public static int COR_E_INVALIDOPERATION = unchecked((int)0x80131509);
+        public static int COR_E_GENERICMETHOD = unchecked((int)0x80131535);
+    }
+}
index bd081a6..a4d85c8 100644 (file)
@@ -19,7 +19,7 @@ class Test
     internal const int ARRAY_SIZE = 100;
 
     //UnmanagedType.ByValTStr
-    [DllImport("SizeConstNative",CharSet = CharSet.Ansi)]
+    [DllImport("SizeConstNative",CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
     static extern bool TakeByValTStr(S_CHARArray_ByValTStr s, int size);
 
     static bool SizeConstByValTStr()
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/Helper.cs b/tests/src/Interop/StructMarshalling/ReversePInvoke/Helper.cs
new file mode 100644 (file)
index 0000000..eadfab6
--- /dev/null
@@ -0,0 +1,1252 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Runtime.InteropServices;
+using System.IO;
+using System.Text;
+using System.Globalization;
+using System.Collections;
+using System.IO.IsolatedStorage;
+using System.Security.Policy;
+
+public class Helper
+{
+
+    #region methods for InnerSequential struct
+    
+    // Return new InnerSequential instance 
+    public static InnerSequential NewInnerSequential(int f1, float f2, string f3)
+    {
+        InnerSequential inner_seq = new InnerSequential();
+        inner_seq.f1 = f1;
+        inner_seq.f2 = f2;
+        inner_seq.f3 = f3;
+        return inner_seq;
+    }
+    
+    // Prints InnerSequential  
+    public static void PrintInnerSequential(InnerSequential inner_seq, string name)
+    {
+        Console.WriteLine("\t{0}.f1 = {1}", name, inner_seq.f1);
+        Console.WriteLine("\t{0}.f2 = {1}", name, inner_seq.f2);
+        Console.WriteLine("\t{0}.f3 = {1}", name, inner_seq.f3);
+    }
+    
+    public static bool ValidateInnerSequential(InnerSequential s1, InnerSequential s2, string methodName)
+    {
+        if (s1.f1 != s2.f1 || s1.f2 != s2.f2 || s1.f3 != s2.f3)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintInnerSequential(s1, s1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintInnerSequential(s2, s2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for INNER2 struct
+    
+    // Return new INNER2 instance 
+    public static INNER2 NewINNER2(int f1, float f2, string f3)
+    {
+        INNER2 inner = new INNER2();
+        inner.f1 = f1;
+        inner.f2 = f2;
+        inner.f3 = f3;
+        return inner;
+    }
+    
+    // Prints INNER2  
+    public static void PrintINNER2(INNER2 inner, string name)
+    {
+        Console.WriteLine("\t{0}.f1 = {1}", name, inner.f1);
+        Console.WriteLine("\t{0}.f2 = {1}", name, inner.f2);
+        Console.WriteLine("\t{0}.f3 = {1}", name, inner.f3);
+    }
+    
+    public static bool ValidateINNER2(INNER2 inner1, INNER2 inner2, string methodName)
+    {
+        if (inner1.f1 != inner2.f1 || inner1.f2 != inner2.f2 || inner1.f3 != inner2.f3)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintINNER2(inner1, inner1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintINNER2(inner2, inner2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for InnerExplicit struct
+   
+    // Return new InnerExplicit instance 
+    public static InnerExplicit NewInnerExplicit(int f1, float f2, string f3)
+    {
+        InnerExplicit inner = new InnerExplicit();
+        inner.f1 = f1;
+        inner.f2 = f2;
+        inner.f3 = f3;
+        return inner;
+    }
+    // Prints InnerExplicit  
+    public static void PrintInnerExplicit(InnerExplicit inner, string name)
+    {
+        Console.WriteLine("\t{0}.f1 = {1}", name, inner.f1);
+        Console.WriteLine("\t{0}.f2 = {1}", name, inner.f2);
+        Console.WriteLine("\t{0}.f3 = {1}", name, inner.f3);
+    }
+    public static bool ValidateInnerExplicit(InnerExplicit inner1, InnerExplicit inner2, string methodName)
+    {
+        if (inner1.f1 != inner2.f1 || inner1.f2 != inner2.f2 || inner1.f3 != inner2.f3)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintInnerExplicit(inner1, inner1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintInnerExplicit(inner2, inner2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for InnerArraySequential struct
+    
+    // Returns new OUTER instance; the params are the fields of INNER; 
+    // all the INNER elements have the same field values
+    public static InnerArraySequential NewInnerArraySequential(int f1, float f2, string f3)
+    {
+        InnerArraySequential outer = new InnerArraySequential();
+        outer.arr = new InnerSequential[Common.NumArrElements];
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            outer.arr[i].f1 = f1;
+            outer.arr[i].f2 = f2;
+            outer.arr[i].f3 = f3;
+        }
+        return outer;
+    }
+   
+    // Prints InnerArraySequential
+    public static void PrintInnerArraySequential(InnerArraySequential outer, string name)
+    {
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", name, i, outer.arr[i].f1);
+            Console.WriteLine("\t{0}.arr[{1}].f2 = {2}", name, i, outer.arr[i].f2);
+            Console.WriteLine("\t{0}.arr[{1}].f3 = {2}", name, i, outer.arr[i].f3);
+        }
+    }
+   
+    // Returns true if the two params have the same fields
+    public static bool ValidateInnerArraySequential(InnerArraySequential outer1, InnerArraySequential outer2, string methodName)
+    {
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            if (outer1.arr[i].f1 != outer2.arr[i].f1 ||
+                outer1.arr[i].f2 != outer2.arr[i].f2 ||
+                outer1.arr[i].f3 != outer2.arr[i].f3)
+            {
+                Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+                Console.WriteLine("\tThe Actual is...");
+                Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", outer1.ToString(), i, outer1.arr[i].f1);
+                Console.WriteLine("\t{0}.arr[{1}].f2 = {2}", outer1.ToString(), i, outer1.arr[i].f2);
+                Console.WriteLine("\t{0}.arr[{1}].f3 = {2}", outer1.ToString(), i, outer1.arr[i].f3);
+                Console.WriteLine("\tThe Expected is...");
+                Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", outer2.ToString(), i, outer2.arr[i].f1);
+                Console.WriteLine("\t{0}.arr[{1}].f2 = {2}", outer2.ToString(), i, outer2.arr[i].f2);
+                Console.WriteLine("\t{0}.arr[{1}].f3 = {2}", outer2.ToString(), i, outer2.arr[i].f3);
+                return false;
+            }
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for InnerArrayExplicit struct
+   
+    // Returns new InnerArrayExplicit instance; the params are the fields of INNER; 
+    // all the INNER elements have the same field values
+    public static InnerArrayExplicit NewInnerArrayExplicit(int f1, float f2, string f3, string f4)
+    {
+        InnerArrayExplicit outer = new InnerArrayExplicit();
+        outer.arr = new InnerSequential[Common.NumArrElements];
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            outer.arr[i].f1 = f1;
+            outer.arr[i].f2 = f2;
+            outer.arr[i].f3 = f3;
+        }
+        outer.f4 = f4;
+        return outer;
+    }
+    // Prints InnerArrayExplicit
+    public static void PrintInnerArrayExplicit(InnerArrayExplicit outer, string name)
+    {
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", name, i, outer.arr[i].f1);
+            Console.WriteLine("\t{0}.arr[{1}].f2 = {2}", name, i, outer.arr[i].f2);
+            Console.WriteLine("\t{0}.arr[{1}].f3 = {2}", name, i, outer.arr[i].f3);
+        }
+        Console.WriteLine("\t{0}.f4 = {1}", name, outer.f4);
+    }
+   
+    // Returns true if the two params have the same fields
+    public static bool ValidateInnerArrayExplicit(InnerArrayExplicit outer1, InnerArrayExplicit InnerArrayExplicit, string methodName)
+    {
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            if (outer1.arr[i].f1 != InnerArrayExplicit.arr[i].f1)
+            {
+                Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+                Console.WriteLine("\tThe Actual f1 field is...");
+                Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", outer1.ToString(), i, outer1.arr[i].f1);
+                Console.WriteLine("\tThe Expected f1 field is...");
+                Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", InnerArrayExplicit.ToString(), i, InnerArrayExplicit.arr[i].f1);
+                return false;
+            }
+        }
+        if (outer1.f4 != InnerArrayExplicit.f4)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual f4 field is...");
+            Console.WriteLine("\t{0}.f4 = {1}", outer1.ToString(), outer1.f4);
+            Console.WriteLine("\tThe Expected f4 field is...");
+            Console.WriteLine("\t{0}.f4 = {1}", InnerArrayExplicit.ToString(), InnerArrayExplicit.f4);
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for OUTER3 struct
+  
+    // Returns new OUTER3 instance; the params are the fields of INNER; 
+    // all the INNER elements have the same field values
+    public static OUTER3 NewOUTER3(int f1, float f2, string f3, string f4)
+    {
+        OUTER3 outer = new OUTER3();
+        outer.arr = new InnerSequential[Common.NumArrElements];
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            outer.arr[i].f1 = f1;
+            outer.arr[i].f2 = f2;
+            outer.arr[i].f3 = f3;
+        }
+        outer.f4 = f4;
+        return outer;
+    }
+  
+    // Prints OUTER3
+    public static void PrintOUTER3(OUTER3 outer, string name)
+    {
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", name, i, outer.arr[i].f1);
+            Console.WriteLine("\t{0}.arr[{1}].f2 = {2}", name, i, outer.arr[i].f2);
+            Console.WriteLine("\t{0}.arr[{1}].f3 = {2}", name, i, outer.arr[i].f3);
+        }
+        Console.WriteLine("\t{0}.f4 = {1}", name, outer.f4);
+    }
+    // Returns true if the two params have the same fields
+    public static bool ValidateOUTER3(OUTER3 outer1, OUTER3 InnerArrayExplicit, string methodName)
+    {
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            if (outer1.arr[i].f1 != InnerArrayExplicit.arr[i].f1 ||
+                outer1.arr[i].f2 != InnerArrayExplicit.arr[i].f2 ||
+                outer1.arr[i].f3 != InnerArrayExplicit.arr[i].f3)
+            {
+                Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+                Console.WriteLine("\tThe Actual is...");
+                Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", outer1.ToString(), i, outer1.arr[i].f1);
+                Console.WriteLine("\t{0}.arr[{1}].f2 = {2}", outer1.ToString(), i, outer1.arr[i].f2);
+                Console.WriteLine("\t{0}.arr[{1}].f3 = {2}", outer1.ToString(), i, outer1.arr[i].f3);
+                Console.WriteLine("\tThe Expected is...");
+                Console.WriteLine("\t{0}.arr[{1}].f1 = {2}", InnerArrayExplicit.ToString(), i, InnerArrayExplicit.arr[i].f1);
+                Console.WriteLine("\t{0}.arr[{1}].f2 = {2}", InnerArrayExplicit.ToString(), i, InnerArrayExplicit.arr[i].f2);
+                Console.WriteLine("\t{0}.arr[{1}].f3 = {2}", InnerArrayExplicit.ToString(), i, InnerArrayExplicit.arr[i].f3);
+                return false;
+            }
+        }
+        if (outer1.f4 != InnerArrayExplicit.f4)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual f4 field is...");
+            Console.WriteLine("\t{0}.f4 = {1}", outer1.ToString(), outer1.f4);
+            Console.WriteLine("\tThe Expected f4 field is...");
+            Console.WriteLine("\t{0}.f4 = {1}", InnerArrayExplicit.ToString(), InnerArrayExplicit.f4);
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for CharSetAnsiSequential struct
+  
+    //return CharSetAnsiSequential struct instance
+    public static CharSetAnsiSequential NewCharSetAnsiSequential(string f1, char f2)
+    {
+        CharSetAnsiSequential str1 = new CharSetAnsiSequential();
+        str1.f1 = f1;
+        str1.f2 = f2;
+        return str1;
+    }
+   
+    //print the struct CharSetAnsiSequential element
+    public static void PrintCharSetAnsiSequential(CharSetAnsiSequential str1, string name)
+    {
+        Console.WriteLine("\t{0}.f1 = {1}", name, str1.f1);
+        Console.WriteLine("\t{0}.f2 = {1}", name, str1.f2);
+    }
+   
+    // Returns true if the two params have the same fields
+    public static bool ValidateCharSetAnsiSequential(CharSetAnsiSequential str1, CharSetAnsiSequential str2, string methodName)
+    {
+        if (str1.f1 != str2.f1 || str1.f2 != str2.f2)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintCharSetAnsiSequential(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintCharSetAnsiSequential(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for CharSetUnicodeSequential struct
+  
+    //return the struct CharSetUnicodeSequential instance
+    public static CharSetUnicodeSequential NewCharSetUnicodeSequential(string f1, char f2)
+    {
+        CharSetUnicodeSequential str1 = new CharSetUnicodeSequential();
+        str1.f1 = f1;
+        str1.f2 = f2;
+        return str1;
+    }
+    //print the struct CharSetUnicodeSequential element
+    public static void PrintCharSetUnicodeSequential(CharSetUnicodeSequential str1, string name)
+    {
+        Console.WriteLine("\t{0}.f1 = {1}", name, str1.f1);
+        Console.WriteLine("\t{0}.f2 = {1}", name, str1.f2);
+    }
+  
+    // Returns true if the two params have the same fields
+    public static bool ValidateCharSetUnicodeSequential(CharSetUnicodeSequential str1, CharSetUnicodeSequential str2, string methodName)
+    {
+        if (str1.f1 != str2.f1 || str1.f2 != str2.f2)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintCharSetUnicodeSequential(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintCharSetUnicodeSequential(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for NumberSequential struct
+   
+    public static NumberSequential NewNumberSequential(int i32, uint ui32, short s1, ushort us1, Byte b, SByte sb,
+        Int16 i16, UInt16 ui16, Int64 i64, UInt64 ui64, Single sgl, Double d)
+    {
+        NumberSequential str1 = new NumberSequential();
+        str1.i32 = i32;
+        str1.ui32 = ui32;
+        str1.s1 = s1;
+        str1.us1 = us1;
+        str1.b = b;
+        str1.sb = sb;
+        str1.i16 = i16;
+        str1.ui16 = ui16;
+        str1.i64 = i64;
+        str1.ui64 = ui64;
+        str1.sgl = sgl;
+        str1.d = d;
+        return str1;
+    }
+    
+    public static void PrintNumberSequential(NumberSequential str1, string name)
+    {
+        Console.WriteLine("\t{0}.i32 = {1}", name, str1.i32);
+        Console.WriteLine("\t{0}.ui32 = {1}", name, str1.ui32);
+        Console.WriteLine("\t{0}.s1 = {1}", name, str1.s1);
+        Console.WriteLine("\t{0}.us1 = {1}", name, str1.us1);
+        Console.WriteLine("\t{0}.b = {1}", name, str1.b);
+        Console.WriteLine("\t{0}.sb = {1}", name, str1.sb);
+        Console.WriteLine("\t{0}.i16 = {1}", name, str1.i16);
+        Console.WriteLine("\t{0}.ui16 = {1}", name, str1.ui16);
+        Console.WriteLine("\t{0}.i64 = {1}", name, str1.i64);
+        Console.WriteLine("\t{0}.ui64 = {1}", name, str1.ui64);
+        Console.WriteLine("\t{0}.sgl = {1}", name, str1.sgl);
+        Console.WriteLine("\t{0}.d = {1}", name, str1.d);
+    }
+   
+    public static bool ValidateNumberSequential(NumberSequential str1, NumberSequential str2, string methodName)
+    {
+        if (str1.i32 != str2.i32 || str1.ui32 != str2.ui32 || str1.s1 != str2.s1 ||
+            str1.us1 != str2.us1 || str1.b != str2.b || str1.sb != str2.sb || str1.i16 != str2.i16 ||
+            str1.ui16 != str2.ui16 || str1.i64 != str2.i64 || str1.ui64 != str2.ui64 ||
+            str1.sgl != str2.sgl || str1.d != str2.d)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintNumberSequential(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintNumberSequential(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for S3 struct
+  
+    public static void InitialArray(int[] iarr, int[] icarr)
+    {
+        for (int i = 0; i < iarr.Length; i++)
+        {
+            iarr[i] = i;
+        }
+
+        for (int i = 1; i < icarr.Length + 1; i++)
+        {
+            icarr[i - 1] = i;
+        }
+    }
+
+    public static S3 NewS3(bool flag, string str, int[] vals)
+    {
+        S3 str1 = new S3();
+        str1.flag = flag;
+        str1.str = str;
+        str1.vals = vals;
+        return str1;
+    }
+
+    public static void PrintS3(S3 str1, string name)
+    {
+        Console.WriteLine("\t{0}.flag = {1}", name, str1.flag);
+        Console.WriteLine("\t{0}.flag = {1}", name, str1.str);
+        for (int i = 0; i < str1.vals.Length; i++)
+        {
+            Console.WriteLine("\t{0}.vals[{1}] = {2}", name, i, str1.vals[i]);
+        }
+    }
+  
+    public static bool ValidateS3(S3 str1, S3 str2, string methodName)
+    {
+        int iflag = 0;
+        if (str1.flag != str2.flag || str1.str != str2.str)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual flag field is...");
+            Console.WriteLine("\t{0}.flag = {1}", str1.ToString(), str1.flag);
+            Console.WriteLine("\t{0}.str = {1}", str1.ToString(), str1.str);
+            Console.WriteLine("\tThe Expected is...");
+            Console.WriteLine("\t{0}.flag = {1}", str2.ToString(), str2.flag);
+            Console.WriteLine("\t{0}.str = {1}", str2.ToString(), str2.str);
+            return false;
+        }
+        for (int i = 0; i < 256; i++)
+        {
+            if (str1.vals[i] != str2.vals[i])
+            {
+                Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+                Console.WriteLine("\tThe Actual vals field is...");
+                Console.WriteLine("\t{0}.vals[{1}] = {2}", str1.ToString(), i, str1.vals[i]);
+                Console.WriteLine("\tThe Expected vals field is...");
+                Console.WriteLine("\t{0}.vals[{1}] = {2}", str2.ToString(), i, str2.vals[i]);
+                iflag++;
+            }
+        }
+        if (iflag != 0)
+        {
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for S5 struct
+  
+    public static S5 NewS5(int age, string name, Enum1 ef)
+    {
+        S4 s4 = new S4();
+        s4.age = age;
+        s4.name = name;
+
+        S5 s5 = new S5();
+        s5.s4 = s4;
+        s5.ef = ef;
+
+        return s5;
+    }
+   
+    public static void PrintS5(S5 str1, string name)
+    {
+        Console.WriteLine("\t{0}.s4.age = {1}", str1.s4.age);
+        Console.WriteLine("\t{0}.s4.name = {1}", str1.s4.name);
+        Console.WriteLine("\t{0}.ef = {1}", str1.ef.ToString());
+    }
+  
+    public static bool ValidateS5(S5 str1, S5 str2, string methodName)
+    {
+        if (str1.s4.age != str2.s4.age || str1.s4.name != str2.s4.name)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual s4 field is...");
+            Console.WriteLine("\t{0}.s4.age = {1}", str1.ToString(), str1.s4.age);
+            Console.WriteLine("\t{0}.s4.name = {1}", str1.ToString(), str1.s4.name);
+            Console.WriteLine("\tThe Expected s4 field is...");
+            Console.WriteLine("\t{0}.s4.age = {1}", str2.ToString(), str2.s4.age);
+            Console.WriteLine("\t{0}.s4.name = {1}", str2.ToString(), str2.s4.name);
+            return false;
+        }
+        if (str1.ef != str2.ef)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual ef field is...");
+            Console.WriteLine("\t{0}.ef = {1}", str1.ToString(), str1.ef);
+            Console.WriteLine("\tThe Expected s4 field is...");
+            Console.WriteLine("\t{0}.ef = {1}", str2.ToString(), str2.ef);
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for StringStructSequentialAnsi struct
+  
+    public static StringStructSequentialAnsi NewStringStructSequentialAnsi(string first, string last)
+    {
+        StringStructSequentialAnsi s6 = new StringStructSequentialAnsi();
+        s6.first = first;
+        s6.last = last;
+
+        return s6;
+    }
+  
+    public static void PrintStringStructSequentialAnsi(StringStructSequentialAnsi str1, string name)
+    {
+        Console.WriteLine("\t{0}.first = {1}", name, str1.first);
+        Console.WriteLine("\t{0}.last = {1}", name, str1.last);
+    }
+  
+    public static bool ValidateStringStructSequentialAnsi(StringStructSequentialAnsi str1, StringStructSequentialAnsi str2, string methodName)
+    {
+        if (str1.first != str2.first || str1.last != str2.last)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintStringStructSequentialAnsi(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintStringStructSequentialAnsi(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for StringStructSequentialUnicode struct
+  
+    public static StringStructSequentialUnicode NewStringStructSequentialUnicode(string first, string last)
+    {
+        StringStructSequentialUnicode s7 = new StringStructSequentialUnicode();
+        s7.first = first;
+        s7.last = last;
+
+        return s7;
+    }
+  
+    public static void PrintStringStructSequentialUnicode(StringStructSequentialUnicode str1, string name)
+    {
+        Console.WriteLine("\t{0}.first = {1}", name, str1.first);
+        Console.WriteLine("\t{0}.last = {1}", name, str1.last);
+    }
+  
+    public static bool ValidateStringStructSequentialUnicode(StringStructSequentialUnicode str1, StringStructSequentialUnicode str2, string methodName)
+    {
+        if (str1.first != str2.first || str1.last != str2.last)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintStringStructSequentialUnicode(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintStringStructSequentialUnicode(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for S8 struct
+   
+    public static S8 NewS8(string name, bool gender, UInt16 jobNum, int i32, uint ui32, sbyte mySByte)
+    {
+        S8 s8 = new S8();
+        s8.name = name;
+        s8.gender = gender;
+        s8.i32 = i32;
+        s8.ui32 = ui32;
+        s8.jobNum = jobNum;
+        s8.mySByte = mySByte;
+        return s8;
+    }
+   
+    public static void PrintS8(S8 str1, string name)
+    {
+        Console.WriteLine("\t{0}.name = {1}", name, str1.name);
+        Console.WriteLine("\t{0}.gender = {1}", name, str1.gender);
+        Console.WriteLine("\t{0}.jobNum = {1}", name, str1.jobNum);
+        Console.WriteLine("\t{0}.i32 = {1}", name, str1.i32);
+        Console.WriteLine("\t{0}.ui32 = {1}", name, str1.ui32);
+        Console.WriteLine("\t{0}.mySByte = {1}", name, str1.mySByte);
+    }
+   
+    public static bool ValidateS8(S8 str1, S8 str2, string methodName)
+    {
+        if (str1.name != str2.name || str1.gender != str2.gender ||
+            str1.jobNum != str2.jobNum ||
+            str1.i32 != str2.i32 || str1.ui32 != str2.ui32 || str1.mySByte != str2.mySByte)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintS8(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintS8(str2, str2.ToString());
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+
+    }
+
+    #endregion
+
+    #region methods for S9 struct
+    public static S9 NewS9(int i32, TestDelegate1 testDel1)
+    {
+        S9 s9 = new S9();
+        s9.i32 = i32;
+        s9.myDelegate1 = testDel1;
+        return s9;
+    }
+    public static bool ValidateS9(S9 str1, S9 str2, string methodName)
+    {
+        if (str1.i32 != str2.i32 || str1.myDelegate1 != str2.myDelegate1)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            Console.WriteLine("\t{0}.i32 = {1}", str1.ToString(), str1.i32);
+            Console.WriteLine("\t{0}.myDelegate1 = {1}", str1.ToString(), str1.myDelegate1);
+            Console.WriteLine("\tThe Expected is...");
+            Console.WriteLine("\t{0}.i32 = {1}", str2.ToString(), str2.i32);
+            Console.WriteLine("\t{0}.myDelegate1 = {1}", str2.ToString(), str2.myDelegate1);
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for IncludeOuterIntergerStructSequential struct
+    public static IncludeOuterIntergerStructSequential NewIncludeOuterIntergerStructSequential(int i321, int i322)
+    {
+        IncludeOuterIntergerStructSequential s10 = new IncludeOuterIntergerStructSequential();
+        s10.s.s_int.i = i321;
+        s10.s.i = i322;
+        return s10;
+    }
+  
+    public static void PrintIncludeOuterIntergerStructSequential(IncludeOuterIntergerStructSequential str1, string name)
+    {
+        Console.WriteLine("\t{0}.s.s_int.i = {1}", name, str1.s.s_int.i);
+        Console.WriteLine("\t{0}.s.i = {1}", name, str1.s.i);
+    }
+  
+    public static bool ValidateIncludeOuterIntergerStructSequential(IncludeOuterIntergerStructSequential str1, IncludeOuterIntergerStructSequential str2, string methodName)
+    {
+        if (str1.s.s_int.i != str2.s.s_int.i || str1.s.i != str2.s.i)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintIncludeOuterIntergerStructSequential(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintIncludeOuterIntergerStructSequential(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for S11 struct
+  
+    unsafe public static void PrintS11(S11 str1, string name)
+    {
+        Console.WriteLine("\t{0}.i32 = {1}", name, (int)(str1.i32));
+        Console.WriteLine("\t{0}.i = {1}", name, str1.i);
+    }
+  
+    unsafe public static S11 NewS11(int* i32, int i)
+    {
+        S11 s11 = new S11();
+        s11.i32 = i32;
+        s11.i = i;
+        return s11;
+    }
+  
+    unsafe public static bool ValidateS11(S11 str1, S11 str2, string methodName)
+    {
+        if (str1.i32 != str2.i32 || str1.i != str2.i)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintS11(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintS11(str2, str2.ToString());
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for U struct
+  
+    public static U NewU(int i32, uint ui32, IntPtr iPtr, UIntPtr uiPtr, short s, ushort us, byte b, sbyte sb, long l, ulong ul, float f, double d)
+    {
+        U u = new U();
+        u.i32 = i32;
+        u.ui32 = ui32;
+        u.iPtr = iPtr;
+        u.uiPtr = uiPtr;
+        u.s = s;
+        u.us = us;
+        u.b = b;
+        u.sb = sb;
+        u.l = l;
+        u.ul = ul;
+        u.f = f;
+        u.d = d;
+
+        return u;
+    }
+  
+    public static void PrintU(U str1, string name)
+    {
+        Console.WriteLine("\t{0}.i32 = {1}", name, str1.i32);
+        Console.WriteLine("\t{0}.ui32 = {1}", name, str1.ui32);
+        Console.WriteLine("\t{0}.iPtr = {1}", name, str1.iPtr);
+        Console.WriteLine("\t{0}.uiPtr = {1}", name, str1.uiPtr);
+        Console.WriteLine("\t{0}.s = {1}", name, str1.s);
+        Console.WriteLine("\t{0}.us = {1}", name, str1.us);
+        Console.WriteLine("\t{0}.b = {1}", name, str1.b);
+        Console.WriteLine("\t{0}.sb = {1}", name, str1.sb);
+        Console.WriteLine("\t{0}.l = {1}", name, str1.l);
+        Console.WriteLine("\t{0}.ul = {1}", name, str1.ul);
+        Console.WriteLine("\t{0}.f = {1}", name, str1.f);
+        Console.WriteLine("\t{0}.d = {1}", name, str1.d);
+    }
+   
+    public static bool ValidateU(U str1, U str2, string methodName)
+    {
+        if (str1.i32 != str2.i32 || str1.ui32 != str2.ui32 || str1.iPtr != str2.iPtr ||
+            str1.uiPtr != str2.uiPtr || str1.s != str2.s || str1.us != str2.us ||
+            str1.b != str2.b || str1.sb != str2.sb || str1.l != str2.l || str1.ul != str2.ul ||
+            str1.f != str2.f || str1.d != str2.d)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintU(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintU(str2, str2.ToString());
+            return false;
+        }
+        Console.WriteLine("\tPASSED!");
+        return true;
+    }
+
+    #endregion
+
+    #region methods for ByteStructPack2Explicit struct
+  
+    public static ByteStructPack2Explicit NewByteStructPack2Explicit(byte b1, byte b2)
+    {
+        ByteStructPack2Explicit u1 = new ByteStructPack2Explicit();
+        u1.b1 = b1;
+        u1.b2 = b2;
+
+        return u1;
+    }
+  
+    public static void PrintByteStructPack2Explicit(ByteStructPack2Explicit str1, string name)
+    {
+        Console.WriteLine("\t{0}.b1 = {1}", name, str1.b1);
+        Console.WriteLine("\t{0}.b2 = {1}", name, str1.b2);
+    }
+  
+    public static bool ValidateByteStructPack2Explicit(ByteStructPack2Explicit str1, ByteStructPack2Explicit str2, string methodName)
+    {
+        if (str1.b1 != str2.b1 || str1.b2 != str2.b2)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintByteStructPack2Explicit(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintByteStructPack2Explicit(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for ShortStructPack4Explicit struct
+   
+    public static ShortStructPack4Explicit NewShortStructPack4Explicit(short s1, short s2)
+    {
+        ShortStructPack4Explicit u2 = new ShortStructPack4Explicit();
+        u2.s1 = s1;
+        u2.s2 = s2;
+
+        return u2;
+    }
+
+    public static void PrintShortStructPack4Explicit(ShortStructPack4Explicit str1, string name)
+    {
+        Console.WriteLine("\t{0}.s1 = {1}", name, str1.s1);
+        Console.WriteLine("\t{0}.s2 = {1}", name, str1.s2);
+    }
+
+    public static bool ValidateShortStructPack4Explicit(ShortStructPack4Explicit str1, ShortStructPack4Explicit str2, string methodName)
+    {
+        if (str1.s1 != str2.s1 || str1.s2 != str2.s2)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintShortStructPack4Explicit(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintShortStructPack4Explicit(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for IntStructPack8Explicit struct
+    
+    public static IntStructPack8Explicit NewIntStructPack8Explicit(int i1, int i2)
+    {
+        IntStructPack8Explicit u3 = new IntStructPack8Explicit();
+        u3.i1 = i1;
+        u3.i2 = i2;
+
+        return u3;
+    }
+
+    public static void PrintIntStructPack8Explicit(IntStructPack8Explicit str1, string name)
+    {
+        Console.WriteLine("\t{0}.i1 = {1}", name, str1.i1);
+        Console.WriteLine("\t{0}.i2 = {1}", name, str1.i2);
+    }
+
+    public static bool ValidateIntStructPack8Explicit(IntStructPack8Explicit str1, IntStructPack8Explicit str2, string methodName)
+    {
+        if (str1.i1 != str2.i1 || str1.i2 != str2.i2)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintIntStructPack8Explicit(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintIntStructPack8Explicit(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+    #region methods for LongStructPack16Explicit struct
+   
+    public static LongStructPack16Explicit NewLongStructPack16Explicit(long l1, long l2)
+    {
+        LongStructPack16Explicit u4 = new LongStructPack16Explicit();
+        u4.l1 = l1;
+        u4.l2 = l2;
+
+        return u4;
+    }
+   
+    public static void PrintLongStructPack16Explicit(LongStructPack16Explicit str1, string name)
+    {
+        Console.WriteLine("\t{0}.l1 = {1}", name, str1.l1);
+        Console.WriteLine("\t{0}.l2 = {1}", name, str1.l2);
+    }
+  
+    public static bool ValidateLongStructPack16Explicit(LongStructPack16Explicit str1, LongStructPack16Explicit str2, string methodName)
+    {
+        if (str1.l1 != str2.l1 || str1.l2 != str2.l2)
+        {
+            Console.WriteLine("\tFAILED! " + methodName + "did not recieve result as expected.");
+            Console.WriteLine("\tThe Actual is...");
+            PrintLongStructPack16Explicit(str1, str1.ToString());
+            Console.WriteLine("\tThe Expected is...");
+            PrintLongStructPack16Explicit(str2, str2.ToString());
+            return false;
+        }
+        else
+        {
+            Console.WriteLine("\tPASSED!");
+            return true;
+        }
+    }
+
+    #endregion
+
+}
+
+public static class TestFramework
+{
+    public static void LogInformation(string str)
+    {
+        Logging.WriteLine(str);
+    }
+    public static void LogError(string id, string msg)
+    {
+        Logging.WriteLine("ERROR!!!-" + id + ": " + msg);
+    }
+    public static void BeginScenario(string name)
+    {
+        Logging.WriteLine("Beginning scenario: " + name);
+    }
+}
+
+public static class Logging
+{
+    static TextWriter stdout = Console.Out;
+
+#if (!WIN_8_P)
+    static TextWriter loggingFile = null;
+#endif    
+
+    public static void SetConsole(string fileName)
+    {
+#if (!WIN_8_P)        
+        FileStream fs = new FileStream(fileName, FileMode.Append, FileAccess.Write, FileShare.ReadWrite);
+        loggingFile = new StreamWriter(fs, Encoding.Unicode);
+        Console.SetOut(loggingFile);
+#endif
+    }
+
+    public static void ResetConsole()
+    {
+#if (!WIN_8_P)
+        loggingFile.Close();
+#endif
+        Console.SetOut(stdout);
+    }
+
+    public static void WriteLine()
+    {
+        Console.WriteLine();
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(bool value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(char value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(char[] buffer)
+    {
+        Console.WriteLine(buffer);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(char[] buffer, int index, int count)
+    {
+        Console.WriteLine(new string(buffer, index, count));
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(decimal value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(double value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(float value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(int value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(uint value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(long value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(ulong value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(Object value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(String value)
+    {
+        Console.WriteLine(value);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(String format, Object arg0)
+    {
+        Console.WriteLine(format, arg0);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(String format, Object arg0, Object arg1)
+    {
+        Console.WriteLine(format, arg0, arg1);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(String format, Object arg0, Object arg1, Object arg2)
+    {
+        Console.WriteLine(format, arg0, arg1, arg2);
+        Console.Out.Flush();
+    }
+
+    public static void WriteLine(String format, params Object[] arg)
+    {
+        Console.WriteLine(format, arg);
+        Console.Out.Flush();
+    }
+
+    public static void Write(String format, Object arg0)
+    {
+        Console.Write(format, arg0);
+        Console.Out.Flush();
+    }
+
+    public static void Write(String format, Object arg0, Object arg1)
+    {
+        Console.Write(format, arg0, arg1);
+        Console.Out.Flush();
+    }
+
+    public static void Write(String format, Object arg0, Object arg1, Object arg2)
+    {
+        Console.Write(format, arg0, arg1, arg2);
+        Console.Out.Flush();
+    }
+
+    public static void Write(String format, params Object[] arg)
+    {
+        Console.Write(format, arg);
+        Console.Out.Flush();
+    }
+
+    public static void Write(bool value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(char value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(char[] buffer)
+    {
+        Console.Write(buffer);
+        Console.Out.Flush();
+    }
+
+#if (!WIN_8_P)
+    public static void Write(char[] buffer, int index, int count)
+    {
+        Console.Write(buffer, index, count);
+        Console.Out.Flush();
+    }
+#endif
+
+    public static void Write(double value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(decimal value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(float value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(int value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(uint value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(long value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(ulong value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(Object value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+    public static void Write(String value)
+    {
+        Console.Write(value);
+        Console.Out.Flush();
+    }
+
+}
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7278b94
--- /dev/null
@@ -0,0 +1,13 @@
+
+cmake_minimum_required (VERSION 2.6) 
+project (ReversePInvokeNative) 
+include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") 
+include_directories(${INC_PLATFORM_DIR}) 
+set(SOURCES 
+    ExpStructAsParamNative.cpp 
+) 
+# add the executable 
+add_library (ReversePInvokeNative SHARED ${SOURCES})
+target_link_libraries(ReversePInvokeNative ${LINK_LIBRARIES_ADDITIONAL})  
+# add the install targets 
+install (TARGETS ReversePInvokeNative DESTINATION bin) 
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.cs b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.cs
new file mode 100644 (file)
index 0000000..a76dd89
Binary files /dev/null and b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.cs differ
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.csproj b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.csproj
new file mode 100644 (file)
index 0000000..5bece63
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>DelegatePInvokeTest</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F1E66554-8C8E-4141-85CF-D0CD6A0CD0B0}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\..\..\</SolutionDir>
+    <DefineConstants>$(DefineConstants);STATIC</DefineConstants>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <!-- Test unsupported outside of windows -->
+    <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
+    <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="DelegatePInvokeTest.cs" />
+    <Compile Include="..\..\Helper.cs" />
+    <Compile Include="..\..\Struct.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CMakeLists.txt" />
+  </ItemGroup>
+  <Import Project="../../../../Interop.settings.targets" />
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+</Project>
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ExpStructAsParamNative.cpp b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ExpStructAsParamNative.cpp
new file mode 100644 (file)
index 0000000..ad1d0c8
--- /dev/null
@@ -0,0 +1,1606 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+#include "ExpStructAsParamNative.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <xplatform.h>
+
+const char* NativeStr = "Native";
+const size_t size=strlen(NativeStr);
+
+#define PRINT_ERR_INFO() \
+    printf("\t%s : unexpected error \n",__FUNCTION__)
+
+//----------method called byref----------//
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefINNER2_Cdecl(INNER2* inner)
+{
+    if(!IsCorrectINNER2(inner))
+    {
+        PRINT_ERR_INFO();
+        PrintINNER2(inner,"inner");
+        return FALSE;
+    }
+    ChangeINNER2(inner);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefINNER2_Stdcall(INNER2* inner)
+{
+    if(!IsCorrectINNER2(inner))
+    {
+        PRINT_ERR_INFO();
+        PrintINNER2(inner,"inner");
+        return FALSE;
+    }
+    ChangeINNER2(inner);
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefInnerExplicit_Cdecl(InnerExplicit* inner)
+{
+    if(inner->f1 != 1 || memcmp(inner->f3, "some string",11*sizeof(char)) != 0)
+    {
+        PRINT_ERR_INFO();
+        PrintInnerExplicit(inner,"inner");
+        return FALSE;
+    }
+    ChangeInnerExplicit(inner);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefInnerExplicit_Stdcall(InnerExplicit* inner)
+{
+    if(inner->f1 != 1 || memcmp(inner->f3, "some string",11*sizeof(char)) != 0)
+    {
+        PRINT_ERR_INFO();
+        PrintInnerExplicit(inner,"inner");
+        return FALSE;
+    }
+    ChangeInnerExplicit(inner);
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Cdecl(InnerArrayExplicit* outer2)
+{
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        if(outer2->arr[i].f1 != 1)
+        {
+            PRINT_ERR_INFO();
+            return FALSE;
+        }
+    }
+    if(memcmp(outer2->f4,"some string2",12) != 0)
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+    for(int i =0;i<NumArrElements;i++)
+    {
+        outer2->arr[i].f1 = 77;
+    }
+    const char* temp = "change string2";
+    size_t len = strlen(temp);
+    LPCSTR str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    strcpy_s((char*)str,len+1,temp);
+    outer2->f4 = str;
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Stdcall(InnerArrayExplicit* outer2)
+{
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        if(outer2->arr[i].f1 != 1)
+        {
+            PRINT_ERR_INFO();
+            return FALSE;
+        }
+    }
+    if(memcmp(outer2->f4,"some string2",12) != 0)
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+    for(int i =0;i<NumArrElements;i++)
+    {
+        outer2->arr[i].f1 = 77;
+    }
+    const char* temp = "change string2";
+    size_t len = strlen(temp);
+    LPCSTR str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    strcpy_s((char*)str,len+1,temp);
+    outer2->f4 = str;
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefOUTER3_Cdecl(OUTER3* outer3)
+{
+    if(!IsCorrectOUTER3(outer3))
+    {
+        PRINT_ERR_INFO();
+        PrintOUTER3(outer3,"OUTER3");
+        return FALSE;
+    }
+    ChangeOUTER3(outer3);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefOUTER3_Stdcall(OUTER3* outer3)
+{
+    if(!IsCorrectOUTER3(outer3))
+    {
+        PRINT_ERR_INFO();
+        PrintOUTER3(outer3,"OUTER3");
+        return FALSE;
+    }
+    ChangeOUTER3(outer3);
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefU_Cdecl(U* str1)
+{
+    if(!IsCorrectU(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintU(str1, "str1");
+        return FALSE;
+    }
+    ChangeU(str1);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefU_Stdcall(U* str1)
+{
+    if(!IsCorrectU(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintU(str1, "str1");
+        return FALSE;
+    }
+    ChangeU(str1);
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Cdecl(ByteStructPack2Explicit* str1)
+{
+    if(!IsCorrectByteStructPack2Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintByteStructPack2Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeByteStructPack2Explicit(str1);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Stdcall(ByteStructPack2Explicit* str1)
+{
+    if(!IsCorrectByteStructPack2Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintByteStructPack2Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeByteStructPack2Explicit(str1);
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Cdecl(ShortStructPack4Explicit* str1)
+{
+    if(!IsCorrectShortStructPack4Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintShortStructPack4Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeShortStructPack4Explicit(str1);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Stdcall(ShortStructPack4Explicit* str1)
+{
+    if(!IsCorrectShortStructPack4Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintShortStructPack4Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeShortStructPack4Explicit(str1);
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Cdecl(IntStructPack8Explicit* str1)
+{
+    if(!IsCorrectIntStructPack8Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintIntStructPack8Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeIntStructPack8Explicit(str1);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Stdcall(IntStructPack8Explicit* str1)
+{
+    if(!IsCorrectIntStructPack8Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintIntStructPack8Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeIntStructPack8Explicit(str1);
+    return TRUE;
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Cdecl(LongStructPack16Explicit* str1)
+{
+    if(!IsCorrectLongStructPack16Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintLongStructPack16Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeLongStructPack16Explicit(str1);
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Stdcall(LongStructPack16Explicit* str1)
+{
+    if(!IsCorrectLongStructPack16Explicit(str1))
+    {
+        PRINT_ERR_INFO();
+        PrintLongStructPack16Explicit(str1, "str1");
+        return FALSE;
+    }
+    ChangeLongStructPack16Explicit(str1);
+    return TRUE;
+}
+/////
+//---------------------------- ----------//
+
+
+//----------method called byval----------//
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValINNER2_Cdecl(INNER2 str1)
+{
+    return MarshalStructAsParam_AsExpByRefINNER2_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValINNER2_Stdcall(INNER2 str1)
+{
+    return MarshalStructAsParam_AsExpByRefINNER2_Stdcall(&str1);
+}
+/////
+
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValInnerExplicit_Cdecl(InnerExplicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefInnerExplicit_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValInnerExplicit_Stdcall(InnerExplicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefInnerExplicit_Stdcall(&str1);
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValInnerArrayExplicit_Cdecl(InnerArrayExplicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValInnerArrayExplicit_Stdcall(InnerArrayExplicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Stdcall(&str1);
+}
+/////
+
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValOUTER3_Cdecl(OUTER3 str1)
+{
+    return MarshalStructAsParam_AsExpByRefOUTER3_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValOUTER3_Stdcall(OUTER3 str1)
+{
+    return MarshalStructAsParam_AsExpByRefOUTER3_Stdcall( &str1);
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValU_Cdecl(U str1)
+{
+    return MarshalStructAsParam_AsExpByRefU_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValU_Stdcall(U str1)
+{
+    return MarshalStructAsParam_AsExpByRefU_Stdcall(&str1);
+}
+/////
+
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValByteStructPack2Explicit_Cdecl(ByteStructPack2Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValByteStructPack2Explicit_Stdcall(ByteStructPack2Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Stdcall(&str1);
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValShortStructPack4Explicit_Cdecl(ShortStructPack4Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValShortStructPack4Explicit_Stdcall(ShortStructPack4Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Stdcall(&str1);
+}
+/////
+
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValIntStructPack8Explicit_Cdecl(IntStructPack8Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValIntStructPack8Explicit_Stdcall(IntStructPack8Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Stdcall(&str1);
+}
+
+/////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructAsParam_AsExpByValLongStructPack16Explicit_Cdecl(LongStructPack16Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Cdecl(&str1);
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructAsParam_AsExpByValLongStructPack16Explicit_Stdcall(LongStructPack16Explicit str1)
+{
+    return MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Stdcall(&str1);
+}
+/////
+//---------------------------- ----------//
+
+
+//----------Delegate Pinvoke. PassByRef----------//
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_INNER2)(INNER2* inner);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_INNER2 _cdecl Get_MarshalStructAsParam_AsExpByRefINNER2_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefINNER2_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_INNER2)(INNER2* inner);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_INNER2 __stdcall Get_MarshalStructAsParam_AsExpByRefINNER2_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefINNER2_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_InnerExplicit)(InnerExplicit* ie);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_InnerExplicit _cdecl Get_MarshalStructAsParam_AsExpByRefInnerExplicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefInnerExplicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_InnerExplicit)(InnerExplicit* ie);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_InnerExplicit __stdcall Get_MarshalStructAsParam_AsExpByRefInnerExplicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefInnerExplicit_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_InnerArrayExplicit)(InnerArrayExplicit* iae);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_InnerArrayExplicit _cdecl Get_MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_InnerArrayExplicit)(InnerArrayExplicit* iae);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_InnerArrayExplicit __stdcall Get_MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefInnerArrayExplicit_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_OUTER3)(OUTER3* outer);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_OUTER3 _cdecl Get_MarshalStructAsParam_AsExpByRefOUTER3_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefOUTER3_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_OUTER3)(OUTER3* outer);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_OUTER3 __stdcall Get_MarshalStructAsParam_AsExpByRefOUTER3_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefOUTER3_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_U)(U* inner);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_U _cdecl Get_MarshalStructAsParam_AsExpByRefU_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefU_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_U)(U* inner);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_U __stdcall Get_MarshalStructAsParam_AsExpByRefU_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefU_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit* bspe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_ByteStructPack2Explicit _cdecl Get_MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit* bspe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_ByteStructPack2Explicit __stdcall Get_MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefByteStructPack2Explicit_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit* sspe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_ShortStructPack4Explicit _cdecl Get_MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit* sspe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_ShortStructPack4Explicit __stdcall Get_MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefShortStructPack4Explicit_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_IntStructPack8Explicit)(IntStructPack8Explicit* ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_IntStructPack8Explicit _cdecl Get_MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_IntStructPack8Explicit)(IntStructPack8Explicit* ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_IntStructPack8Explicit __stdcall Get_MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefIntStructPack8Explicit_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByRefCdeclCaller_LongStructPack16Explicit)(LongStructPack16Explicit* ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefCdeclCaller_LongStructPack16Explicit _cdecl Get_MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByRefStdcallCaller_LongStructPack16Explicit)(LongStructPack16Explicit* ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByRefStdcallCaller_LongStructPack16Explicit __stdcall Get_MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByRefLongStructPack16Explicit_Stdcall;
+}
+/////
+//---------------------------- ----------//
+
+
+//----------Delegate Pinvoke. PassByVal----------//
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_INNER2)(INNER2 inner);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_INNER2 _cdecl Get_MarshalStructAsParam_AsExpByValINNER2_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValINNER2_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_INNER2)(INNER2 inner);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_INNER2 __stdcall Get_MarshalStructAsParam_AsExpByValINNER2_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValINNER2_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_InnerExplicit)(InnerExplicit ie);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_InnerExplicit _cdecl Get_MarshalStructAsParam_AsExpByValInnerExplicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValInnerExplicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_InnerExplicit)(InnerExplicit ie);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_InnerExplicit __stdcall Get_MarshalStructAsParam_AsExpByValInnerExplicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValInnerExplicit_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_InnerArrayExplicit)(InnerArrayExplicit iae);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_InnerArrayExplicit _cdecl Get_MarshalStructAsParam_AsExpByValInnerArrayExplicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValInnerArrayExplicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_InnerArrayExplicit)(InnerArrayExplicit iae);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_InnerArrayExplicit __stdcall Get_MarshalStructAsParam_AsExpByValInnerArrayExplicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValInnerArrayExplicit_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_OUTER3)(OUTER3 outer);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_OUTER3 _cdecl Get_MarshalStructAsParam_AsExpByValOUTER3_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValOUTER3_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_OUTER3)(OUTER3 outer);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_OUTER3 __stdcall Get_MarshalStructAsParam_AsExpByValOUTER3_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValOUTER3_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_U)(U inner);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_U _cdecl Get_MarshalStructAsParam_AsExpByValU_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValU_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_U)(U inner);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_U __stdcall Get_MarshalStructAsParam_AsExpByValU_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValU_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit bspe);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_ByteStructPack2Explicit _cdecl Get_MarshalStructAsParam_AsExpByValByteStructPack2Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValByteStructPack2Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit bspe);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_ByteStructPack2Explicit __stdcall Get_MarshalStructAsParam_AsExpByValByteStructPack2Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValByteStructPack2Explicit_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit sspe);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_ShortStructPack4Explicit _cdecl Get_MarshalStructAsParam_AsExpByValShortStructPack4Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValShortStructPack4Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit sspe);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_ShortStructPack4Explicit __stdcall Get_MarshalStructAsParam_AsExpByValShortStructPack4Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValShortStructPack4Explicit_Stdcall;
+}
+/////
+
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_IntStructPack8Explicit)(IntStructPack8Explicit ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_IntStructPack8Explicit _cdecl Get_MarshalStructAsParam_AsExpByValIntStructPack8Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValIntStructPack8Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_IntStructPack8Explicit)(IntStructPack8Explicit ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_IntStructPack8Explicit __stdcall Get_MarshalStructAsParam_AsExpByValIntStructPack8Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValIntStructPack8Explicit_Stdcall;
+}
+
+/////
+typedef BOOL(_cdecl *DelegatePinvokeByValCdeclCaller_LongStructPack16Explicit)(LongStructPack16Explicit ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByValCdeclCaller_LongStructPack16Explicit _cdecl Get_MarshalStructAsParam_AsExpByValLongStructPack16Explicit_Cdecl_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValLongStructPack16Explicit_Cdecl;
+}
+
+typedef BOOL(__stdcall *DelegatePinvokeByValStdcallCaller_LongStructPack16Explicit)(LongStructPack16Explicit ispe);
+extern "C" DLL_EXPORT DelegatePinvokeByValStdcallCaller_LongStructPack16Explicit __stdcall Get_MarshalStructAsParam_AsExpByValLongStructPack16Explicit_Stdcall_FuncPtr()
+{
+    return MarshalStructAsParam_AsExpByValLongStructPack16Explicit_Stdcall;
+}
+/////
+//---------------------------- ----------//
+
+
+//----------Reverse Pinvoke. PassByRef----------//
+/////
+typedef BOOL (_cdecl *ByRefCdeclCaller_INNER2)(INNER2* inner2);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_INNER2(ByRefCdeclCaller_INNER2 caller)
+{
+    //init
+    INNER2 inner2;
+    inner2.f1 = 77;
+    inner2.f2 = 77.0;
+
+    char* pstr = GetNativeString();
+    inner2.f3 = pstr;
+
+    if(!caller(&inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if(!IsCorrectINNER2(&inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    //TP_CoreClrFree((void*)inner2.f3);
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_INNER2)(INNER2* inner2);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_INNER2(ByRefStdcallCaller_INNER2 caller)
+{
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+
+    //init
+    INNER2 inner2;
+    inner2.f1 = 77;
+    inner2.f2 = 77.0;
+
+    char* pstr = (char*)CoreClrAlloc(lsize + 1);
+    memset(pstr,0,lsize+1);
+    strncpy_s(pstr,lsize+1,lNativeStr,lsize);
+
+    inner2.f3 = pstr;
+
+    if(!caller(&inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if(!IsCorrectINNER2(&inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    //TP_CoreClrFree((void*)inner2.f3);
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByRefCdeclCaller_InnerExplicit)(InnerExplicit* inner2);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_InnerExplicit(ByRefCdeclCaller_InnerExplicit caller)
+{
+
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+
+    //init
+    InnerExplicit ie;
+    ie.f1 = 77;
+
+    char* pstr = (char*)CoreClrAlloc(lsize + 1);
+    memset(pstr,0,lsize+1);
+    strncpy_s(pstr,lsize+1,lNativeStr,lsize);
+    ie.f3 = pstr;
+
+    if(!caller(&ie))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( ie.f1 != 1 || 0 != strcmp((char*)ie.f3, "some string") )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_InnerExplicit)(InnerExplicit* inner2);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_InnerExplicit(ByRefStdcallCaller_InnerExplicit caller)
+{
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+
+    //init
+    InnerExplicit ie;
+    ie.f1 = 77;
+
+    char* pstr = (char*)CoreClrAlloc(lsize + 1);
+    memset(pstr,0,lsize+1);
+    strncpy_s(pstr,lsize+1,lNativeStr,lsize);
+    ie.f3 = pstr;
+
+    if(!caller(&ie))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( ie.f1 != 1 || 0 != strcmp((char*)ie.f3, "some string") )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByRefCdeclCaller_InnerArrayExplicit)(InnerArrayExplicit* iae);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_InnerArrayExplicit(ByRefCdeclCaller_InnerArrayExplicit caller)
+{
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+
+    //init
+    InnerArrayExplicit iae;
+    LPSTR str = NULL;
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        iae.arr[i].f1 = 77;
+        str = (LPSTR)CoreClrAlloc( lsize+1 );
+        memset(str,0,lsize+1);
+        strncpy_s((char*)str,lsize+1,lNativeStr,lsize);
+
+        iae.arr[i].f3 = str;
+        str = NULL;
+    }
+
+    str = (LPSTR)CoreClrAlloc( lsize+1 );
+    memset(str,0,lsize+1);
+    strncpy_s((char*)str,lsize+1,lNativeStr,lsize);
+    iae.f4 = str;
+
+    if(!caller(&iae))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        if( iae.arr[i].f1 != 1 || 0 != strcmp((char*)iae.arr[i].f3, "some string"))
+        {
+            PRINT_ERR_INFO();
+            return FALSE;
+        }
+    }
+    if( 0 != strcmp((char*)iae.f4, "some string") )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_InnerArrayExplicit)(InnerArrayExplicit* iae);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_InnerArrayExplicit(ByRefStdcallCaller_InnerArrayExplicit caller)
+{
+    //init
+    InnerArrayExplicit iae;
+    LPSTR str = NULL;
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        iae.arr[i].f1 = 77;
+        str = GetNativeString();
+        iae.arr[i].f3 = str;
+        str = NULL;
+    }
+
+    str = GetNativeString();
+    iae.f4 = str;
+
+    if(!caller(&iae))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        if( iae.arr[i].f1 != 1 || 0 != strcmp((char*)iae.arr[i].f3, "some string"))
+        {
+            PRINT_ERR_INFO();
+            return FALSE;
+        }
+    }
+    if( 0 != strcmp((char*)iae.f4, "some string") )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByRefCdeclCaller_OUTER3)(OUTER3* outer3);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_OUTER3(ByRefCdeclCaller_OUTER3 caller)
+{
+    //init
+    OUTER3 outer3;
+    LPSTR str = NULL;
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        outer3.arr[i].f1 = 77;
+        outer3.arr[i].f2 = 77.0;
+        str = GetNativeString();
+        outer3.arr[i].f3 = (LPCSTR)str;
+        str = NULL;
+    }
+
+    str = GetNativeString();
+    outer3.f4 = (LPCSTR)str;
+
+    if(!caller(&outer3))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectOUTER3( &outer3 ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_OUTER3)(OUTER3* outer3);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_OUTER3(ByRefStdcallCaller_OUTER3 caller)
+{
+
+    //init
+    OUTER3 outer3;
+    LPSTR str = NULL;
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        outer3.arr[i].f1 = 77;
+        outer3.arr[i].f2 = 77.0;
+        str = GetNativeString();
+        outer3.arr[i].f3 = (LPCSTR)str;
+        str = NULL;
+    }
+
+    str = GetNativeString();
+    outer3.f4 = (LPCSTR)str;
+
+    if(!caller(&outer3))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectOUTER3( &outer3 ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByRefCdeclCaller_U)(U* u);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_U(ByRefCdeclCaller_U caller)
+{
+    U u;
+    u.d = 1.23;
+
+    if(!caller(&u))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectU( &u ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_U)(U* u);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_U(ByRefStdcallCaller_U caller)
+{
+    U u;
+    u.d = 1.23;
+
+    if(!caller(&u))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectU( &u ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByRefCdeclCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit* bspe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_ByteStructPack2Explicit(ByRefCdeclCaller_ByteStructPack2Explicit caller)
+{
+    ByteStructPack2Explicit bspe;
+    bspe.b1 = 64;
+    bspe.b2 = 64;
+
+    if(!caller(&bspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectByteStructPack2Explicit( &bspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit* bspe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_ByteStructPack2Explicit(ByRefStdcallCaller_ByteStructPack2Explicit caller)
+{
+    ByteStructPack2Explicit bspe;
+    bspe.b1 = 64;
+    bspe.b2 = 64;
+
+    if(!caller(&bspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectByteStructPack2Explicit( &bspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByRefCdeclCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit* sspe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_ShortStructPack4Explicit(ByRefCdeclCaller_ShortStructPack4Explicit caller) 
+{
+    ShortStructPack4Explicit sspe;
+    sspe.s1 = 64;
+    sspe.s2 = 64;
+
+    if(!caller(&sspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectShortStructPack4Explicit( &sspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit* sspe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_ShortStructPack4Explicit(ByRefStdcallCaller_ShortStructPack4Explicit caller) 
+{
+    ShortStructPack4Explicit sspe;
+    sspe.s1 = 64;
+    sspe.s2 = 64;
+
+    if(!caller(&sspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectShortStructPack4Explicit( &sspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByRefCdeclCaller_IntStructPack8Explicit)(IntStructPack8Explicit* ispe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_IntStructPack8Explicit(ByRefCdeclCaller_IntStructPack8Explicit caller) 
+{
+    IntStructPack8Explicit ispe;
+    ispe.i1 = 64;
+    ispe.i2 = 64;
+
+    if(!caller(&ispe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectIntStructPack8Explicit( &ispe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_IntStructPack8Explicit)(IntStructPack8Explicit* ispe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_IntStructPack8Explicit(ByRefStdcallCaller_IntStructPack8Explicit caller) 
+{
+    IntStructPack8Explicit ispe;
+    ispe.i1 = 64;
+    ispe.i2 = 64;
+
+    if(!caller(&ispe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectIntStructPack8Explicit( &ispe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByRefCdeclCaller_LongStructPack16Explicit)(LongStructPack16Explicit* lspe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByRefStruct_Cdecl_LongStructPack16Explicit(ByRefCdeclCaller_LongStructPack16Explicit caller) 
+{
+    LongStructPack16Explicit lspe;
+    lspe.l1 = 64;
+    lspe.l2 = 64;
+
+    if(!caller(&lspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectLongStructPack16Explicit( &lspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByRefStdcallCaller_LongStructPack16Explicit)(LongStructPack16Explicit* lspe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByRefStruct_Stdcall_LongStructPack16Explicit(ByRefStdcallCaller_LongStructPack16Explicit caller) 
+{
+    LongStructPack16Explicit lspe;
+    lspe.l1 = 64;
+    lspe.l2 = 64;
+
+    if(!caller(&lspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectLongStructPack16Explicit( &lspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+//---------------------------- ----------//
+
+
+//----------Reverse Pinvoke. PassByVal---------//
+/////
+typedef BOOL (_cdecl *ByValCdeclCaller_INNER2)(INNER2 inner2);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_INNER2(ByValCdeclCaller_INNER2 caller)
+{
+    //init
+    INNER2 inner2;
+    inner2.f1 = 1;
+    inner2.f2 = 1.0;
+
+    char* pstr = GetSomeString();
+    inner2.f3 = pstr;
+
+    if(!caller(inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if(!IsCorrectINNER2(&inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_INNER2)(INNER2 inner2);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_INNER2(ByValStdcallCaller_INNER2 caller)
+{
+    //init
+    INNER2 inner2;
+    inner2.f1 = 1;
+    inner2.f2 = 1.0;
+
+    char* pstr = GetSomeString();
+    inner2.f3 = pstr;
+
+    if(!caller(inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if(!IsCorrectINNER2(&inner2))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByValCdeclCaller_InnerExplicit)(InnerExplicit inner2);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_InnerExplicit(ByValCdeclCaller_InnerExplicit caller)
+{
+    //init
+    InnerExplicit ie;
+    ie.f1 = 1;
+
+    char* pstr = GetNativeString();
+    ie.f3 = pstr;
+
+    if(!caller(ie))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( ie.f1 != 1 || 0 != strcmp((char*)ie.f3, (char*)NativeStr) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_InnerExplicit)(InnerExplicit inner2);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_InnerExplicit(ByValStdcallCaller_InnerExplicit caller)
+{
+    //init
+    InnerExplicit ie;
+    ie.f1 = 1;
+
+    char* pstr = GetNativeString();
+    ie.f3 = pstr;
+
+    if(!caller(ie))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( ie.f1 != 1 || 0 != strcmp((char*)ie.f3, (char*)NativeStr) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByValCdeclCaller_InnerArrayExplicit)(InnerArrayExplicit iae);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_InnerArrayExplicit(ByValCdeclCaller_InnerArrayExplicit caller)
+{
+    //init
+    InnerArrayExplicit iae;
+    LPSTR str = NULL;
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        iae.arr[i].f1 = 1;
+        str = GetSomeString();
+        iae.arr[i].f3 = str;
+        str = NULL;
+    }
+
+    str = GetSomeString();
+    iae.f4 = str;
+
+    if(!caller(iae))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        if( iae.arr[i].f1 != 1 || 0 != strcmp((char*)iae.arr[i].f3, "some string"))
+        {
+            PRINT_ERR_INFO();
+            return FALSE;
+        }
+    }
+    if( 0 != strcmp((char*)iae.f4, "some string") )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_InnerArrayExplicit)(InnerArrayExplicit iae);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_InnerArrayExplicit(ByValStdcallCaller_InnerArrayExplicit caller)
+{
+    //init
+    InnerArrayExplicit iae;
+    LPSTR str = NULL;
+
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        iae.arr[i].f1 = 1;
+
+        str = GetSomeString();
+        iae.arr[i].f3 = str;
+        str = NULL;
+    }
+
+    str = GetSomeString();
+    iae.f4 = str;
+
+    if(!caller(iae))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        if( iae.arr[i].f1 != 1 || 0 != strcmp((char*)iae.arr[i].f3, "some string"))
+        {
+            PRINT_ERR_INFO();
+            return FALSE;
+        }
+    }
+    if( 0 != strcmp((char*)iae.f4, "some string") )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByValCdeclCaller_OUTER3)(OUTER3 outer3);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_OUTER3(ByValCdeclCaller_OUTER3 caller)
+{
+    //init
+    OUTER3 outer3;
+    LPSTR str = NULL;
+
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        outer3.arr[i].f1 = 1;
+        outer3.arr[i].f2 = 1.0;
+        str = GetSomeString();
+        outer3.arr[i].f3 = (LPCSTR)str;
+        str = NULL;
+    }
+
+    str = GetSomeString();
+    outer3.f4 = (LPCSTR)str;
+
+    if(!caller(outer3))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectOUTER3( &outer3 ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_OUTER3)(OUTER3 outer3);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_OUTER3(ByValStdcallCaller_OUTER3 caller)
+{
+    //init
+    OUTER3 outer3;
+    LPSTR str = NULL;
+    for( size_t i = 0; i < NumArrElements; i++ )
+    {
+        outer3.arr[i].f1 = 1;
+        outer3.arr[i].f2 = 1.0;
+        str = GetSomeString();
+        outer3.arr[i].f3 = (LPCSTR)str;
+        str = NULL;
+    }
+
+    str = GetSomeString();
+    outer3.f4 = (LPCSTR)str;
+
+    if(!caller(outer3))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectOUTER3( &outer3 ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByValCdeclCaller_U)(U u);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_U(ByValCdeclCaller_U caller)
+{
+    U u;
+    u.d = 3.2;
+
+    if(!caller(u))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectU( &u ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_U)(U u);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_U(ByValStdcallCaller_U caller)
+{
+    U u;
+    u.d = 3.2;
+
+    if(!caller(u))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectU( &u ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByValCdeclCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit bspe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_ByteStructPack2Explicit(ByValCdeclCaller_ByteStructPack2Explicit caller)
+{
+    ByteStructPack2Explicit bspe;
+    bspe.b1 = 32;
+    bspe.b2 = 32;
+
+    if(!caller(bspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectByteStructPack2Explicit( &bspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_ByteStructPack2Explicit)(ByteStructPack2Explicit bspe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_ByteStructPack2Explicit(ByValStdcallCaller_ByteStructPack2Explicit caller)
+{
+    ByteStructPack2Explicit bspe;
+    bspe.b1 = 32;
+    bspe.b2 = 32;
+
+    if(!caller(bspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectByteStructPack2Explicit( &bspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByValCdeclCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit sspe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_ShortStructPack4Explicit(ByValCdeclCaller_ShortStructPack4Explicit caller) 
+{
+    ShortStructPack4Explicit sspe;
+    sspe.s1 = 32;
+    sspe.s2 = 32;
+
+    if(!caller(sspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectShortStructPack4Explicit( &sspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_ShortStructPack4Explicit)(ShortStructPack4Explicit sspe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_ShortStructPack4Explicit(ByValStdcallCaller_ShortStructPack4Explicit caller) 
+{
+    ShortStructPack4Explicit sspe;
+    sspe.s1 = 32;
+    sspe.s2 = 32;
+
+    if(!caller(sspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectShortStructPack4Explicit( &sspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+
+typedef BOOL (_cdecl *ByValCdeclCaller_IntStructPack8Explicit)(IntStructPack8Explicit ispe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_IntStructPack8Explicit(ByValCdeclCaller_IntStructPack8Explicit caller) 
+{
+    IntStructPack8Explicit ispe;
+    ispe.i1 = 32;
+    ispe.i2 = 32;
+
+    if(!caller(ispe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectIntStructPack8Explicit( &ispe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_IntStructPack8Explicit)(IntStructPack8Explicit ispe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_IntStructPack8Explicit(ByValStdcallCaller_IntStructPack8Explicit caller) 
+{
+    IntStructPack8Explicit ispe;
+    ispe.i1 = 32;
+    ispe.i2 = 32;
+
+    if(!caller(ispe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectIntStructPack8Explicit( &ispe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+/////
+typedef BOOL (_cdecl *ByValCdeclCaller_LongStructPack16Explicit)(LongStructPack16Explicit lspe);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalByValStruct_Cdecl_LongStructPack16Explicit(ByValCdeclCaller_LongStructPack16Explicit caller) 
+{
+    LongStructPack16Explicit lspe;
+    lspe.l1 = 32;
+    lspe.l2 = 32;
+
+    if(!caller(lspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectLongStructPack16Explicit( &lspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ByValStdcallCaller_LongStructPack16Explicit)(LongStructPack16Explicit lspe);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalByValStruct_Stdcall_LongStructPack16Explicit(ByValStdcallCaller_LongStructPack16Explicit caller) 
+{
+    LongStructPack16Explicit lspe;
+    lspe.l1 = 32;
+    lspe.l2 = 32;
+
+    if(!caller(lspe))
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    if( !IsCorrectLongStructPack16Explicit( &lspe ) )
+    {
+        PRINT_ERR_INFO();
+        return FALSE;
+    }
+
+    return TRUE;
+}
+/////
+//---------------------------- ----------//
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ExpStructAsParamNative.h b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ExpStructAsParamNative.h
new file mode 100644 (file)
index 0000000..cde3b52
--- /dev/null
@@ -0,0 +1,919 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <xplatform.h>
+#include "platformdefines.h"
+
+const int NumArrElements = 2;
+struct InnerSequential
+{
+    int f1;
+    float f2;
+    LPCSTR f3;
+};
+
+void PrintInnerSequential(InnerSequential* p, const char* name)
+{
+    printf("\t%s.f1 = %d\n", name, p->f1);
+    printf("\t%s.f2 = %f\n", name, p->f2);
+    printf("\t%s.f3 = %s\n", name, p->f3);
+}
+
+void ChangeInnerSequential(InnerSequential* p)
+{
+    p->f1 = 77;
+    p->f2 = 77.0;
+
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strncpy_s((char*)temp,size,lpstr,size-1);
+        p->f3 = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+}
+
+bool IsCorrectInnerSequential(InnerSequential* p)
+{
+    if(p->f1 != 1)
+        return false;
+    if(p->f2 != 1.0)
+        return false;
+    if(strcmp((char*)p->f3,"some string") != 0 )
+        return false;
+
+    return true;
+}
+
+struct INNER2 // size = 12 bytes
+{
+    INT f1;
+    FLOAT f2;
+    LPCSTR f3;
+};
+
+void ChangeINNER2(INNER2* p)
+{
+    p->f1 = 77;
+    p->f2 = 77.0;
+    const char* temp = "changed string";
+    size_t len = strlen(temp);
+    LPCSTR str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    memset((LPVOID)str,0,len+1);
+    strncpy_s((char*)str,len+1,temp,len);
+    p->f3 = str;
+}
+
+void PrintINNER2(INNER2* p, const char* name)
+{
+    printf("\t%s.f1 = %d\n", name, p->f1);
+    printf("\t%s.f2 = %f\n", name, p->f2);
+    printf("\t%s.f3 = %s\n", name, p->f3);
+}
+
+bool IsCorrectINNER2(INNER2* p)
+{
+    if(p->f1 != 1)
+        return false;
+    if(p->f2 != 1.0)
+        return false;
+    if(memcmp(p->f3, "some string",11*sizeof(char)) != 0 )
+        return false;
+    return true;
+}
+
+struct InnerExplicit 
+{
+#ifdef WINDOWS
+    union
+    {
+        INT f1;
+        FLOAT f2;
+    };
+    CHAR _unused0[4];
+    LPCSTR f3;
+#else
+    union
+    {
+        INT f1;
+        FLOAT f2;
+    };
+    INT _unused0;
+    LPCSTR f3;
+#endif 
+};
+
+
+void PrintInnerExplicit(InnerExplicit* p, const char* name)
+{
+    printf("\t%s.f1 = %d\n", name, p->f1);
+    printf("\t%s.f2 = %f\n", name, p->f2);
+    printf("\t%s.f3 = %s\n", name, p->f3);
+}
+
+void ChangeInnerExplicit(InnerExplicit* p)
+{
+    p->f1 = 77;
+
+    const char* temp = "changed string";
+    size_t len = strlen(temp);
+    LPCSTR str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    memset((LPVOID)str,0,len+1);
+    strncpy_s((char*)str,len+1,temp,len);
+    p->f3 = str;
+}
+
+struct InnerArraySequential
+{
+    InnerSequential arr[NumArrElements];
+};
+
+void PrintInnerArraySequential(InnerArraySequential* p, const char* name)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        printf("\t%s.arr[%d].f1 = %d\n", name, i, (p->arr)[i].f1);
+        printf("\t%s.arr[%d].f2 = %f\n", name, i, (p->arr)[i].f2);
+        printf("\t%s.arr[%d].f2 = %s\n", name, i, (p->arr)[i].f3);
+    }
+}
+
+void ChangeInnerArraySequential(InnerArraySequential* p)
+{
+    const char* lpstr = "changed string";
+    LPSTR temp;
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        (p->arr)[i].f1 = 77;
+        (p->arr)[i].f2 = 77.0;
+
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strncpy_s((char*)temp,strlen(lpstr)+1,lpstr,strlen(lpstr));
+            (p->arr)[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+}
+
+bool IsCorrectInnerArraySequential(InnerArraySequential* p)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        if( (p->arr)[i].f1 != 1 )
+            return false;
+        if( (p->arr)[i].f2 != 1.0 )
+            return false;
+    }
+    return true;
+}
+
+union InnerArrayExplicit // size = 32 bytes
+{
+    struct InnerSequential arr[2];
+    struct
+    {
+        LONG64 _unused0;
+        LPCSTR f4;
+    }; 
+
+};
+
+#ifdef _WIN64
+union OUTER3 // size = 32 bytes
+{
+    struct InnerSequential arr[2];
+    struct
+    {
+        CHAR _unused0[24];
+        LPCSTR f4;
+    };
+};
+#else
+struct OUTER3 // size = 28 bytes
+{
+    struct InnerSequential arr[2];
+    LPCSTR f4;
+};
+#endif
+
+void PrintOUTER3(OUTER3* p, const char* name)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        printf("\t%s.arr[%d].f1 = %d\n", name, i, (p->arr)[i].f1);
+        printf("\t%s.arr[%d].f2 = %f\n", name, i, (p->arr)[i].f2);
+        printf("\t%s.arr[%d].f3 = %s\n", name, i, (p->arr)[i].f3);
+    }
+    printf("\t%s.f4 = %s\n",name,p->f4);
+}
+
+void ChangeOUTER3(OUTER3* p)
+{
+    const char* temp = "changed string";
+    size_t len = strlen(temp);
+    LPCSTR str = NULL;
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        (p->arr)[i].f1 = 77;
+        (p->arr)[i].f2 = 77.0;
+
+        str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+        memset((LPVOID)str,0,len+1);
+        strncpy_s((char*)str,len+1,temp,len);
+        (p->arr)[i].f3 = str;
+    }
+
+    str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    memset((LPVOID)str,0,len+1);
+    strncpy_s((char*)str,len+1,temp,len);
+    p->f4 = str;
+}
+
+bool IsCorrectOUTER3(OUTER3* p)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        if( (p->arr)[i].f1 != 1 )
+            return false;
+        if( (p->arr)[i].f2 != 1.0 )
+            return false;
+        if( memcmp((p->arr)[i].f3, "some string",11*sizeof(char)) != 0 )
+            return false;
+    }
+    if(memcmp(p->f4,"some string",11*sizeof(char)) != 0)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct CharSetAnsiSequential
+{
+    LPCSTR f1;
+    char f2;
+};
+
+void PrintCharSetAnsiSequential(CharSetAnsiSequential* p, const char* name)
+{
+    printf("\t%s.f1 = %s\n", name, p->f1);
+    printf("\t%s.f2 = %c\n", name, p->f2);
+}
+
+void ChangeCharSetAnsiSequential(CharSetAnsiSequential* p)
+{
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);    
+    if(temp != NULL)
+    {
+        memset(temp,0,size);
+        strncpy_s((char*)temp,size,strSource,size-1);
+        p->f1 = temp;
+        p->f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+}
+
+bool IsCorrectCharSetAnsiSequential(CharSetAnsiSequential* p)
+{
+    if(strcmp((char*)p->f1, (char*)"some string") != 0 )
+        return false;
+    if(p->f2 != 'c')
+        return false;
+    return true;
+}
+
+
+struct CharSetUnicodeSequential 
+{
+    LPCWSTR f1;
+    WCHAR f2;
+};
+
+void PrintCharSetUnicodeSequential(CharSetUnicodeSequential* p, const char* name)
+{
+#ifdef _WIN32
+       wprintf(L"\t%S.first = %s\n", name, p->f1);
+       wprintf(L"\t%S.last = %c\n", name, p->f2);
+#else
+       wprintf(L"\t%s.first = %s\n", name, p->f1);
+       wprintf(L"\t%s.last = %c\n", name, p->f2);
+#endif
+}
+
+void ChangeCharSetUnicodeSequential(CharSetUnicodeSequential* p)
+{
+    WCHAR* strSource = (WCHAR*)(W("change string"));
+    size_t len =TP_slen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        memset((LPWSTR)temp,0,len+1);
+        wcsncpy_s((WCHAR*)temp, len, strSource, len);
+        p->f1 = temp;
+        p->f2 = L'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+}
+
+bool IsCorrectCharSetUnicodeSequential(CharSetUnicodeSequential* p)
+{
+    WCHAR* expected= const_cast<WCHAR*>(W("some string"));
+    WCHAR* actual = const_cast<WCHAR*>(p->f1);
+    if(0 != TP_wcmp_s(actual, expected))
+    {
+        return false;
+    }
+    if(p->f2 != L'c')
+    {
+        return false;
+    }
+    return true;
+}
+
+struct NumberSequential // size = 64 bytes
+{
+    LONG64 i64;
+    ULONG64 ui64;
+    DOUBLE d;
+    INT i32;           
+    UINT ui32;         
+    SHORT s1;          
+    WORD us1;  
+    SHORT i16;         
+    WORD ui16;
+    FLOAT sgl;
+    BYTE b;                    
+    CHAR sb;             
+};
+
+void PrintNumberSequential(NumberSequential* str, const char* name)
+{
+    printf("\t%s.i32 = %d\n", name, str->i32);
+    printf("\t%s.ui32 = %d\n", name, str->ui32);
+    printf("\t%s.s1 = %d\n", name, str->s1);
+    printf("\t%s.us1 = %u\n", name, str->us1);
+    printf("\t%s.b = %u\n", name, str->b);
+    printf("\t%s.sb = %d\n", name, str->sb);
+    printf("\t%s.i16 = %d\n", name, str->i16);
+    printf("\t%s.ui16 = %u\n", name, str->ui16);
+    printf("\t%s.i64 = %lld\n", name, str->i64);
+    printf("\t%s.ui64 = %llu\n", name, str->ui64);
+    printf("\t%s.sgl = %f\n", name, str->sgl);
+    printf("\t%s.d = %f\n",name, str->d);
+}
+
+void ChangeNumberSequential(NumberSequential* p)
+{
+    p->i32 = 0;
+    p->ui32 = 32;
+    p->s1 = 0;
+    p->us1 = 16;
+    p->b = 0;
+    p->sb = 8;
+    p->i16 = 0;
+    p->ui16 = 16;
+    p->i64 = 0;
+    p->ui64 = 64;
+    p->sgl = 64.0;
+    p->d = 6.4;
+}
+
+bool IsCorrectNumberSequential(NumberSequential* p)
+{
+    if(p->i32 != INT_MIN || p->ui32 != 0xffffffff || p->s1 != -0x8000 || p->us1 != 0xffff || p->b != 0 || 
+        p->sb != 0x7f ||p->i16 != -0x8000 || p->ui16 != 0xffff || p->i64 != -1234567890 ||
+        p->ui64 != 1234567890 || (p->sgl) != 32.0 || p->d != 3.2)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct S3 // size = 1032 bytes
+{
+    BOOL flag;
+    LPCSTR str;
+    INT vals[256];
+};
+
+void PrintS3(S3* str, const char* name)
+{
+    printf("\t%s.flag = %d\n", name, str->flag);
+    printf("\t%s.str = %s\n", name, str->str);
+    for(int i = 0; i<256 ;i++)
+    {
+        printf("\t%s.vals[%d] = %d\n",name,i,str->vals[i]);
+    }
+}
+
+void ChangeS3(S3* p)
+{
+    p->flag = false;
+
+    const char* strSource = "change string";
+    size_t len =strlen(strSource)+1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        memset((LPVOID)temp,0,len);
+        strncpy_s((char*)temp,len,strSource,len-1);
+        p->str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        p->vals[i-1] = i;
+    }
+}
+
+bool IsCorrectS3(S3* p)
+{
+    int iflag = 0;
+    if(!p->flag || strcmp((char*)p->str,"some string") != 0)
+        return false;
+    for (int i = 0; i < 256; i++)
+    {
+        if (p->vals[i] != i)
+        {
+            printf("\tThe Index of %i is not expected",i);
+            iflag++;
+        }
+    }
+    if (iflag != 0)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct S4 // size = 8 bytes
+{
+    INT age;
+    LPCSTR name;
+};
+
+enum Enum1 
+{
+    e1 = 1,
+    e2 = 3 
+};
+
+struct S5 // size = 8 bytes
+{
+    struct S4 s4;
+    Enum1 ef;
+};
+
+void PrintS5(S5* str, const char* name)
+{
+    printf("\t%s.s4.age = %d", name, str->s4.age);
+    printf("\t%s.s4.name = %s", name, str->s4.name);
+    printf("\t%s.ef = %d", name, str->ef);
+}
+
+void ChangeS5(S5* str)
+{
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";   
+    size_t len =strlen(strSource)+1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        memset((LPVOID)temp,0,len);
+        strncpy_s((char*)temp,len,strSource,len-1);
+        str->s4.name = temp;
+    }
+    str->s4.age = 64;
+    str->ef = eInstance;
+}
+
+bool IsCorrectS5(S5* str)
+{
+    Enum1 eInstance = e1;
+    if(str->s4.age != 32 || strcmp((char*)str->s4.name,"some string") != 0)
+        return false;
+    if(str->ef != eInstance)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct StringStructSequentialAnsi // size = 8 bytes
+{
+    LPCSTR first;
+    LPCSTR last;
+};
+
+void PrintStringStructSequentialAnsi(StringStructSequentialAnsi* str, const char* name)
+{
+    printf("\t%s.first = %s\n", name, str->first);
+    printf("\t%s.last = %s\n", name, str->last);
+}
+
+bool IsCorrectStringStructSequentialAnsi(StringStructSequentialAnsi* str)
+{
+    char strOne[512];
+    char strTwo[512];
+    for(int i = 0;i<512;i++)
+    {
+        strOne[i] = 'a';
+        strTwo[i] = 'b';
+    }
+
+    if(memcmp(str->first,strOne,512)!= 0)
+        return false;
+
+    if(memcmp(str->last,strTwo,512)!= 0)
+        return false;
+
+    return true;
+}
+
+void ChangeStringStructSequentialAnsi(StringStructSequentialAnsi* str)
+{
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+
+    str->first = newFirst;     
+    str->last = newLast;
+}
+
+struct StringStructSequentialUnicode // size = 8 bytes
+{
+    LPCWSTR first;
+    LPCWSTR last;
+};
+
+void PrintStringStructSequentialUnicode(StringStructSequentialUnicode* str, const char* name)
+{
+#ifdef _WIN32
+       wprintf(L"\t%S.first = %s\n", name, str->first);
+       wprintf(L"\t%S.last = %s\n", name, str->last);
+#else
+       wprintf(L"\t%s.first = %s\n", name, str->first);
+       wprintf(L"\t%s.last = %s\n", name, str->last);
+#endif
+}
+
+bool IsCorrectStringStructSequentialUnicode(StringStructSequentialUnicode* str)
+{
+    WCHAR strOne[256+1];
+    WCHAR strTwo[256+1];
+
+    for(int i = 0;i<256;++i)
+    {
+        strOne[i] = L'a';
+        strTwo[i] = L'b';
+    }
+    strOne[256] = L'\0';
+    strTwo[256] = L'\0';
+
+    if(memcmp(str->first,strOne,256*sizeof(WCHAR)) != 0)
+        return false;
+    if(memcmp(str->last,strTwo,256*sizeof(WCHAR)) != 0)
+        return false;
+    return true;
+}
+
+void ChangeStringStructSequentialUnicode(StringStructSequentialUnicode* str)
+{
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    str->first = (const WCHAR*)newFirst;
+    str->last = (const WCHAR*)newLast;
+}
+
+struct S8 // size = 32 bytes
+{
+    LPCSTR name;
+    BOOL gender;
+    HRESULT i32;
+    HRESULT ui32;
+    WORD jobNum;
+    CHAR mySByte;
+};
+
+void PrintS8(S8* str, const char* name)
+{
+    printf("\t%s.name = %s\n",name, str->name);
+    printf("\t%s.gender = %d\n", name, str->gender);
+    printf("\t%s.jobNum = %d\n",name, str->jobNum);
+    printf("\t%s.i32 = %d\n", name, (int)(str->i32));
+    printf("\t%s.ui32 = %u\n", name, (unsigned int)(str->ui32));
+    printf("\t%s.mySByte = %c\n", name, str->mySByte);
+}
+
+bool IsCorrectS8(S8* str)
+{
+    if(memcmp( str->name,"hello", strlen("hello")*sizeof(char)+1 )!= 0)
+        return false;
+    if(!str->gender)
+        return false;
+    if(str->jobNum != 10)
+        return false;
+    if(str->i32!= 128 || str->ui32 != 128)
+        return false;
+    if(str->mySByte != 32)
+        return false;
+    return true;
+}
+
+void ChangeS8(S8* str)
+{
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        str->name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    str->gender = false;
+    str->jobNum = 1;
+    str->i32 = 256;
+    str->ui32 = 256;
+    str->mySByte = 64;
+}
+
+#pragma pack (8)
+struct S_int // size = 4 bytes
+{
+    INT i;
+};
+
+struct S9;
+typedef void (*TestDelegate1)(struct S9 myStruct);
+
+struct S9 // size = 8 bytes
+{
+    HRESULT i32;
+    TestDelegate1 myDelegate1;
+};
+
+struct S101 // size = 8 bytes
+{
+    INT i;
+    struct S_int s_int;
+};
+
+struct S10 // size = 8 bytes
+{
+    struct S101 s;
+};
+
+void PrintS10(S10* str, const char* name)
+{
+    printf("\t%s.s.s_int.i = %d\n", name, str->s.s_int.i);
+    printf("\t%s.s.i = %d\n", name, str->s.i);
+}
+
+bool IsCorrectS10(S10* str)
+{
+    if(str->s.s_int.i != 32)
+        return false;
+    if(str->s.i != 32)
+        return false;
+    return true;
+}
+
+void ChangeS10(S10* str)
+{
+    str->s.s_int.i = 64;
+    str->s.i = 64;
+}
+
+#ifndef WINDOWS
+typedef int* LPINT;
+#endif
+
+struct S11 // size = 8 bytes
+{
+    LPINT i32;
+    INT i;
+};
+
+union U // size = 8 bytes
+{
+    INT i32;
+    UINT ui32;
+    LPVOID iPtr;
+    LPVOID uiPtr;
+    SHORT s;
+    WORD us;
+    BYTE b;
+    CHAR sb;
+    LONG64 l;
+    ULONG64 ul;
+    FLOAT f;
+    DOUBLE d;
+};
+
+void PrintU(U* str, const char* name)
+{
+    printf("\t%s.i32 = %d\n", name, str->i32);
+    printf("\t%s.ui32 = %u\n", name, str->ui32);
+    printf("\t%s.iPtr = %zu\n", name,  (size_t)(str->iPtr));
+    printf("\t%s.uiPtr = %zu\n", name,  (size_t)(str->uiPtr));
+    printf("\t%s.s = %d\n", name, str->s);
+    printf("\t%s.us = %u\n", name, str->us);
+    printf("\t%s.b = %u\n", name, str->b);
+    printf("\t%s.sb = %d\n", name, str->sb);
+    printf("\t%s.l = %lld\n", name, str->l);
+    printf("\t%s.ul = %llu\n", name, str->ul);
+    printf("\t%s.f = %f\n", name, str->f);
+    printf("\t%s.d = %f\n", name, str->d);
+}
+
+void ChangeU(U* p)
+{
+    p->i32 = 2147483647;
+    p->ui32 = 0;
+    p->iPtr = (LPVOID)(-64);
+    p->uiPtr = (LPVOID)(64);
+    p->s = 32767;
+    p->us = 0;
+    p->b = 255;
+    p->sb = -128;
+    p->l = -1234567890;
+    p->ul = 0;
+    p->f = 64.0;
+    p->d = 6.4;
+}
+
+bool IsCorrectU(U* p)
+{
+    if(p->d != 3.2)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct ByteStructPack2Explicit // size = 2 bytes
+{
+    BYTE b1;
+    BYTE b2;
+};
+
+void PrintByteStructPack2Explicit(ByteStructPack2Explicit* str, const char* name)
+{
+    printf("\t%s.b1 = %d", name, str->b1);
+    printf("\t%s.b2 = %d", name, str->b2);
+}
+
+void ChangeByteStructPack2Explicit(ByteStructPack2Explicit* p)
+{
+    p->b1 = 64;
+    p->b2 = 64;
+}
+
+bool IsCorrectByteStructPack2Explicit(ByteStructPack2Explicit* p)
+{
+    if(p->b1 != 32 || p->b2 != 32)
+        return false;
+    return true;
+}
+
+struct ShortStructPack4Explicit // size = 4 bytes
+{
+    SHORT s1;
+    SHORT s2;
+};
+
+void PrintShortStructPack4Explicit(ShortStructPack4Explicit* str, const char* name)
+{
+    printf("\t%s.s1 = %d", name, str->s1);
+    printf("\t%s.s2 = %d", name, str->s2);
+}
+
+void ChangeShortStructPack4Explicit(ShortStructPack4Explicit* p)
+{
+    p->s1 = 64;
+    p->s2 = 64;
+}
+
+bool IsCorrectShortStructPack4Explicit(ShortStructPack4Explicit* p)
+{
+    if(p->s1 != 32 || p->s2 != 32)
+        return false;
+    return true;
+}
+
+struct IntStructPack8Explicit // size = 8 bytes
+{
+    INT i1;
+    INT i2;
+};
+
+void PrintIntStructPack8Explicit(IntStructPack8Explicit* str, const char* name)
+{
+    printf("\t%s.i1 = %d", name, str->i1);
+    printf("\t%s.i2 = %d", name, str->i2);
+}
+
+void ChangeIntStructPack8Explicit(IntStructPack8Explicit* p)
+{
+    p->i1 = 64;
+    p->i2 = 64;
+}
+
+bool IsCorrectIntStructPack8Explicit(IntStructPack8Explicit* p)
+{
+    if(p->i1 != 32 || p->i2 != 32)
+        return false;
+    return true;
+}
+
+struct LongStructPack16Explicit // size = 16 bytes
+{
+    LONG64 l1;
+    LONG64 l2;
+};
+
+void PrintLongStructPack16Explicit(LongStructPack16Explicit* str, const char* name)
+{
+    printf("\t%s.l1 = %lld", name, str->l1);
+    printf("\t%s.l2 = %lld", name, str->l2);
+}
+
+void ChangeLongStructPack16Explicit(LongStructPack16Explicit* p)
+{
+    p->l1 = 64;
+    p->l2 = 64;
+}
+
+bool IsCorrectLongStructPack16Explicit(LongStructPack16Explicit* p)
+{
+    if(p->l1 != 32 || p->l2 != 32)
+        return false;
+    return true;
+}
+
+LPSTR GetNativeString()
+{
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+    LPSTR str = NULL;
+
+    str = (LPSTR)CoreClrAlloc( lsize+1 );
+    memset(str,0,lsize+1);
+    strcpy_s((char*)str,lsize+1,lNativeStr);
+
+    return str;
+}
+
+LPSTR GetSomeString()
+{
+    const char* lNativeStr = "some string";
+    const size_t lsize = strlen(lNativeStr);
+    LPSTR str = NULL;
+
+    str = (LPSTR)CoreClrAlloc( lsize+1 );
+    memset(str,0,lsize+1);
+    strcpy_s((char*)str,lsize+1,lNativeStr);
+
+    return str;
+}
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ReversePInvokeManaged/ReversePInvokeTest.cs b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ReversePInvokeManaged/ReversePInvokeTest.cs
new file mode 100644 (file)
index 0000000..674bbb2
--- /dev/null
@@ -0,0 +1,807 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Text;
+using System.Security;
+using System.Runtime.InteropServices;
+using TestLibrary;
+
+public class Test
+{
+    const int iNative = 11;//the value passed from Native side to Managed side
+    const int iManaged = 10;//The value passed from Managed side to Native sid
+
+    enum StructID
+    {
+        INNER2Id,
+        InnerExplicitId,
+        InnerArrayExplicitId,
+        OUTER3Id,
+        UId,
+        ByteStructPack2ExplicitId,
+        ShortStructPack4ExplicitId,
+        IntStructPack8ExplicitId,
+        LongStructPack16ExplicitId
+    }
+
+    #region Methods implementation
+
+    #region ReversePinvoke, ByRef, Cdel  
+    
+    //ReversePinvoke,Cdel
+    // 1.1
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_INNER2([In, Out]ref INNER2 inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_INNER2(ByRefCdeclcaller_INNER2 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_INNER2_Cdecl(ref INNER2 inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        INNER2 sourceINNER2 = Helper.NewINNER2(77, 77.0F, "Native");
+        Assert.IsTrue(Helper.ValidateINNER2(sourceINNER2, inner2, "TestMethod_DoCallBack_MarshalStructByRef_INNER2_Cdecl"));
+        //changed the value
+        inner2.f1 = 1;
+        inner2.f2 = 1.0F;
+        inner2.f3 = "some string";
+        return true;
+    }
+
+    // 1.2
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_InnerExplicit([In, Out]ref InnerExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_InnerExplicit(ByRefCdeclcaller_InnerExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_InnerExplicit_Cdecl(ref InnerExplicit inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        InnerExplicit source_ie = new InnerExplicit();
+        source_ie.f1 = 77;
+        source_ie.f3 = "Native";
+        Assert.IsTrue(Helper.ValidateInnerExplicit(source_ie, inner2, "TestMethod_DoCallBack_MarshalStructByRef_InnerExplicit_Cdecl"));
+        //changed the value
+        inner2.f1 = 1;
+        inner2.f3 = "some string";
+        return true;
+    }
+
+    // 1.3
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_InnerArrayExplicit([In, Out]ref InnerArrayExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_InnerArrayExplicit(ByRefCdeclcaller_InnerArrayExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_InnerArrayExplicit_Cdecl(ref InnerArrayExplicit iae)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        InnerArrayExplicit source_iae = Helper.NewInnerArrayExplicit(77, 77.0F, "Native", "Native");
+        Assert.IsTrue(Helper.ValidateInnerArrayExplicit(source_iae, iae, "TestMethod_DoCallBack_MarshalStructByRef_InnerArrayExplicit_Cdecl"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            iae.arr[i].f1 = 1;
+            iae.arr[i].f3 = "some string";
+        }
+        iae.f4 = "some string";
+        return true;
+    }
+
+    // 1.4
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_OUTER3([In, Out]ref OUTER3 outer3);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_OUTER3(ByRefCdeclcaller_OUTER3 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_OUTER3_Cdecl(ref OUTER3 outer3)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        OUTER3 sourceOUTER3 = Helper.NewOUTER3(77, 77.0F, "Native", "Native");
+        Assert.IsTrue(Helper.ValidateOUTER3(sourceOUTER3, outer3, "TestMethod_DoCallBack_MarshalStructByRef_OUTER3_Cdecl"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            outer3.arr[i].f1 = 1;
+            outer3.arr[i].f2 = 1.0F;
+            outer3.arr[i].f3 = "some string";
+        }
+        outer3.f4 = "some string";
+        return true;
+    }
+
+    // 1.5
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_U([In, Out]ref U u);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_U(ByRefCdeclcaller_U caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_U_Cdecl(ref U u)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        U changeU = Helper.NewU(Int32.MinValue, UInt32.MaxValue, new IntPtr(-32), new UIntPtr(32), short.MinValue, ushort.MaxValue, byte.MinValue, 
+            sbyte.MaxValue, long.MinValue, ulong.MaxValue, 32.0F, 1.23);
+        Assert.IsTrue(Helper.ValidateU(changeU, u, "TestMethod_DoCallBack_MarshalStructByRef_U_Cdecl"));
+        //changed the value
+        u.d = 3.2;
+        return true;
+    }
+
+    // 1.6
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_ByteStructPack2Explicit([In, Out]ref ByteStructPack2Explicit bspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_ByteStructPack2Explicit(ByRefCdeclcaller_ByteStructPack2Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_ByteStructPack2Explicit_Cdecl(ref ByteStructPack2Explicit bspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        ByteStructPack2Explicit change_bspe = Helper.NewByteStructPack2Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateByteStructPack2Explicit(change_bspe, bspe, "TestMethod_DoCallBack_MarshalStructByRef_ByteStructPack2Explicit_Cdecl"));
+        //changed the value
+        bspe.b1 = 32;
+        bspe.b2 = 32;
+        return true;
+    }
+
+    // 1.7
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_ShortStructPack4Explicit([In, Out]ref ShortStructPack4Explicit sspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_ShortStructPack4Explicit(ByRefCdeclcaller_ShortStructPack4Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_ShortStructPack4Explicit_Cdecl(ref ShortStructPack4Explicit sspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        ShortStructPack4Explicit change_sspe = Helper.NewShortStructPack4Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateShortStructPack4Explicit(change_sspe, sspe, "TestMethod_DoCallBack_MarshalStructByRef_ShortStructPack4Explicit_Cdecl"));
+        //changed the value
+        sspe.s1 = 32;
+        sspe.s2 = 32;
+        return true;
+    }
+
+    // 1.8
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_IntStructPack8Explicit([In, Out]ref IntStructPack8Explicit ispe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_IntStructPack8Explicit(ByRefCdeclcaller_IntStructPack8Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_IntStructPack8Explicit_Cdecl(ref IntStructPack8Explicit ispe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        IntStructPack8Explicit change_ispe = Helper.NewIntStructPack8Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateIntStructPack8Explicit(change_ispe, ispe, "TestMethod_DoCallBack_MarshalStructByRef_IntStructPack8Explicit_Cdecl"));
+        //changed the value
+        ispe.i1 = 32;
+        ispe.i2 = 32;
+        return true;
+    }
+
+    // 1.9
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByRefCdeclcaller_LongStructPack16Explicit([In, Out]ref LongStructPack16Explicit lspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Cdecl_LongStructPack16Explicit(ByRefCdeclcaller_LongStructPack16Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_LongStructPack16Explicit_Cdecl(ref LongStructPack16Explicit lspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        LongStructPack16Explicit change_lspe = Helper.NewLongStructPack16Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateLongStructPack16Explicit(change_lspe, lspe, "TestMethod_DoCallBack_MarshalStructByRef_LongStructPack16Explicit_Cdecl"));
+        //changed the value
+        lspe.l1 = 32;
+        lspe.l2 = 32;
+        return true;
+    }
+
+    #endregion
+    
+    #region ReversePinvoke, ByRef, Stdcall
+
+    //ReversePinvoke,Stdcall
+    // 2.1
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_INNER2([In, Out]ref INNER2 inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_INNER2(ByRefStdcallcaller_INNER2 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_INNER2_Stdcall(ref INNER2 inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        INNER2 sourceINNER2 = Helper.NewINNER2(77, 77.0F, "Native");
+        Assert.IsTrue(Helper.ValidateINNER2(sourceINNER2, inner2, "TestMethod_DoCallBack_MarshalStructByRef_INNER2_Stdcall"));
+        //changed the value
+        inner2.f1 = 1;
+        inner2.f2 = 1.0F;
+        inner2.f3 = "some string";
+        return true;
+    }
+
+    // 2.2
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_InnerExplicit([In, Out]ref InnerExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_InnerExplicit(ByRefStdcallcaller_InnerExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_InnerExplicit_Stdcall(ref InnerExplicit inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        InnerExplicit source_ie = new InnerExplicit();
+        source_ie.f1 = 77;
+        source_ie.f3 = "Native";
+        Assert.IsTrue(Helper.ValidateInnerExplicit(inner2,source_ie, "TestMethod_DoCallBack_MarshalStructByRef_InnerExplicit_Stdcall"));
+        //changed the value
+        inner2.f1 = 1;
+        inner2.f3 = "some string";
+        return true;
+    }
+
+    // 2.3
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_InnerArrayExplicit([In, Out]ref InnerArrayExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_InnerArrayExplicit(ByRefStdcallcaller_InnerArrayExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_InnerArrayExplicit_Stdcall(ref InnerArrayExplicit iae)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        InnerArrayExplicit source_iae = Helper.NewInnerArrayExplicit(77, 77.0F, "Native", "Native");
+        Assert.IsTrue(Helper.ValidateInnerArrayExplicit(source_iae, iae, "TestMethod_DoCallBack_MarshalStructByRef_InnerArrayExplicit_Stdcall"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            iae.arr[i].f1 = 1;
+            iae.arr[i].f3 = "some string";
+        }
+        iae.f4 = "some string";
+        return true;
+    }
+
+    // 2.4
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_OUTER3([In, Out]ref OUTER3 outer3);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_OUTER3(ByRefStdcallcaller_OUTER3 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_OUTER3_Stdcall(ref OUTER3 outer3)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        OUTER3 sourceOUTER3 = Helper.NewOUTER3(77, 77.0F, "Native", "Native");
+        Assert.IsTrue(Helper.ValidateOUTER3(sourceOUTER3, outer3, "TestMethod_DoCallBack_MarshalStructByRef_OUTER3_Stdcall"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            outer3.arr[i].f1 = 1;
+            outer3.arr[i].f2 = 1.0F;
+            outer3.arr[i].f3 = "some string";
+        }
+        outer3.f4 = "some string";
+        return true;
+    }
+
+    // 2.5
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_U([In, Out]ref U u);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_U(ByRefStdcallcaller_U caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_U_Stdcall(ref U u)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        U changeU = Helper.NewU(Int32.MinValue, UInt32.MaxValue, new IntPtr(-32), new UIntPtr(32), short.MinValue, ushort.MaxValue, byte.MinValue, 
+            sbyte.MaxValue, long.MinValue, ulong.MaxValue, 32.0F, 1.23);
+        Assert.IsTrue(Helper.ValidateU(changeU, u, "TestMethod_DoCallBack_MarshalStructByRef_U_Stdcall"));
+        //changed the value
+        u.d = 3.2;
+        return true;
+    }
+
+    // 2.6
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_ByteStructPack2Explicit([In, Out]ref ByteStructPack2Explicit bspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_ByteStructPack2Explicit(ByRefStdcallcaller_ByteStructPack2Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_ByteStructPack2Explicit_Stdcall(ref ByteStructPack2Explicit bspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        ByteStructPack2Explicit change_bspe = Helper.NewByteStructPack2Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateByteStructPack2Explicit(change_bspe, bspe, "TestMethod_DoCallBack_MarshalStructByRef_ByteStructPack2Explicit_Stdcall"));
+        //changed the value
+        bspe.b1 = 32;
+        bspe.b2 = 32;
+        return true;
+    }
+
+    // 2.7
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_ShortStructPack4Explicit([In, Out]ref ShortStructPack4Explicit sspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_ShortStructPack4Explicit(ByRefStdcallcaller_ShortStructPack4Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_ShortStructPack4Explicit_Stdcall(ref ShortStructPack4Explicit sspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        ShortStructPack4Explicit change_sspe = Helper.NewShortStructPack4Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateShortStructPack4Explicit(change_sspe, sspe, "TestMethod_DoCallBack_MarshalStructByRef_ShortStructPack4Explicit_Stdcall"));
+        //changed the value
+        sspe.s1 = 32;
+        sspe.s2 = 32;
+        return true;
+    }
+
+    // 2.8
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_IntStructPack8Explicit([In, Out]ref IntStructPack8Explicit ispe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_IntStructPack8Explicit(ByRefStdcallcaller_IntStructPack8Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_IntStructPack8Explicit_Stdcall(ref IntStructPack8Explicit ispe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        IntStructPack8Explicit change_ispe = Helper.NewIntStructPack8Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateIntStructPack8Explicit(change_ispe, ispe, "TestMethod_DoCallBack_MarshalStructByRef_IntStructPack8Explicit_Stdcall"));
+        //changed the value
+        ispe.i1 = 32;
+        ispe.i2 = 32;
+        return true;
+    }
+
+    // 2.9
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByRefStdcallcaller_LongStructPack16Explicit([In, Out]ref LongStructPack16Explicit lspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByRefStruct_Stdcall_LongStructPack16Explicit(ByRefStdcallcaller_LongStructPack16Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByRef_LongStructPack16Explicit_Stdcall(ref LongStructPack16Explicit lspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Stdcall");
+        LongStructPack16Explicit change_lspe = Helper.NewLongStructPack16Explicit(64, 64);
+        Assert.IsTrue(Helper.ValidateLongStructPack16Explicit(change_lspe, lspe, "TestMethod_DoCallBack_MarshalStructByRef_LongStructPack16Explicit_Stdcall"));
+        //changed the value
+        lspe.l1 = 32;
+        lspe.l2 = 32;
+        return true;
+    }
+
+    #endregion
+    
+    #region ReversePinvoke, ByVal, Cdel
+
+    // 3.1
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_INNER2([In, Out] INNER2 inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_INNER2(ByValCdeclcaller_INNER2 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_INNER2_Cdecl( INNER2 inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Ref,Cdecl");
+        INNER2 sourceINNER2 = Helper.NewINNER2(1, 1.0F, "some string");
+        Assert.IsTrue(Helper.ValidateINNER2(sourceINNER2, inner2, "TestMethod_DoCallBack_MarshalStructByVal_INNER2_Cdecl"));
+        //changed the value
+        inner2.f1 = 77;
+        inner2.f2 = 77.0F;
+        inner2.f3 = "changed string";
+        return true;
+    }
+
+    // 3.2
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_InnerExplicit([In, Out] InnerExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_InnerExplicit(ByValCdeclcaller_InnerExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_InnerExplicit_Cdecl( InnerExplicit inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        InnerExplicit source_ie = new InnerExplicit();
+        source_ie.f1 = 1;
+        source_ie.f3 = "Native";
+        Assert.IsTrue(Helper.ValidateInnerExplicit(source_ie, inner2, "TestMethod_DoCallBack_MarshalStructByVal_InnerExplicit_Cdecl"));
+        //changed the value
+        inner2.f1 = 1;
+        inner2.f3 = "changed string";
+        return true;
+    }
+
+    // 3.3
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_InnerArrayExplicit([In, Out] InnerArrayExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_InnerArrayExplicit(ByValCdeclcaller_InnerArrayExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_InnerArrayExplicit_Cdecl( InnerArrayExplicit iae)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        InnerArrayExplicit source_iae = Helper.NewInnerArrayExplicit(1, 1.0F, "some string", "some string");
+        Assert.IsTrue(Helper.ValidateInnerArrayExplicit(source_iae, iae, "TestMethod_DoCallBack_MarshalStructByVal_InnerArrayExplicit_Cdecl"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            iae.arr[i].f1 = 1;
+            iae.arr[i].f3 = "changed string";
+        }
+        iae.f4 = "changed string";
+        return true;
+    }
+
+    // 3.4
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_OUTER3([In, Out] OUTER3 outer3);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_OUTER3(ByValCdeclcaller_OUTER3 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_OUTER3_Cdecl( OUTER3 outer3)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        OUTER3 sourceOUTER3 = Helper.NewOUTER3(1, 1.0F, "some string", "some string");
+        Assert.IsTrue(Helper.ValidateOUTER3(sourceOUTER3, outer3, "TestMethod_DoCallBack_MarshalStructByVal_OUTER3_Cdecl"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            outer3.arr[i].f1 = 1;
+            outer3.arr[i].f2 = 1.0F;
+            outer3.arr[i].f3 = "changed string";
+        }
+        outer3.f4 = "changed string";
+        return true;
+    }
+
+    // 3.5
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_U([In, Out] U u);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_U(ByValCdeclcaller_U caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_U_Cdecl( U u)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        U changeU = Helper.NewU(Int32.MinValue, UInt32.MaxValue, new IntPtr(-32), new UIntPtr(32), short.MinValue, ushort.MaxValue, byte.MinValue, 
+            sbyte.MaxValue, long.MinValue, ulong.MaxValue, 32.0F, 3.2);
+        Assert.IsTrue(Helper.ValidateU(changeU, u, "TestMethod_DoCallBack_MarshalStructByVal_U_Cdecl"));
+        //changed the value
+        u.d = 1.23;
+        return true;
+    }
+
+    // 3.6
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_ByteStructPack2Explicit([In, Out] ByteStructPack2Explicit bspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_ByteStructPack2Explicit(ByValCdeclcaller_ByteStructPack2Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_ByteStructPack2Explicit_Cdecl( ByteStructPack2Explicit bspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        ByteStructPack2Explicit change_bspe = Helper.NewByteStructPack2Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateByteStructPack2Explicit(change_bspe, bspe, "TestMethod_DoCallBack_MarshalStructByVal_ByteStructPack2Explicit_Cdecl"));
+        //changed the value
+        bspe.b1 = 64;
+        bspe.b2 = 64;
+        return true;
+    }
+
+    // 3.7
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_ShortStructPack4Explicit([In, Out] ShortStructPack4Explicit sspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_ShortStructPack4Explicit(ByValCdeclcaller_ShortStructPack4Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_ShortStructPack4Explicit_Cdecl( ShortStructPack4Explicit sspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        ShortStructPack4Explicit change_sspe = Helper.NewShortStructPack4Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateShortStructPack4Explicit(change_sspe, sspe, "TestMethod_DoCallBack_MarshalStructByVal_ShortStructPack4Explicit_Cdecl"));
+        //changed the value
+        sspe.s1 = 64;
+        sspe.s2 = 64;
+        return true;
+    }
+
+    // 3.8
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_IntStructPack8Explicit([In, Out] IntStructPack8Explicit ispe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_IntStructPack8Explicit(ByValCdeclcaller_IntStructPack8Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_IntStructPack8Explicit_Cdecl( IntStructPack8Explicit ispe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        IntStructPack8Explicit change_ispe = Helper.NewIntStructPack8Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateIntStructPack8Explicit(change_ispe, ispe, "TestMethod_DoCallBack_MarshalStructByVal_IntStructPack8Explicit_Cdecl"));
+        //changed the value
+        ispe.i1 = 64;
+        ispe.i2 = 64;
+        return true;
+    }
+
+    // 3.9
+    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+    public delegate bool ByValCdeclcaller_LongStructPack16Explicit([In, Out] LongStructPack16Explicit lspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.Cdecl)]
+    public static extern bool DoCallBack_MarshalByValStruct_Cdecl_LongStructPack16Explicit(ByValCdeclcaller_LongStructPack16Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_LongStructPack16Explicit_Cdecl( LongStructPack16Explicit lspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Cdecl");
+        LongStructPack16Explicit change_lspe = Helper.NewLongStructPack16Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateLongStructPack16Explicit(change_lspe, lspe, "TestMethod_DoCallBack_MarshalStructByVal_LongStructPack16Explicit_Cdecl"));
+        //changed the value
+        lspe.l1 = 64;
+        lspe.l2 = 64;
+        return true;
+    }
+
+    #endregion
+    
+    #region ReversePinvoke, ByVal, Stdcall
+   
+    // 4.1
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_INNER2([In, Out] INNER2 inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_INNER2(ByValStdcallcaller_INNER2 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_INNER2_Stdcall(INNER2 inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        INNER2 sourceINNER2 = Helper.NewINNER2(1, 1.0F, "some string");
+        Assert.IsTrue(Helper.ValidateINNER2(sourceINNER2, inner2, "TestMethod_DoCallBack_MarshalStructByVal_INNER2_Stdcall"));
+        //changed the value
+        inner2.f1 = 77;
+        inner2.f2 = 77.0F;
+        inner2.f3 = "changed string";
+        return true;
+    }
+    
+    // 4.2
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_InnerExplicit([In, Out] InnerExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_InnerExplicit(ByValStdcallcaller_InnerExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_InnerExplicit_Stdcall(InnerExplicit inner2)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        InnerExplicit source_ie = new InnerExplicit();
+        source_ie.f1 = 1;
+        source_ie.f3 = "Native";
+        Assert.IsTrue(Helper.ValidateInnerExplicit(source_ie, inner2, "TestMethod_DoCallBack_MarshalStructByVal_InnerExplicit_Stdcall"));
+        //changed the value
+        inner2.f1 = 1;
+        inner2.f3 = "changed string";
+        return true;
+    }
+   
+    // 4.3
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_InnerArrayExplicit([In, Out] InnerArrayExplicit inner2);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_InnerArrayExplicit(ByValStdcallcaller_InnerArrayExplicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_InnerArrayExplicit_Stdcall(InnerArrayExplicit iae)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        InnerArrayExplicit source_iae = Helper.NewInnerArrayExplicit(1, 1.0F, "some string", "some string");
+        Assert.IsTrue(Helper.ValidateInnerArrayExplicit(source_iae, iae, "TestMethod_DoCallBack_MarshalStructByVal_InnerArrayExplicit_Stdcall"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            iae.arr[i].f1 = 1;
+            iae.arr[i].f3 = "changed string";
+        }
+        iae.f4 = "changed string";
+        return true;
+    }
+    // 4.4
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_OUTER3([In, Out] OUTER3 outer3);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_OUTER3(ByValStdcallcaller_OUTER3 caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_OUTER3_Stdcall(OUTER3 outer3)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        OUTER3 sourceOUTER3 = Helper.NewOUTER3(1, 1.0F, "some string", "some string");
+        Assert.IsTrue(Helper.ValidateOUTER3(sourceOUTER3, outer3, "TestMethod_DoCallBack_MarshalStructByVal_OUTER3_Stdcall"));
+        //changed the value
+        for (int i = 0; i < Common.NumArrElements; i++)
+        {
+            outer3.arr[i].f1 = 1;
+            outer3.arr[i].f2 = 1.0F;
+            outer3.arr[i].f3 = "changed string";
+        }
+        outer3.f4 = "changed string";
+        return true;
+    }
+
+    // 4.5
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_U([In, Out] U u);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_U(ByValStdcallcaller_U caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_U_Stdcall(U u)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        U changeU = Helper.NewU(Int32.MinValue, UInt32.MaxValue, new IntPtr(-32), new UIntPtr(32), short.MinValue, ushort.MaxValue, byte.MinValue, 
+            sbyte.MaxValue, long.MinValue, ulong.MaxValue, 32.0F, 3.2);
+        Assert.IsTrue(Helper.ValidateU(changeU, u, "TestMethod_DoCallBack_MarshalStructByVal_U_Stdcall"));
+        //changed the value
+        u.d = 1.23;
+        return true;
+    }
+   
+    // 4.6
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_ByteStructPack2Explicit([In, Out] ByteStructPack2Explicit bspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_ByteStructPack2Explicit(ByValStdcallcaller_ByteStructPack2Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_ByteStructPack2Explicit_Stdcall(ByteStructPack2Explicit bspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        ByteStructPack2Explicit change_bspe = Helper.NewByteStructPack2Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateByteStructPack2Explicit(change_bspe, bspe, "TestMethod_DoCallBack_MarshalStructByVal_ByteStructPack2Explicit_Stdcall"));
+        //changed the value
+        bspe.b1 = 64;
+        bspe.b2 = 64;
+        return true;
+    }
+
+    // 4.7
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_ShortStructPack4Explicit([In, Out] ShortStructPack4Explicit sspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_ShortStructPack4Explicit(ByValStdcallcaller_ShortStructPack4Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_ShortStructPack4Explicit_Stdcall(ShortStructPack4Explicit sspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        ShortStructPack4Explicit change_sspe = Helper.NewShortStructPack4Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateShortStructPack4Explicit(change_sspe, sspe, "TestMethod_DoCallBack_MarshalStructByVal_ShortStructPack4Explicit_Stdcall"));
+        //changed the value
+        sspe.s1 = 64;
+        sspe.s2 = 64;
+        return true;
+    }
+
+    // 4.8
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_IntStructPack8Explicit([In, Out] IntStructPack8Explicit ispe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_IntStructPack8Explicit(ByValStdcallcaller_IntStructPack8Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_IntStructPack8Explicit_Stdcall(IntStructPack8Explicit ispe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        IntStructPack8Explicit change_ispe = Helper.NewIntStructPack8Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateIntStructPack8Explicit(change_ispe, ispe, "TestMethod_DoCallBack_MarshalStructByVal_IntStructPack8Explicit_Stdcall"));
+        //changed the value
+        ispe.i1 = 64;
+        ispe.i2 = 64;
+        return true;
+    }
+
+    // 4.9
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate bool ByValStdcallcaller_LongStructPack16Explicit([In, Out] LongStructPack16Explicit lspe);
+
+    [DllImport("ReversePInvokeNative", CallingConvention = CallingConvention.StdCall)]
+    public static extern bool DoCallBack_MarshalByValStruct_Stdcall_LongStructPack16Explicit(ByValStdcallcaller_LongStructPack16Explicit caller);
+
+    public static bool TestMethod_DoCallBack_MarshalStructByVal_LongStructPack16Explicit_Stdcall(LongStructPack16Explicit lspe)
+    {
+        Console.WriteLine("Reverse,Pinvoke,By Val,Stdcall");
+        LongStructPack16Explicit change_lspe = Helper.NewLongStructPack16Explicit(32, 32);
+        Assert.IsTrue(Helper.ValidateLongStructPack16Explicit(change_lspe, lspe, "TestMethod_DoCallBack_MarshalStructByVal_LongStructPack16Explicit_Stdcall"));
+        //changed the value
+        lspe.l1 = 64;
+        lspe.l2 = 64;
+        return true;
+    }
+
+    #endregion
+    
+    #endregion
+
+    static int Main()
+    {
+        try{
+
+            #region calling method
+
+            ////Reverse Pinvoke,ByRef,cdecl
+            DoCallBack_MarshalByRefStruct_Cdecl_INNER2(new ByRefCdeclcaller_INNER2(TestMethod_DoCallBack_MarshalStructByRef_INNER2_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_InnerExplicit(new ByRefCdeclcaller_InnerExplicit(TestMethod_DoCallBack_MarshalStructByRef_InnerExplicit_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_InnerArrayExplicit(new ByRefCdeclcaller_InnerArrayExplicit(TestMethod_DoCallBack_MarshalStructByRef_InnerArrayExplicit_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_OUTER3(new ByRefCdeclcaller_OUTER3(TestMethod_DoCallBack_MarshalStructByRef_OUTER3_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_U(new ByRefCdeclcaller_U(TestMethod_DoCallBack_MarshalStructByRef_U_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_ByteStructPack2Explicit(new ByRefCdeclcaller_ByteStructPack2Explicit(TestMethod_DoCallBack_MarshalStructByRef_ByteStructPack2Explicit_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_ShortStructPack4Explicit(new ByRefCdeclcaller_ShortStructPack4Explicit(TestMethod_DoCallBack_MarshalStructByRef_ShortStructPack4Explicit_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_IntStructPack8Explicit(new ByRefCdeclcaller_IntStructPack8Explicit(TestMethod_DoCallBack_MarshalStructByRef_IntStructPack8Explicit_Cdecl));
+            DoCallBack_MarshalByRefStruct_Cdecl_LongStructPack16Explicit(new ByRefCdeclcaller_LongStructPack16Explicit(TestMethod_DoCallBack_MarshalStructByRef_LongStructPack16Explicit_Cdecl));
+            
+            ////Reverse Pinvoke,ByRef,StdCall
+            DoCallBack_MarshalByRefStruct_Stdcall_INNER2(new ByRefStdcallcaller_INNER2(TestMethod_DoCallBack_MarshalStructByRef_INNER2_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_InnerExplicit(new ByRefStdcallcaller_InnerExplicit(TestMethod_DoCallBack_MarshalStructByRef_InnerExplicit_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_InnerArrayExplicit(new ByRefStdcallcaller_InnerArrayExplicit(TestMethod_DoCallBack_MarshalStructByRef_InnerArrayExplicit_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_OUTER3(new ByRefStdcallcaller_OUTER3(TestMethod_DoCallBack_MarshalStructByRef_OUTER3_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_U(new ByRefStdcallcaller_U(TestMethod_DoCallBack_MarshalStructByRef_U_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_ByteStructPack2Explicit(new ByRefStdcallcaller_ByteStructPack2Explicit(TestMethod_DoCallBack_MarshalStructByRef_ByteStructPack2Explicit_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_ShortStructPack4Explicit(new ByRefStdcallcaller_ShortStructPack4Explicit(TestMethod_DoCallBack_MarshalStructByRef_ShortStructPack4Explicit_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_IntStructPack8Explicit(new ByRefStdcallcaller_IntStructPack8Explicit(TestMethod_DoCallBack_MarshalStructByRef_IntStructPack8Explicit_Stdcall));
+            DoCallBack_MarshalByRefStruct_Stdcall_LongStructPack16Explicit(new ByRefStdcallcaller_LongStructPack16Explicit(TestMethod_DoCallBack_MarshalStructByRef_LongStructPack16Explicit_Stdcall));
+
+            ////Reverse Pinvoke,ByVal,cdecl
+            DoCallBack_MarshalByValStruct_Cdecl_INNER2(new ByValCdeclcaller_INNER2(TestMethod_DoCallBack_MarshalStructByVal_INNER2_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_InnerExplicit(new ByValCdeclcaller_InnerExplicit(TestMethod_DoCallBack_MarshalStructByVal_InnerExplicit_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_InnerArrayExplicit(new ByValCdeclcaller_InnerArrayExplicit(TestMethod_DoCallBack_MarshalStructByVal_InnerArrayExplicit_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_OUTER3(new ByValCdeclcaller_OUTER3(TestMethod_DoCallBack_MarshalStructByVal_OUTER3_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_U(new ByValCdeclcaller_U(TestMethod_DoCallBack_MarshalStructByVal_U_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_ByteStructPack2Explicit(new ByValCdeclcaller_ByteStructPack2Explicit(TestMethod_DoCallBack_MarshalStructByVal_ByteStructPack2Explicit_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_ShortStructPack4Explicit(new ByValCdeclcaller_ShortStructPack4Explicit(TestMethod_DoCallBack_MarshalStructByVal_ShortStructPack4Explicit_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_IntStructPack8Explicit(new ByValCdeclcaller_IntStructPack8Explicit(TestMethod_DoCallBack_MarshalStructByVal_IntStructPack8Explicit_Cdecl));
+            DoCallBack_MarshalByValStruct_Cdecl_LongStructPack16Explicit(new ByValCdeclcaller_LongStructPack16Explicit(TestMethod_DoCallBack_MarshalStructByVal_LongStructPack16Explicit_Cdecl));
+
+            ////Reverse Pinvoke,ByVal,stdcall
+            DoCallBack_MarshalByValStruct_Stdcall_INNER2(new ByValStdcallcaller_INNER2(TestMethod_DoCallBack_MarshalStructByVal_INNER2_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_InnerExplicit(new ByValStdcallcaller_InnerExplicit(TestMethod_DoCallBack_MarshalStructByVal_InnerExplicit_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_InnerArrayExplicit(new ByValStdcallcaller_InnerArrayExplicit(TestMethod_DoCallBack_MarshalStructByVal_InnerArrayExplicit_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_OUTER3(new ByValStdcallcaller_OUTER3(TestMethod_DoCallBack_MarshalStructByVal_OUTER3_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_U(new ByValStdcallcaller_U(TestMethod_DoCallBack_MarshalStructByVal_U_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_ByteStructPack2Explicit(new ByValStdcallcaller_ByteStructPack2Explicit(TestMethod_DoCallBack_MarshalStructByVal_ByteStructPack2Explicit_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_ShortStructPack4Explicit(new ByValStdcallcaller_ShortStructPack4Explicit(TestMethod_DoCallBack_MarshalStructByVal_ShortStructPack4Explicit_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_IntStructPack8Explicit(new ByValStdcallcaller_IntStructPack8Explicit(TestMethod_DoCallBack_MarshalStructByVal_IntStructPack8Explicit_Stdcall));
+            DoCallBack_MarshalByValStruct_Stdcall_LongStructPack16Explicit(new ByValStdcallcaller_LongStructPack16Explicit(TestMethod_DoCallBack_MarshalStructByVal_LongStructPack16Explicit_Stdcall));
+        
+            #endregion
+
+            return 100;
+        }
+        catch (Exception e)
+        {
+            Console.WriteLine($"Test Failure: {e}");
+            return 101;
+        }
+    }
+}
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ReversePInvokeManaged/ReversePInvokeTest.csproj b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ReversePInvokeManaged/ReversePInvokeTest.csproj
new file mode 100644 (file)
index 0000000..ea6ff85
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>ReversePInvokeTest</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F1E66554-8C8E-4141-85CF-D0CD6A0CD0B0}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\..\..\</SolutionDir>
+    <DefineConstants>$(DefineConstants);STATIC</DefineConstants>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <!-- Test unsupported outside of windows -->
+    <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
+    <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="ReversePInvokeTest.cs" />
+    <Compile Include="..\..\Helper.cs" />
+    <Compile Include="..\..\Struct.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CMakeLists.txt" />
+  </ItemGroup>
+  <Import Project="../../../../Interop.settings.targets" />
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+</Project>
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0b3aef3
--- /dev/null
@@ -0,0 +1,11 @@
+cmake_minimum_required (VERSION 2.6) 
+project (SeqPInvokeNative) 
+include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") 
+include_directories(${INC_PLATFORM_DIR}) 
+set(SOURCES 
+    SeqStructDelRevPInvokeNative.cpp 
+) 
+add_library (SeqPInvokeNative SHARED ${SOURCES}) 
+target_link_libraries(SeqPInvokeNative ${LINK_LIBRARIES_ADDITIONAL}) 
+# add the install targets 
+install (TARGETS SeqPInvokeNative DESTINATION bin) 
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest.cs b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest.cs
new file mode 100644 (file)
index 0000000..ad63dee
Binary files /dev/null and b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest.cs differ
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest.csproj b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest.csproj
new file mode 100644 (file)
index 0000000..b579275
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>DelegatePInvokeTest</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F1E66554-8C8E-4141-85CF-D0CD6A0CD0B0}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\..\..\</SolutionDir>
+    <DefineConstants>$(DefineConstants);STATIC</DefineConstants>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="DelegatePInvokeTest.cs" />
+    <Compile Include="..\..\Helper.cs" />
+    <Compile Include="..\..\Struct.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CMakeLists.txt" />
+  </ItemGroup>
+  <Import Project="../../../../Interop.settings.targets" />
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+</Project>
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/ReversePInvoke/ReversePInvokeTest.cs b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/ReversePInvoke/ReversePInvokeTest.cs
new file mode 100644 (file)
index 0000000..a6e789c
Binary files /dev/null and b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/ReversePInvoke/ReversePInvokeTest.cs differ
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/ReversePInvoke/ReversePInvokeTest.csproj b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/ReversePInvoke/ReversePInvokeTest.csproj
new file mode 100644 (file)
index 0000000..5b3703f
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>ReversePInvokeTest</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{F1E66554-8C8E-4141-85CF-D0CD6A0CD0B0}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\..\..\</SolutionDir>
+    <DefineConstants>$(DefineConstants);STATIC</DefineConstants>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="ReversePInvokeTest.cs" />
+    <Compile Include="..\..\Helper.cs" />
+    <Compile Include="..\..\Struct.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CMakeLists.txt" />
+  </ItemGroup>
+  <Import Project="../../../../Interop.settings.targets" />
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+</Project>
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/SeqStructDelRevPInvokeNative.cpp b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/SeqStructDelRevPInvokeNative.cpp
new file mode 100644 (file)
index 0000000..08f069c
--- /dev/null
@@ -0,0 +1,3241 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+#include <xplatform.h>
+#include "platformdefines.h"
+#include "SeqStructDelRevPInvokeNative.h"
+
+const char* NativeStr = "Native";
+//const size_t size = strlen(NativeStr);
+
+struct ScriptParamType
+{
+    int idata;
+    int useless; //Use this as pedding, since in the Manage code,the union starts at offset 8
+    union unionType
+    {
+        bool bdata;
+        double ddata;
+        int * ptrdata;
+    }udata;
+};
+
+struct ComplexStruct
+{
+    INT i;
+    CHAR b;
+    LPCSTR str;
+    //use this(padding), since in the Mac, it use 4bytes as struct pack(In windows, it is 8 bytes). 
+    //if i dont add this. In Mac, it will try to replace the value of (pedding) with idata's value
+    LPVOID padding;//padding
+    ScriptParamType type;
+};
+
+
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructComplexStructByRef_Cdecl(ComplexStruct * pcs)
+{                       
+    //Check the Input    
+    if((321 != pcs->i)||(!pcs->b)||(0 != strcmp(pcs->str,"Managed"))||(123 != pcs->type.idata)||(0x120000 != (int)(LONG64)(pcs->type.udata.ptrdata)))
+    {
+
+        printf("The parameter for MarshalRefStruct_Cdecl is wrong\n");
+        printf("ComplexStruct:%d:%d,%s,%d,%d\n",pcs->i,pcs->b,pcs->str,pcs->type.idata,(int)(LONG64)(pcs->type.udata.ptrdata));
+        return FALSE;
+    }
+    CoreClrFree((LPVOID)pcs->str);
+
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+    char * pstr = (char*)CoreClrAlloc((lsize + 1) * sizeof(char));
+    memset(pstr,0,lsize+1);
+
+    strncpy_s(pstr,lsize+1,lNativeStr,lsize);
+
+    //Change the value
+    pcs->i = 9999;
+    pcs->b = false;
+    pcs->str = pstr;
+    pcs->type.idata = -1;
+    pcs->type.udata.ddata = 3.14159;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructComplexStructByRef_StdCall(ComplexStruct * pcs)
+{
+    //Check the input
+    if((321 != pcs->i)||(!pcs->b)||(0 != strcmp(pcs->str,"Managed"))||(123 != pcs->type.idata)||(0x120000 != (int)(LONG64)(pcs->type.udata.ptrdata)))
+    {
+        printf("The parameter for MarshalRefStruct_StdCall is wrong\n");
+        return FALSE;
+    }
+    CoreClrFree((LPVOID)pcs->str);
+
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+    char * pstr = (char*)CoreClrAlloc(lsize + 1);
+    memset(pstr,0,lsize+1);
+    strncpy_s(pstr,lsize+1,lNativeStr,lsize);
+
+    //Change the value
+    pcs->i = 9999;
+    pcs->b = false;
+    pcs->str = pstr;
+    pcs->type.idata = -1;
+    pcs->type.udata.ddata = 3.14159;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *ComplexStructByRefCdeclCaller)(ComplexStruct* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructComplexStructByRef_Cdecl(ComplexStructByRefCdeclCaller caller)
+{
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+
+    //Init
+    char * pstr = (char*)CoreClrAlloc(lsize + 1);
+    memset(pstr,0,lsize+1);
+    strncpy_s(pstr,lsize+1,lNativeStr,lsize);
+
+    ComplexStruct cs;
+    cs.i = 9999;
+    cs.b = false;
+    cs.str = pstr;
+    cs.type.idata = -1;
+    cs.type.udata.ddata = 3.14159;
+
+    if(!caller(&cs))
+    {
+        printf("DoCallBack_MarshalByRefStruct_Cdecl:The Caller return wrong value!\n");
+        return FALSE;
+    }
+
+    if((321 != cs.i)||(!cs.b)||(0 != strcmp(cs.str,"Managed"))||(123 != cs.type.idata)||(0x120000 != (int)(LONG64)(cs.type.udata.ptrdata)))
+    {
+        printf("The parameter for DoCallBack_MarshalRefStruct_Cdecl is wrong\n");
+        return FALSE;
+    }
+    CoreClrFree((LPVOID)cs.str);
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ComplexStructByRefStdCallCaller)(ComplexStruct* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructComplexStructByRef_StdCall(ComplexStructByRefStdCallCaller caller)
+{
+    const char* lNativeStr = "Native";
+    const size_t lsize = strlen(lNativeStr);
+
+    //init
+    char * pstr = (char*)CoreClrAlloc(lsize + 1);
+    memset(pstr,0,lsize+1);
+    strncpy_s(pstr,lsize+1,lNativeStr,lsize);
+
+    ComplexStruct cs;
+    cs.i = 9999;
+    cs.b = false;
+    cs.str = pstr;
+    cs.type.idata = -1;
+    cs.type.udata.ddata = 3.14159;
+
+    if(!caller(&cs))
+    {
+        printf("DoCallBack_MarshalByRefStruct_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    if((321 != cs.i)||(!cs.b)||(0 != strcmp(cs.str,"Managed"))||(123 != cs.type.idata)||(0x120000 != (int)(LONG64)(cs.type.udata.ptrdata)))
+    {
+        printf("The parameter for DoCallBack_MarshalRefStruct_StdCall is wrong\n");
+        return FALSE;
+    }
+    CoreClrFree((LPVOID)cs.str);
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *ComplexStructDelegatePInvokeByRefCdeclCaller)(ComplexStruct* pcs);
+extern "C" DLL_EXPORT ComplexStructDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructComplexStructByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructComplexStructByRef_Cdecl;
+}
+
+typedef BOOL (__stdcall *ComplexStructDelegatePInvokeByRefStdCallCaller)(ComplexStruct* pcs);
+extern "C" DLL_EXPORT ComplexStructDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructComplexStructByRef_StdCall_FuncPtr()
+{
+    return MarshalStructComplexStructByRef_StdCall;
+}
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructComplexStructByVal_Cdecl(ComplexStruct cs)
+{
+    //Check the Input    
+    if((321 != cs.i)||(!cs.b)||(0 != strcmp(cs.str,"Managed"))||(123 != cs.type.idata)||(0x120000 != (int)(LONG64)(cs.type.udata.ptrdata)))
+    {
+
+        printf("The parameter for MarshalStructComplexStructByVal_Cdecl is wrong\n");
+        printf("ComplexStruct:%d:%d,%s,%d,%d\n",cs.i,cs.b,cs.str,cs.type.idata,(int)(LONG64)(cs.type.udata.ptrdata));
+        return FALSE;
+    }
+
+    cs.i = 9999;
+    cs.b = false;
+    cs.str = "Native";
+    cs.type.idata = -1;
+    cs.type.udata.ddata = 3.14159;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructComplexStructByVal_StdCall(ComplexStruct cs)
+{
+    //Check the input
+    if((321 != cs.i)||(!cs.b)||(0 != strcmp(cs.str,"Managed"))||(123 != cs.type.idata)||(0x120000 != (int)(LONG64)(cs.type.udata.ptrdata)))
+    {
+        printf("The parameter for MarshalStructComplexStructByVal_StdCall is wrong\n");
+        return FALSE;
+    }
+
+    cs.i = 9999;
+    cs.b = false;
+    cs.str = "Native";
+    cs.type.idata = -1;
+    cs.type.udata.ddata = 3.14159;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *ComplexStructByValCdeclCaller)(ComplexStruct cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructComplexStructByVal_Cdecl(ComplexStructByValCdeclCaller caller)
+{
+    //Init
+    ComplexStruct cs;
+    cs.i = 9999;
+    cs.b = false;
+    cs.str = "Native";
+    cs.type.idata = -1;
+    cs.type.udata.ddata = 3.14159;
+
+    if(!caller(cs))
+    {
+        printf("DoCallBack_MarshalStructComplexStructByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if((9999 != cs.i)||(cs.b)||(0 != strcmp(cs.str,NativeStr))||(-1 != cs.type.idata)||(3.14159 != cs.type.udata.ddata))
+    {
+        printf("The parameter for DoCallBack_MarshalByValStruct_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *ComplexStructByValStdCallCaller)(ComplexStruct cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructComplexStructByVal_StdCall(ComplexStructByValStdCallCaller caller)
+{
+    ComplexStruct cs;
+    cs.i = 9999;
+    cs.b = false;
+    cs.str = "Native";
+    cs.type.idata = -1;
+    cs.type.udata.ddata = 3.14159;
+
+    if(!caller(cs))
+    {
+        printf("The parameter for DoCallBack_MarshalStructComplexStructByVal_StdCall is wrong\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if((9999 != cs.i)||(cs.b)||(0 != strcmp(cs.str,NativeStr))||(-1 != cs.type.idata)||(3.14159 != cs.type.udata.ddata))
+    {
+        printf("DoCallBack_MarshalStructComplexStructByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *ComplexStructDelegatePInvokeByValCdeclCaller)(ComplexStruct cs);
+extern "C" DLL_EXPORT ComplexStructDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructComplexStructByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructComplexStructByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *ComplexStructDelegatePInvokeByValStdCallCaller)(ComplexStruct cs);
+extern "C" DLL_EXPORT ComplexStructDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructComplexStructByVal_StdCall_FuncPtr()
+{
+    return MarshalStructComplexStructByVal_StdCall;
+}
+
+///////////////////////////////////////////Methods for InnerSequential struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructInnerSequentialByRef_Cdecl(InnerSequential* argstr)
+{
+    if(!IsCorrectInnerSequential(argstr))
+    {
+        printf("\tMarshalStructInnerSequentialByRef_Cdecl: InnerSequential param not as expected\n");
+        PrintInnerSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeInnerSequential(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructInnerSequentialByRef_StdCall(InnerSequential* argstr)
+{
+    if(!IsCorrectInnerSequential(argstr))
+    {
+        printf("\tMarshalStructInnerSequentialByRef_StdCall: InnerSequential param not as expected\n");
+        PrintInnerSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeInnerSequential(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *InnerSequentialByRefCdeclCaller)(InnerSequential* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructInnerSequentialByRef_Cdecl(InnerSequentialByRefCdeclCaller caller)
+{
+    //Init
+    InnerSequential argstr;
+    argstr.f1 = 77;
+    argstr.f2 = 77.0;
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.f3 = temp;
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerSequentialByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectInnerSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructInnerSequentialByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *InnerSequentialByRefStdCallCaller)(InnerSequential* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructInnerSequentialByRef_StdCall(InnerSequentialByRefStdCallCaller caller)
+{
+    //Init
+    InnerSequential argstr;
+    argstr.f1 = 77;
+    argstr.f2 = 77.0;
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.f3 = temp;
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerSequentialByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectInnerSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructInnerSequentialByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *InnerSequentialDelegatePInvokeByRefCdeclCaller)(InnerSequential* pcs);
+extern "C" DLL_EXPORT InnerSequentialDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructInnerSequentialByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructInnerSequentialByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *InnerSequentialDelegatePInvokeByRefStdCallCaller)(InnerSequential* pcs);
+extern "C" DLL_EXPORT InnerSequentialDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructInnerSequentialByRef_StdCall_FuncPtr()
+{
+    return MarshalStructInnerSequentialByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructInnerSequentialByVal_Cdecl(InnerSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectInnerSequential(&argstr))
+    {
+        printf("\tMarshalStructInnerSequentialByVal_Cdecl: InnerSequential param not as expected\n");
+        PrintInnerSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.f1 = 77;
+    argstr.f2 = 77.0;
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.f3 = temp;
+    }
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructInnerSequentialByVal_StdCall(InnerSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectInnerSequential(&argstr))
+    {
+        printf("\tMarshalStructInnerSequentialByVal_StdCall: InnerSequential param not as expected\n");
+        PrintInnerSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.f1 = 77;
+    argstr.f2 = 77.0;
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.f3 = temp;
+    }
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *InnerSequentialByValCdeclCaller)(InnerSequential cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructInnerSequentialByVal_Cdecl(InnerSequentialByValCdeclCaller caller)
+{
+    //Init
+    InnerSequential argstr{};
+    argstr.f1 = 77;
+    argstr.f2 = 77.0;
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.f3 = temp;
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerSequentialByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.f1 != 77 || argstr.f2 != 77.0 || strcmp((char*)argstr.f3, "changed string") != 0)
+    {
+        printf("The parameter for DoCallBack_MarshalStructInnerSequentialByVal_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *InnerSequentialByValStdCallCaller)(InnerSequential cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructInnerSequentialByVal_StdCall(InnerSequentialByValStdCallCaller caller)
+{
+    //Init
+    InnerSequential argstr{};
+    argstr.f1 = 77;
+    argstr.f2 = 77.0;
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.f3 = temp;
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerSequentialByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.f1 != 77 || argstr.f2 != 77.0 || strcmp((char*)argstr.f3, "changed string") != 0)
+    {
+        printf("The parameter for DoCallBack_MarshalStructInnerSequentialByVal_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *InnerSequentialDelegatePInvokeByValCdeclCaller)(InnerSequential cs);
+extern "C" DLL_EXPORT InnerSequentialDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructInnerSequentialByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructInnerSequentialByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *InnerSequentialDelegatePInvokeByValStdCallCaller)(InnerSequential cs);
+extern "C" DLL_EXPORT InnerSequentialDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructInnerSequentialByVal_StdCall_FuncPtr()
+{
+    return MarshalStructInnerSequentialByVal_StdCall;
+}
+
+
+///////////////////////////////////////////Methods for InnerArraySequential struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructInnerArraySequentialByRef_Cdecl(InnerArraySequential* argstr)
+{
+    if(!IsCorrectInnerArraySequential(argstr))
+    {
+        printf("\tMarshalStructInnerArraySequentialByRef_Cdecl: InnerArraySequential param not as expected\n");
+        PrintInnerArraySequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeInnerArraySequential(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructInnerArraySequentialByRef_StdCall(InnerArraySequential* argstr)
+{
+    if(!IsCorrectInnerArraySequential(argstr))
+    {
+        printf("\tMarshalStructInnerArraySequentialByRef_StdCall: InnerArraySequential param not as expected\n");
+        PrintInnerArraySequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeInnerArraySequential(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *InnerArraySequentialByRefCdeclCaller)(InnerArraySequential* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructInnerArraySequentialByRef_Cdecl(InnerArraySequentialByRefCdeclCaller caller)
+{
+    //Init
+    InnerArraySequential argstr;
+
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        argstr.arr[i].f1 = 77;
+        argstr.arr[i].f2 = 77.0;
+        const char* lpstr = "changed string";
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        LPSTR temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strcpy_s((char*)temp,size,lpstr);
+            argstr.arr[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerArraySequentialByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectInnerArraySequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructInnerArraySequentialByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *InnerArraySequentialByRefStdCallCaller)(InnerArraySequential* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructInnerArraySequentialByRef_StdCall(InnerArraySequentialByRefStdCallCaller caller)
+{
+    //Init
+    InnerArraySequential argstr;
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        argstr.arr[i].f1 = 77;
+        argstr.arr[i].f2 = 77.0;
+        const char* lpstr = "changed string";
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        LPSTR temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strcpy_s((char*)temp,size,lpstr);
+            argstr.arr[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerArraySequentialByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectInnerArraySequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructInnerArraySequentialByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *InnerArraySequentialDelegatePInvokeByRefCdeclCaller)(InnerArraySequential* pcs);
+extern "C" DLL_EXPORT InnerArraySequentialDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructInnerArraySequentialByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructInnerArraySequentialByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *InnerArraySequentialDelegatePInvokeByRefStdCallCaller)(InnerArraySequential* pcs);
+extern "C" DLL_EXPORT InnerArraySequentialDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructInnerArraySequentialByRef_StdCall_FuncPtr()
+{
+    return MarshalStructInnerArraySequentialByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructInnerArraySequentialByVal_Cdecl(InnerArraySequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectInnerArraySequential(&argstr))
+    {
+        printf("\tMarshalStructInnerArraySequentialByVal_Cdecl: InnerArraySequential param not as expected\n");
+        PrintInnerArraySequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        argstr.arr[i].f1 = 77;
+        argstr.arr[i].f2 = 77.0;
+        const char* lpstr = "changed string";
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        LPSTR temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strcpy_s((char*)temp,size,lpstr);
+            argstr.arr[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructInnerArraySequentialByVal_StdCall(InnerArraySequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectInnerArraySequential(&argstr))
+    {
+        printf("\tMarshalStructInnerArraySequentialByVal_StdCall: InnerArraySequential param not as expected\n");
+        PrintInnerArraySequential(&argstr,"argstr");
+        return FALSE;
+    }
+    for(int i = 0; i<NumArrElements;i++)
+    {
+        argstr.arr[i].f1 = 77;
+        argstr.arr[i].f2 = 77.0;
+        const char* lpstr = "changed string";
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        LPSTR temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strcpy_s((char*)temp,size,lpstr);
+            argstr.arr[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *InnerArraySequentialByValCdeclCaller)(InnerArraySequential cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructInnerArraySequentialByVal_Cdecl(InnerArraySequentialByValCdeclCaller caller)
+{
+    //Init
+    InnerArraySequential argstr;
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        argstr.arr[i].f1 = 77;
+        argstr.arr[i].f2 = 77.0;
+        const char* lpstr = "changed string";
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        LPSTR temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strcpy_s((char*)temp,size,lpstr);
+            argstr.arr[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerArraySequentialByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    for(int i =0;i<NumArrElements;i++)
+    {
+        if(argstr.arr[i].f1 != 77 || argstr.arr[i].f2 != 77.0 || strcmp((char*)argstr.arr[i].f3, "changed string") != 0)
+        {
+            printf("The parameter for DoCallBack_MarshalStructInnerArraySequentialByVal_Cdecl is wrong\n");
+            return FALSE;
+        }
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *InnerArraySequentialByValStdCallCaller)(InnerArraySequential cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructInnerArraySequentialByVal_StdCall(InnerArraySequentialByValStdCallCaller caller)
+{
+    //Init
+    InnerArraySequential argstr;
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        argstr.arr[i].f1 = 77;
+        argstr.arr[i].f2 = 77.0;
+        const char* lpstr = "changed string";
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        LPSTR temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strcpy_s((char*)temp,size,lpstr);
+            argstr.arr[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructInnerArraySequentialByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    for(int i = 0;i<NumArrElements;i++)
+    {
+        if(argstr.arr[i].f1 != 77 || argstr.arr[i].f2 != 77.0 || strcmp((char*)argstr.arr[i].f3, "changed string") != 0)
+        {
+            printf("The parameter for DoCallBack_MarshalStructInnerArraySequentialByVal_StdCall is wrong\n");
+            return FALSE;
+        }
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *InnerArraySequentialDelegatePInvokeByValCdeclCaller)(InnerArraySequential cs);
+extern "C" DLL_EXPORT InnerArraySequentialDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructInnerArraySequentialByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructInnerArraySequentialByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *InnerArraySequentialDelegatePInvokeByValStdCallCaller)(InnerArraySequential cs);
+extern "C" DLL_EXPORT InnerArraySequentialDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructInnerArraySequentialByVal_StdCall_FuncPtr()
+{
+    return MarshalStructInnerArraySequentialByVal_StdCall;
+}
+
+///////////////////////////////////////////Methods for CharSetAnsiSequential struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructCharSetAnsiSequentialByRef_Cdecl(CharSetAnsiSequential* argstr)
+{
+    if(!IsCorrectCharSetAnsiSequential(argstr))
+    {
+        printf("\tMarshalStructCharSetAnsiSequentialByRef_Cdecl: CharSetAnsiSequential param not as expected\n");
+        PrintCharSetAnsiSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeCharSetAnsiSequential(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructCharSetAnsiSequentialByRef_StdCall(CharSetAnsiSequential* argstr)
+{
+    if(!IsCorrectCharSetAnsiSequential(argstr))
+    {
+        printf("\tMarshalStructCharSetAnsiSequentialByRef_StdCall: CharSetAnsiSequential param not as expected\n");
+        PrintCharSetAnsiSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeCharSetAnsiSequential(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *CharSetAnsiSequentialByRefCdeclCaller)(CharSetAnsiSequential* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructCharSetAnsiSequentialByRef_Cdecl(CharSetAnsiSequentialByRefCdeclCaller caller)
+{
+    //Init
+    CharSetAnsiSequential argstr;
+
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,size,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetAnsiSequentialByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectCharSetAnsiSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetAnsiSequentialByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *CharSetAnsiSequentialByRefStdCallCaller)(CharSetAnsiSequential* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructCharSetAnsiSequentialByRef_StdCall(CharSetAnsiSequentialByRefStdCallCaller caller)
+{
+    //Init
+    CharSetAnsiSequential argstr;
+
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,size,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetAnsiSequentialByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectCharSetAnsiSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetAnsiSequentialByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *CharSetAnsiSequentialDelegatePInvokeByRefCdeclCaller)(CharSetAnsiSequential* pcs);
+extern "C" DLL_EXPORT CharSetAnsiSequentialDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructCharSetAnsiSequentialByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructCharSetAnsiSequentialByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *CharSetAnsiSequentialDelegatePInvokeByRefStdCallCaller)(CharSetAnsiSequential* pcs);
+extern "C" DLL_EXPORT CharSetAnsiSequentialDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructCharSetAnsiSequentialByRef_StdCall_FuncPtr()
+{
+    return MarshalStructCharSetAnsiSequentialByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructCharSetAnsiSequentialByVal_Cdecl(CharSetAnsiSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectCharSetAnsiSequential(&argstr))
+    {
+        printf("\tMarshalStructCharSetAnsiSequentialByVal_Cdecl: CharSetAnsiSequential param not as expected\n");
+        PrintCharSetAnsiSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,size,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructCharSetAnsiSequentialByVal_StdCall(CharSetAnsiSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectCharSetAnsiSequential(&argstr))
+    {
+        printf("\tMarshalStructCharSetAnsiSequentialByVal_StdCall: CharSetAnsiSequential param not as expected\n");
+        PrintCharSetAnsiSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,size,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *CharSetAnsiSequentialByValCdeclCaller)(CharSetAnsiSequential cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructCharSetAnsiSequentialByVal_Cdecl(CharSetAnsiSequentialByValCdeclCaller caller)
+{
+    //Init
+    CharSetAnsiSequential argstr{};
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,size,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetAnsiSequentialByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(strcmp((char*)argstr.f1,"change string") != 0 || argstr.f2 != 'n')
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetAnsiSequentialByVal_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *CharSetAnsiSequentialByValStdCallCaller)(CharSetAnsiSequential cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructCharSetAnsiSequentialByVal_StdCall(CharSetAnsiSequentialByValStdCallCaller caller)
+{
+    //Init
+    CharSetAnsiSequential argstr{};
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,size,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetAnsiSequentialByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(strcmp((char*)argstr.f1,"change string") != 0 || argstr.f2 != 'n')
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetAnsiSequentialByVal_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *CharSetAnsiSequentialDelegatePInvokeByValCdeclCaller)(CharSetAnsiSequential cs);
+extern "C" DLL_EXPORT CharSetAnsiSequentialDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructCharSetAnsiSequentialByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructCharSetAnsiSequentialByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *CharSetAnsiSequentialDelegatePInvokeByValStdCallCaller)(CharSetAnsiSequential cs);
+extern "C" DLL_EXPORT CharSetAnsiSequentialDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructCharSetAnsiSequentialByVal_StdCall_FuncPtr()
+{
+    return MarshalStructCharSetAnsiSequentialByVal_StdCall;
+}
+
+
+///////////////////////////////////////////Methods for CharSetUnicodeSequential struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructCharSetUnicodeSequentialByRef_Cdecl(CharSetUnicodeSequential* argstr)
+{
+    if(!IsCorrectCharSetUnicodeSequential(argstr))
+    {
+        printf("\tMarshalStructCharSetUnicodeSequentialByRef_Cdecl: CharSetUnicodeSequential param not as expected\n");
+        PrintCharSetUnicodeSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeCharSetUnicodeSequential(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructCharSetUnicodeSequentialByRef_StdCall(CharSetUnicodeSequential* argstr)
+{
+    if(!IsCorrectCharSetUnicodeSequential(argstr))
+    {
+        printf("\tMarshalStructCharSetUnicodeSequentialByRef_StdCall: CharSetUnicodeSequential param not as expected\n");
+        PrintCharSetUnicodeSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeCharSetUnicodeSequential(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *CharSetUnicodeSequentialByRefCdeclCaller)(CharSetUnicodeSequential* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructCharSetUnicodeSequentialByRef_Cdecl(CharSetUnicodeSequentialByRefCdeclCaller caller)
+{
+    //Init
+    CharSetUnicodeSequential argstr;
+
+    WCHAR* strSource = (WCHAR*)(W("change string"));
+    size_t len = wcslen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        //wcscpy((WCHAR*)temp, (len+1)*sizeof(WCHAR), strSource);
+        wcscpy_s((WCHAR*)temp,len+1,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetUnicodeSequentialByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectCharSetUnicodeSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetUnicodeSequentialByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *CharSetUnicodeSequentialByRefStdCallCaller)(CharSetUnicodeSequential* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructCharSetUnicodeSequentialByRef_StdCall(CharSetUnicodeSequentialByRefStdCallCaller caller)
+{
+    //Init
+    CharSetUnicodeSequential argstr;
+
+    WCHAR* strSource = (WCHAR*)(W("change string"));
+    size_t len = wcslen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        //wcscpy((WCHAR*)temp, (len+1)*sizeof(WCHAR), strSource);
+        wcscpy_s((WCHAR*)temp,len+1,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetUnicodeSequentialByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectCharSetUnicodeSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetUnicodeSequentialByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *CharSetUnicodeSequentialDelegatePInvokeByRefCdeclCaller)(CharSetUnicodeSequential* pcs);
+extern "C" DLL_EXPORT CharSetUnicodeSequentialDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructCharSetUnicodeSequentialByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructCharSetUnicodeSequentialByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *CharSetUnicodeSequentialDelegatePInvokeByRefStdCallCaller)(CharSetUnicodeSequential* pcs);
+extern "C" DLL_EXPORT CharSetUnicodeSequentialDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructCharSetUnicodeSequentialByRef_StdCall_FuncPtr()
+{
+    return MarshalStructCharSetUnicodeSequentialByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructCharSetUnicodeSequentialByVal_Cdecl(CharSetUnicodeSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectCharSetUnicodeSequential(&argstr))
+    {
+        printf("\tMarshalStructCharSetUnicodeSequentialByVal_Cdecl: CharSetUnicodeSequential param not as expected\n");
+        PrintCharSetUnicodeSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    WCHAR* strSource = (WCHAR*)(W("change string"));
+    size_t len = wcslen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        //wcscpy((WCHAR*)temp, (len+1)*sizeof(WCHAR), strSource);
+        wcscpy_s((WCHAR*)temp,len+1,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructCharSetUnicodeSequentialByVal_StdCall(CharSetUnicodeSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectCharSetUnicodeSequential(&argstr))
+    {
+        printf("\tMarshalStructCharSetUnicodeSequentialByVal_StdCall: CharSetUnicodeSequential param not as expected\n");
+        PrintCharSetUnicodeSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    WCHAR* strSource = (WCHAR*)(W("change string"));
+    size_t len = wcslen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        //wcscpy((WCHAR*)temp, (len+1)*sizeof(WCHAR), strSource);
+        wcscpy_s((WCHAR*)temp,len+1,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *CharSetUnicodeSequentialByValCdeclCaller)(CharSetUnicodeSequential cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructCharSetUnicodeSequentialByVal_Cdecl(CharSetUnicodeSequentialByValCdeclCaller caller)
+{
+    //Init
+    CharSetUnicodeSequential argstr{};
+    WCHAR* strSource = (WCHAR*)(W("change string"));
+    size_t len =wcslen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        //wcscpy((WCHAR*)temp, (len+1)*sizeof(WCHAR), strSource);
+        wcscpy_s((WCHAR*)temp,len+1,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetUnicodeSequentialByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(0 != wcscmp(const_cast<WCHAR*>(argstr.f1), const_cast<WCHAR*>(W("change string"))) || argstr.f2 != L'n')
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetUnicodeSequentialByVal_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *CharSetUnicodeSequentialByValStdCallCaller)(CharSetUnicodeSequential cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructCharSetUnicodeSequentialByVal_StdCall(CharSetUnicodeSequentialByValStdCallCaller caller)
+{
+    //Init
+    CharSetUnicodeSequential argstr{};
+    WCHAR* strSource = (WCHAR*)(W("change string"));
+    size_t len =wcslen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        //wcscpy((WCHAR*)temp, (len+1)*sizeof(WCHAR), strSource);
+        wcscpy_s((WCHAR*)temp,len+1,strSource);
+        argstr.f1 = temp;
+        argstr.f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructCharSetUnicodeSequentialByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(0 != wcscmp(const_cast<WCHAR*>(argstr.f1), const_cast<WCHAR*>(W("change string"))) || argstr.f2 != L'n')
+    {
+        printf("The parameter for DoCallBack_MarshalStructCharSetUnicodeSequentialByVal_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *CharSetUnicodeSequentialDelegatePInvokeByValCdeclCaller)(CharSetUnicodeSequential cs);
+extern "C" DLL_EXPORT CharSetUnicodeSequentialDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructCharSetUnicodeSequentialByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructCharSetUnicodeSequentialByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *CharSetUnicodeSequentialDelegatePInvokeByValStdCallCaller)(CharSetUnicodeSequential cs);
+extern "C" DLL_EXPORT CharSetUnicodeSequentialDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructCharSetUnicodeSequentialByVal_StdCall_FuncPtr()
+{
+    return MarshalStructCharSetUnicodeSequentialByVal_StdCall;
+}
+
+
+///////////////////////////////////////////Methods for NumberSequential struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructNumberSequentialByRef_Cdecl(NumberSequential* argstr)
+{
+    if(!IsCorrectNumberSequential(argstr))
+    {
+        printf("\tMarshalStructNumberSequentialByRef_Cdecl: NumberSequential param not as expected\n");
+        PrintNumberSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeNumberSequential(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructNumberSequentialByRef_StdCall(NumberSequential* argstr)
+{
+    if(!IsCorrectNumberSequential(argstr))
+    {
+        printf("\tMarshalStructNumberSequentialByRef_StdCall: NumberSequential param not as expected\n");
+        PrintNumberSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeNumberSequential(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *NumberSequentialByRefCdeclCaller)(NumberSequential* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructNumberSequentialByRef_Cdecl(NumberSequentialByRefCdeclCaller caller)
+{
+    //Init
+    NumberSequential argstr;
+
+    argstr.i32 = 0;
+    argstr.ui32 = 32;
+    argstr.s1 = 0;
+    argstr.us1 = 16;
+    argstr.b = 0;
+    argstr.sb = 8;
+    argstr.i16 = 0;
+    argstr.ui16 = 16;
+    argstr.i64 = 0;
+    argstr.ui64 = 64;
+    argstr.sgl = 64.0;
+    argstr.d = 6.4;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructNumberSequentialByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectNumberSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructNumberSequentialByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *NumberSequentialByRefStdCallCaller)(NumberSequential* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructNumberSequentialByRef_StdCall(NumberSequentialByRefStdCallCaller caller)
+{
+    //Init
+    NumberSequential argstr;
+
+    argstr.i32 = 0;
+    argstr.ui32 = 32;
+    argstr.s1 = 0;
+    argstr.us1 = 16;
+    argstr.b = 0;
+    argstr.sb = 8;
+    argstr.i16 = 0;
+    argstr.ui16 = 16;
+    argstr.i64 = 0;
+    argstr.ui64 = 64;
+    argstr.sgl = 64.0;
+    argstr.d = 6.4;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructNumberSequentialByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectNumberSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructNumberSequentialByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *NumberSequentialDelegatePInvokeByRefCdeclCaller)(NumberSequential* pcs);
+extern "C" DLL_EXPORT NumberSequentialDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructNumberSequentialByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructNumberSequentialByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *NumberSequentialDelegatePInvokeByRefStdCallCaller)(NumberSequential* pcs);
+extern "C" DLL_EXPORT NumberSequentialDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructNumberSequentialByRef_StdCall_FuncPtr()
+{
+    return MarshalStructNumberSequentialByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructNumberSequentialByVal_Cdecl(NumberSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectNumberSequential(&argstr))
+    {
+        printf("\tMarshalStructNumberSequentialByVal_Cdecl: NumberSequential param not as expected\n");
+        PrintNumberSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.i32 = 0;
+    argstr.ui32 = 32;
+    argstr.s1 = 0;
+    argstr.us1 = 16;
+    argstr.b = 0;
+    argstr.sb = 8;
+    argstr.i16 = 0;
+    argstr.ui16 = 16;
+    argstr.i64 = 0;
+    argstr.ui64 = 64;
+    argstr.sgl = 64.0;
+    argstr.d = 6.4;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructNumberSequentialByVal_StdCall(NumberSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectNumberSequential(&argstr))
+    {
+        printf("\tMarshalStructNumberSequentialByVal_StdCall: NumberSequential param not as expected\n");
+        PrintNumberSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.i32 = 0;
+    argstr.ui32 = 32;
+    argstr.s1 = 0;
+    argstr.us1 = 16;
+    argstr.b = 0;
+    argstr.sb = 8;
+    argstr.i16 = 0;
+    argstr.ui16 = 16;
+    argstr.i64 = 0;
+    argstr.ui64 = 64;
+    argstr.sgl = 64.0;
+    argstr.d = 6.4;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *NumberSequentialByValCdeclCaller)(NumberSequential cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructNumberSequentialByVal_Cdecl(NumberSequentialByValCdeclCaller caller)
+{
+    //Init
+    NumberSequential argstr;
+
+    argstr.i32 = 0;
+    argstr.ui32 = 32;
+    argstr.s1 = 0;
+    argstr.us1 = 16;
+    argstr.b = 0;
+    argstr.sb = 8;
+    argstr.i16 = 0;
+    argstr.ui16 = 16;
+    argstr.i64 = 0;
+    argstr.ui64 = 64;
+    argstr.sgl = 64.0;
+    argstr.d = 6.4;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructNumberSequentialByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.i32 != 0 || argstr.ui32 != 32 || argstr.s1 != 0 || argstr.us1 != 16 || argstr.b != 0 ||
+        argstr.sb != 8 || argstr.i16 != 0 || argstr.ui16 != 16 || argstr.i64 != 0 || argstr.ui64 != 64 ||
+        argstr.sgl != 64.0 || argstr.d != 6.4)
+    {
+        printf("The parameter for DoCallBack_MarshalStructNumberSequentialByVal_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *NumberSequentialByValStdCallCaller)(NumberSequential cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructNumberSequentialByVal_StdCall(NumberSequentialByValStdCallCaller caller)
+{
+    //Init
+    NumberSequential argstr;
+
+    argstr.i32 = 0;
+    argstr.ui32 = 32;
+    argstr.s1 = 0;
+    argstr.us1 = 16;
+    argstr.b = 0;
+    argstr.sb = 8;
+    argstr.i16 = 0;
+    argstr.ui16 = 16;
+    argstr.i64 = 0;
+    argstr.ui64 = 64;
+    argstr.sgl = 64.0;
+    argstr.d = 6.4;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructNumberSequentialByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.i32 != 0 || argstr.ui32 != 32 || argstr.s1 != 0 || argstr.us1 != 16 || argstr.b != 0 ||
+        argstr.sb != 8 || argstr.i16 != 0 || argstr.ui16 != 16 || argstr.i64 != 0 || argstr.ui64 != 64 ||
+        argstr.sgl != 64.0 || argstr.d != 6.4)
+    {
+        printf("The parameter for DoCallBack_MarshalStructNumberSequentialByVal_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *NumberSequentialDelegatePInvokeByValCdeclCaller)(NumberSequential cs);
+extern "C" DLL_EXPORT NumberSequentialDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructNumberSequentialByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructNumberSequentialByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *NumberSequentialDelegatePInvokeByValStdCallCaller)(NumberSequential cs);
+extern "C" DLL_EXPORT NumberSequentialDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructNumberSequentialByVal_StdCall_FuncPtr()
+{
+    return MarshalStructNumberSequentialByVal_StdCall;
+}
+
+
+///////////////////////////////////////////Methods for S3 struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS3ByRef_Cdecl(S3* argstr)
+{
+    if(!IsCorrectS3(argstr))
+    {
+        printf("\tMarshalStructS3ByRef_Cdecl: S3 param not as expected\n");
+        PrintS3(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeS3(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS3ByRef_StdCall(S3* argstr)
+{
+    if(!IsCorrectS3(argstr))
+    {
+        printf("\tMarshalStructS3ByRef_StdCall: S3 param not as expected\n");
+        PrintS3(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeS3(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *S3ByRefCdeclCaller)(S3* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS3ByRef_Cdecl(S3ByRefCdeclCaller caller)
+{
+    //Init
+    S3 argstr;
+
+    argstr.flag = false;
+    const char* strSource = "change string";
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        argstr.vals[i-1] = i;
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS3ByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectS3(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructS3ByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S3ByRefStdCallCaller)(S3* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS3ByRef_StdCall(S3ByRefStdCallCaller caller)
+{
+    //Init
+    S3 argstr;
+
+    argstr.flag = false;
+    const char* strSource = "change string";
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        argstr.vals[i-1] = i;
+    }
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS3ByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectS3(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructS3ByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *S3DelegatePInvokeByRefCdeclCaller)(S3* pcs);
+extern "C" DLL_EXPORT S3DelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructS3ByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructS3ByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *S3DelegatePInvokeByRefStdCallCaller)(S3* pcs);
+extern "C" DLL_EXPORT S3DelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructS3ByRef_StdCall_FuncPtr()
+{
+    return MarshalStructS3ByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS3ByVal_Cdecl(S3 argstr)
+{
+    //Check the Input    
+    if(!IsCorrectS3(&argstr))
+    {
+        printf("\tMarshalStructS3ByVal_Cdecl: S3 param not as expected\n");
+        PrintS3(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.flag = false;
+    const char* strSource = "change string";
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        argstr.vals[i-1] = i;
+    }
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS3ByVal_StdCall(S3 argstr)
+{
+    //Check the Input    
+    if(!IsCorrectS3(&argstr))
+    {
+        printf("\tMarshalStructS3ByVal_StdCall: S3 param not as expected\n");
+        PrintS3(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.flag = false;
+    const char* strSource = "change string";
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        argstr.vals[i-1] = i;
+    }
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *S3ByValCdeclCaller)(S3 cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS3ByVal_Cdecl(S3ByValCdeclCaller caller)
+{
+    //Init
+    S3 argstr;
+
+    argstr.flag = false;
+    const char* strSource = "change string";
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        argstr.vals[i-1] = i;
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS3ByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    int iflag = 0;
+    if(argstr.flag || strcmp((char*)argstr.str,"change string") != 0)
+        return false;
+    for (int i = 1; i < 257; i++)
+    {
+        if (argstr.vals[i-1] != i)
+        {
+            printf("\tThe Index of %i is not expected",i);
+            iflag++;
+        }
+    }
+    if (iflag != 0)
+    {
+        return false;
+    }
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S3ByValStdCallCaller)(S3 cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS3ByVal_StdCall(S3ByValStdCallCaller caller)
+{
+    //Init
+    S3 argstr;
+
+    argstr.flag = false;
+    const char* strSource = "change string";
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        argstr.vals[i-1] = i;
+    }
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS3ByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    int iflag = 0;
+    if(argstr.flag || strcmp((char*)argstr.str,"change string") != 0)
+        return false;
+    for (int i = 1; i < 257; i++)
+    {
+        if (argstr.vals[i-1] != i)
+        {
+            printf("\tThe Index of %i is not expected",i);
+            iflag++;
+        }
+    }
+    if (iflag != 0)
+    {
+        return false;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *S3DelegatePInvokeByValCdeclCaller)(S3 cs);
+extern "C" DLL_EXPORT S3DelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructS3ByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructS3ByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *S3DelegatePInvokeByValStdCallCaller)(S3 cs);
+extern "C" DLL_EXPORT S3DelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructS3ByVal_StdCall_FuncPtr()
+{
+    return MarshalStructS3ByVal_StdCall;
+}
+
+
+
+///////////////////////////////////////////Methods for S5 struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS5ByRef_Cdecl(S5* argstr)
+{
+    if(!IsCorrectS5(argstr))
+    {
+        printf("\tMarshalStructS5ByRef_Cdecl: S5 param not as expected\n");
+        PrintS5(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeS5(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS5ByRef_StdCall(S5* argstr)
+{
+    if(!IsCorrectS5(argstr))
+    {
+        printf("\tMarshalStructS5ByRef_StdCall: S5 param not as expected\n");
+        PrintS5(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeS5(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *S5ByRefCdeclCaller)(S5* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS5ByRef_Cdecl(S5ByRefCdeclCaller caller)
+{
+    //Init
+    S5 argstr;
+
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";    
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.s4.name = temp;
+    }
+    argstr.s4.age = 64;
+    argstr.ef = eInstance;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS5ByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectS5(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructS5ByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S5ByRefStdCallCaller)(S5* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS5ByRef_StdCall(S5ByRefStdCallCaller caller)
+{
+    //Init
+    S5 argstr;
+
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";    
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.s4.name = temp;
+    }
+    argstr.s4.age = 64;
+    argstr.ef = eInstance;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS5ByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectS5(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructS5ByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *S5DelegatePInvokeByRefCdeclCaller)(S5* pcs);
+extern "C" DLL_EXPORT S5DelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructS5ByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructS5ByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *S5DelegatePInvokeByRefStdCallCaller)(S5* pcs);
+extern "C" DLL_EXPORT S5DelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructS5ByRef_StdCall_FuncPtr()
+{
+    return MarshalStructS5ByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS5ByVal_Cdecl(S5 argstr)
+{
+    //Check the Input    
+    if(!IsCorrectS5(&argstr))
+    {
+        printf("\tMarshalStructS5ByVal_Cdecl: S5 param not as expected\n");
+        PrintS5(&argstr,"argstr");
+        return FALSE;
+    }
+
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";    
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.s4.name = temp;
+    }
+    argstr.s4.age = 64;
+    argstr.ef = eInstance;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS5ByVal_StdCall(S5 argstr)
+{
+    //Check the Input    
+    if(!IsCorrectS5(&argstr))
+    {
+        printf("\tMarshalStructS5ByVal_StdCall: S5 param not as expected\n");
+        PrintS5(&argstr,"argstr");
+        return FALSE;
+    }
+
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";    
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.s4.name = temp;
+    }
+    argstr.s4.age = 64;
+    argstr.ef = eInstance;
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *S5ByValCdeclCaller)(S5 cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS5ByVal_Cdecl(S5ByValCdeclCaller caller)
+{
+    //Init
+    S5 argstr{};
+
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";    
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.s4.name = temp;
+    }
+    argstr.s4.age = 64;
+    argstr.ef = eInstance;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS5ByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.s4.age != 64 || strcmp((char*)argstr.s4.name,"change string") != 0)
+        return false;
+    if(argstr.ef != eInstance)
+    {
+        return false;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S5ByValStdCallCaller)(S5 cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS5ByVal_StdCall(S5ByValStdCallCaller caller)
+{
+    //Init
+    S5 argstr{};
+
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";    
+    size_t len =strlen(strSource) + 1;
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*len);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,len,strSource);
+        argstr.s4.name = temp;
+    }
+    argstr.s4.age = 64;
+    argstr.ef = eInstance;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS5ByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.s4.age != 64 || strcmp((char*)argstr.s4.name,"change string") != 0)
+        return false;
+    if(argstr.ef != eInstance)
+    {
+        return false;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *S5DelegatePInvokeByValCdeclCaller)(S5 cs);
+extern "C" DLL_EXPORT S5DelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructS5ByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructS5ByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *S5DelegatePInvokeByValStdCallCaller)(S5 cs);
+extern "C" DLL_EXPORT S5DelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructS5ByVal_StdCall_FuncPtr()
+{
+    return MarshalStructS5ByVal_StdCall;
+}
+
+
+///////////////////////////////////////////Methods for StringStructSequentialAnsi struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructStringStructSequentialAnsiByRef_Cdecl(StringStructSequentialAnsi* argstr)
+{
+    if(!IsCorrectStringStructSequentialAnsi(argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialAnsiByRef_Cdecl: StringStructSequentialAnsi param not as expected\n");
+        PrintStringStructSequentialAnsi(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeStringStructSequentialAnsi(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructStringStructSequentialAnsiByRef_StdCall(StringStructSequentialAnsi* argstr)
+{
+    if(!IsCorrectStringStructSequentialAnsi(argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialAnsiByRef_StdCall: StringStructSequentialAnsi param not as expected\n");
+        PrintStringStructSequentialAnsi(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeStringStructSequentialAnsi(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *StringStructSequentialAnsiByRefCdeclCaller)(StringStructSequentialAnsi* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructStringStructSequentialAnsiByRef_Cdecl(StringStructSequentialAnsiByRefCdeclCaller caller)
+{
+    //Init
+    StringStructSequentialAnsi argstr;
+
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+    argstr.first = newFirst;    
+    argstr.last = newLast;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialAnsiByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectStringStructSequentialAnsi(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructStringStructSequentialAnsiByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *StringStructSequentialAnsiByRefStdCallCaller)(StringStructSequentialAnsi* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructStringStructSequentialAnsiByRef_StdCall(StringStructSequentialAnsiByRefStdCallCaller caller)
+{
+    //Init
+    StringStructSequentialAnsi argstr;
+
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+    argstr.first = newFirst;    
+    argstr.last = newLast;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialAnsiByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectStringStructSequentialAnsi(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructStringStructSequentialAnsiByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *StringStructSequentialAnsiDelegatePInvokeByRefCdeclCaller)(StringStructSequentialAnsi* pcs);
+extern "C" DLL_EXPORT StringStructSequentialAnsiDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructStringStructSequentialAnsiByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructStringStructSequentialAnsiByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *StringStructSequentialAnsiDelegatePInvokeByRefStdCallCaller)(StringStructSequentialAnsi* pcs);
+extern "C" DLL_EXPORT StringStructSequentialAnsiDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructStringStructSequentialAnsiByRef_StdCall_FuncPtr()
+{
+    return MarshalStructStringStructSequentialAnsiByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructStringStructSequentialAnsiByVal_Cdecl(StringStructSequentialAnsi argstr)
+{
+    //Check the Input    
+    if(!IsCorrectStringStructSequentialAnsi(&argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialAnsiByVal_Cdecl: StringStructSequentialAnsi param not as expected\n");
+        PrintStringStructSequentialAnsi(&argstr,"argstr");
+        return FALSE;
+    }
+
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+    argstr.first = newFirst;    
+    argstr.last = newLast;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructStringStructSequentialAnsiByVal_StdCall(StringStructSequentialAnsi argstr)
+{
+    //Check the Input    
+    if(!IsCorrectStringStructSequentialAnsi(&argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialAnsiByVal_StdCall: StringStructSequentialAnsi param not as expected\n");
+        PrintStringStructSequentialAnsi(&argstr,"argstr");
+        return FALSE;
+    }
+
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+    argstr.first = newFirst;    
+    argstr.last = newLast;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *StringStructSequentialAnsiByValCdeclCaller)(StringStructSequentialAnsi cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructStringStructSequentialAnsiByVal_Cdecl(StringStructSequentialAnsiByValCdeclCaller caller)
+{
+    //Init
+    StringStructSequentialAnsi argstr;
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+    argstr.first = newFirst;    
+    argstr.last = newLast;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialAnsiByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(memcmp(argstr.first,newFirst,512)!= 0)
+        return false;
+    if(memcmp(argstr.last,newLast,512)!= 0)
+        return false;
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *StringStructSequentialAnsiByValStdCallCaller)(StringStructSequentialAnsi cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructStringStructSequentialAnsiByVal_StdCall(StringStructSequentialAnsiByValStdCallCaller caller)
+{
+    //Init
+    StringStructSequentialAnsi argstr;
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+    argstr.first = newFirst;    
+    argstr.last = newLast;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialAnsiByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(memcmp(argstr.first,newFirst,512)!= 0)
+        return false;
+    if(memcmp(argstr.last,newLast,512)!= 0)
+        return false;
+
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *StringStructSequentialAnsiDelegatePInvokeByValCdeclCaller)(StringStructSequentialAnsi cs);
+extern "C" DLL_EXPORT StringStructSequentialAnsiDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructStringStructSequentialAnsiByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructStringStructSequentialAnsiByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *StringStructSequentialAnsiDelegatePInvokeByValStdCallCaller)(StringStructSequentialAnsi cs);
+extern "C" DLL_EXPORT StringStructSequentialAnsiDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructStringStructSequentialAnsiByVal_StdCall_FuncPtr()
+{
+    return MarshalStructStringStructSequentialAnsiByVal_StdCall;
+}
+
+
+
+
+///////////////////////////////////////////Methods for StringStructSequentialUnicode struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructStringStructSequentialUnicodeByRef_Cdecl(StringStructSequentialUnicode* argstr)
+{
+    if(!IsCorrectStringStructSequentialUnicode(argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialUnicodeByRef_Cdecl: StringStructSequentialUnicode param not as expected\n");
+        PrintStringStructSequentialUnicode(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeStringStructSequentialUnicode(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructStringStructSequentialUnicodeByRef_StdCall(StringStructSequentialUnicode* argstr)
+{
+    if(!IsCorrectStringStructSequentialUnicode(argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialUnicodeByRef_StdCall: StringStructSequentialUnicode param not as expected\n");
+        PrintStringStructSequentialUnicode(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeStringStructSequentialUnicode(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *StringStructSequentialUnicodeByRefCdeclCaller)(StringStructSequentialUnicode* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructStringStructSequentialUnicodeByRef_Cdecl(StringStructSequentialUnicodeByRefCdeclCaller caller)
+{
+    //Init
+    StringStructSequentialUnicode argstr;
+
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    argstr.first = (const WCHAR*)newFirst;
+    argstr.last = (const WCHAR*)newLast;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialUnicodeByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectStringStructSequentialUnicode(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructStringStructSequentialUnicodeByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *StringStructSequentialUnicodeByRefStdCallCaller)(StringStructSequentialUnicode* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructStringStructSequentialUnicodeByRef_StdCall(StringStructSequentialUnicodeByRefStdCallCaller caller)
+{
+    //Init
+    StringStructSequentialUnicode argstr;
+
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    argstr.first = (const WCHAR*)newFirst;
+    argstr.last = (const WCHAR*)newLast;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialUnicodeByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectStringStructSequentialUnicode(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructStringStructSequentialUnicodeByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *StringStructSequentialUnicodeDelegatePInvokeByRefCdeclCaller)(StringStructSequentialUnicode* pcs);
+extern "C" DLL_EXPORT StringStructSequentialUnicodeDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructStringStructSequentialUnicodeByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructStringStructSequentialUnicodeByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *StringStructSequentialUnicodeDelegatePInvokeByRefStdCallCaller)(StringStructSequentialUnicode* pcs);
+extern "C" DLL_EXPORT StringStructSequentialUnicodeDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructStringStructSequentialUnicodeByRef_StdCall_FuncPtr()
+{
+    return MarshalStructStringStructSequentialUnicodeByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructStringStructSequentialUnicodeByVal_Cdecl(StringStructSequentialUnicode argstr)
+{
+    //Check the Input    
+    if(!IsCorrectStringStructSequentialUnicode(&argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialUnicodeByVal_Cdecl: StringStructSequentialUnicode param not as expected\n");
+        PrintStringStructSequentialUnicode(&argstr,"argstr");
+        return FALSE;
+    }
+
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    argstr.first = (const WCHAR*)newFirst;
+    argstr.last = (const WCHAR*)newLast;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructStringStructSequentialUnicodeByVal_StdCall(StringStructSequentialUnicode argstr)
+{
+    //Check the Input    
+    if(!IsCorrectStringStructSequentialUnicode(&argstr))
+    {
+        printf("\tMarshalStructStringStructSequentialUnicodeByVal_StdCall: StringStructSequentialUnicode param not as expected\n");
+        PrintStringStructSequentialUnicode(&argstr,"argstr");
+        return FALSE;
+    }
+
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    argstr.first = (const WCHAR*)newFirst;
+    argstr.last = (const WCHAR*)newLast;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *StringStructSequentialUnicodeByValCdeclCaller)(StringStructSequentialUnicode cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructStringStructSequentialUnicodeByVal_Cdecl(StringStructSequentialUnicodeByValCdeclCaller caller)
+{
+    //Init
+    StringStructSequentialUnicode argstr;
+
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    argstr.first = (const WCHAR*)newFirst;
+    argstr.last = (const WCHAR*)newLast;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialUnicodeByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(memcmp(argstr.first,newFirst,256*sizeof(WCHAR)) != 0)
+        return false;
+    if(memcmp(argstr.last,newLast,256*sizeof(WCHAR)) != 0)
+        return false;
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *StringStructSequentialUnicodeByValStdCallCaller)(StringStructSequentialUnicode cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructStringStructSequentialUnicodeByVal_StdCall(StringStructSequentialUnicodeByValStdCallCaller caller)
+{
+    //Init
+    StringStructSequentialUnicode argstr;
+
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    argstr.first = (const WCHAR*)newFirst;
+    argstr.last = (const WCHAR*)newLast;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructStringStructSequentialUnicodeByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(memcmp(argstr.first,newFirst,256*sizeof(WCHAR)) != 0)
+        return false;
+    if(memcmp(argstr.last,newLast,256*sizeof(WCHAR)) != 0)
+        return false;
+
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *StringStructSequentialUnicodeDelegatePInvokeByValCdeclCaller)(StringStructSequentialUnicode cs);
+extern "C" DLL_EXPORT StringStructSequentialUnicodeDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructStringStructSequentialUnicodeByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructStringStructSequentialUnicodeByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *StringStructSequentialUnicodeDelegatePInvokeByValStdCallCaller)(StringStructSequentialUnicode cs);
+extern "C" DLL_EXPORT StringStructSequentialUnicodeDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructStringStructSequentialUnicodeByVal_StdCall_FuncPtr()
+{
+    return MarshalStructStringStructSequentialUnicodeByVal_StdCall;
+}
+
+
+
+
+///////////////////////////////////////////Methods for S8 struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS8ByRef_Cdecl(S8* argstr)
+{
+    if(!IsCorrectS8(argstr))
+    {
+        printf("\tMarshalStructS8ByRef_Cdecl: S8 param not as expected\n");
+        PrintS8(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeS8(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS8ByRef_StdCall(S8* argstr)
+{
+    if(!IsCorrectS8(argstr))
+    {
+        printf("\tMarshalStructS8ByRef_StdCall: S8 param not as expected\n");
+        PrintS8(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeS8(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *S8ByRefCdeclCaller)(S8* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS8ByRef_Cdecl(S8ByRefCdeclCaller caller)
+{
+    //Init
+    S8 argstr;
+
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    argstr.gender = false;
+    argstr.jobNum = 1;
+    argstr.i32 = 256;
+    argstr.ui32 = 256;
+    argstr.mySByte = 64;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS8ByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectS8(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructS8ByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S8ByRefStdCallCaller)(S8* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS8ByRef_StdCall(S8ByRefStdCallCaller caller)
+{
+    //Init
+    S8 argstr;
+
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    argstr.gender = false;
+    argstr.jobNum = 1;
+    argstr.i32 = 256;
+    argstr.ui32 = 256;
+    argstr.mySByte = 64;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS8ByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectS8(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructS8ByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *S8DelegatePInvokeByRefCdeclCaller)(S8* pcs);
+extern "C" DLL_EXPORT S8DelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructS8ByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructS8ByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *S8DelegatePInvokeByRefStdCallCaller)(S8* pcs);
+extern "C" DLL_EXPORT S8DelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructS8ByRef_StdCall_FuncPtr()
+{
+    return MarshalStructS8ByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS8ByVal_Cdecl(S8 argstr)
+{
+    //Check the Input    
+    if(!IsCorrectS8(&argstr))
+    {
+        printf("\tMarshalStructS8ByVal_Cdecl: S8 param not as expected\n");
+        PrintS8(&argstr,"argstr");
+        return FALSE;
+    }
+
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    argstr.gender = false;
+    argstr.jobNum = 1;
+    argstr.i32 = 256;
+    argstr.ui32 = 256;
+    argstr.mySByte = 64;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS8ByVal_StdCall(S8 argstr)
+{
+    //Check the Input    
+    if(!IsCorrectS8(&argstr))
+    {
+        printf("\tMarshalStructS8ByVal_StdCall: S8 param not as expected\n");
+        PrintS8(&argstr,"argstr");
+        return FALSE;
+    }
+
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    argstr.gender = false;
+    argstr.jobNum = 1;
+    argstr.i32 = 256;
+    argstr.ui32 = 256;
+    argstr.mySByte = 64;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *S8ByValCdeclCaller)(S8 cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS8ByVal_Cdecl(S8ByValCdeclCaller caller)
+{
+    //Init
+    S8 argstr{};
+
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    argstr.gender = false;
+    argstr.jobNum = 1;
+    argstr.i32 = 256;
+    argstr.ui32 = 256;
+    argstr.mySByte = 64;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS8ByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(memcmp( argstr.name,"world", strlen("world")*sizeof(char)+1 )!= 0)
+        return false;
+    if(argstr.gender)
+        return false;
+    if(argstr.jobNum != 1)
+        return false;
+    if(argstr.i32!= 256 || argstr.ui32 != 256)
+        return false;
+    if(argstr.mySByte != 64)
+        return false;
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S8ByValStdCallCaller)(S8 cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS8ByVal_StdCall(S8ByValStdCallCaller caller)
+{
+    //Init
+    S8 argstr{};
+
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        argstr.name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    argstr.gender = false;
+    argstr.jobNum = 1;
+    argstr.i32 = 256;
+    argstr.ui32 = 256;
+    argstr.mySByte = 64;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS8ByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(memcmp( argstr.name,"world", strlen("world")*sizeof(char)+1 )!= 0)
+        return false;
+    if(argstr.gender)
+        return false;
+    if(argstr.jobNum != 1)
+        return false;
+    if(argstr.i32!= 256 || argstr.ui32 != 256)
+        return false;
+    if(argstr.mySByte != 64)
+        return false;
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *S8DelegatePInvokeByValCdeclCaller)(S8 cs);
+extern "C" DLL_EXPORT S8DelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructS8ByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructS8ByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *S8DelegatePInvokeByValStdCallCaller)(S8 cs);
+extern "C" DLL_EXPORT S8DelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructS8ByVal_StdCall_FuncPtr()
+{
+    return MarshalStructS8ByVal_StdCall;
+}
+
+
+
+///////////////////////////////////////////Methods for S9 struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT void NtestMethod(S9 str1)
+{
+    printf("\tAction of the delegate");
+}
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS9ByRef_Cdecl(S9* argstr)
+{
+    if(argstr->i32 != 128 ||
+        argstr->myDelegate1 == NULL)
+    {
+        printf("\tMarshalStructS9ByRef_Cdecl: S9 param not as expected\n");
+        return FALSE;
+    }
+    argstr->i32 = 256;
+    argstr->myDelegate1 = NULL;
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS9ByRef_StdCall(S9* argstr)
+{
+    if(argstr->i32 != 128 ||
+        argstr->myDelegate1 == NULL)
+    {
+        printf("\tMarshalStructS9ByRef_StdCall: S9 param not as expected\n");
+        return FALSE;
+    }
+    argstr->i32 = 256;
+    argstr->myDelegate1 = NULL;
+    return TRUE;
+}
+typedef BOOL (_cdecl *S9ByRefCdeclCaller)(S9* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS9ByRef_Cdecl(S9ByRefCdeclCaller caller)
+{
+    //Init
+    S9 argstr;
+
+    argstr.i32 = 256;
+    argstr.myDelegate1 = NULL;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS9ByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(argstr.i32 != 128 ||
+        argstr.myDelegate1 == NULL)
+    {
+        printf("The parameter for DoCallBack_MarshalStructS9ByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S9ByRefStdCallCaller)(S9* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS9ByRef_StdCall(S9ByRefStdCallCaller caller)
+{
+    //Init
+    S9 argstr;
+
+    argstr.i32 = 256;
+    argstr.myDelegate1 = NULL;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS9ByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(argstr.i32 != 128 ||
+        argstr.myDelegate1 == NULL)
+    {
+        printf("The parameter for DoCallBack_MarshalStructS9ByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *S9DelegatePInvokeByRefCdeclCaller)(S9* pcs);
+extern "C" DLL_EXPORT S9DelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructS9ByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructS9ByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *S9DelegatePInvokeByRefStdCallCaller)(S9* pcs);
+extern "C" DLL_EXPORT S9DelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructS9ByRef_StdCall_FuncPtr()
+{
+    return MarshalStructS9ByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS9ByVal_Cdecl(S9 argstr)
+{
+    //Check the Input    
+    if(argstr.i32 != 128 ||
+        argstr.myDelegate1 == NULL)
+    {
+        printf("\tMarshalStructS9ByVal_Cdecl: S9 param not as expected\n");
+        return FALSE;
+    }
+    argstr.i32 = 256;
+    argstr.myDelegate1 = NULL;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS9ByVal_StdCall(S9 argstr)
+{
+    //Check the Input    
+    if(argstr.i32 != 128 ||
+        argstr.myDelegate1 == NULL)
+    {
+        printf("\tMarshalStructS9ByVal_StdCall: S9 param not as expected\n");
+        return FALSE;
+    }
+
+    argstr.i32 = 256;
+    argstr.myDelegate1 = NULL;
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *S9ByValCdeclCaller)(S9 cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS9ByVal_Cdecl(S9ByValCdeclCaller caller)
+{
+    //Init
+    S9 argstr;
+
+    argstr.i32 = 256;
+    argstr.myDelegate1 = NULL;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS9ByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.i32 != 256 || argstr.myDelegate1 != NULL)
+        return false;
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S9ByValStdCallCaller)(S9 cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS9ByVal_StdCall(S9ByValStdCallCaller caller)
+{
+    //Init
+    S9 argstr;
+
+    argstr.i32 = 256;
+    argstr.myDelegate1 = NULL;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS9ByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.i32 != 256 || argstr.myDelegate1 != NULL)
+        return false;
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *S9DelegatePInvokeByValCdeclCaller)(S9 cs);
+extern "C" DLL_EXPORT S9DelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructS9ByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructS9ByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *S9DelegatePInvokeByValStdCallCaller)(S9 cs);
+extern "C" DLL_EXPORT S9DelegatePInvokeByValStdCallCaller _cdecl Get_MarshalStructS9ByVal_StdCall_FuncPtr()
+{
+    return MarshalStructS9ByVal_StdCall;
+}
+
+///////////////////////////////////////////Methods for IncludeOuterIntergerStructSequential struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructIncludeOuterIntergerStructSequentialByRef_Cdecl(IncludeOuterIntergerStructSequential* argstr)
+{
+    if(!IsCorrectIncludeOuterIntergerStructSequential(argstr))
+    {
+        printf("\tMarshalStructIncludeOuterIntergerStructSequentialByRef_Cdecl: IncludeOuterIntergerStructSequential param not as expected\n");
+        PrintIncludeOuterIntergerStructSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeIncludeOuterIntergerStructSequential(argstr);
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructIncludeOuterIntergerStructSequentialByRef_StdCall(IncludeOuterIntergerStructSequential* argstr)
+{
+    if(!IsCorrectIncludeOuterIntergerStructSequential(argstr))
+    {
+        printf("\tMarshalStructIncludeOuterIntergerStructSequentialByRef_StdCall: IncludeOuterIntergerStructSequential param not as expected\n");
+        PrintIncludeOuterIntergerStructSequential(argstr,"argstr");
+        return FALSE;
+    }
+    ChangeIncludeOuterIntergerStructSequential(argstr);
+    return TRUE;
+}
+typedef BOOL (_cdecl *IncludeOuterIntergerStructSequentialByRefCdeclCaller)(IncludeOuterIntergerStructSequential* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByRef_Cdecl(IncludeOuterIntergerStructSequentialByRefCdeclCaller caller)
+{
+    //Init
+    IncludeOuterIntergerStructSequential argstr;
+
+    argstr.s.s_int.i = 64;
+    argstr.s.i = 64;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectIncludeOuterIntergerStructSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *IncludeOuterIntergerStructSequentialByRefStdCallCaller)(IncludeOuterIntergerStructSequential* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByRef_StdCall(IncludeOuterIntergerStructSequentialByRefStdCallCaller caller)
+{
+    //Init
+    IncludeOuterIntergerStructSequential argstr;
+
+    argstr.s.s_int.i = 64;
+    argstr.s.i = 64;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(!IsCorrectIncludeOuterIntergerStructSequential(&argstr))
+    {
+        printf("The parameter for DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *IncludeOuterIntergerStructSequentialDelegatePInvokeByRefCdeclCaller)(IncludeOuterIntergerStructSequential* pcs);
+extern "C" DLL_EXPORT IncludeOuterIntergerStructSequentialDelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructIncludeOuterIntergerStructSequentialByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructIncludeOuterIntergerStructSequentialByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *IncludeOuterIntergerStructSequentialDelegatePInvokeByRefStdCallCaller)(IncludeOuterIntergerStructSequential* pcs);
+extern "C" DLL_EXPORT IncludeOuterIntergerStructSequentialDelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructIncludeOuterIntergerStructSequentialByRef_StdCall_FuncPtr()
+{
+    return MarshalStructIncludeOuterIntergerStructSequentialByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructIncludeOuterIntergerStructSequentialByVal_Cdecl(IncludeOuterIntergerStructSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectIncludeOuterIntergerStructSequential(&argstr))
+    {
+        printf("\tMarshalStructIncludeOuterIntergerStructSequentialByVal_Cdecl: IncludeOuterIntergerStructSequential param not as expected\n");
+        PrintIncludeOuterIntergerStructSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.s.s_int.i = 64;
+    argstr.s.i = 64;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructIncludeOuterIntergerStructSequentialByVal_StdCall(IncludeOuterIntergerStructSequential argstr)
+{
+    //Check the Input    
+    if(!IsCorrectIncludeOuterIntergerStructSequential(&argstr))
+    {
+        printf("\tMarshalStructIncludeOuterIntergerStructSequentialByVal_StdCall: IncludeOuterIntergerStructSequential param not as expected\n");
+        PrintIncludeOuterIntergerStructSequential(&argstr,"argstr");
+        return FALSE;
+    }
+
+    argstr.s.s_int.i = 64;
+    argstr.s.i = 64;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *IncludeOuterIntergerStructSequentialByValCdeclCaller)(IncludeOuterIntergerStructSequential cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByVal_Cdecl(IncludeOuterIntergerStructSequentialByValCdeclCaller caller)
+{
+    //Init
+    IncludeOuterIntergerStructSequential argstr;
+
+    argstr.s.s_int.i = 64;
+    argstr.s.i = 64;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.s.s_int.i != 64)
+        return false;
+    if(argstr.s.i != 64)
+        return false;
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *IncludeOuterIntergerStructSequentialByValStdCallCaller)(IncludeOuterIntergerStructSequential cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByVal_StdCall(IncludeOuterIntergerStructSequentialByValStdCallCaller caller)
+{
+    //Init
+    IncludeOuterIntergerStructSequential argstr;
+
+    argstr.s.s_int.i = 64;
+    argstr.s.i = 64;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructIncludeOuterIntergerStructSequentialByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.s.s_int.i != 64)
+        return false;
+    if(argstr.s.i != 64)
+        return false;
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *IncludeOuterIntergerStructSequentialDelegatePInvokeByValCdeclCaller)(IncludeOuterIntergerStructSequential cs);
+extern "C" DLL_EXPORT IncludeOuterIntergerStructSequentialDelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructIncludeOuterIntergerStructSequentialByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructIncludeOuterIntergerStructSequentialByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *IncludeOuterIntergerStructSequentialDelegatePInvokeByValStdCallCaller)(IncludeOuterIntergerStructSequential cs);
+extern "C" DLL_EXPORT IncludeOuterIntergerStructSequentialDelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructIncludeOuterIntergerStructSequentialByVal_StdCall_FuncPtr()
+{
+    return MarshalStructIncludeOuterIntergerStructSequentialByVal_StdCall;
+}
+
+///////////////////////////////////////////Methods for S11 struct////////////////////////////////////////////////////
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS11ByRef_Cdecl(S11* argstr)
+{
+    if(argstr->i32 != (LPINT)(32) || argstr->i != 32)
+    {
+        printf("\tMarshalStructS11ByRef_Cdecl: S11 param not as expected\n");
+        return FALSE;
+    }
+    argstr->i32 = (LPINT)(64);
+    argstr->i = 64;
+    return TRUE;
+}
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS11ByRef_StdCall(S11* argstr)
+{
+    if(argstr->i32 != (LPINT)(32) || argstr->i != 32)
+    {
+        printf("\tMarshalStructS11ByRef_StdCall: S11 param not as expected\n");
+        return FALSE;
+    }
+    argstr->i32 = (LPINT)(64);
+    argstr->i = 64;
+    return TRUE;
+}
+typedef BOOL (_cdecl *S11ByRefCdeclCaller)(S11* pcs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS11ByRef_Cdecl(S11ByRefCdeclCaller caller)
+{
+    //Init
+    S11 argstr;
+
+    argstr.i32 = (LPINT)(64);
+    argstr.i = 64;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS11ByRef_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(argstr.i32 != (LPINT)32 || argstr.i != 32)
+    {
+        printf("The parameter for DoCallBack_MarshalStructS11ByRef_Cdecl is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S11ByRefStdCallCaller)(S11* pcs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS11ByRef_StdCall(S11ByRefStdCallCaller caller)
+{
+    //Init
+    S11 argstr;
+
+    argstr.i32 = (LPINT)(64);
+    argstr.i = 64;
+
+    if(!caller(&argstr))
+    {
+        printf("DoCallBack_MarshalStructS11ByRef_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+    //Verify the value unchanged
+    if(argstr.i32 != (LPINT)(32) || argstr.i != 32)
+    {
+        printf("The parameter for DoCallBack_MarshalStructS11ByRef_StdCall is wrong\n");
+        return FALSE;
+    }
+    return TRUE;
+}
+//Delegate PInvoke,passbyref
+typedef BOOL (_cdecl *S11DelegatePInvokeByRefCdeclCaller)(S11* pcs);
+extern "C" DLL_EXPORT S11DelegatePInvokeByRefCdeclCaller _cdecl Get_MarshalStructS11ByRef_Cdecl_FuncPtr()
+{
+    return MarshalStructS11ByRef_Cdecl;            
+}
+
+typedef BOOL (__stdcall *S11DelegatePInvokeByRefStdCallCaller)(S11* pcs);
+extern "C" DLL_EXPORT S11DelegatePInvokeByRefStdCallCaller __stdcall Get_MarshalStructS11ByRef_StdCall_FuncPtr()
+{
+    return MarshalStructS11ByRef_StdCall;
+}
+
+
+//Passby value
+extern "C" DLL_EXPORT BOOL _cdecl MarshalStructS11ByVal_Cdecl(S11 argstr)
+{
+    //Check the Input    
+    if(argstr.i32 != (LPINT)(32) || argstr.i != 32)
+    {
+        printf("\tMarshalStructS11ByVal_Cdecl: S11 param not as expected\n");
+        return FALSE;
+    }
+
+    argstr.i32 = (LPINT)(64);
+    argstr.i = 64;
+
+    return TRUE;
+}
+
+extern "C" DLL_EXPORT BOOL __stdcall MarshalStructS11ByVal_StdCall(S11 argstr)
+{
+    //Check the Input    
+    if(argstr.i32 != (LPINT)(32) || argstr.i != 32)
+    {
+        printf("\tMarshalStructS11ByVal_StdCall: S11 param not as expected\n");
+        return FALSE;
+    }
+
+    argstr.i32 = (LPINT)(64);
+    argstr.i = 64;
+
+    return TRUE;
+}
+
+typedef BOOL (_cdecl *S11ByValCdeclCaller)(S11 cs);
+extern "C" DLL_EXPORT BOOL _cdecl DoCallBack_MarshalStructS11ByVal_Cdecl(S11ByValCdeclCaller caller)
+{
+    //Init
+    S11 argstr;
+
+    argstr.i32 = (LPINT)(64);
+    argstr.i = 64;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS11ByVal_Cdecl:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.i32 != (LPINT)(64) || argstr.i != 64)
+        return false;
+
+    return TRUE;
+}
+
+typedef BOOL (__stdcall *S11ByValStdCallCaller)(S11 cs);
+extern "C" DLL_EXPORT BOOL __stdcall DoCallBack_MarshalStructS11ByVal_StdCall(S11ByValStdCallCaller caller)
+{
+    //Init
+    S11 argstr;
+
+    argstr.i32 = (LPINT)(64);
+    argstr.i = 64;
+
+    if(!caller(argstr))
+    {
+        printf("DoCallBack_MarshalStructS11ByVal_StdCall:The Caller returns wrong value\n");
+        return FALSE;
+    }
+
+    //Verify the value unchanged
+    if(argstr.i32 != (LPINT)(64) || argstr.i != 64)
+        return false;
+    return TRUE;
+}
+//Delegate PInvoke,passbyval
+typedef BOOL (_cdecl *S11DelegatePInvokeByValCdeclCaller)(S11 cs);
+extern "C" DLL_EXPORT S11DelegatePInvokeByValCdeclCaller _cdecl Get_MarshalStructS11ByVal_Cdecl_FuncPtr()
+{
+    return MarshalStructS11ByVal_Cdecl;
+}
+
+typedef BOOL (__stdcall *S11DelegatePInvokeByValStdCallCaller)(S11 cs);
+extern "C" DLL_EXPORT S11DelegatePInvokeByValStdCallCaller __stdcall Get_MarshalStructS11ByVal_StdCall_FuncPtr()
+{
+    return MarshalStructS11ByVal_StdCall;
+}
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/SeqStructDelRevPInvokeNative.h b/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/SeqStructDelRevPInvokeNative.h
new file mode 100644 (file)
index 0000000..6022d5a
--- /dev/null
@@ -0,0 +1,881 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <xplatform.h>
+const int NumArrElements = 2;
+struct InnerSequential
+{
+    int f1;
+    float f2;
+    LPCSTR f3;
+};
+
+void PrintInnerSequential(InnerSequential* p, const char* name)
+{
+    printf("\t%s.f1 = %d\n", name, p->f1);
+    printf("\t%s.f2 = %f\n", name, p->f2);
+    printf("\t%s.f3 = %s\n", name, p->f3);
+}
+
+void ChangeInnerSequential(InnerSequential* p)
+{
+    p->f1 = 77;
+    p->f2 = 77.0;
+
+    const char* lpstr = "changed string";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        p->f3 = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+}
+
+bool IsCorrectInnerSequential(InnerSequential* p)
+{
+    if(p->f1 != 1)
+        return false;
+    if(p->f2 != 1.0)
+        return false;
+    if( strcmp((char*)p->f3,"some string") != 0 )
+        return false;
+    return true;
+}
+
+struct INNER2 // size = 12 bytes
+{
+    INT f1;
+    FLOAT f2;
+    LPCSTR f3;
+};
+
+void ChangeINNER2(INNER2* p)
+{
+    p->f1 = 77;
+    p->f2 = 77.0;
+    const char*  temp = "changed string";
+    size_t len = strlen(temp);
+    LPCSTR str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    strcpy_s((char*)str,len+1,temp);
+    p->f3 = str;
+}
+
+void PrintINNER2(INNER2* p, const char* name)
+{
+    printf("\t%s.f1 = %d\n", name, p->f1);
+    printf("\t%s.f2 = %f\n", name, p->f2);
+    printf("\t%s.f3 = %s\n", name, p->f3);
+}
+
+bool IsCorrectINNER2(INNER2* p)
+{
+    if(p->f1 != 1)
+        return false;
+    if(p->f2 != 1.0)
+        return false;
+    if(memcmp(p->f3, "some string",11*sizeof(char)) != 0 )
+        return false;
+    return true;
+}
+
+struct InnerExplicit 
+{
+#ifdef WINDOWS
+    union
+    {
+        INT f1;
+        FLOAT f2;
+    };
+    CHAR _unused0[4];
+    LPCSTR f3;
+#else
+    union
+    {
+        INT f1;
+        FLOAT f2;
+    };
+    INT _unused0;
+    LPCSTR f3;
+#endif 
+};
+
+void PrintInnerExplicit(InnerExplicit* p, const char* name)
+{
+    printf("\t%s.f1 = %d\n", name, p->f1);
+    printf("\t%s.f2 = %f\n", name, p->f2);
+    printf("\t%s.f3 = %s\n", name, p->f3);
+}
+
+void ChangeInnerExplicit(InnerExplicit* p)
+{
+    p->f1 = 77;
+
+    const char*  temp = "changed string";
+    size_t len = strlen(temp);
+    LPCSTR str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    strcpy_s((char*)str,len+1,temp);
+    p->f3 = str;
+}
+
+struct InnerArraySequential
+{
+    InnerSequential arr[NumArrElements];
+};
+
+void PrintInnerArraySequential(InnerArraySequential* p, const char* name)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        printf("\t%s.arr[%d].f1 = %d\n", name, i, (p->arr)[i].f1);
+        printf("\t%s.arr[%d].f2 = %f\n", name, i, (p->arr)[i].f2);
+        printf("\t%s.arr[%d].f2 = %s\n", name, i, (p->arr)[i].f3);
+    }
+}
+
+void ChangeInnerArraySequential(InnerArraySequential* p)
+{
+    const char* lpstr = "changed string";
+    LPSTR temp;
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        (p->arr)[i].f1 = 77;
+        (p->arr)[i].f2 = 77.0;
+
+        size_t size = sizeof(char) * (strlen(lpstr) + 1);
+        temp = (LPSTR)CoreClrAlloc( size );
+        memset(temp, 0, size);
+        if(temp)
+        {
+            strcpy_s((char*)temp,size,lpstr);
+            (p->arr)[i].f3 = temp;
+        }
+        else
+        {
+            printf("Memory Allocated Failed!");
+        }
+    }
+}
+
+bool IsCorrectInnerArraySequential(InnerArraySequential* p)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        if( (p->arr)[i].f1 != 1 )
+            return false;
+        if( (p->arr)[i].f2 != 1.0 )
+            return false;
+    }
+    return true;
+}
+
+#ifdef WINDOWS
+#ifdef _WIN64
+union OUTER3 // size = 32 bytes
+{
+    struct InnerSequential arr[2];
+    struct
+    {
+        CHAR _unused0[24];
+        LPCSTR f4;
+    };
+};
+#else
+struct OUTER3 // size = 28 bytes
+{
+    struct InnerSequential arr[2];
+    LPCSTR f4;
+};
+#endif
+#else
+struct OUTER3 // size = 28 bytes
+{
+    struct InnerSequential arr[2];
+    LPCSTR f4;
+};
+#endif
+
+void PrintOUTER3(OUTER3* p, const char* name)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        printf("\t%s.arr[%d].f1 = %d\n", name, i, (p->arr)[i].f1);
+        printf("\t%s.arr[%d].f2 = %f\n", name, i, (p->arr)[i].f2);
+        printf("\t%s.arr[%d].f3 = %s\n", name, i, (p->arr)[i].f3);
+    }
+    printf("\t%s.f4 = %s\n",name,p->f4);
+}
+
+void ChangeOUTER3(OUTER3* p)
+{
+    const char*  temp = "changed string";
+    size_t len = strlen(temp);
+    LPCSTR str = NULL;
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        (p->arr)[i].f1 = 77;
+        (p->arr)[i].f2 = 77.0;
+
+        str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+        strcpy_s((char*)str,len+1,temp);
+        (p->arr)[i].f3 = str;
+    }
+
+    str = (LPCSTR)CoreClrAlloc( sizeof(char)*(len+1) );
+    strcpy_s((char*)str,len+1,temp);
+    p->f4 = str;
+}
+
+bool IsCorrectOUTER3(OUTER3* p)
+{
+    for(int i = 0; i < NumArrElements; i++)
+    {
+        if( (p->arr)[i].f1 != 1 )
+            return false;
+        if( (p->arr)[i].f2 != 1.0 )
+            return false;
+        if( memcmp((p->arr)[i].f3, "some string",11*sizeof(char)) != 0 )
+            return false;
+    }
+    if(memcmp(p->f4,"some string",11*sizeof(char)) != 0)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct CharSetAnsiSequential
+{
+    LPCSTR f1;
+    char f2;
+};
+
+void PrintCharSetAnsiSequential(CharSetAnsiSequential* p, const char* name)
+{
+    printf("\t%s.f1 = %s\n", name, p->f1);
+    printf("\t%s.f2 = %c\n", name, p->f2);
+}
+
+void ChangeCharSetAnsiSequential(CharSetAnsiSequential* p)
+{
+    const char* strSource = "change string";
+    size_t size = strlen(strSource) + 1;
+    LPSTR temp = (LPSTR)CoreClrAlloc(size);
+    if(temp != NULL)
+    {
+        strcpy_s((char*)temp,size,strSource);
+        p->f1 = temp;
+        p->f2 = 'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+}
+
+bool IsCorrectCharSetAnsiSequential(CharSetAnsiSequential* p)
+{
+    if(strcmp((char*)p->f1, (char*)"some string") != 0 )
+        return false;
+    if(p->f2 != 'c')
+        return false;
+    return true;
+}
+
+
+struct CharSetUnicodeSequential 
+{
+    LPCWSTR f1;
+    WCHAR f2;
+};
+
+void PrintCharSetUnicodeSequential(CharSetUnicodeSequential* p, const char* name)
+{
+#ifdef _WIN32
+       wprintf(L"\t%S.first = %s\n", name, p->f1);
+       wprintf(L"\t%S.last = %c\n", name, p->f2);
+#else
+       wprintf(L"\t%s.first = %s\n", name, p->f1);
+       wprintf(L"\t%s.last = %c\n", name, p->f2);
+#endif
+}
+
+void ChangeCharSetUnicodeSequential(CharSetUnicodeSequential* p)
+{
+    LPCWSTR strSource = W("change string");
+    size_t len = wcslen(strSource);
+    LPCWSTR temp = (LPCWSTR)CoreClrAlloc(sizeof(WCHAR)*(len+1));
+    if(temp != NULL)
+    {
+        wcscpy_s((WCHAR*)temp, (len+1), strSource);
+        p->f1 = temp;
+        p->f2 = L'n';
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+}
+
+bool IsCorrectCharSetUnicodeSequential(CharSetUnicodeSequential* p)
+{
+    LPCWSTR expected= W("some string");
+    LPCWSTR actual = p->f1;
+    if(0 != wcscmp(actual, expected))
+    {
+        return false;
+    }
+    if(p->f2 != L'c')
+    {
+        return false;
+    }
+    return true;
+}
+
+struct NumberSequential // size = 64 bytes
+{
+    LONG64 i64;
+    ULONG64 ui64;
+    DOUBLE d;
+    INT i32;           
+    UINT ui32;         
+    SHORT s1;          
+    WORD us1;  
+    SHORT i16;         
+    WORD ui16;
+    FLOAT sgl;
+    BYTE b;                    
+    CHAR sb;             
+};
+
+void PrintNumberSequential(NumberSequential* str, const char* name)
+{
+    printf("\t%s.i32 = %d\n", name, str->i32);
+    printf("\t%s.ui32 = %d\n", name, str->ui32);
+    printf("\t%s.s1 = %d\n", name, str->s1);
+    printf("\t%s.us1 = %u\n", name, str->us1);
+    printf("\t%s.b = %u\n", name, str->b);
+    printf("\t%s.sb = %d\n", name, str->sb);
+    printf("\t%s.i16 = %d\n", name, str->i16);
+    printf("\t%s.ui16 = %u\n", name, str->ui16);
+    printf("\t%s.i64 = %lld\n", name, str->i64);
+    printf("\t%s.ui64 = %llu\n", name, str->ui64);
+    printf("\t%s.sgl = %f\n", name, str->sgl);
+    printf("\t%s.d = %f\n",name, str->d);
+}
+
+void ChangeNumberSequential(NumberSequential* p)
+{
+    p->i32 = 0;
+    p->ui32 = 32;
+    p->s1 = 0;
+    p->us1 = 16;
+    p->b = 0;
+    p->sb = 8;
+    p->i16 = 0;
+    p->ui16 = 16;
+    p->i64 = 0;
+    p->ui64 = 64;
+    p->sgl = 64.0;
+    p->d = 6.4;
+}
+
+bool IsCorrectNumberSequential(NumberSequential* p)
+{
+    if(p->i32 != INT_MIN || p->ui32 != 0xffffffff || p->s1 != -0x8000 || p->us1 != 0xffff || p->b != 0 || 
+        p->sb != 0x7f ||p->i16 != -0x8000 || p->ui16 != 0xffff || p->i64 != -1234567890 ||
+        p->ui64 != 1234567890 || (p->sgl) != 32.0 || p->d != 3.2)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct S3 // size = 1032 bytes
+{
+    BOOL flag;
+    LPCSTR str;
+    INT vals[256];
+};
+
+void PrintS3(S3* str, const char* name)
+{
+    printf("\t%s.flag = %d\n", name, str->flag);
+    printf("\t%s.str = %s\n", name, str->str);
+    for(int i = 0; i<256 ;i++)
+    {
+        printf("\t%s.vals[%d] = %d\n",name,i,str->vals[i]);
+    }
+}
+
+void ChangeS3(S3* p)
+{
+    p->flag = false;
+
+    const char* strSource = "change string";
+    size_t len = strlen(strSource);
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*(len+1));  
+    if(temp != NULL)
+    {
+        memset((LPVOID)temp,0,len+1);
+        strncpy_s((char*)temp,len+1,strSource,len);
+        p->str = temp;
+    }
+    for(int i = 1;i<257;i++)
+    {
+        p->vals[i-1] = i;
+    }
+}
+
+bool IsCorrectS3(S3* p)
+{
+    int iflag = 0;
+    if(!p->flag || strcmp((char*)p->str,"some string") != 0)
+        return false;
+    for (int i = 0; i < 256; i++)
+    {
+        if (p->vals[i] != i)
+        {
+            printf("\tThe Index of %i is not expected",i);
+            iflag++;
+        }
+    }
+    if (iflag != 0)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct S4 // size = 8 bytes
+{
+    INT age;
+    LPCSTR name;
+};
+
+enum Enum1 
+{
+    e1 = 1,
+    e2 = 3 
+};
+
+struct S5 // size = 8 bytes
+{
+    struct S4 s4;
+    Enum1 ef;
+};
+
+void PrintS5(S5* str, const char* name)
+{
+    printf("\t%s.s4.age = %d", name, str->s4.age);
+    printf("\t%s.s4.name = %s", name, str->s4.name);
+    printf("\t%s.ef = %d", name, str->ef);
+}
+
+void ChangeS5(S5* str)
+{
+    Enum1 eInstance = e2;
+    const char* strSource = "change string";   
+    size_t len = strlen(strSource);
+    LPCSTR temp = (LPCSTR)CoreClrAlloc(sizeof(char)*(len+1));
+    if(temp != NULL)
+    {
+        memset((LPVOID)temp,0,len+1);
+        strncpy_s((char*)temp,len+1,strSource,len);
+        str->s4.name = temp;
+    }
+    str->s4.age = 64;
+    str->ef = eInstance;
+}
+
+bool IsCorrectS5(S5* str)
+{
+    Enum1 eInstance = e1;
+    if(str->s4.age != 32 || strcmp((char*)str->s4.name,"some string") != 0)
+        return false;
+    if(str->ef != eInstance)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct StringStructSequentialAnsi // size = 8 bytes
+{
+    LPCSTR first;
+    LPCSTR last;
+};
+
+void PrintStringStructSequentialAnsi(StringStructSequentialAnsi* str, const char* name)
+{
+    printf("\t%s.first = %s\n", name, str->first);
+    printf("\t%s.last = %s\n", name, str->last);
+}
+
+bool IsCorrectStringStructSequentialAnsi(StringStructSequentialAnsi* str)
+{
+    char strOne[512];
+    char strTwo[512];
+    for(int i = 0;i<512;i++)
+    {
+        strOne[i] = 'a';
+        strTwo[i] = 'b';
+    }
+
+    if(memcmp(str->first,strOne,512)!= 0)
+        return false;
+
+    if(memcmp(str->last,strTwo,512)!= 0)
+        return false;
+
+    return true;
+}
+
+void ChangeStringStructSequentialAnsi(StringStructSequentialAnsi* str)
+{
+    char* newFirst = (char*)CoreClrAlloc(sizeof(char)*513);
+    char* newLast = (char*)CoreClrAlloc(sizeof(char)*513);
+    for (int i = 0; i < 512; ++i)
+    {
+        newFirst[i] = 'b';
+        newLast[i] = 'a';
+    }
+    newFirst[512] = '\0';
+    newLast[512] = '\0';
+
+    str->first = newFirst;     
+    str->last = newLast;
+}
+
+struct StringStructSequentialUnicode // size = 8 bytes
+{
+    LPCWSTR first;
+    LPCWSTR last;
+};
+
+void PrintStringStructSequentialUnicode(StringStructSequentialUnicode* str, const char* name)
+{
+#ifdef _WIN32
+       wprintf(L"\t%S.first = %s\n", name, str->first);
+       wprintf(L"\t%S.last = %s\n", name, str->last);
+#else
+       wprintf(L"\t%s.first = %s\n", name, str->first);
+       wprintf(L"\t%s.last = %s\n", name, str->last);
+#endif
+}
+
+bool IsCorrectStringStructSequentialUnicode(StringStructSequentialUnicode* str)
+{
+    WCHAR strOne[256+1];
+    WCHAR strTwo[256+1];
+
+    for(int i = 0;i<256;++i)
+    {
+        strOne[i] = L'a';
+        strTwo[i] = L'b';
+    }
+    strOne[256] = L'\0';
+    strTwo[256] = L'\0';
+
+    if(memcmp(str->first,strOne,256*sizeof(WCHAR)) != 0)
+        return false;
+    if(memcmp(str->last,strTwo,256*sizeof(WCHAR)) != 0)
+        return false;
+    return true;
+}
+
+void ChangeStringStructSequentialUnicode(StringStructSequentialUnicode* str)
+{
+    WCHAR* newFirst = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    WCHAR* newLast = (WCHAR*)CoreClrAlloc(sizeof(WCHAR)*257);
+    for (int i = 0; i < 256; ++i)
+    {
+        newFirst[i] = L'b';
+        newLast[i] = L'a';
+    }
+    newFirst[256] = L'\0';
+    newLast[256] = L'\0';
+    str->first = (const WCHAR*)newFirst;
+    str->last = (const WCHAR*)newLast;
+}
+
+struct S8 // size = 32 bytes
+{
+    LPCSTR name;
+    BOOL gender;
+    HRESULT i32;
+    HRESULT ui32;
+    WORD jobNum;
+    CHAR mySByte;
+};
+
+void PrintS8(S8* str, const char* name)
+{
+    printf("\t%s.name = %s\n",name, str->name);
+    printf("\t%s.gender = %d\n", name, str->gender);
+    printf("\t%s.jobNum = %d\n",name, str->jobNum);
+    printf("\t%s.i32 = %d\n", name, (int)(str->i32));
+    printf("\t%s.ui32 = %u\n", name, (unsigned int)(str->ui32));
+    printf("\t%s.mySByte = %c\n", name, str->mySByte);
+}
+
+bool IsCorrectS8(S8* str)
+{
+    if(memcmp( str->name,"hello", strlen("hello")*sizeof(char)+1 )!= 0)
+        return false;
+    if(!str->gender)
+        return false;
+    if(str->jobNum != 10)
+        return false;
+    if(str->i32!= 128 || str->ui32 != 128)
+        return false;
+    if(str->mySByte != 32)
+        return false;
+    return true;
+}
+
+void ChangeS8(S8* str)
+{
+    const char* lpstr = "world";
+    size_t size = sizeof(char) * (strlen(lpstr) + 1);
+    LPSTR temp = (LPSTR)CoreClrAlloc( size );
+    memset(temp, 0, size);
+    if(temp)
+    {
+        strcpy_s((char*)temp,size,lpstr);
+        str->name = temp;
+    }
+    else
+    {
+        printf("Memory Allocated Failed!");
+    }
+    str->gender = false;
+    str->jobNum = 1;
+    str->i32 = 256;
+    str->ui32 = 256;
+    str->mySByte = 64;
+}
+
+#pragma pack (8)
+struct IntergerStructSequential // size = 4 bytes
+{
+    INT i;
+};
+
+struct S9;
+typedef void (*TestDelegate1)(struct S9 myStruct);
+
+struct S9 // size = 8 bytes
+{
+    HRESULT i32;
+    TestDelegate1 myDelegate1;
+};
+
+struct OuterIntergerStructSequential // size = 8 bytes
+{
+    INT i;
+    struct IntergerStructSequential s_int;
+};
+
+struct IncludeOuterIntergerStructSequential // size = 8 bytes
+{
+    struct OuterIntergerStructSequential s;
+};
+
+void PrintIncludeOuterIntergerStructSequential(IncludeOuterIntergerStructSequential* str, const char* name)
+{
+    printf("\t%s.s.s_int.i = %d\n", name, str->s.s_int.i);
+    printf("\t%s.s.i = %d\n", name, str->s.i);
+}
+
+bool IsCorrectIncludeOuterIntergerStructSequential(IncludeOuterIntergerStructSequential* str)
+{
+    if(str->s.s_int.i != 32)
+        return false;
+    if(str->s.i != 32)
+        return false;
+    return true;
+}
+
+void ChangeIncludeOuterIntergerStructSequential(IncludeOuterIntergerStructSequential* str)
+{
+    str->s.s_int.i = 64;
+    str->s.i = 64;
+}
+
+#ifndef WINDOWS
+typedef int* LPINT;
+#endif
+
+struct S11 // size = 8 bytes
+{
+    LPINT i32;
+    INT i;
+};
+
+union U // size = 8 bytes
+{
+    INT i32;
+    UINT ui32;
+    LPVOID iPtr;
+    LPVOID uiPtr;
+    SHORT s;
+    WORD us;
+    BYTE b;
+    CHAR sb;
+    LONG64 l;
+    ULONG64 ul;
+    FLOAT f;
+    DOUBLE d;
+};
+
+void PrintU(U* str, const char* name)
+{
+    printf("\t%s.i32 = %d\n", name, str->i32);
+    printf("\t%s.ui32 = %u\n", name, str->ui32);
+    printf("\t%s.iPtr = %zu\n", name, (size_t)(str->iPtr));
+    printf("\t%s.uiPtr = %zu\n", name, (size_t)(str->uiPtr));
+    printf("\t%s.s = %d\n", name, str->s);
+    printf("\t%s.us = %u\n", name, str->us);
+    printf("\t%s.b = %u\n", name, str->b);
+    printf("\t%s.sb = %d\n", name, str->sb);
+    printf("\t%s.l = %lld\n", name, str->l);
+    printf("\t%s.ul = %llu\n", name, str->ul);
+    printf("\t%s.f = %f\n", name, str->f);
+    printf("\t%s.d = %f\n", name, str->d);
+}
+
+void ChangeU(U* p)
+{
+    p->i32 = 2147483647;
+    p->ui32 = 0;
+    p->iPtr = (LPVOID)(-64);
+    p->uiPtr = (LPVOID)(64);
+    p->s = 32767;
+    p->us = 0;
+    p->b = 255;
+    p->sb = -128;
+    p->l = -1234567890;
+    p->ul = 0;
+    p->f = 64.0;
+    p->d = 6.4;
+}
+
+bool IsCorrectU(U* p)
+{
+    if(p->d != 3.2)
+    {
+        return false;
+    }
+    return true;
+}
+
+struct ByteStructPack2Explicit // size = 2 bytes
+{
+    BYTE b1;
+    BYTE b2;
+};
+
+void PrintByteStructPack2Explicit(ByteStructPack2Explicit* str, const char* name)
+{
+    printf("\t%s.b1 = %d", name, str->b1);
+    printf("\t%s.b2 = %d", name, str->b2);
+}
+
+void ChangeByteStructPack2Explicit(ByteStructPack2Explicit* p)
+{
+    p->b1 = 64;
+    p->b2 = 64;
+}
+
+bool IsCorrectByteStructPack2Explicit(ByteStructPack2Explicit* p)
+{
+    if(p->b1 != 32 || p->b2 != 32)
+        return false;
+    return true;
+}
+
+struct ShortStructPack4Explicit // size = 4 bytes
+{
+    SHORT s1;
+    SHORT s2;
+};
+
+void PrintShortStructPack4Explicit(ShortStructPack4Explicit* str, const char* name)
+{
+    printf("\t%s.s1 = %d", name, str->s1);
+    printf("\t%s.s2 = %d", name, str->s2);
+}
+
+void ChangeShortStructPack4Explicit(ShortStructPack4Explicit* p)
+{
+    p->s1 = 64;
+    p->s2 = 64;
+}
+
+bool IsCorrectShortStructPack4Explicit(ShortStructPack4Explicit* p)
+{
+    if(p->s1 != 32 || p->s2 != 32)
+        return false;
+    return true;
+}
+
+struct IntStructPack8Explicit // size = 8 bytes
+{
+    INT i1;
+    INT i2;
+};
+
+void PrintIntStructPack8Explicit(IntStructPack8Explicit* str, const char* name)
+{
+    printf("\t%s.i1 = %d", name, str->i1);
+    printf("\t%s.i2 = %d", name, str->i2);
+}
+
+void ChangeIntStructPack8Explicit(IntStructPack8Explicit* p)
+{
+    p->i1 = 64;
+    p->i2 = 64;
+}
+
+bool IsCorrectIntStructPack8Explicit(IntStructPack8Explicit* p)
+{
+    if(p->i1 != 32 || p->i2 != 32)
+        return false;
+    return true;
+}
+
+struct LongStructPack16Explicit // size = 16 bytes
+{
+    LONG64 l1;
+    LONG64 l2;
+};
+
+void PrintLongStructPack16Explicit(LongStructPack16Explicit* str, const char* name)
+{
+    printf("\t%s.l1 = %lld", name, str->l1);
+    printf("\t%s.l2 = %lld", name, str->l2);
+}
+
+void ChangeLongStructPack16Explicit(LongStructPack16Explicit* p)
+{
+    p->l1 = 64;
+    p->l2 = 64;
+}
+
+bool IsCorrectLongStructPack16Explicit(LongStructPack16Explicit* p)
+{
+    if(p->l1 != 32 || p->l2 != 32)
+        return false;
+    return true;
+}
diff --git a/tests/src/Interop/StructMarshalling/ReversePInvoke/Struct.cs b/tests/src/Interop/StructMarshalling/ReversePInvoke/Struct.cs
new file mode 100644 (file)
index 0000000..07edd32
--- /dev/null
@@ -0,0 +1,279 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Runtime.InteropServices;
+
+public class Common
+{
+    public const int NumArrElements = 2;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct InnerSequential
+{
+    public int f1;
+    public float f2;
+    public String f3;
+}
+
+[StructLayout(LayoutKind.Explicit)]
+public struct INNER2
+{
+    [FieldOffset(0)]
+    public int f1;
+    [FieldOffset(4)]
+    public float f2;
+    [FieldOffset(8)]
+    public String f3;
+}
+
+[StructLayout(LayoutKind.Explicit)]
+public struct InnerExplicit
+{
+    [FieldOffset(0)]
+    public int f1;
+    [FieldOffset(0)]
+    public float f2;
+    [FieldOffset(8)]
+    public String f3;
+}
+
+[StructLayout(LayoutKind.Sequential)]//struct containing one field of array type
+public struct InnerArraySequential
+{
+    [MarshalAs(UnmanagedType.ByValArray, SizeConst = Common.NumArrElements)]
+    public InnerSequential[] arr;
+}
+
+[StructLayout(LayoutKind.Explicit, Pack = 8)]
+public struct InnerArrayExplicit
+{
+    [FieldOffset(0)]
+    [MarshalAs(UnmanagedType.ByValArray, SizeConst = Common.NumArrElements)]
+    public InnerSequential[] arr;
+
+    [FieldOffset(8)]
+    public string f4;
+}
+
+[StructLayout(LayoutKind.Explicit)]
+public struct OUTER3
+{
+    [FieldOffset(0)]
+    [MarshalAs(UnmanagedType.ByValArray, SizeConst = Common.NumArrElements)]
+    public InnerSequential[] arr;
+
+    [FieldOffset(24)]
+    public string f4;
+}
+
+[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
+public struct CharSetAnsiSequential
+{
+    public string f1;
+    public char f2;
+}
+
+[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
+public struct CharSetUnicodeSequential
+{
+    public string f1;
+    public char f2;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct NumberSequential
+{
+    public Int64 i64;
+    public UInt64 ui64;
+    public Double d;
+    public int i32;
+    public uint ui32;
+    public short s1;
+    public ushort us1;
+    public Int16 i16;
+    public UInt16 ui16;
+    public Single sgl;
+    public Byte b;
+    public SByte sb;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct S3
+{
+    public bool flag;
+    public string str;
+    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256)]
+    public int[] vals;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct S4
+{
+    public int age;
+    public string name;
+}
+
+public enum Enum1 { e1 = 1, e2 = 3 };
+
+[StructLayout(LayoutKind.Sequential)]
+public struct S5
+{
+    public S4 s4;
+    public Enum1 ef;
+}
+
+[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
+public struct StringStructSequentialAnsi
+{
+    public string first;
+    public string last;
+}
+
+[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
+public struct StringStructSequentialUnicode
+{
+    public string first;
+    public string last;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct S8
+{
+    public string name;
+    public bool gender;
+    [MarshalAs(UnmanagedType.Error)] //In ProjectN, MarshalAsError isnt supported in V1
+    public int i32;
+    [MarshalAs(UnmanagedType.Error)]
+    public uint ui32;
+    [MarshalAs(UnmanagedType.U2)]
+    public UInt16 jobNum;
+    [MarshalAs(UnmanagedType.I1)]
+    public sbyte mySByte;
+}
+
+public struct S9
+{
+    [MarshalAs(UnmanagedType.Error)]
+    public int i32;
+    public TestDelegate1 myDelegate1;
+}
+
+public delegate void TestDelegate1(S9 myStruct);
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IntergerStructSequential
+{
+    public int i;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct OuterIntergerStructSequential
+{
+    public int i;
+    public IntergerStructSequential s_int;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct IncludeOuterIntergerStructSequential
+{
+    public OuterIntergerStructSequential s;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public unsafe struct S11
+{
+    public int* i32;
+    public int i;
+}
+
+[StructLayout(LayoutKind.Explicit)]
+public struct U
+{
+    [FieldOffset(0)]
+    public int i32;
+    [FieldOffset(0)]
+    public uint ui32;
+    [FieldOffset(0)]
+    public IntPtr iPtr;
+    [FieldOffset(0)]
+    public UIntPtr uiPtr;
+    [FieldOffset(0)]
+    public short s;
+    [FieldOffset(0)]
+    public ushort us;
+    [FieldOffset(0)]
+    public Byte b;
+    [FieldOffset(0)]
+    public SByte sb;
+    [FieldOffset(0)]
+    public long l;
+    [FieldOffset(0)]
+    public ulong ul;
+    [FieldOffset(0)]
+    public float f;
+    [FieldOffset(0)]
+    public Double d;
+}
+
+[StructLayout(LayoutKind.Explicit, Size = 2)]
+public struct ByteStructPack2Explicit
+{
+    [FieldOffset(0)]
+    public byte b1;
+    [FieldOffset(1)]
+    public byte b2;
+}
+
+[StructLayout(LayoutKind.Explicit, Size = 4)]
+public struct ShortStructPack4Explicit
+{
+    [FieldOffset(0)]
+    public short s1;
+    [FieldOffset(2)]
+    public short s2;
+}
+
+[StructLayout(LayoutKind.Explicit, Size = 8)]
+public struct IntStructPack8Explicit
+{
+    [FieldOffset(0)]
+    public int i1;
+    [FieldOffset(4)]
+    public int i2;
+}
+
+[StructLayout(LayoutKind.Explicit, Size = 16)]
+public struct LongStructPack16Explicit
+{
+    [FieldOffset(0)]
+    public long l1;
+    [FieldOffset(8)]
+    public long l2;
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct ComplexStruct
+{
+    public int i;
+    [MarshalAs(UnmanagedType.I1)]
+    public bool b;
+    public string str;
+    public IntPtr pedding;
+    public ScriptParamType type;
+}
+
+[StructLayout(LayoutKind.Explicit)]
+public struct ScriptParamType
+{
+    [FieldOffset(0)]
+    public int idata;
+    [FieldOffset(8)]
+    public bool bdata;
+    [FieldOffset(8)]
+    public double ddata;
+    [FieldOffset(8)]
+    public IntPtr ptrdata;
+}
index 94a693e..158961f 100644 (file)
@@ -142,12 +142,14 @@ size_t strcpy_s(char *dest, size_t n, char const *src)
     return snprintf(dest, n, "%s", src);
 }
 
+#ifndef wcslen
 size_t wcslen(const WCHAR *str)
 {
     size_t len = 0;
     while ('\0' != *(str + len)) len++;
     return len;
 }
+#endif
 
 int wcsncpy_s(LPWSTR strDestination, size_t size1, LPCWSTR strSource, size_t size2)
 {
index 2d4b5f6..35f75ab 100644 (file)
@@ -12,7 +12,7 @@ namespace PInvokeTest
 {
     internal class Test
     {
-        [DllImport("msvcrt", EntryPoint = "sin")]
+        [DllImport("msvcrt", EntryPoint = "sin", CallingConvention = CallingConvention.Cdecl)]
         private static extern double sin(double x);
 
         private static double g;
index 3173cb8..2ad75e4 100644 (file)
@@ -10,10 +10,10 @@ namespace JitTest
 
     internal class Test
     {
-        [DllImport("msvcrt", EntryPoint = "sin")]
+        [DllImport("msvcrt", EntryPoint = "sin", CallingConvention = CallingConvention.Cdecl)]
         private static extern double sin(double x);
 
-        [DllImport("msvcrt", EntryPoint = "acos")]
+        [DllImport("msvcrt", EntryPoint = "acos", CallingConvention = CallingConvention.Cdecl)]
         private static extern double acos(double x);
 
         private static int Main()
index 150a13d..8f7f776 100644 (file)
     <Compile Include="GetLowerHalf.UInt16.cs" />
     <Compile Include="GetLowerHalf.UInt32.cs" />
     <Compile Include="GetLowerHalf.UInt64.cs" />
+    <Compile Include="LoadVector256.Byte.cs" />
+    <Compile Include="LoadVector256.SByte.cs" />
+    <Compile Include="LoadVector256.Int16.cs" />
+    <Compile Include="LoadVector256.UInt16.cs" />
+    <Compile Include="LoadVector256.Int32.cs" />
+    <Compile Include="LoadVector256.UInt32.cs" />
+    <Compile Include="LoadVector256.Int64.cs" />
+    <Compile Include="LoadVector256.UInt64.cs" />
+    <Compile Include="LoadVector256.Single.cs" />
+    <Compile Include="LoadVector256.Double.cs" />
     <Compile Include="MaskLoad.Double.cs" />
     <Compile Include="MaskLoad.Single.cs" />
     <Compile Include="MaskStore.Double.cs" />
index 52430f2..1fd83c5 100644 (file)
     <Compile Include="GetLowerHalf.UInt16.cs" />
     <Compile Include="GetLowerHalf.UInt32.cs" />
     <Compile Include="GetLowerHalf.UInt64.cs" />
+    <Compile Include="LoadVector256.Byte.cs" />
+    <Compile Include="LoadVector256.SByte.cs" />
+    <Compile Include="LoadVector256.Int16.cs" />
+    <Compile Include="LoadVector256.UInt16.cs" />
+    <Compile Include="LoadVector256.Int32.cs" />
+    <Compile Include="LoadVector256.UInt32.cs" />
+    <Compile Include="LoadVector256.Int64.cs" />
+    <Compile Include="LoadVector256.UInt64.cs" />
+    <Compile Include="LoadVector256.Single.cs" />
+    <Compile Include="LoadVector256.Double.cs" />
     <Compile Include="MaskLoad.Double.cs" />
     <Compile Include="MaskLoad.Single.cs" />
     <Compile Include="MaskStore.Double.cs" />
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Byte.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Byte.cs
new file mode 100644 (file)
index 0000000..6de54d6
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256Byte()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256Byte();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256Byte
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Byte>>() / sizeof(Byte);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Byte>>() / sizeof(Byte);
+
+        private static Byte[] _data = new Byte[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Byte, Byte> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256Byte()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetByte(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (Byte*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(Byte*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Byte*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Byte>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<Byte> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Byte[] inArray = new Byte[Op1ElementCount];
+            Byte[] outArray = new Byte[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Byte, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Byte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Byte[] inArray = new Byte[Op1ElementCount];
+            Byte[] outArray = new Byte[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<Byte>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Byte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Byte[] firstOp, Byte[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<Byte>(Vector256<Byte>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Double.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Double.cs
new file mode 100644 (file)
index 0000000..c9f3a01
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256Double()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256Double();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256Double
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Double>>() / sizeof(Double);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Double>>() / sizeof(Double);
+
+        private static Double[] _data = new Double[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Double, Double> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256Double()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetDouble(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Double, Double>(_data, new Double[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (Double*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(Double*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Double*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Double>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<Double> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Double[] inArray = new Double[Op1ElementCount];
+            Double[] outArray = new Double[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Double, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Double>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Double[] inArray = new Double[Op1ElementCount];
+            Double[] outArray = new Double[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<Double>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Double>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Double[] firstOp, Double[] result, [CallerMemberName] string method = "")
+        {
+            if (BitConverter.DoubleToInt64Bits(firstOp[0]) != BitConverter.DoubleToInt64Bits(result[0]))
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (BitConverter.DoubleToInt64Bits(firstOp[i]) != BitConverter.DoubleToInt64Bits(result[i]))
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<Double>(Vector256<Double>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int16.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int16.cs
new file mode 100644 (file)
index 0000000..08a256e
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256Int16()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256Int16();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256Int16
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Int16>>() / sizeof(Int16);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Int16>>() / sizeof(Int16);
+
+        private static Int16[] _data = new Int16[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int16, Int16> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256Int16()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt16(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (Int16*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(Int16*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int16*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Int16>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<Int16> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int16[] inArray = new Int16[Op1ElementCount];
+            Int16[] outArray = new Int16[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int16[] inArray = new Int16[Op1ElementCount];
+            Int16[] outArray = new Int16[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<Int16>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int16[] firstOp, Int16[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<Int16>(Vector256<Int16>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int32.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int32.cs
new file mode 100644 (file)
index 0000000..b827b7f
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256Int32()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256Int32();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256Int32
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Int32>>() / sizeof(Int32);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Int32>>() / sizeof(Int32);
+
+        private static Int32[] _data = new Int32[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int32, Int32> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256Int32()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt32(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (Int32*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(Int32*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int32*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Int32>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<Int32> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int32[] inArray = new Int32[Op1ElementCount];
+            Int32[] outArray = new Int32[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int32, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int32[] inArray = new Int32[Op1ElementCount];
+            Int32[] outArray = new Int32[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<Int32>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int32[] firstOp, Int32[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<Int32>(Vector256<Int32>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int64.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Int64.cs
new file mode 100644 (file)
index 0000000..c31bddd
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256Int64()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256Int64();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256Int64
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Int64>>() / sizeof(Int64);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Int64>>() / sizeof(Int64);
+
+        private static Int64[] _data = new Int64[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int64, Int64> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256Int64()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt64(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (Int64*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(Int64*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int64*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Int64>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<Int64> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int64[] inArray = new Int64[Op1ElementCount];
+            Int64[] outArray = new Int64[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int64, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int64[] inArray = new Int64[Op1ElementCount];
+            Int64[] outArray = new Int64[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<Int64>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Int64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int64[] firstOp, Int64[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<Int64>(Vector256<Int64>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.SByte.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.SByte.cs
new file mode 100644 (file)
index 0000000..ca65248
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256SByte()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256SByte();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256SByte
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<SByte>>() / sizeof(SByte);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<SByte>>() / sizeof(SByte);
+
+        private static SByte[] _data = new SByte[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<SByte, SByte> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256SByte()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetSByte(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<SByte, SByte>(_data, new SByte[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (SByte*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(SByte*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(SByte*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<SByte>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<SByte> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            SByte[] inArray = new SByte[Op1ElementCount];
+            SByte[] outArray = new SByte[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<SByte, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<SByte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<SByte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            SByte[] inArray = new SByte[Op1ElementCount];
+            SByte[] outArray = new SByte[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<SByte, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<SByte>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<SByte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<SByte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(SByte[] firstOp, SByte[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<SByte>(Vector256<SByte>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Single.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.Single.cs
new file mode 100644 (file)
index 0000000..93e458c
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256Single()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256Single();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256Single
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Single>>() / sizeof(Single);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Single>>() / sizeof(Single);
+
+        private static Single[] _data = new Single[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Single, Single> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256Single()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetSingle(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Single, Single>(_data, new Single[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (Single*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(Single*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Single*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Single>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<Single> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Single[] inArray = new Single[Op1ElementCount];
+            Single[] outArray = new Single[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Single, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Single>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Single[] inArray = new Single[Op1ElementCount];
+            Single[] outArray = new Single[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<Single>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Single>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Single[] firstOp, Single[] result, [CallerMemberName] string method = "")
+        {
+            if (BitConverter.SingleToInt32Bits(firstOp[0]) != BitConverter.SingleToInt32Bits(result[0]))
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (BitConverter.SingleToInt32Bits(firstOp[i]) != BitConverter.SingleToInt32Bits(result[i]))
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<Single>(Vector256<Single>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt16.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt16.cs
new file mode 100644 (file)
index 0000000..53c05ee
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256UInt16()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256UInt16();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256UInt16
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<UInt16>>() / sizeof(UInt16);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<UInt16>>() / sizeof(UInt16);
+
+        private static UInt16[] _data = new UInt16[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt16, UInt16> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256UInt16()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt16(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (UInt16*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(UInt16*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt16*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<UInt16>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<UInt16> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt16[] inArray = new UInt16[Op1ElementCount];
+            UInt16[] outArray = new UInt16[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<UInt16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt16[] inArray = new UInt16[Op1ElementCount];
+            UInt16[] outArray = new UInt16[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<UInt16>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<UInt16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt16[] firstOp, UInt16[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<UInt16>(Vector256<UInt16>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt32.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt32.cs
new file mode 100644 (file)
index 0000000..b236d74
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256UInt32()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256UInt32();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256UInt32
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<UInt32>>() / sizeof(UInt32);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<UInt32>>() / sizeof(UInt32);
+
+        private static UInt32[] _data = new UInt32[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt32, UInt32> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256UInt32()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt32(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (UInt32*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(UInt32*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt32*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<UInt32>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<UInt32> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt32[] inArray = new UInt32[Op1ElementCount];
+            UInt32[] outArray = new UInt32[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt32, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<UInt32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt32[] inArray = new UInt32[Op1ElementCount];
+            UInt32[] outArray = new UInt32[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<UInt32>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<UInt32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt32[] firstOp, UInt32[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<UInt32>(Vector256<UInt32>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt64.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.UInt64.cs
new file mode 100644 (file)
index 0000000..0c743e9
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector256UInt64()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector256UInt64();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector256UInt64
+    {
+        private static readonly int LargestVectorSize = 32;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<UInt64>>() / sizeof(UInt64);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<UInt64>>() / sizeof(UInt64);
+
+        private static UInt64[] _data = new UInt64[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt64, UInt64> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector256UInt64()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt64(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Avx.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Avx.LoadVector256(
+                (UInt64*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Avx).GetMethod(nameof(Avx.LoadVector256), new Type[] { typeof(UInt64*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt64*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector256<UInt64>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector256<UInt64> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt64[] inArray = new UInt64[Op1ElementCount];
+            UInt64[] outArray = new UInt64[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<UInt64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt64[] inArray = new UInt64[Op1ElementCount];
+            UInt64[] outArray = new UInt64[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector256<UInt64>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<UInt64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt64[] firstOp, UInt64[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Avx)}.{nameof(Avx.LoadVector256)}<UInt64>(Vector256<UInt64>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.cs b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256.cs
deleted file mode 100644 (file)
index 8393a90..0000000
+++ /dev/null
@@ -1,237 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-//
-
-using System;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Runtime.Intrinsics.X86;
-using System.Runtime.Intrinsics;
-
-namespace IntelHardwareIntrinsicTest
-{
-    class Program
-    {
-        const int Pass = 100;
-        const int Fail = 0;
-
-        static unsafe int Main(string[] args)
-        {
-            int testResult = Pass;
-
-            if (Avx.IsSupported)
-            {
-                using (TestTable<float> floatTable = new TestTable<float>(new float[8] { 1, -5, 100, 0, 1, 2, 3, 4 }, new float[8]))
-                {
-                    var vf = Avx.LoadVector256((float*)(floatTable.inArrayPtr));
-                    Unsafe.Write(floatTable.outArrayPtr, vf);
-
-                    if (!floatTable.CheckResult((x, y) => BitConverter.SingleToInt32Bits(x) == BitConverter.SingleToInt32Bits(y)))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on float:");
-                        foreach (var item in floatTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<double> doubleTable = new TestTable<double>(new double[4] { 1, -5, 100, 0}, new double[4]))
-                {
-                    var vf = Avx.LoadVector256((double*)(doubleTable.inArrayPtr));
-                    Unsafe.Write(doubleTable.outArrayPtr, vf);
-
-                    if (!doubleTable.CheckResult((x, y) => BitConverter.DoubleToInt64Bits(x) == BitConverter.DoubleToInt64Bits(y)))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on double:");
-                        foreach (var item in doubleTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<int> intTable = new TestTable<int>(new int[8] { 1, -5, 100, 0, 1, 2, 3, 4 }, new int[8]))
-                {
-                    var vf = Avx.LoadVector256((int*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on int:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<uint> intTable = new TestTable<uint>(new uint[8] { 1, 5, 100, 0, 1, 2, 3, 4 }, new uint[8]))
-                {
-                    var vf = Avx.LoadVector256((uint*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on uint:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<long> intTable = new TestTable<long>(new long[4] { 1, -5, 100, 0 }, new long[4]))
-                {
-                    var vf = Avx.LoadVector256((long*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on long:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<ulong> intTable = new TestTable<ulong>(new ulong[4] { 1, 5, 100, 0 }, new ulong[4]))
-                {
-                    var vf = Avx.LoadVector256((ulong*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on ulong:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<short> intTable = new TestTable<short>(new short[16] { 1, -5, 100, 0, 1, 2, 3, 4, 1, -5, 100, 0, 1, 2, 3, 4 }, new short[16]))
-                {
-                    var vf = Avx.LoadVector256((short*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on short:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<ushort> intTable = new TestTable<ushort>(new ushort[16] { 1, 5, 100, 0, 1, 2, 3, 4, 1, 5, 100, 0, 1, 2, 3, 4 }, new ushort[16]))
-                {
-                    var vf = Avx.LoadVector256((ushort*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on ushort:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<byte> intTable = new TestTable<byte>(new byte[32] { 1, 5, 100, 0, 1, 2, 3, 4, 1, 5, 100, 0, 1, 2, 3, 4, 1, 5, 100, 0, 1, 2, 3, 4, 1, 5, 100, 0, 1, 2, 3, 4 }, new byte[32]))
-                {
-                    var vf = Avx.LoadVector256((byte*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on byte:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<sbyte> intTable = new TestTable<sbyte>(new sbyte[32] { 1, -5, 100, 0, 1, 2, 3, 4, 1, -5, 100, 0, 1, 2, 3, 4, 1, -5, 100, 0, 1, 2, 3, 4, 1, -5, 100, 0, 1, 2, 3, 4 }, new sbyte[32]))
-                {
-                    var vf = Avx.LoadVector256((sbyte*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("AVX LoadVector256 failed on sbyte:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-            }
-
-            return testResult;
-        }
-
-        public unsafe struct TestTable<T> : IDisposable where T : struct
-        {
-            public T[] inArray;
-            public T[] outArray;
-
-            public void* inArrayPtr => inHandle.AddrOfPinnedObject().ToPointer();
-            public void* outArrayPtr => outHandle.AddrOfPinnedObject().ToPointer();
-
-            GCHandle inHandle;
-            GCHandle outHandle;
-            public TestTable(T[] a, T[] b)
-            {
-                this.inArray = a;
-                this.outArray = b;
-
-                inHandle = GCHandle.Alloc(inArray, GCHandleType.Pinned);
-                outHandle = GCHandle.Alloc(outArray, GCHandleType.Pinned);
-            }
-            public bool CheckResult(Func<T, T, bool> check)
-            {
-                for (int i = 0; i < inArray.Length; i++)
-                {
-                    if (!check(inArray[i], outArray[i]))
-                    {
-                        return false;
-                    }
-                }
-                return true;
-            }
-
-            public void Dispose()
-            {
-                inHandle.Free();
-                outHandle.Free();
-            }
-        }
-
-    }
-}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256_r.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256_r.csproj
deleted file mode 100644 (file)
index d024b8d..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize></Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadVector256.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256_ro.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Avx/LoadVector256_ro.csproj
deleted file mode 100644 (file)
index b8b66bd..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize>True</Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadVector256.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
index 1512557..597d184 100644 (file)
@@ -128,6 +128,16 @@ namespace JIT.HardwareIntrinsics.X86
                 ["GetLowerHalf.UInt16"] = GetLowerHalfUInt16,
                 ["GetLowerHalf.UInt32"] = GetLowerHalfUInt32,
                 ["GetLowerHalf.UInt64"] = GetLowerHalfUInt64,
+                ["LoadVector256.Single"] = LoadVector256Single,
+                ["LoadVector256.Double"] = LoadVector256Double,
+                ["LoadVector256.Byte"] = LoadVector256Byte,
+                ["LoadVector256.SByte"] = LoadVector256SByte,
+                ["LoadVector256.Int16"] = LoadVector256Int16,
+                ["LoadVector256.UInt16"] = LoadVector256UInt16,
+                ["LoadVector256.Int32"] = LoadVector256Int32,
+                ["LoadVector256.UInt32"] = LoadVector256UInt32,
+                ["LoadVector256.Int64"] = LoadVector256Int64,
+                ["LoadVector256.UInt64"] = LoadVector256UInt64,
                 ["MaskLoad.Double"] = MaskLoadDouble,
                 ["MaskLoad.Single"] = MaskLoadSingle,
                 ["MaskStore.Double"] = MaskStoreDouble,
index 781a902..e0f9f76 100644 (file)
@@ -63,6 +63,8 @@ private static readonly (string templateFileName, Dictionary<string, string> tem
     ("SimpleBinOpTest.template",  new Dictionary<string, string> { ["Isa"] = "Sse", ["LoadIsa"] = "Sse", ["Method"] = "CompareUnorderedScalar",                   ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] =  "Single", ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Single", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()", ["NextValueOp2"] = "TestLibrary.Generator.GetSingle()", ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(result[0]) != ((float.IsNaN(left[0]) || float.IsNaN(right[0])) ? -1 : 0)",                            ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(left[i]) != BitConverter.SingleToInt32Bits(result[i])"}),
     ("SimpleBinOpTest.template",  new Dictionary<string, string> { ["Isa"] = "Sse", ["LoadIsa"] = "Sse", ["Method"] = "Divide",                                   ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] =  "Single", ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Single", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()", ["NextValueOp2"] = "TestLibrary.Generator.GetSingle()", ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(left[0] / right[0]) != BitConverter.SingleToInt32Bits(result[0])",                                    ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(left[i] / right[i]) != BitConverter.SingleToInt32Bits(result[i])"}),
     ("SimpleBinOpTest.template",  new Dictionary<string, string> { ["Isa"] = "Sse", ["LoadIsa"] = "Sse", ["Method"] = "DivideScalar",                             ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] =  "Single", ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Single", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()", ["NextValueOp2"] = "TestLibrary.Generator.GetSingle()", ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(left[0] / right[0]) != BitConverter.SingleToInt32Bits(result[0])",                                    ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(left[i]) != BitConverter.SingleToInt32Bits(result[i])"}),
+    ("LoadUnOpTest.template",     new Dictionary<string, string> { ["Isa"] = "Sse",                      ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Single",                                                               ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()",                                                         ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(firstOp[0]) != BitConverter.SingleToInt32Bits(result[0])",                                            ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(firstOp[i]) != BitConverter.SingleToInt32Bits(result[i])"}),
+    ("LoadUnOpTest.template",     new Dictionary<string, string> { ["Isa"] = "Sse",                      ["Method"] = "LoadScalarVector128",                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Single",                                                               ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()",                                                         ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(firstOp[0]) != BitConverter.SingleToInt32Bits(result[0])",                                            ["ValidateRemainingResults"] = "0 != BitConverter.SingleToInt32Bits(result[i])"}),
     ("SimpleBinOpTest.template",  new Dictionary<string, string> { ["Isa"] = "Sse", ["LoadIsa"] = "Sse", ["Method"] = "Max",                                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] =  "Single", ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Single", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()", ["NextValueOp2"] = "TestLibrary.Generator.GetSingle()", ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(Math.Max(left[0], right[0])) != BitConverter.SingleToInt32Bits(result[0])",                           ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(Math.Max(left[i], right[i])) != BitConverter.SingleToInt32Bits(result[i])"}),
     ("SimpleBinOpTest.template",  new Dictionary<string, string> { ["Isa"] = "Sse", ["LoadIsa"] = "Sse", ["Method"] = "MaxScalar",                                ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] =  "Single", ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Single", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()", ["NextValueOp2"] = "TestLibrary.Generator.GetSingle()", ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(Math.Max(left[0], right[0])) != BitConverter.SingleToInt32Bits(result[0])",                           ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(left[i]) != BitConverter.SingleToInt32Bits(result[i])"}),
     ("SimpleBinOpTest.template",  new Dictionary<string, string> { ["Isa"] = "Sse", ["LoadIsa"] = "Sse", ["Method"] = "Min",                                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Single",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] =  "Single", ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Single", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()", ["NextValueOp2"] = "TestLibrary.Generator.GetSingle()", ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(Math.Min(left[0], right[0])) != BitConverter.SingleToInt32Bits(result[0])",                           ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(Math.Min(left[i], right[i])) != BitConverter.SingleToInt32Bits(result[i])"}),
@@ -184,6 +186,20 @@ private static readonly (string templateFileName, Dictionary<string, string> tem
     ("InsertScalarTest.template",       new Dictionary<string, string> { ["Isa"] = "Sse2", ["LoadIsa"] = "Sse2", ["Method"] = "Insert",                                   ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "UInt16",                                                              ["Data"] = "(ushort)2", ["Imm"] = "1",   ["LargestVectorSize"] = "16", ["NextValueOp1"] = "(ushort)0",                                                                                 ["ValidateFirstResult"] = "(i == 1 ? result[i] != 2 : result[i] != 0)"}),
     ("InsertScalarTest.template",       new Dictionary<string, string> { ["Isa"] = "Sse2", ["LoadIsa"] = "Sse2", ["Method"] = "Insert",                                   ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16",                                                               ["Data"] = "(short)2",  ["Imm"] = "129", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "(short)0",                                                                                  ["ValidateFirstResult"] = "(i == 1 ? result[i] != 2 : result[i] != 0)"}),
     ("InsertScalarTest.template",       new Dictionary<string, string> { ["Isa"] = "Sse2", ["LoadIsa"] = "Sse2", ["Method"] = "Insert",                                   ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "UInt16",                                                              ["Data"] = "(ushort)2", ["Imm"] = "129", ["LargestVectorSize"] = "16", ["NextValueOp1"] = "(ushort)0",                                                                                 ["ValidateFirstResult"] = "(i == 1 ? result[i] != 2 : result[i] != 0)"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double",                                                                                                       ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()",                                                         ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(firstOp[0]) != BitConverter.DoubleToInt64Bits(result[0])",                                            ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(firstOp[i]) != BitConverter.DoubleToInt64Bits(result[i])"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Byte",   ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Byte",                                                                                                         ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()",                                                           ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "SByte",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "SByte",                                                                                                        ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetSByte()",                                                          ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16",                                                                                                        ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()",                                                          ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt16", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "UInt16",                                                                                                       ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt16()",                                                         ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32",                                                                                                        ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()",                                                          ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "UInt32",                                                                                                       ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt32()",                                                         ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int64",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int64",                                                                                                        ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetInt64()",                                                          ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadVector128",                            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt64", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "UInt64",                                                                                                       ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt64()",                                                         ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadScalarVector128",                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double",                                                                                                       ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()",                                                         ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(firstOp[0]) != BitConverter.DoubleToInt64Bits(result[0])",                                            ["ValidateRemainingResults"] = "0 != BitConverter.DoubleToInt64Bits(result[i])"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadScalarVector128",                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int32",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int32",                                                                                                        ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()",                                                          ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "0 != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadScalarVector128",                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt32", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "UInt32",                                                                                                       ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt32()",                                                         ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "0 != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadScalarVector128",                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int64",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int64",                                                                                                        ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetInt64()",                                                          ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "0 != result[i]"}),
+    ("LoadUnOpTest.template",           new Dictionary<string, string> { ["Isa"] = "Sse2",                       ["Method"] = "LoadScalarVector128",                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt64", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "UInt64",                                                                                                       ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt64()",                                                         ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                            ["ValidateRemainingResults"] = "0 != result[i]"}),
     ("SimpleBinOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Sse2", ["LoadIsa"] = "Sse2", ["Method"] = "Max",                                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Double", ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Double",                                          ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["NextValueOp2"] = "TestLibrary.Generator.GetDouble()", ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(Math.Max(left[0], right[0])) != BitConverter.DoubleToInt64Bits(result[0])",                           ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(Math.Max(left[i], right[i])) != BitConverter.DoubleToInt64Bits(result[i])"}),
     ("SimpleBinOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Sse2", ["LoadIsa"] = "Sse2", ["Method"] = "Max",                                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Byte",   ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Byte",   ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Byte",                                            ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()",   ["NextValueOp2"] = "TestLibrary.Generator.GetByte()",   ["ValidateFirstResult"] = "Math.Max(left[0], right[0]) != result[0]",                                                                                           ["ValidateRemainingResults"] = "Math.Max(left[i], right[i]) != result[i]"}),
     ("SimpleBinOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Sse2", ["LoadIsa"] = "Sse2", ["Method"] = "Max",                                      ["RetVectorType"] = "Vector128", ["RetBaseType"] = "Int16",  ["Op1VectorType"] = "Vector128", ["Op1BaseType"] = "Int16",  ["Op2VectorType"] = "Vector128", ["Op2BaseType"] = "Int16",                                           ["LargestVectorSize"] = "16", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()",  ["NextValueOp2"] = "TestLibrary.Generator.GetInt16()",  ["ValidateFirstResult"] = "Math.Max(left[0], right[0]) != result[0]",                                                                                           ["ValidateRemainingResults"] = "Math.Max(left[i], right[i]) != result[i]"}),
@@ -614,6 +630,16 @@ private static readonly (string templateFileName, Dictionary<string, string> tem
     ("GenericUnOpTest.template",     new Dictionary<string, string> { ["Isa"] = "Avx", ["LoadIsa"] = "Avx", ["Method"] = "GetLowerHalf",            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "UInt16",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt16()",                                                                                                                     ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "result[i] != ((i < (Op1ElementCount / 2)) ? firstOp[i] : 0)"}),
     ("GenericUnOpTest.template",     new Dictionary<string, string> { ["Isa"] = "Avx", ["LoadIsa"] = "Avx", ["Method"] = "GetLowerHalf",            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "UInt32",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt32()",                                                                                                                     ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "result[i] != ((i < (Op1ElementCount / 2)) ? firstOp[i] : 0)"}),
     ("GenericUnOpTest.template",     new Dictionary<string, string> { ["Isa"] = "Avx", ["LoadIsa"] = "Avx", ["Method"] = "GetLowerHalf",            ["RetVectorType"] = "Vector128", ["RetBaseType"] = "UInt64", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "UInt64",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt64()",                                                                                                                     ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "result[i] != ((i < (Op1ElementCount / 2)) ? firstOp[i] : 0)"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Single", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Single",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()",                                                                                                                     ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(firstOp[0]) != BitConverter.SingleToInt32Bits(result[0])",                                                                                                                                                            ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(firstOp[i]) != BitConverter.SingleToInt32Bits(result[i])"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()",                                                                                                                     ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(firstOp[0]) != BitConverter.DoubleToInt64Bits(result[0])",                                                                                                                                                            ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(firstOp[i]) != BitConverter.DoubleToInt64Bits(result[i])"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Byte",   ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Byte",                                                                                                                                                                      ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetByte()",                                                                                                                       ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "SByte",  ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "SByte",                                                                                                                                                                     ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetSByte()",                                                                                                                      ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int16",  ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int16",                                                                                                                                                                     ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetInt16()",                                                                                                                      ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "UInt16", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "UInt16",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt16()",                                                                                                                     ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int32",  ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int32",                                                                                                                                                                     ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetInt32()",                                                                                                                      ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "UInt32", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "UInt32",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt32()",                                                                                                                     ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Int64",  ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Int64",                                                                                                                                                                     ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetInt64()",                                                                                                                      ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
+    ("LoadUnOpTest.template",        new Dictionary<string, string> { ["Isa"] = "Avx",                       ["Method"] = "LoadVector256",          ["RetVectorType"] = "Vector256", ["RetBaseType"] = "UInt64", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "UInt64",                                                                                                                                                                    ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetUInt64()",                                                                                                                     ["ValidateFirstResult"] = "firstOp[0] != result[0]",                                                                                                                                                                                                                            ["ValidateRemainingResults"] = "firstOp[i] != result[i]"}),
     ("LoadBinOpTest.template",       new Dictionary<string, string> { ["Isa"] = "Avx", ["LoadIsa"] = "Avx", ["Method"] = "MaskLoad",                ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Op2VectorType"] = "Vector256", ["Op2BaseType"] = "Double",                                                                                                       ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["NextValueOp2"] = "TestLibrary.Generator.GetDouble()",                                                             ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits((BitConverter.DoubleToInt64Bits(right[0]) < 0) ? left[0] : 0)",                                                                                                          ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits((BitConverter.DoubleToInt64Bits(right[i]) < 0) ? left[i] : 0)"}),
     ("LoadBinOpTest.template",       new Dictionary<string, string> { ["Isa"] = "Avx", ["LoadIsa"] = "Avx", ["Method"] = "MaskLoad",                ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Single", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Single", ["Op2VectorType"] = "Vector256", ["Op2BaseType"] = "Single",                                                                                                       ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetSingle()", ["NextValueOp2"] = "TestLibrary.Generator.GetSingle()",                                                             ["ValidateFirstResult"] = "BitConverter.SingleToInt32Bits(result[0]) != BitConverter.SingleToInt32Bits((BitConverter.SingleToInt32Bits(right[0]) < 0) ? left[0] : 0)",                                                                                                          ["ValidateRemainingResults"] = "BitConverter.SingleToInt32Bits(result[i]) != BitConverter.SingleToInt32Bits((BitConverter.SingleToInt32Bits(right[i]) < 0) ? left[i] : 0)"}),
     ("StoreBinOpTest.template",      new Dictionary<string, string> { ["Isa"] = "Avx", ["LoadIsa"] = "Avx", ["Method"] = "MaskStore",               ["RetVectorType"] = "Vector256", ["RetBaseType"] = "Double", ["Op1VectorType"] = "Vector256", ["Op1BaseType"] = "Double", ["Op2VectorType"] = "Vector256", ["Op2BaseType"] = "Double",                                                                                                       ["LargestVectorSize"] = "32", ["NextValueOp1"] = "TestLibrary.Generator.GetDouble()", ["NextValueOp2"] = "TestLibrary.Generator.GetDouble()",                                                             ["ValidateFirstResult"] = "BitConverter.DoubleToInt64Bits(result[0]) != BitConverter.DoubleToInt64Bits((BitConverter.DoubleToInt64Bits(left[0]) < 0) ? right[0] : BitConverter.DoubleToInt64Bits(result[0]))",                                                                  ["ValidateRemainingResults"] = "BitConverter.DoubleToInt64Bits(result[i]) != BitConverter.DoubleToInt64Bits((BitConverter.DoubleToInt64Bits(left[i]) < 0) ? right[i] : BitConverter.DoubleToInt64Bits(result[i]))"}),
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128.Single.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128.Single.cs
new file mode 100644 (file)
index 0000000..20ac28b
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadScalarVector128Single()
+        {
+            var test = new SimpleUnaryOpTest__LoadScalarVector128Single();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadScalarVector128Single
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Single>>() / sizeof(Single);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Single>>() / sizeof(Single);
+
+        private static Single[] _data = new Single[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Single, Single> _dataTable;
+
+        public SimpleUnaryOpTest__LoadScalarVector128Single()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetSingle(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Single, Single>(_data, new Single[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse.LoadScalarVector128(
+                (Single*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse).GetMethod(nameof(Sse.LoadScalarVector128), new Type[] { typeof(Single*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Single*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Single>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Single> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Single[] inArray = new Single[Op1ElementCount];
+            Single[] outArray = new Single[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Single, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Single>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Single[] inArray = new Single[Op1ElementCount];
+            Single[] outArray = new Single[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Single>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Single>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Single[] firstOp, Single[] result, [CallerMemberName] string method = "")
+        {
+            if (BitConverter.SingleToInt32Bits(firstOp[0]) != BitConverter.SingleToInt32Bits(result[0]))
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (0 != BitConverter.SingleToInt32Bits(result[i]))
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse)}.{nameof(Sse.LoadScalarVector128)}<Single>(Vector128<Single>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128.cs
deleted file mode 100644 (file)
index f96d38b..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-//
-
-using System;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Runtime.Intrinsics.X86;
-using System.Runtime.Intrinsics;
-
-namespace IntelHardwareIntrinsicTest
-{
-    class Program
-    {
-        const int Pass = 100;
-        const int Fail = 0;
-
-        static unsafe int Main(string[] args)
-        {
-            int testResult = Pass;
-
-            if (Sse.IsSupported)
-            {
-                using (TestTable<float> floatTable = new TestTable<float>(new float[4] { 1, -5, 100, 3 }, new float[4]))
-                {
-                    var vf = Sse.LoadScalarVector128((float*)(floatTable.inArrayPtr));
-                    Unsafe.Write(floatTable.outArrayPtr, vf);
-
-                    if (!floatTable.CheckResult((x, y) => BitConverter.SingleToInt32Bits(x[0]) == BitConverter.SingleToInt32Bits(y[0])
-                                                       && BitConverter.SingleToInt32Bits(y[1]) == 0
-                                                       && BitConverter.SingleToInt32Bits(y[2]) == 0
-                                                       && BitConverter.SingleToInt32Bits(y[3]) == 0))
-                    {
-                        Console.WriteLine("SSE LoadScalarVector128 failed on float:");
-                        foreach (var item in floatTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-            }
-
-            return testResult;
-        }
-
-        public unsafe struct TestTable<T> : IDisposable where T : struct
-        {
-            public T[] inArray;
-            public T[] outArray;
-
-            public void* inArrayPtr => inHandle.AddrOfPinnedObject().ToPointer();
-            public void* outArrayPtr => outHandle.AddrOfPinnedObject().ToPointer();
-
-            GCHandle inHandle;
-            GCHandle outHandle;
-            public TestTable(T[] a, T[] b)
-            {
-                this.inArray = a;
-                this.outArray = b;
-
-                inHandle = GCHandle.Alloc(inArray, GCHandleType.Pinned);
-                outHandle = GCHandle.Alloc(outArray, GCHandleType.Pinned);
-            }
-            public bool CheckResult(Func<T[], T[], bool> check)
-            {
-                return check(inArray, outArray);
-            }
-
-            public void Dispose()
-            {
-                inHandle.Free();
-                outHandle.Free();
-            }
-        }
-
-    }
-}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128_r.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128_r.csproj
deleted file mode 100644 (file)
index 544f23a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize></Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadScalarVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128_ro.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadScalarVector128_ro.csproj
deleted file mode 100644 (file)
index 45f7061..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize>True</Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadScalarVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128.Single.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128.Single.cs
new file mode 100644 (file)
index 0000000..fce4c4a
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128Single()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128Single();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128Single
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Single>>() / sizeof(Single);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Single>>() / sizeof(Single);
+
+        private static Single[] _data = new Single[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Single, Single> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128Single()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetSingle(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Single, Single>(_data, new Single[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse.LoadVector128(
+                (Single*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse).GetMethod(nameof(Sse.LoadVector128), new Type[] { typeof(Single*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Single*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Single>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Single> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Single[] inArray = new Single[Op1ElementCount];
+            Single[] outArray = new Single[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Single, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Single>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Single[] inArray = new Single[Op1ElementCount];
+            Single[] outArray = new Single[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Single>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Single, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Single>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Single[] firstOp, Single[] result, [CallerMemberName] string method = "")
+        {
+            if (BitConverter.SingleToInt32Bits(firstOp[0]) != BitConverter.SingleToInt32Bits(result[0]))
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (BitConverter.SingleToInt32Bits(firstOp[i]) != BitConverter.SingleToInt32Bits(result[i]))
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse)}.{nameof(Sse.LoadVector128)}<Single>(Vector128<Single>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128.cs
deleted file mode 100644 (file)
index 71b1637..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-//
-
-using System;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Runtime.Intrinsics.X86;
-using System.Runtime.Intrinsics;
-
-namespace IntelHardwareIntrinsicTest
-{
-    class Program
-    {
-        const int Pass = 100;
-        const int Fail = 0;
-
-        static unsafe int Main(string[] args)
-        {
-            int testResult = Pass;
-
-            if (Sse.IsSupported)
-            {
-                using (TestTable<float> floatTable = new TestTable<float>(new float[4] { 1, -5, 100, 0 }, new float[4]))
-                {
-                    var vf = Sse.LoadVector128((float*)(floatTable.inArrayPtr));
-                    Unsafe.Write(floatTable.outArrayPtr, vf);
-
-                    if (!floatTable.CheckResult((x, y) => BitConverter.SingleToInt32Bits(x) == BitConverter.SingleToInt32Bits(y)))
-                    {
-                        Console.WriteLine("SSE LoadVector128 failed on float:");
-                        foreach (var item in floatTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-            }
-
-            return testResult;
-        }
-
-        public unsafe struct TestTable<T> : IDisposable where T : struct
-        {
-            public T[] inArray;
-            public T[] outArray;
-
-            public void* inArrayPtr => inHandle.AddrOfPinnedObject().ToPointer();
-            public void* outArrayPtr => outHandle.AddrOfPinnedObject().ToPointer();
-
-            GCHandle inHandle;
-            GCHandle outHandle;
-            public TestTable(T[] a, T[] b)
-            {
-                this.inArray = a;
-                this.outArray = b;
-
-                inHandle = GCHandle.Alloc(inArray, GCHandleType.Pinned);
-                outHandle = GCHandle.Alloc(outArray, GCHandleType.Pinned);
-            }
-            public bool CheckResult(Func<T, T, bool> check)
-            {
-                for (int i = 0; i < inArray.Length; i++)
-                {
-                    if (!check(inArray[i], outArray[i]))
-                    {
-                        return false;
-                    }
-                }
-                return true;
-            }
-
-            public void Dispose()
-            {
-                inHandle.Free();
-                outHandle.Free();
-            }
-        }
-
-    }
-}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128_r.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128_r.csproj
deleted file mode 100644 (file)
index b067099..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize></Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128_ro.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse/LoadVector128_ro.csproj
deleted file mode 100644 (file)
index af94d5d..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize>True</Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
index ce98a40..dbf3f5b 100644 (file)
@@ -54,6 +54,8 @@ namespace JIT.HardwareIntrinsics.X86
                 ["CompareUnorderedScalar.Single"] = CompareUnorderedScalarSingle,
                 ["Divide.Single"] = DivideSingle,
                 ["DivideScalar.Single"] = DivideScalarSingle,
+                ["LoadVector128.Single"] = LoadVector128Single,
+                ["LoadScalarVector128.Single"] = LoadScalarVector128Single,
                 ["Max.Single"] = MaxSingle,
                 ["MaxScalar.Single"] = MaxScalarSingle,
                 ["Min.Single"] = MinSingle,
index c19d66b..c657d44 100644 (file)
@@ -69,6 +69,8 @@
     <Compile Include="CompareUnorderedScalar.Single.cs" />
     <Compile Include="Divide.Single.cs" />
     <Compile Include="DivideScalar.Single.cs" />
+    <Compile Include="LoadVector128.Single.cs" />
+    <Compile Include="LoadScalarVector128.Single.cs" />
     <Compile Include="Max.Single.cs" />
     <Compile Include="MaxScalar.Single.cs" />
     <Compile Include="Min.Single.cs" />
@@ -81,6 +83,7 @@
     <Compile Include="Xor.Single.cs" />
     <Compile Include="Program.Sse.cs" />
     <Compile Include="..\Shared\BooleanCmpOpTest_DataTable.cs" />
+    <Compile Include="..\Shared\SimpleUnOpTest_DataTable.cs" />
     <Compile Include="..\Shared\Program.cs" />
     <Compile Include="..\Shared\SimpleBinOpTest_DataTable.cs" />
   </ItemGroup>
index 22cad81..add19b5 100644 (file)
@@ -69,6 +69,8 @@
     <Compile Include="CompareUnorderedScalar.Single.cs" />
     <Compile Include="Divide.Single.cs" />
     <Compile Include="DivideScalar.Single.cs" />
+    <Compile Include="LoadVector128.Single.cs" />
+    <Compile Include="LoadScalarVector128.Single.cs" />
     <Compile Include="Max.Single.cs" />
     <Compile Include="MaxScalar.Single.cs" />
     <Compile Include="Min.Single.cs" />
@@ -83,6 +85,7 @@
     <Compile Include="..\Shared\BooleanCmpOpTest_DataTable.cs" />
     <Compile Include="..\Shared\Program.cs" />
     <Compile Include="..\Shared\SimpleBinOpTest_DataTable.cs" />
+    <Compile Include="..\Shared\SimpleUnOpTest_DataTable.cs" />
   </ItemGroup>
   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
   <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Double.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Double.cs
new file mode 100644 (file)
index 0000000..b7d4321
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadScalarVector128Double()
+        {
+            var test = new SimpleUnaryOpTest__LoadScalarVector128Double();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadScalarVector128Double
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Double>>() / sizeof(Double);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Double>>() / sizeof(Double);
+
+        private static Double[] _data = new Double[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Double, Double> _dataTable;
+
+        public SimpleUnaryOpTest__LoadScalarVector128Double()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetDouble(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Double, Double>(_data, new Double[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadScalarVector128(
+                (Double*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadScalarVector128), new Type[] { typeof(Double*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Double*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Double>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Double> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Double[] inArray = new Double[Op1ElementCount];
+            Double[] outArray = new Double[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Double, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Double>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Double[] inArray = new Double[Op1ElementCount];
+            Double[] outArray = new Double[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Double>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Double>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Double[] firstOp, Double[] result, [CallerMemberName] string method = "")
+        {
+            if (BitConverter.DoubleToInt64Bits(firstOp[0]) != BitConverter.DoubleToInt64Bits(result[0]))
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (0 != BitConverter.DoubleToInt64Bits(result[i]))
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadScalarVector128)}<Double>(Vector128<Double>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Int32.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Int32.cs
new file mode 100644 (file)
index 0000000..7fa1e20
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadScalarVector128Int32()
+        {
+            var test = new SimpleUnaryOpTest__LoadScalarVector128Int32();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadScalarVector128Int32
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Int32>>() / sizeof(Int32);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Int32>>() / sizeof(Int32);
+
+        private static Int32[] _data = new Int32[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int32, Int32> _dataTable;
+
+        public SimpleUnaryOpTest__LoadScalarVector128Int32()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt32(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadScalarVector128(
+                (Int32*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadScalarVector128), new Type[] { typeof(Int32*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int32*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int32>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Int32> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int32[] inArray = new Int32[Op1ElementCount];
+            Int32[] outArray = new Int32[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int32, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int32[] inArray = new Int32[Op1ElementCount];
+            Int32[] outArray = new Int32[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Int32>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int32[] firstOp, Int32[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (0 != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadScalarVector128)}<Int32>(Vector128<Int32>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Int64.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.Int64.cs
new file mode 100644 (file)
index 0000000..9f83a6f
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadScalarVector128Int64()
+        {
+            var test = new SimpleUnaryOpTest__LoadScalarVector128Int64();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadScalarVector128Int64
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Int64>>() / sizeof(Int64);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Int64>>() / sizeof(Int64);
+
+        private static Int64[] _data = new Int64[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int64, Int64> _dataTable;
+
+        public SimpleUnaryOpTest__LoadScalarVector128Int64()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt64(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadScalarVector128(
+                (Int64*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadScalarVector128), new Type[] { typeof(Int64*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int64*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int64>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Int64> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int64[] inArray = new Int64[Op1ElementCount];
+            Int64[] outArray = new Int64[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int64, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int64[] inArray = new Int64[Op1ElementCount];
+            Int64[] outArray = new Int64[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Int64>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int64[] firstOp, Int64[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (0 != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadScalarVector128)}<Int64>(Vector128<Int64>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.UInt32.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.UInt32.cs
new file mode 100644 (file)
index 0000000..9ecccd2
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadScalarVector128UInt32()
+        {
+            var test = new SimpleUnaryOpTest__LoadScalarVector128UInt32();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadScalarVector128UInt32
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<UInt32>>() / sizeof(UInt32);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<UInt32>>() / sizeof(UInt32);
+
+        private static UInt32[] _data = new UInt32[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt32, UInt32> _dataTable;
+
+        public SimpleUnaryOpTest__LoadScalarVector128UInt32()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt32(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadScalarVector128(
+                (UInt32*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadScalarVector128), new Type[] { typeof(UInt32*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt32*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt32>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<UInt32> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt32[] inArray = new UInt32[Op1ElementCount];
+            UInt32[] outArray = new UInt32[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt32, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt32[] inArray = new UInt32[Op1ElementCount];
+            UInt32[] outArray = new UInt32[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<UInt32>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt32[] firstOp, UInt32[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (0 != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadScalarVector128)}<UInt32>(Vector128<UInt32>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.UInt64.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.UInt64.cs
new file mode 100644 (file)
index 0000000..072a982
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadScalarVector128UInt64()
+        {
+            var test = new SimpleUnaryOpTest__LoadScalarVector128UInt64();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadScalarVector128UInt64
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<UInt64>>() / sizeof(UInt64);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<UInt64>>() / sizeof(UInt64);
+
+        private static UInt64[] _data = new UInt64[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt64, UInt64> _dataTable;
+
+        public SimpleUnaryOpTest__LoadScalarVector128UInt64()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt64(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadScalarVector128(
+                (UInt64*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadScalarVector128), new Type[] { typeof(UInt64*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt64*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt64>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<UInt64> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt64[] inArray = new UInt64[Op1ElementCount];
+            UInt64[] outArray = new UInt64[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt64[] inArray = new UInt64[Op1ElementCount];
+            UInt64[] outArray = new UInt64[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<UInt64>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt64[] firstOp, UInt64[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (0 != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadScalarVector128)}<UInt64>(Vector128<UInt64>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128.cs
deleted file mode 100644 (file)
index 6ea970f..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-//
-
-using System;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Runtime.Intrinsics.X86;
-using System.Runtime.Intrinsics;
-
-namespace IntelHardwareIntrinsicTest
-{
-    class Program
-    {
-        const int Pass = 100;
-        const int Fail = 0;
-
-        static unsafe int Main(string[] args)
-        {
-            int testResult = Pass;
-
-            if (Sse2.IsSupported)
-            {
-                using (TestTable<double> doubleTable = new TestTable<double>(new double[2] { 1, -5 }, new double[2]))
-                {
-                    var vf = Sse2.LoadScalarVector128((double*)(doubleTable.inArrayPtr));
-                    Unsafe.Write(doubleTable.outArrayPtr, vf);
-
-                    if (!doubleTable.CheckResult((x, y) => BitConverter.DoubleToInt64Bits(x[0]) == BitConverter.DoubleToInt64Bits(y[0])
-                                                        && BitConverter.DoubleToInt64Bits(y[1]) == 0))
-                    {
-                        Console.WriteLine("Sse2 LoadScalarVector128 failed on double:");
-                        foreach (var item in doubleTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<int> intTable = new TestTable<int>(new int[4] { 1, -5, 100, 0 }, new int[4]))
-                {
-                    var vf = Sse2.LoadScalarVector128((int*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x[0] == y[0]
-                                                     && y[1] == 0
-                                                     && y[2] == 0
-                                                     && y[3] == 0))
-                    {
-                        Console.WriteLine("Sse2 LoadScalarVector128 failed on int:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<long> longTable = new TestTable<long>(new long[2] { 1, -5 }, new long[2]))
-                {
-                    var vf = Sse2.LoadScalarVector128((long*)(longTable.inArrayPtr));
-                    Unsafe.Write(longTable.outArrayPtr, vf);
-
-                    if (!longTable.CheckResult((x, y) => x[0] == y[0]
-                                                      && y[1] == 0))
-                    {
-                        Console.WriteLine("Sse2 LoadScalarVector128 failed on long:");
-                        foreach (var item in longTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<uint> uintTable = new TestTable<uint>(new uint[4] { 1, 5, 100, 0 }, new uint[4]))
-                {
-                    var vf = Sse2.LoadScalarVector128((uint*)(uintTable.inArrayPtr));
-                    Unsafe.Write(uintTable.outArrayPtr, vf);
-
-                    if (!uintTable.CheckResult((x, y) => x[0] == y[0]
-                                                      && y[1] == 0
-                                                      && y[2] == 0
-                                                      && y[3] == 0))
-                    {
-                        Console.WriteLine("Sse2 LoadScalarVector128 failed on uint:");
-                        foreach (var item in uintTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<ulong> ulongTable = new TestTable<ulong>(new ulong[2] { 1, 5 }, new ulong[2]))
-                {
-                    var vf = Sse2.LoadScalarVector128((ulong*)(ulongTable.inArrayPtr));
-                    Unsafe.Write(ulongTable.outArrayPtr, vf);
-
-                    if (!ulongTable.CheckResult((x, y) => x[0] == y[0]
-                                                       && y[1] == 0))
-                    {
-                        Console.WriteLine("Sse2 LoadScalarVector128 failed on ulong:");
-                        foreach (var item in ulongTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-            }
-
-            return testResult;
-        }
-
-        public unsafe struct TestTable<T> : IDisposable where T : struct
-        {
-            public T[] inArray;
-            public T[] outArray;
-
-            public void* inArrayPtr => inHandle.AddrOfPinnedObject().ToPointer();
-            public void* outArrayPtr => outHandle.AddrOfPinnedObject().ToPointer();
-
-            GCHandle inHandle;
-            GCHandle outHandle;
-            public TestTable(T[] a, T[] b)
-            {
-                this.inArray = a;
-                this.outArray = b;
-
-                inHandle = GCHandle.Alloc(inArray, GCHandleType.Pinned);
-                outHandle = GCHandle.Alloc(outArray, GCHandleType.Pinned);
-            }
-            public bool CheckResult(Func<T[], T[], bool> check)
-            {
-                return check(inArray, outArray);
-            }
-
-            public void Dispose()
-            {
-                inHandle.Free();
-                outHandle.Free();
-            }
-        }
-    }
-}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128_r.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128_r.csproj
deleted file mode 100644 (file)
index 544f23a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize></Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadScalarVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128_ro.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadScalarVector128_ro.csproj
deleted file mode 100644 (file)
index 45f7061..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize>True</Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadScalarVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Byte.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Byte.cs
new file mode 100644 (file)
index 0000000..07de871
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128Byte()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128Byte();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128Byte
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Byte>>() / sizeof(Byte);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Byte>>() / sizeof(Byte);
+
+        private static Byte[] _data = new Byte[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Byte, Byte> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128Byte()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetByte(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (Byte*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(Byte*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Byte*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Byte>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Byte> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Byte[] inArray = new Byte[Op1ElementCount];
+            Byte[] outArray = new Byte[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Byte, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Byte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Byte[] inArray = new Byte[Op1ElementCount];
+            Byte[] outArray = new Byte[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Byte>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Byte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Byte[] firstOp, Byte[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<Byte>(Vector128<Byte>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Double.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Double.cs
new file mode 100644 (file)
index 0000000..820aba9
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128Double()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128Double();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128Double
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Double>>() / sizeof(Double);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Double>>() / sizeof(Double);
+
+        private static Double[] _data = new Double[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Double, Double> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128Double()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetDouble(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Double, Double>(_data, new Double[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (Double*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(Double*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Double*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Double>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Double> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Double[] inArray = new Double[Op1ElementCount];
+            Double[] outArray = new Double[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Double, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Double>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Double[] inArray = new Double[Op1ElementCount];
+            Double[] outArray = new Double[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Double>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Double, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Double>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Double[] firstOp, Double[] result, [CallerMemberName] string method = "")
+        {
+            if (BitConverter.DoubleToInt64Bits(firstOp[0]) != BitConverter.DoubleToInt64Bits(result[0]))
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (BitConverter.DoubleToInt64Bits(firstOp[i]) != BitConverter.DoubleToInt64Bits(result[i]))
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<Double>(Vector128<Double>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int16.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int16.cs
new file mode 100644 (file)
index 0000000..b280aa5
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128Int16()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128Int16();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128Int16
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
+
+        private static Int16[] _data = new Int16[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int16, Int16> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128Int16()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt16(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (Int16*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(Int16*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int16*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int16>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Int16> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int16[] inArray = new Int16[Op1ElementCount];
+            Int16[] outArray = new Int16[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int16[] inArray = new Int16[Op1ElementCount];
+            Int16[] outArray = new Int16[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Int16>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int16[] firstOp, Int16[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<Int16>(Vector128<Int16>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int32.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int32.cs
new file mode 100644 (file)
index 0000000..9118b24
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128Int32()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128Int32();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128Int32
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Int32>>() / sizeof(Int32);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Int32>>() / sizeof(Int32);
+
+        private static Int32[] _data = new Int32[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int32, Int32> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128Int32()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt32(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (Int32*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(Int32*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int32*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int32>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Int32> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int32[] inArray = new Int32[Op1ElementCount];
+            Int32[] outArray = new Int32[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int32, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int32[] inArray = new Int32[Op1ElementCount];
+            Int32[] outArray = new Int32[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Int32>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int32[] firstOp, Int32[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<Int32>(Vector128<Int32>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int64.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.Int64.cs
new file mode 100644 (file)
index 0000000..a953f2a
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128Int64()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128Int64();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128Int64
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Int64>>() / sizeof(Int64);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Int64>>() / sizeof(Int64);
+
+        private static Int64[] _data = new Int64[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<Int64, Int64> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128Int64()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetInt64(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (Int64*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(Int64*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(Int64*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int64>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<Int64> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int64[] inArray = new Int64[Op1ElementCount];
+            Int64[] outArray = new Int64[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<Int64, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            Int64[] inArray = new Int64[Op1ElementCount];
+            Int64[] outArray = new Int64[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<Int64>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(Int64[] firstOp, Int64[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<Int64>(Vector128<Int64>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.SByte.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.SByte.cs
new file mode 100644 (file)
index 0000000..09b7e99
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128SByte()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128SByte();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128SByte
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<SByte>>() / sizeof(SByte);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<SByte>>() / sizeof(SByte);
+
+        private static SByte[] _data = new SByte[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<SByte, SByte> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128SByte()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetSByte(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<SByte, SByte>(_data, new SByte[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (SByte*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(SByte*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(SByte*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<SByte>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<SByte> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            SByte[] inArray = new SByte[Op1ElementCount];
+            SByte[] outArray = new SByte[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<SByte, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<SByte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<SByte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            SByte[] inArray = new SByte[Op1ElementCount];
+            SByte[] outArray = new SByte[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<SByte, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<SByte>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<SByte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<SByte>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(SByte[] firstOp, SByte[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<SByte>(Vector128<SByte>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt16.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt16.cs
new file mode 100644 (file)
index 0000000..af2e635
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128UInt16()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128UInt16();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128UInt16
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
+
+        private static UInt16[] _data = new UInt16[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt16, UInt16> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128UInt16()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt16(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (UInt16*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(UInt16*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt16*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt16>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<UInt16> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt16[] inArray = new UInt16[Op1ElementCount];
+            UInt16[] outArray = new UInt16[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt16[] inArray = new UInt16[Op1ElementCount];
+            UInt16[] outArray = new UInt16[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt16[] firstOp, UInt16[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<UInt16>(Vector128<UInt16>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt32.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt32.cs
new file mode 100644 (file)
index 0000000..9274b53
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128UInt32()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128UInt32();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128UInt32
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<UInt32>>() / sizeof(UInt32);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<UInt32>>() / sizeof(UInt32);
+
+        private static UInt32[] _data = new UInt32[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt32, UInt32> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128UInt32()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt32(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (UInt32*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(UInt32*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt32*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt32>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<UInt32> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt32[] inArray = new UInt32[Op1ElementCount];
+            UInt32[] outArray = new UInt32[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt32, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt32[] inArray = new UInt32[Op1ElementCount];
+            UInt32[] outArray = new UInt32[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<UInt32>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt32, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt32>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt32[] firstOp, UInt32[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<UInt32>(Vector128<UInt32>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt64.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.UInt64.cs
new file mode 100644 (file)
index 0000000..6f99db2
--- /dev/null
@@ -0,0 +1,161 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/******************************************************************************
+ * This file is auto-generated from a template file by the GenerateTests.csx  *
+ * script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make    *
+ * changes, please update the corresponding template and run according to the *
+ * directions listed in the file.                                             *
+ ******************************************************************************/
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Intrinsics;
+using System.Runtime.Intrinsics.X86;
+
+namespace JIT.HardwareIntrinsics.X86
+{
+    public static partial class Program
+    {
+        private static void LoadVector128UInt64()
+        {
+            var test = new SimpleUnaryOpTest__LoadVector128UInt64();
+
+            if (test.IsSupported)
+            {
+                // Validates basic functionality works
+                test.RunBasicScenario_Load();
+
+                // Validates calling via reflection works
+                test.RunReflectionScenario_Load();
+            }
+            else
+            {
+                // Validates we throw on unsupported hardware
+                test.RunUnsupportedScenario();
+            }
+
+            if (!test.Succeeded)
+            {
+                throw new Exception("One or more scenarios did not complete as expected.");
+            }
+        }
+    }
+
+    public sealed unsafe class SimpleUnaryOpTest__LoadVector128UInt64
+    {
+        private static readonly int LargestVectorSize = 16;
+
+        private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<UInt64>>() / sizeof(UInt64);
+        private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<UInt64>>() / sizeof(UInt64);
+
+        private static UInt64[] _data = new UInt64[Op1ElementCount];
+
+        private SimpleUnaryOpTest__DataTable<UInt64, UInt64> _dataTable;
+
+        public SimpleUnaryOpTest__LoadVector128UInt64()
+        {
+            Succeeded = true;
+
+            for (var i = 0; i < Op1ElementCount; i++) { _data[i] = TestLibrary.Generator.GetUInt64(); }
+            _dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
+        }
+
+        public bool IsSupported => Sse2.IsSupported;
+
+        public bool Succeeded { get; set; }
+
+        public void RunBasicScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
+
+            var result = Sse2.LoadVector128(
+                (UInt64*)(_dataTable.inArrayPtr)
+            );
+
+            Unsafe.Write(_dataTable.outArrayPtr, result);
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunReflectionScenario_Load()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
+
+            var result = typeof(Sse2).GetMethod(nameof(Sse2.LoadVector128), new Type[] { typeof(UInt64*) })
+                                     .Invoke(null, new object[] {
+                                        Pointer.Box(_dataTable.inArrayPtr, typeof(UInt64*))
+                                     });
+
+            Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt64>)(result));
+            ValidateResult(_dataTable.inArrayPtr, _dataTable.outArrayPtr);
+        }
+
+        public void RunUnsupportedScenario()
+        {
+            TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
+
+            Succeeded = false;
+
+            try
+            {
+                RunBasicScenario_Load();
+            }
+            catch (PlatformNotSupportedException)
+            {
+                Succeeded = true;
+            }
+        }
+
+        private void ValidateResult(Vector128<UInt64> firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt64[] inArray = new UInt64[Op1ElementCount];
+            UInt64[] outArray = new UInt64[RetElementCount];
+
+            Unsafe.WriteUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray[0]), firstOp);
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
+        {
+            UInt64[] inArray = new UInt64[Op1ElementCount];
+            UInt64[] outArray = new UInt64[RetElementCount];
+
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<Vector128<UInt64>>());
+            Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt64>>());
+
+            ValidateResult(inArray, outArray, method);
+        }
+
+        private void ValidateResult(UInt64[] firstOp, UInt64[] result, [CallerMemberName] string method = "")
+        {
+            if (firstOp[0] != result[0])
+            {
+                Succeeded = false;
+            }
+            else
+            {
+                for (var i = 1; i < RetElementCount; i++)
+                {
+                    if (firstOp[i] != result[i])
+                    {
+                        Succeeded = false;
+                        break;
+                    }
+                }
+            }
+
+            if (!Succeeded)
+            {
+                TestLibrary.TestFramework.LogInformation($"{nameof(Sse2)}.{nameof(Sse2.LoadVector128)}<UInt64>(Vector128<UInt64>): {method} failed:");
+                TestLibrary.TestFramework.LogInformation($"  firstOp: ({string.Join(", ", firstOp)})");
+                TestLibrary.TestFramework.LogInformation($"   result: ({string.Join(", ", result)})");
+                TestLibrary.TestFramework.LogInformation(string.Empty);
+            }
+        }
+    }
+}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128.cs
deleted file mode 100644 (file)
index 283acea..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-//
-
-using System;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Runtime.Intrinsics.X86;
-using System.Runtime.Intrinsics;
-
-namespace IntelHardwareIntrinsicTest
-{
-    class Program
-    {
-        const int Pass = 100;
-        const int Fail = 0;
-
-        static unsafe int Main(string[] args)
-        {
-            int testResult = Pass;
-
-            if (Sse2.IsSupported)
-            {
-                using (TestTable<double> doubleTable = new TestTable<double>(new double[2] { 1, -5 }, new double[2]))
-                {
-                    var vf = Sse2.LoadVector128((double*)(doubleTable.inArrayPtr));
-                    Unsafe.Write(doubleTable.outArrayPtr, vf);
-
-                    if (!doubleTable.CheckResult((x, y) => BitConverter.DoubleToInt64Bits(x) == BitConverter.DoubleToInt64Bits(y)))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on double:");
-                        foreach (var item in doubleTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<int> intTable = new TestTable<int>(new int[4] { 1, -5, 100, 0 }, new int[4]))
-                {
-                    var vf = Sse2.LoadVector128((int*)(intTable.inArrayPtr));
-                    Unsafe.Write(intTable.outArrayPtr, vf);
-
-                    if (!intTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on int:");
-                        foreach (var item in intTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<long> longTable = new TestTable<long>(new long[2] { 1, -5 }, new long[2]))
-                {
-                    var vf = Sse2.LoadVector128((long*)(longTable.inArrayPtr));
-                    Unsafe.Write(longTable.outArrayPtr, vf);
-
-                    if (!longTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on long:");
-                        foreach (var item in longTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<uint> uintTable = new TestTable<uint>(new uint[4] { 1, 5, 100, 0 }, new uint[4]))
-                {
-                    var vf = Sse2.LoadVector128((uint*)(uintTable.inArrayPtr));
-                    Unsafe.Write(uintTable.outArrayPtr, vf);
-
-                    if (!uintTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on uint:");
-                        foreach (var item in uintTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<ulong> ulongTable = new TestTable<ulong>(new ulong[2] { 1, 5 }, new ulong[2]))
-                {
-                    var vf = Sse2.LoadVector128((ulong*)(ulongTable.inArrayPtr));
-                    Unsafe.Write(ulongTable.outArrayPtr, vf);
-
-                    if (!ulongTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on ulong:");
-                        foreach (var item in ulongTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<short> shortTable = new TestTable<short>(new short[8] { 1, -5, 100, 0, 1, -5, 100, 0 }, new short[8]))
-                {
-                    var vf = Sse2.LoadVector128((short*)(shortTable.inArrayPtr));
-                    Unsafe.Write(shortTable.outArrayPtr, vf);
-
-                    if (!shortTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on short:");
-                        foreach (var item in shortTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<ushort> ushortTable = new TestTable<ushort>(new ushort[8] { 1, 5, 100, 0, 1, 5, 100, 0 }, new ushort[8]))
-                {
-                    var vf = Sse2.LoadVector128((ushort*)(ushortTable.inArrayPtr));
-                    Unsafe.Write(ushortTable.outArrayPtr, vf);
-
-                    if (!ushortTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on ushort:");
-                        foreach (var item in ushortTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<sbyte> sbyteTable = new TestTable<sbyte>(new sbyte[16] { 1, -5, 100, 0, 1, -5, 100, 0, 1, -5, 100, 0, 1, -5, 100, 0 }, new sbyte[16]))
-                {
-                    var vf = Sse2.LoadVector128((sbyte*)(sbyteTable.inArrayPtr));
-                    Unsafe.Write(sbyteTable.outArrayPtr, vf);
-
-                    if (!sbyteTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on sbyte:");
-                        foreach (var item in sbyteTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-
-                using (TestTable<byte> byteTable = new TestTable<byte>(new byte[16] { 1, 5, 100, 0, 1, 5, 100, 0, 1, 5, 100, 0, 1, 5, 100, 0 }, new byte[16]))
-                {
-                    var vf = Sse2.LoadVector128((byte*)(byteTable.inArrayPtr));
-                    Unsafe.Write(byteTable.outArrayPtr, vf);
-
-                    if (!byteTable.CheckResult((x, y) => x == y))
-                    {
-                        Console.WriteLine("Sse2 LoadVector128 failed on byte:");
-                        foreach (var item in byteTable.outArray)
-                        {
-                            Console.Write(item + ", ");
-                        }
-                        Console.WriteLine();
-                        testResult = Fail;
-                    }
-                }
-            }
-
-            return testResult;
-        }
-
-        public unsafe struct TestTable<T> : IDisposable where T : struct
-        {
-            public T[] inArray;
-            public T[] outArray;
-
-            public void* inArrayPtr => inHandle.AddrOfPinnedObject().ToPointer();
-            public void* outArrayPtr => outHandle.AddrOfPinnedObject().ToPointer();
-
-            GCHandle inHandle;
-            GCHandle outHandle;
-            public TestTable(T[] a, T[] b)
-            {
-                this.inArray = a;
-                this.outArray = b;
-
-                inHandle = GCHandle.Alloc(inArray, GCHandleType.Pinned);
-                outHandle = GCHandle.Alloc(outArray, GCHandleType.Pinned);
-            }
-            public bool CheckResult(Func<T, T, bool> check)
-            {
-                for (int i = 0; i < inArray.Length; i++)
-                {
-                    if (!check(inArray[i], outArray[i]))
-                    {
-                        return false;
-                    }
-                }
-                return true;
-            }
-
-            public void Dispose()
-            {
-                inHandle.Free();
-                outHandle.Free();
-            }
-        }
-    }
-}
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128_r.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128_r.csproj
deleted file mode 100644 (file)
index b067099..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize></Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128_ro.csproj b/tests/src/JIT/HardwareIntrinsics/X86/Sse2/LoadVector128_ro.csproj
deleted file mode 100644 (file)
index af94d5d..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
-    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the configurations -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
-  <ItemGroup>
-    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
-      <Visible>False</Visible>
-    </CodeAnalysisDependentAssemblyPaths>
-  </ItemGroup>
-  <PropertyGroup>
-    <DebugType>Embedded</DebugType>
-    <Optimize>True</Optimize>
-  </PropertyGroup>
-  <ItemGroup>
-    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="LoadVector128.cs" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
-</Project>
index dbb60e9..9505bc7 100644 (file)
@@ -119,6 +119,20 @@ namespace JIT.HardwareIntrinsics.X86
                 ["Insert.UInt16.1"] = InsertUInt161,
                 ["Insert.Int16.129"] = InsertInt16129,
                 ["Insert.UInt16.129"] = InsertUInt16129,
+                ["LoadVector128.Double"] = LoadVector128Double,
+                ["LoadVector128.Byte"] = LoadVector128Byte,
+                ["LoadVector128.SByte"] = LoadVector128SByte,
+                ["LoadVector128.Int16"] = LoadVector128Int16,
+                ["LoadVector128.UInt16"] = LoadVector128UInt16,
+                ["LoadVector128.Int32"] = LoadVector128Int32,
+                ["LoadVector128.UInt32"] = LoadVector128UInt32,
+                ["LoadVector128.Int64"] = LoadVector128Int64,
+                ["LoadVector128.UInt64"] = LoadVector128UInt64,
+                ["LoadScalarVector128.Double"] = LoadScalarVector128Double,
+                ["LoadScalarVector128.Int32"] = LoadScalarVector128Int32,
+                ["LoadScalarVector128.UInt32"] = LoadScalarVector128UInt32,
+                ["LoadScalarVector128.Int64"] = LoadScalarVector128Int64,
+                ["LoadScalarVector128.UInt64"] = LoadScalarVector128UInt64,
                 ["Max.Double"] = MaxDouble,
                 ["Max.Byte"] = MaxByte,
                 ["Max.Int16"] = MaxInt16,
index e8db168..39af5e9 100644 (file)
     <Compile Include="Insert.UInt16.1.cs" />
     <Compile Include="Insert.Int16.129.cs" />
     <Compile Include="Insert.UInt16.129.cs" />
+    <Compile Include="LoadVector128.Byte.cs" />
+    <Compile Include="LoadVector128.SByte.cs" />
+    <Compile Include="LoadVector128.Int16.cs" />
+    <Compile Include="LoadVector128.UInt16.cs" />
+    <Compile Include="LoadVector128.Int32.cs" />
+    <Compile Include="LoadVector128.UInt32.cs" />
+    <Compile Include="LoadVector128.Int64.cs" />
+    <Compile Include="LoadVector128.UInt64.cs" />
+    <Compile Include="LoadVector128.Double.cs" />
+    <Compile Include="LoadScalarVector128.Double.cs" />
+    <Compile Include="LoadScalarVector128.Int32.cs" />
+    <Compile Include="LoadScalarVector128.UInt32.cs" />
+    <Compile Include="LoadScalarVector128.Int64.cs" />
+    <Compile Include="LoadScalarVector128.UInt64.cs" />
     <Compile Include="Max.Double.cs" />
     <Compile Include="Max.Byte.cs" />
     <Compile Include="Max.Int16.cs" />
index a86b270..1ed7fdd 100644 (file)
     <Compile Include="Insert.Int16.129.cs" />
     <Compile Include="Insert.UInt16.1.cs" />
     <Compile Include="Insert.UInt16.129.cs" />
+    <Compile Include="LoadVector128.Byte.cs" />
+    <Compile Include="LoadVector128.SByte.cs" />
+    <Compile Include="LoadVector128.Int16.cs" />
+    <Compile Include="LoadVector128.UInt16.cs" />
+    <Compile Include="LoadVector128.Int32.cs" />
+    <Compile Include="LoadVector128.UInt32.cs" />
+    <Compile Include="LoadVector128.Int64.cs" />
+    <Compile Include="LoadVector128.UInt64.cs" />
+    <Compile Include="LoadVector128.Double.cs" />
+    <Compile Include="LoadScalarVector128.Double.cs" />
+    <Compile Include="LoadScalarVector128.Int32.cs" />
+    <Compile Include="LoadScalarVector128.UInt32.cs" />
+    <Compile Include="LoadScalarVector128.Int64.cs" />
+    <Compile Include="LoadScalarVector128.UInt64.cs" />
     <Compile Include="Max.Byte.cs" />
     <Compile Include="Max.Double.cs" />
     <Compile Include="Max.Int16.cs" />
diff --git a/tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness.cs b/tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness.cs
new file mode 100644 (file)
index 0000000..b650fc8
--- /dev/null
@@ -0,0 +1,136 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+//
+
+using System;
+using System.Buffers.Binary;
+using Internal;
+
+namespace BinaryPrimitivesReverseEndianness
+{
+    class Program
+    {
+        public const int Pass = 100;
+        public const int Fail = 0;
+
+        private const ushort ConstantUInt16Input = 0x9876;
+        private const ushort ConstantUInt16Expected = 0x7698;
+
+        private const uint ConstantUInt32Input = 0x98765432;
+        private const uint ConstantUInt32Expected = 0x32547698;
+
+        private const ulong ConstantUInt64Input = 0xfedcba9876543210;
+        private const ulong ConstantUInt64Expected = 0x1032547698badcfe;
+
+
+        static int Main(string[] args)
+        {
+            /*
+             * CONST VALUE TESTS
+             */
+
+            ushort swappedUInt16 = BinaryPrimitives.ReverseEndianness(ConstantUInt16Input);
+            if (swappedUInt16 != ConstantUInt16Expected)
+            {
+                Console.WriteLine($"BinaryPrimitives.ReverseEndianness(const UInt16) failed.");
+                Console.WriteLine($"Input:    0x{ConstantUInt16Input:X4}");
+                Console.WriteLine($"Output:   0x{swappedUInt16:X4}");
+                Console.WriteLine($"Expected: 0x{ConstantUInt16Expected:X4}");
+            }
+
+            uint swappedUInt32 = BinaryPrimitives.ReverseEndianness(ConstantUInt32Input);
+            if (swappedUInt32 != ConstantUInt32Expected)
+            {
+                Console.WriteLine($"BinaryPrimitives.ReverseEndianness(const UInt32) failed.");
+                Console.WriteLine($"Input:    0x{ConstantUInt32Input:X8}");
+                Console.WriteLine($"Output:   0x{swappedUInt32:X8}");
+                Console.WriteLine($"Expected: 0x{ConstantUInt32Expected:X8}");
+            }
+
+            ulong swappedUInt64 = BinaryPrimitives.ReverseEndianness(ConstantUInt64Input);
+            if (swappedUInt64 != ConstantUInt64Expected)
+            {
+                Console.WriteLine($"BinaryPrimitives.ReverseEndianness(const UInt32) failed.");
+                Console.WriteLine($"Input:    0x{ConstantUInt64Input:X16}");
+                Console.WriteLine($"Output:   0x{swappedUInt64:X16}");
+                Console.WriteLine($"Expected: 0x{ConstantUInt64Expected:X16}");
+            }
+
+            /*
+             * NON-CONST VALUE TESTS
+             */
+
+            ushort nonConstUInt16Input = (ushort)DateTime.UtcNow.Ticks;
+            ushort nonConstUInt16Output = BinaryPrimitives.ReverseEndianness(nonConstUInt16Input);
+            ushort nonConstUInt16Expected = ByteSwapUInt16_Control(nonConstUInt16Input);
+            if (nonConstUInt16Output != nonConstUInt16Expected)
+            {
+                Console.WriteLine($"BinaryPrimitives.ReverseEndianness(non-const UInt16) failed.");
+                Console.WriteLine($"Input:    0x{nonConstUInt16Input:X4}");
+                Console.WriteLine($"Output:   0x{nonConstUInt16Output:X4}");
+                Console.WriteLine($"Expected: 0x{nonConstUInt16Expected:X4}");
+            }
+
+            uint nonConstUInt32Input = (uint)DateTime.UtcNow.Ticks;
+            uint nonConstUInt32Output = BinaryPrimitives.ReverseEndianness(nonConstUInt32Input);
+            uint nonConstUInt32Expected = ByteSwapUInt32_Control(nonConstUInt32Input);
+            if (nonConstUInt32Output != nonConstUInt32Expected)
+            {
+                Console.WriteLine($"BinaryPrimitives.ReverseEndianness(non-const UInt32) failed.");
+                Console.WriteLine($"Input:    0x{nonConstUInt32Input:X8}");
+                Console.WriteLine($"Output:   0x{nonConstUInt32Output:X8}");
+                Console.WriteLine($"Expected: 0x{nonConstUInt32Expected:X8}");
+            }
+
+            ulong nonConstUInt64Input = (ulong)DateTime.UtcNow.Ticks;
+            ulong nonConstUInt64Output = BinaryPrimitives.ReverseEndianness(nonConstUInt64Input);
+            ulong nonConstUInt64Expected = ByteSwapUInt64_Control(nonConstUInt64Input);
+            if (nonConstUInt64Output != nonConstUInt64Expected)
+            {
+                Console.WriteLine($"BinaryPrimitives.ReverseEndianness(non-const UInt64) failed.");
+                Console.WriteLine($"Input:    0x{nonConstUInt64Input:X16}");
+                Console.WriteLine($"Output:   0x{nonConstUInt64Output:X16}");
+                Console.WriteLine($"Expected: 0x{nonConstUInt64Expected:X16}");
+            }
+
+            return Pass;
+        }
+
+        private static ushort ByteSwapUInt16_Control(ushort value)
+        {
+            return (ushort)ByteSwapUnsigned_General(value, sizeof(ushort));
+        }
+
+        private static uint ByteSwapUInt32_Control(uint value)
+        {
+            return (uint)ByteSwapUnsigned_General(value, sizeof(uint));
+        }
+
+        private static ulong ByteSwapUInt64_Control(ulong value)
+        {
+            return (ulong)ByteSwapUnsigned_General(value, sizeof(ulong));
+        }
+
+        private static ulong ByteSwapUnsigned_General(ulong value, int width)
+        {
+            // A naive byte swap routine that works on integers of any arbitrary width.
+            // Width is specified in bytes.
+
+            ulong retVal = 0;
+            do
+            {
+                retVal = retVal << 8 | (byte)value;
+                value >>= 8;
+            } while (--width > 0);
+
+            if (value != 0)
+            {
+                // All bits of value should've been shifted out at this point.
+                throw new Exception("Unexpected data width specified - error in test program?");
+            }
+
+            return retVal;
+        }
+    }
+}
diff --git a/tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness_r.csproj b/tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness_r.csproj
new file mode 100644 (file)
index 0000000..32ddef9
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <PropertyGroup>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DebugType>None</DebugType>
+    <Optimize></Optimize>
+  </PropertyGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="BinaryPrimitivesReverseEndianness.cs" />
+  </ItemGroup>
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
+</Project>
diff --git a/tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness_ro.csproj b/tests/src/JIT/Intrinsics/BinaryPrimitivesReverseEndianness_ro.csproj
new file mode 100644 (file)
index 0000000..ca7ce21
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+    <ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <PropertyGroup>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DebugType>None</DebugType>
+    <Optimize>True</Optimize>
+  </PropertyGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="BinaryPrimitivesReverseEndianness.cs" />
+  </ItemGroup>
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
+</Project>
index f7dd1fe..ef5ab44 100644 (file)
@@ -45,7 +45,6 @@ namespace DefaultNamespace
 
         ~RootMem()
         {
-            root[n - 1].Free();
         }
     }
 }
diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_710234/DevDiv_710234.il b/tests/src/JIT/Regression/JitBlue/DevDiv_710234/DevDiv_710234.il
new file mode 100644 (file)
index 0000000..8686dcd
--- /dev/null
@@ -0,0 +1,156 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+.assembly extern mscorlib { auto }
+.assembly extern System.Runtime { auto }
+.assembly extern System.Console { auto }
+
+.assembly DevDiv_710234 { }
+
+.class private auto ansi beforefieldinit DevDiv_710234
+       extends [System.Runtime]System.Object
+{
+    .method static int64 Test(int16,int32,bool,float64,int32,int32)
+    {
+        .maxstack  177
+        .locals init (uint16,int32,uint16,int32,int64,int8,int32,float32,int16,int16,int32,int8,int64,bool)
+
+          ldarg.s      0x1
+          ldloc.s      0x7
+          ldc.r8       2.57
+          clt.un      
+          clt.un      
+          ldloc        0x4
+          ldc.i8       0x54911585c723fe1a
+          mul.ovf.un  
+          conv.ovf.u4.un
+          clt.un      
+          ldloc        0x7
+          conv.ovf.i8 
+          ldloc        0x5
+          ldloc        0x2
+          or          
+          shr.un      
+          conv.ovf.u1.un
+          ldloc.s      0x4
+          conv.ovf.i2 
+          or          
+          ceq         
+          brtrue       Lc7
+
+          ldarg.s      0x3
+          neg         
+          ldloc.s      0xB
+          ldloc.s      0x3
+          conv.r4     
+          ldarg.s      0x5
+          conv.r4     
+          cgt.un      
+          cgt.un      
+          neg         
+          stloc.s      0x2
+          conv.i4     
+          brtrue       La5
+
+          ldc.r8       2.2159438665601046e+14
+          ckfinite    
+          ldloc        0xC
+          ldarg        0x3
+          conv.ovf.u8.un
+          ceq         
+          not         
+          conv.r.un   
+          div         
+          stloc.s      0x7
+          ldarg        0x3
+          starg.s      0x3
+
+    La5:  ldloc        0x7
+          conv.u      
+          ldloc        0x7
+          neg         
+          ldc.r8       -2.1382977803754743e-2
+          clt.un      
+          neg         
+          ldloc        0x4
+          conv.ovf.u2.un
+          neg         
+          shr         
+          mul         
+          starg        0x4
+
+    Lc7:  ldloc.s      0x7
+          ldloc        0x7
+          ldloc        0x7
+          rem         
+          clt         
+          ldloc.s      0x5
+          neg         
+          conv.ovf.i  
+          not         
+          shr         
+          conv.r8     
+          ckfinite    
+          pop
+          ldc.i8       0
+          ldarg        0x3
+          ckfinite    
+          conv.i8     
+          add  
+          ret    
+    }
+    .method private hidebysig static int32 Main() cil managed
+    {
+        .entrypoint
+        .locals init (int32 returnValue, int64 TestResult)
+        nop
+        ldc.i4.s   100
+        stloc.0
+        .try
+        {
+            ldc.i4.1
+            ldc.i4.2
+            ldc.i4.0
+            ldc.r8     3.
+            ldc.i4.4
+            ldc.i4.5
+            call       int64 DevDiv_710234::Test(int16,int32,bool,float64,int32,int32)
+            stloc.1
+            ldloc.1
+            ldc.i8     3
+            ceq
+            brtrue     L0
+
+            ldstr      "Test Result = "
+            call       void [System.Console]System.Console::Write(string)
+            ldloc.1
+            call       void [System.Console]System.Console::WriteLine(int64)
+            ldc.i4.m1
+            stloc.0
+            nop
+L0:
+            leave.s    L1
+        }
+
+        catch [System.Runtime]System.Object 
+        {
+            callvirt    instance string [mscorlib]System.Exception::get_Message()
+            call        void [System.Console]System.Console::WriteLine(string)
+            leave.s    L1
+        }
+
+    L1: ldloc.0
+        ret
+    } // end of method DevDiv_710234::Main
+
+
+    .method public hidebysig specialname rtspecialname 
+          instance void  .ctor() cil managed
+    {
+        ldarg.0
+        call       instance void [System.Runtime]System.Object::.ctor()
+        ret
+    } // end of method DevDiv_710234::.ctor
+
+} // end of class DevDiv_710234
diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_710234/DevDiv_710234.ilproj b/tests/src/JIT/Regression/JitBlue/DevDiv_710234/DevDiv_710234.ilproj
new file mode 100644 (file)
index 0000000..5934cf6
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
+  <PropertyGroup>
+    <DebugType>None</DebugType>
+    <Optimize>True</Optimize>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="$(MSBuildProjectName).il" />
+  </ItemGroup>
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
+</Project>
diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_714266/DevDiv_714266.cs b/tests/src/JIT/Regression/JitBlue/DevDiv_714266/DevDiv_714266.cs
new file mode 100644 (file)
index 0000000..23bb5e9
--- /dev/null
@@ -0,0 +1,62 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Numerics;
+using System.Runtime.CompilerServices;
+
+// Based on DevDiv_714266, the issue reporoduced with JitStressRegs=0x1.
+// `minRegCandidateCount` for `RefTypeUpperVectorSaveDef` did not count one temporary register
+// that it used for the save. So if we had a call that did not require any registers (no defs/uses)
+// then we set `minRegCandidateCount = 0`for `RefTypeUpperVectorSaveDef` `refPosition` 
+// and was not able to find a register for do the saving.
+
+class DevDiv_714266
+{
+    [MethodImpl(MethodImplOptions.NoInlining)]
+
+    public static void CallWithoutUsesAndDefs()
+    {
+    }
+
+    [MethodImpl(MethodImplOptions.NoInlining)]
+    public static void MethodWithManyLiveVectors()
+    {
+        Vector<float> v = new Vector<float>();
+
+        Vector<float> v0 = -v;
+        Vector<float> v1 = -v;
+        Vector<float> v2 = -v;
+        Vector<float> v3 = -v;
+        Vector<float> v4 = -v;
+        Vector<float> v5 = -v;
+        Vector<float> v6 = -v;
+        Vector<float> v7 = -v;
+        Vector<float> v8 = -v;
+        Vector<float> v9 = -v;
+
+        CallWithoutUsesAndDefs();
+
+        GC.KeepAlive(new object[10]
+        {
+            v1,
+            v2,
+            v3,
+            v4,
+            v5,
+            v6,
+            v7,
+            v8,
+            v9,
+            v0
+        });
+    }
+
+    static int Main()
+    {
+        MethodWithManyLiveVectors();
+        return 100;
+    }
+
+}
diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_714266/DevDiv_714266.csproj b/tests/src/JIT/Regression/JitBlue/DevDiv_714266/DevDiv_714266.csproj
new file mode 100644 (file)
index 0000000..bcc4883
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+    <CLRTestPriority>1</CLRTestPriority>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <PropertyGroup>
+    <DebugType></DebugType>
+    <Optimize>True</Optimize>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="$(MSBuildProjectName).cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
+</Project>
diff --git a/tests/src/JIT/Regression/JitBlue/GitHub_18672/GitHub_18672.cs b/tests/src/JIT/Regression/JitBlue/GitHub_18672/GitHub_18672.cs
new file mode 100644 (file)
index 0000000..51695fd
--- /dev/null
@@ -0,0 +1,69 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System.Runtime.CompilerServices;
+
+struct S4
+{
+    int FI1;
+}
+
+struct S24
+{
+    public int FI2;
+    public ulong FU3;
+    public S4 FS4;
+    public S24(int i, S4 s): this()
+    {
+        FI2 = i;
+        FS4 = s;
+    }
+}
+
+// A 24-byte struct that simply wraps S24
+struct S24W
+{
+    public S24 FS24;
+    public S24W(S24 s): this()
+    {
+        FS24 = s;
+    }
+}
+
+public class Program
+{
+    public static int Main()
+    {
+        S4    s4   = new S4();
+        S24   s24  = new S24(1, s4);
+        S24W  s24W = new S24W(s24);
+        S24   s24X = s24;
+
+        int   fI2  = s24.FI2;
+        int   fI2W = s24W.FS24.FI2;
+        int   fI2X = s24X.FI2;
+
+        M();
+
+        if ((fI2 == 1) && (fI2W == 1) && (fI2X == 1))
+        {
+            System.Console.WriteLine("Passed");
+            return 100;
+        }
+        else
+        {
+            // Before the fix we would fail with:
+            //
+            System.Console.WriteLine(fI2);   // 1 in debug, 1 in release  OK
+            System.Console.WriteLine(fI2W);  // 1 in debug, 0 in release  BAD
+            System.Console.WriteLine(fI2X);  // 1 in debug, 1 in release  OK
+
+            System.Console.WriteLine("Failed");
+            return 101;
+        }
+    }
+
+    [MethodImpl(MethodImplOptions.NoInlining)]
+    private static void M(){}
+}
diff --git a/tests/src/JIT/Regression/JitBlue/GitHub_18672/GitHub_18672.csproj b/tests/src/JIT/Regression/JitBlue/GitHub_18672/GitHub_18672.csproj
new file mode 100644 (file)
index 0000000..685e3e8
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+    <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+    <CLRTestPriority>1</CLRTestPriority>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <PropertyGroup>
+    <DebugType></DebugType>
+    <Optimize>True</Optimize>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="GitHub_18672.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
+</Project>
\ No newline at end of file
diff --git a/tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.cs b/tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.cs
new file mode 100644 (file)
index 0000000..81a532d
--- /dev/null
@@ -0,0 +1,25 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+
+class X
+{
+    static string s = "hello, world";
+
+    static string[,] G()
+    {
+        string[,] strings = new string[3,3];
+        strings[0,0] = s;
+        return strings;
+    }
+
+    // Ensure GTF_CALL flag is propagated to MD array accessor
+    public static int Main()
+    {
+        int c = G()[0,0].GetHashCode();
+        int v = s.GetHashCode();
+        return c == v ? 100 : -1;
+    }
+}
diff --git a/tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.csproj b/tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.csproj
new file mode 100644 (file)
index 0000000..52a913f
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+    <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+    <CLRTestPriority>1</CLRTestPriority>
+  </PropertyGroup>
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
+  <ItemGroup>
+    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+      <Visible>False</Visible>
+    </CodeAnalysisDependentAssemblyPaths>
+  </ItemGroup>
+  <PropertyGroup>
+    <DebugType></DebugType>
+    <Optimize>True</Optimize>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="GitHub_20651.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+  </ItemGroup>
+  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+  <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "></PropertyGroup>
+</Project>
\ No newline at end of file