Mono.Debugger.Frontend.ObjectFormatter.FormatNullable C# (CSharp) Method

FormatNullable() protected method

protected FormatNullable ( Thread target, TargetNullableObject nullable ) : void
target Thread
nullable Mono.Debugger.Languages.TargetNullableObject
return void
        protected void FormatNullable(Thread target, TargetNullableObject nullable)
        {
            bool has_value = nullable.HasValue (target);

            if (has_value) {
                TargetObject value = nullable.GetValue (target);
                FormatObjectRecursed (target, value, true);
            } else {
                Append ("null");
            }
        }