Click here to Skip to main content
14,429,185 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 Balboos6-Dec-19 6:00
mveW Balboos6-Dec-19 6:00 
GeneralRe: Thought of the Day Pin
Mike Hankey6-Dec-19 6:18
professionalMike Hankey6-Dec-19 6:18 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani6-Dec-19 6:31
professionalRavi Bhavnani6-Dec-19 6:31 
GeneralRe: Thought of the Day Pin
AnaisaCpc6-Dec-19 6:44
MemberAnaisaCpc6-Dec-19 6:44 
GeneralRe: Thought of the Day Pin
Jacquers6-Dec-19 8:36
MemberJacquers6-Dec-19 8:36 
GeneralRe: Thought of the Day Pin
DRHuff6-Dec-19 10:26
MemberDRHuff6-Dec-19 10:26 
GeneralRe: Thought of the Day Pin
OriginalGriff6-Dec-19 10:42
communityengineerOriginalGriff6-Dec-19 10:42 
GeneralI'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 5:28
mvahoney the codewitch6-Dec-19 5: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 5:51
professionalGreg Utas6-Dec-19 5:51 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 5:56
mvahoney the codewitch6-Dec-19 5:56 
GeneralRe: I'm completely stumped. At least for now. Pin
Greg Utas6-Dec-19 6:17
professionalGreg Utas6-Dec-19 6:17 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 6:33
mvahoney the codewitch6-Dec-19 6:33 
GeneralRe: I'm completely stumped. At least for now. Pin
Richard Andrew x646-Dec-19 10:51
professionalRichard Andrew x646-Dec-19 10:51 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch6-Dec-19 13:06
mvahoney the codewitch6-Dec-19 13:06 
GeneralRe: I'm completely stumped. At least for now. Pin
englebart9-Dec-19 5:39
professionalenglebart9-Dec-19 5:39 
GeneralRe: I'm completely stumped. At least for now. Pin
honey the codewitch9-Dec-19 5:47
mvahoney the codewitch9-Dec-19 5:47 
QuestionWhy use .NET technologies vs., say, Node? Pin
Marc Clifton6-Dec-19 4:03
communityengineerMarc Clifton6-Dec-19 4:03 
AnswerRe: Why use .NET technologies vs., say, Node? Pin
Pete O'Hanlon6-Dec-19 4:05
communityengineerPete O'Hanlon6-Dec-19 4:05 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
#realJSOP6-Dec-19 5:06
mva#realJSOP6-Dec-19 5:06 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Fernando A. Gomez F.9-Dec-19 9:43
MemberFernando A. Gomez F.9-Dec-19 9:43 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
#realJSOP9-Dec-19 11:34
mva#realJSOP9-Dec-19 11:34 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Dan Neely6-Dec-19 5:41
MemberDan Neely6-Dec-19 5:41 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Pete O'Hanlon6-Dec-19 6:18
communityengineerPete O'Hanlon6-Dec-19 6:18 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Dan Neely6-Dec-19 6:26
MemberDan Neely6-Dec-19 6:26 
GeneralRe: Why use .NET technologies vs., say, Node? Pin
Marc Clifton6-Dec-19 7:59
communityengineerMarc Clifton6-Dec-19 7: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.