#pragma warning disable 219
using System;
namespace test {
public class DefaultTest {
public static void aA(string d = default(string)) {
string[] a = null;
foreach (string s in a)
{
if (true)
{
//int pos = 1; // error here
Action action = () => {
int pos = 2; // error here
};
}
}
int pos = 2;
}
}
}