How do I know notnull, use type or kind, not use string.
#82332
Answered
by
CyrusNajmabadi
zms9110750
asked this question in
Q&A
-
|
i have public void Hello3<T, H, E, G>()
where T : class, E, new()
where E : notnull, IList<E>, IEquatable<E>, new()
where H : unmanaged, allows ref struct
where G : unmanaged
{
}but i want |
Beta Was this translation helpful? Give feedback.
Answered by
CyrusNajmabadi
Feb 8, 2026
Replies: 1 comment 8 replies
-
|
Sorry, I have no idea what you're asking here. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Yes. That's correct.
There is no reason to believe that's the right thing to do. As new language features are added, you must consider what it would take to support them.
We do not supply any sort of generalized "as the language changes, solve the problem for me of generating code that is correct based on my domain needs" for all types of symbols.