How should the analyzer treat generics? disallowed?
static void Main()
{
NonCopyableStruct x = new NonCopyableStruct();
var illegal = x; // ❌
var misjudged = Copy(x); // logically ❌ but allowed in current implementation
}
public static T Copy<T>(in T x) => x;
How should the analyzer treat generics? disallowed?
interface annotation? https://github.com/ufcpp/NonCopyableAnalyzer/issues/1