The C# team posts answers to common questions and describes new language features
Q: Why doesn't C# warn on unused methods?
A: This is something that the C# compiler could do, subject to a few caveats:
Other than that, it would be possible for us to do this, and we may do it in a future version.
[Author: Eric Gunnerson]
maybe they will be call out of this class ,
maybe you add this library to another project !
What about methods that aren't used by one assembly itself but in other assemblies that depend on the first one (and they are not together in the same solution)? The method would likely be marked as "unused" but the depending assembly would be broken upon removal of that method.
Not a problem with consistent definition and usage of interfaces, however.