Hi Nick,
Thank you for posting in the community! My name is Jeffrey, and I will be
assisting you on this issue.
Based on my understanding, you want to find the #pargma diretives
alternative in C#.
=================================================
In C#, there are many directives you can specify in your code, you can find
these directives in C# language specification, please refer to Philip's
reply.
For your concern of #pargma warnning directive, I think you need the
"#warning directives", please refer to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/
vclrfwarning.asp
=================================================
Please apply my suggestion above and let me know if it meets your need.
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Have a nice day!!
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.