Author |
Topic  |
|
Uniwares
Tomato Guru
    
Portugal
2322 Posts |
Posted - Feb 09 2020 : 08:00:42 AM
|
In the method below, all parameters are int (as correctly suggested by VS), also note the duplicate variable name suggested.


|
|
feline
Whole Tomato Software
    
United Kingdom
19179 Posts |
Posted - Feb 10 2020 : 07:36:14 AM
|
Do you still have this example, or one like it, on hand?
If so, can you please place the caret into "ID" for the first two parameters, and see what VA is showing in it's Context and Definition fields. The type suggested should match the type VA thinks these parameters have, so this is a sensible place to start trying to understand the problem. |
zen is the art of being at one with the two'ness |
 |
|
Uniwares
Tomato Guru
    
Portugal
2322 Posts |
Posted - Feb 10 2020 : 07:50:48 AM
|
Both perfectly correct. So VA obviously knows the type. Might it be because the type is defined in a partial class which is distributed over 3 files? Its a auto generated class from the database. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19179 Posts |
Posted - Feb 11 2020 : 2:29:08 PM
|
Is there any chance of getting a copy of just these 3 files, for testing purposes only? I appreciate this is often not possible, but worth asking on the off chance. I can then see if I can reproduce this odd behaviour here with the files.
If so, please send me the files via email:
[email protected]
including this thread ID or URL in the description, so we can match it up. |
zen is the art of being at one with the two'ness |
 |
|
|
Topic  |
|