CxStatementCode
Description
- Derived from
- 
CxStatement abstract 
A statement that contains native code (i.e. non Code-X):
// NATIVE: This is the brief description of the purpose of the native code block.
// Additional description content max be present in adjacent single-line comments.
#region Native {619C19A1-EC93-427B-83BA-64A8BEB4B7CA}
...
#endregion
In order to be able to detect usages of native functions in native code blocks reliably in an automated process, the following convention should be maintained:
- 
For .NET based programming languages, native functions (i.e., [DllImport]) should be wrapped in a class namedNativeMethods,SafeNativeMethodsorUnsafeNativeMethods:
 See CA1060: Move P/Invokes to NativeMethods class
 https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1060
- 
For the C++ programming language, native function calls should be wrapped with the NATIVE_FUNCTION(…)preprocessor macro.
Public / Constructors
CxStatementCode
2 overloads
Creates a new instance of CxStatementCode.
Creates a new instance of CxStatementCode.