Hi folks. Has anyone seen this behavior?
dim m_guid as System.Guid
m_guid = new System.Guid
In immediate window:
>? m_guid
{System.Guid}
Empty: {System.Guid}
>? m_guid.ToString()
"3c8cc630-570c-4b85-bbf7-7a5e10ea3458"
huh?? My guid doesn't have any value but when I call ToString when it magically gets a value? When I create the guid using new Guid(<<Some valid GUID>>) it exhibits the same behavior. Empty, except not.
What am I missing?
Is it something perverse about how VB.NET handles Guid's because we haven't observed this in any C# code.
Brian Begy
BugSentry - Automatic error reporting for .NET and COM
dim m_guid as System.Guid
m_guid = new System.Guid
In immediate window:
>? m_guid
{System.Guid}
Empty: {System.Guid}
>? m_guid.ToString()
"3c8cc630-570c-4b85-bbf7-7a5e10ea3458"
huh?? My guid doesn't have any value but when I call ToString when it magically gets a value? When I create the guid using new Guid(<<Some valid GUID>>) it exhibits the same behavior. Empty, except not.
What am I missing?
Is it something perverse about how VB.NET handles Guid's because we haven't observed this in any C# code.
Brian Begy
BugSentry - Automatic error reporting for .NET and COM