int RunTest( ) { var timeZoneInformation = new RegistryTimeZoneInformation(); App.StompStackBelowCallerSP(); App.GenerateHalfInitializedArgSlots(timeZoneInformation); if (App.s_fArgumentCheckPassed) { Console.WriteLine("Passed."); return(100); } else { Console.WriteLine("Failed."); return(101); } }
void PrepareMethods( ) { var timeZoneInformation = new RegistryTimeZoneInformation(); App.s_fPreparingMethods = true; { App.GenerateHalfInitializedArgSlots(timeZoneInformation); } App.s_fPreparingMethods = false; return; }
void GenerateHalfInitializedArgSlots( RegistryTimeZoneInformation timeZoneInformation ) { if (timeZoneInformation.DaylightDate.Year == 0) { App.CheckArguments( 1, 1, 1, 1, timeZoneInformation.DaylightDate.Hour, timeZoneInformation.DaylightDate.Minute, timeZoneInformation.DaylightDate.Second, timeZoneInformation.DaylightDate.Milliseconds ); } return; }
int RunTest( ) { var timeZoneInformation = new RegistryTimeZoneInformation(); App.StompStackBelowCallerSP(); App.GenerateHalfInitializedArgSlots(timeZoneInformation); if (App.s_fArgumentCheckPassed) { Console.WriteLine("Passed."); return 100; } else { Console.WriteLine("Failed."); return 101; } }