mirror of
https://github.com/github/codeql.git
synced 2026-03-30 12:18:18 +02: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);
|
|
}
|
|
}
|