Watch window is not able to see the variable y. It says 'Identifier not found'.
using System;
namespace BeefTest;
class Sample
{
using struct
{
public int x = 1;
}wrapper;
int y = x; // y not detected by Watch Window
public this()
{
Console.WriteLine($"{x}, {wrapper.x}, {y}");
}
}
class Program
{
public static void Main()
{
Sample s = scope .();
}
}
