Files
codeql/csharp/ql/test/library-tests/assignables/Finally.cs
2018-08-02 17:53:23 +01:00

20 lines
245 B
C#

using System;
class Finally
{
int M(bool b)
{
int i = 0;
try
{
if (b)
throw new Exception();
}
finally
{
i = 1;
}
return i;
}
}