Re: Destructors are useless?
- From: "Michi Henning" <michi@xxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 07:53:02 +1000
"Dilip" <rdilipk@xxxxxxxxx> wrote in message
news:1114698069.478784.4670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Admittedly I don't know why this is documented in
> Environment.HasShutdownStarted but here it is, reproduced verbatim:
>
> "Note: An exception to this rule is the Console class, which contains
> static fields that reference stream objects, but is implemented
> specially so you can always write to the system console, even during
> domain unloading or system shutdown."
Yes, I stumbled across this one too.
> Is this authoritative enough?
Well, for .NET, it is. But it's not authoritative enough for Mono, I suspect.
Guarantees such as this should really be part of the language or library
spec. Anyway, I'll point the Mono people at that passage, thanks!
Cheers,
Michi.
--
Michi Henning Ph: +61 4 1118-2700
ZeroC, Inc. http://www.zeroc.com
.
- References:
- Destructors are useless?
- From: Michi Henning
- Re: Destructors are useless?
- From: Tom Porterfield
- Re: Destructors are useless?
- From: Michi Henning
- Re: Destructors are useless?
- From: Dilip
- Re: Destructors are useless?
- From: Michi Henning
- Re: Destructors are useless?
- From: Dmytro Lapshyn [MVP]
- Re: Destructors are useless?
- From: Michi Henning
- Re: Destructors are useless?
- From: Dilip
- Destructors are useless?
- Prev by Date: sending an SMS to mobile phone
- Next by Date: Re: Internet Explorer BHO -- Problem writing to file
- Previous by thread: Re: Destructors are useless?
- Next by thread: Re: Destructors are useless?
- Index(es):