I have a class, which has a default constructor inherently.
public class OneRollingFileAppender : RollingFileAppender
{
#region RollingFileAppender Overrides
protected override void Append(LoggingEvent loggingEvent)
{
GlobalFactory<ILoggingEventParameterManager>.Instance.Apply(loggingEvent);
base.Append(loggingEvent);
}
#endregion
}
Without editing the code, e.g adding a new constructor or property, how can I breakpoint default constructor?
NOTE: There should be a technique which will to find the code in IL or in memory, and then I'd like to set a breakpoint there.