c# - Suppress results from generated code -
I have a project in which "press results from generated code" is checked in its properties when I add a service reference So, the proxy class (reference cs) that is automatically inspired, adds the following attribute:
[System.Diagnostics.DebuggerStepThroughAttribute ()] [System.CodeDom.Compiler.GeneratedCodeAttribute ("System. Runtime.Serialization "," 3.0.0.0 ")] When I compile in release mode, as I like to make XML comments I've been warning, I'm getting warnings proxy ways are commenting.
In addition to this, the reference is not a CS class class compliant.
Does anybody know about it without disabling Pragma / how to solve it?
Thanks in advance.
"Press result with generated code" option is for code analysis only to suppress warnings from the compiler For, you have to disable the program.
Comments
Post a Comment