[Mono-dev] Type.GUID patch

Robert Jordan robertj at gmx.net
Sat Sep 3 07:58:32 EDT 2005


> Here's a patch for the Type.GUID property. It was previously always
> returning Guid.Empty. It now returns the value of the GuidAttribute
> specified on the Type, else it returns Guid.Empty. This seems to be the
> behavior of .Net. Please review and commit, or give me permission to
> commit.

BTW, .NET's Type.GUID never returns Guid.Empty. If GuidAttribute
isn't applied, it returns a GUID that seems to be somehow
derived/generated from the type name at runtime.


More information about the Mono-devel-list mailing list