public AutoInstrumentEnterExitAttribute(AutoInstrumentationState state) { m_state = state; }
/// <summary> /// Creates a new instance of the AutoInstrumentEnterExitAttribute attribute. /// </summary> /// <param name="autoInstrument">True to automatically instrument the target, false to skip it.</param> public AutoInstrumentEnterExitAttribute(bool autoInstrument) { m_state = (autoInstrument ? AutoInstrumentationState.Requested : AutoInstrumentationState.NotInstrumented); }