BypassOverrideCheck Property
Definition
BypassOverrideCheck
Gets or sets a value indicating whether an overriden method will return without further processing.
public bool BypassOverrideCheck { get; set; }
Property Value
- bool
trueto bypass the check that evaluates if a ToString() method is overriden; otherwise,false.
Remarks
If ObjectPortrayal(object, Action<ObjectPortrayalOptions>) is called from within an overriden ToString() method, this property should have a value of true to avoid StackOverflowException.