Click here to Skip to main content
15,891,905 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day Pin
W Balboos, GHB6-Dec-19 5:00
W Balboos, GHB6-Dec-19 5:00 
GeneralRe: Thought of the Day Pin
Mike Hankey6-Dec-19 5:18
mveMike Hankey6-Dec-19 5:18 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani6-Dec-19 5:31
professionalRavi Bhavnani6-Dec-19 5:31 
GeneralRe: Thought of the Day Pin
AnaisaCpc6-Dec-19 5:44
AnaisaCpc6-Dec-19 5:44 
GeneralRe: Thought of the Day Pin
Jacquers6-Dec-19 7:36
Jacquers6-Dec-19 7:36 
GeneralRe: Thought of the Day Pin
DRHuff6-Dec-19 9:26
DRHuff6-Dec-19 9:26 
GeneralRe: Thought of the Day Pin
OriginalGriff6-Dec-19 9:42
mveOriginalGriff6-Dec-19 9:42 
GeneralI'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 4:28
mvahoney the codewitch6-Dec-19 4:28 
So I need to resolve the "type" of a this reference, but I cannot do it without knowing how my object was created because what type arguments were used? This is where generics ridiculously complicate things.

I know how the C# compiler does it internally. Each generic instantiation is given its own "name" and type entry.

In the CodeDOM this just *can't* work that way. At least not in any fashion I can figure out. There is only one CodeTypeDeclaration for any given type, even if it is generic.

To make it otherwise would break the CodeDOM. I'm trying to use "userData" tags to mark up the codedom with extra information, but frankly, I don't even know how to "trace" the this reference back to the create object statement that brought it to life.

*scratches head*

I've taken breaks. I've even coded different stuff to cleanse my mind. It's just not coming to me.

I'm so frustrated right now. This project is an absolute bear.

Edit: I'm not even 100% sure this is the right approach even if I do figure it out. Sigh | :sigh:
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: I'm completely stumped. At least for now. Pin
Greg Utas6-Dec-19 4:51
professionalGreg Utas6-Dec-19 4:51 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 4:56
mvahoney the codewitch6-Dec-19 4:56 
GeneralRe: I'm completely stumped. At least for now. Pin
Greg Utas6-Dec-19 5:17
professionalGreg Utas6-Dec-19 5:17 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 5:33
mvahoney the codewitch6-Dec-19 5:33 
GeneralRe: I'm completely stumped. At least for now. Pin
Richard Andrew x646-Dec-19 9:51
professionalRichard Andrew x646-Dec-19 9:51 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 12:06
mvahoney the codewitch6-Dec-19 12:06 
GeneralRe: I'm completely stumped. At least for now. Pin
englebart9-Dec-19 4:39
professionalenglebart9-Dec-19 4:39 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch9-Dec-19 4:47
mvahoney the codewitch9-Dec-19 4:47 
QuestionWhy use .NET technologies vs., say, Node? Pin
Marc Clifton6-Dec-19 3:03
mvaMarc Clifton6-Dec-19 3:03 
AnswerRe: Why use .NET technologies vs., say, Node? PinPopular
Pete O'Hanlon6-Dec-19 3:05
mvePete O'Hanlon6-Dec-19 3:05 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
#realJSOP6-Dec-19 4:06
mve#realJSOP6-Dec-19 4:06 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Fernando A. Gomez F.9-Dec-19 8:43
Fernando A. Gomez F.9-Dec-19 8:43 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
#realJSOP9-Dec-19 10:34
mve#realJSOP9-Dec-19 10:34 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Dan Neely6-Dec-19 4:41
Dan Neely6-Dec-19 4:41 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Pete O'Hanlon6-Dec-19 5:18
mvePete O'Hanlon6-Dec-19 5:18 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Dan Neely6-Dec-19 5:26
Dan Neely6-Dec-19 5:26 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Marc Clifton6-Dec-19 6:59
mvaMarc Clifton6-Dec-19 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.