The analyzer detected a suspicious sequence of arguments passed to a method. Perhaps, some arguments are misplaced.
An example of suspicious code:
void SetARGB(short A, short R, short G, short B) { .... }
void Foo(){
short A = 0, R = 0, G = 0, B = 0;
....
SetARGB(A, R, B, G);
....
}
When defining the object color, the programmer accidentally swapped the blue and green color parameters.
The fixed version of the code should look like this:
SetARGB(A, R, G, B);
This diagnostic is classified as:
You can look at examples of errors detected by the V6029 diagnostic. |
Was this page helpful?
Your message has been sent. We will email you at
If you do not see the email in your inbox, please check if it is filtered to one of the following folders:
Take
a chance!