There's another instance where Resharper isn't picking up the definition of
a control, and that seems to be when there's a nested control, such as a
repeater. Here's the code:
The "id=Messages" is properly color coded and recognized in the codebehind
The id="MessagesRepeater" is not colorcoded or recognized in the codebehind
file. References to "MessagesRepeater" are shown in red with a cannot
resolve symbol error. But of course the code compiles and runs fine.
I'm assuming the problem has to do with the nested nature of the control,
and not the capitalization of "ID=", becuase I changed the capitalization
and the "MessagesRepeater" identifier was still not recognized, and those
tags should be case-insensitive anyway.