vb.net - I can't assign to a variable named 'CallTypeList' -


an unusual issue turned in vb.net project. getting "object or value not set exception" on line of form:

dim calltypelist list(of object) = myorm.recordsettodynamic(sql) 

the right hand side of unimportant, in general reads database records via 3rd party api, , copies fields dynamic expandoobjects, individually boxed list(of object) - works, don't worry it.

i've spend 2 hours looking @ of functional structures, when duplicated line, moved earlier in function , called xcalltypelist, renamed 1 worked.

i thought else (active x probably) making execution state uncertain, , continued debugging.

it when exchanged xcalltypelist , calltypelist variable names discovered can't assign variable called 'calltypelist'.

does know what's going on? web searches suggest there isn't peculiar variable name.

i should note i'm using vs2013 community, have installed vs2015 professional, i've yet start using (not sure if makes difference).

thanks.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -