G
Guest
Why does the following code
public ref struct X abstract sealed {
literal int Y = 1;
};
give the error C4693: 'X' a sealed abstract class cannot have any instance
members 'Y'?
In the help it says that literal implies static.
public ref struct X abstract sealed {
literal int Y = 1;
};
give the error C4693: 'X' a sealed abstract class cannot have any instance
members 'Y'?
In the help it says that literal implies static.