Mono.Debugger.Languages.Mono.MonoVariable.MonoVariable C# (CSharp) Method

MonoVariable() public method

public MonoVariable ( string name, TargetType type, bool is_local, bool is_byref, Method method, VariableInfo info ) : System
name string
type TargetType
is_local bool
is_byref bool
method Method
info Mono.Debugger.Backend.Mono.VariableInfo
return System
        public MonoVariable(string name, TargetType type, bool is_local, bool is_byref,
				     Method method, VariableInfo info)
        {
            this.name = name;
            this.type = type;
            this.info = info;
            this.is_byref = is_byref;

            start_scope = method.StartAddress;
            end_scope = method.EndAddress;

            if (info.HasLivenessInfo) {
                start_liveness = method.StartAddress + info.BeginLiveness;
                end_liveness = method.StartAddress + info.EndLiveness;
                has_liveness_info = true;
            } else {
                start_liveness = method.MethodStartAddress;
                end_liveness = method.MethodEndAddress;
                has_liveness_info = false;
            }
        }

Same methods

MonoVariable::MonoVariable ( string name, TargetType type, bool is_local, bool is_byref, Method method, VariableInfo info, int start_scope_offset, int end_scope_offset ) : System