Does compiler omit unused methods?
- From: "Michael A. Covington" <look@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Feb 2008 15:50:53 -0500
Does the C# compiler omit methods that are never called?
I'm constructing a class with many methods, one of which is probably
incompatible with Mono. I'm wondering it it will be omitted from the .exe
in programs that never refer to it. Or is that wishful thinking?
.
- Follow-Ups:
- Re: Does compiler omit unused methods?
- From: rossum
- Re: Does compiler omit unused methods?
- From: Jeroen Mostert
- Re: Does compiler omit unused methods?
- From: Arne Vajhøj
- Re: Does compiler omit unused methods?
- Prev by Date: Re: How to move fast around a 2D array
- Next by Date: Re: Does compiler omit unused methods?
- Previous by thread: Help Needed Initialising Class
- Next by thread: Re: Does compiler omit unused methods?
- Index(es):