Skip to content

Argument.Arity modify internal state on first get access. #2704

@PetSerAl

Description

@PetSerAl

Argument.Arity modify internal state on first get access:

get
{
if (!_arity.IsNonDefault)
{
_arity = ArgumentArity.Default(this, FirstParent);
}
return _arity;
}

This behavior can be problematic with debugger. As debugger display value for property it would be fixed with possibly incorrect value. Argument should define debugger view that does not initialize Arity on first get access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions