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