private static int Main() { // Things I would like to test, but we don't fully support yet: // * Interface method is reflectable if we statically called it through a constrained call // * Delegate Invoke method is reflectable if we statically called it // // Tests for dependency graph in the compiler // #if !OPTIMIZED_MODE_WITHOUT_SCANNER TestContainment.Run(); TestInterfaceMethod.Run(); TestByRefLikeTypeMethod.Run(); #endif TestAttributeInheritance.Run(); TestStringConstructor.Run(); TestAssemblyAndModuleAttributes.Run(); TestAttributeExpressions.Run(); TestParameterAttributes.Run(); TestNecessaryEETypeReflection.Run(); // // Mostly functionality tests // TestCreateDelegate.Run(); TestInstanceFields.Run(); TestReflectionInvoke.Run(); TestByRefReturnInvoke.Run(); return(100); }
private static int Main() { // Things I would like to test, but we don't fully support yet: // * Interface method is reflectable if we statically called it through a constrained call // * Delegate Invoke method is reflectable if we statically called it // // Tests for dependency graph in the compiler // #if !OPTIMIZED_MODE_WITHOUT_SCANNER TestContainment.Run(); TestInterfaceMethod.Run(); // Need to implement RhGetCodeTarget for CppCodeGen #if !CODEGEN_CPP TestByRefLikeTypeMethod.Run(); #endif #endif TestILScanner.Run(); TestUnreferencedEnum.Run(); TestAttributeInheritance.Run(); TestStringConstructor.Run(); TestAssemblyAndModuleAttributes.Run(); TestAttributeExpressions.Run(); TestParameterAttributes.Run(); TestPropertyAndEventAttributes.Run(); TestNecessaryEETypeReflection.Run(); // // Mostly functionality tests // TestCreateDelegate.Run(); TestInstanceFields.Run(); TestReflectionInvoke.Run(); #if !CODEGEN_CPP TestThreadStaticFields.Run(); TestByRefReturnInvoke.Run(); TestAssemblyLoad.Run(); #endif return(100); }