mirror of
https://github.com/github/codeql.git
synced 2026-03-27 17:58:17 +01:00
12 lines
295 B
C#
12 lines
295 B
C#
using System;
|
|
|
|
class Bad
|
|
{
|
|
void M(Exception ex)
|
|
{
|
|
Console.WriteLine("Error processing file: {0}", ex, ex.HResult);
|
|
Console.WriteLine("Error processing file: {1} ({1})", ex, ex.HResult);
|
|
Console.WriteLine("Error processing file: %s (%d)", ex, ex.HResult);
|
|
}
|
|
}
|