/* goodG2B() - use goodsource and badsink */ private static void GoodG2B() { uint data = CWE190_Integer_Overflow__UInt32_console_readLine_add_61b.GoodG2BSource(); /* POTENTIAL FLAW: if data == uint.MaxValue, this will overflow */ uint result = (uint)(data + 1); IO.WriteLine("result: " + result); }