Mono.Debugger.Backend.DwarfReader.DwarfTargetMethod.GetDeclaringType C# (CSharp) Method

GetDeclaringType() public method

public GetDeclaringType ( System.Thread target ) : TargetClassType
target System.Thread
return Mono.Debugger.Languages.TargetClassType
            public override TargetClassType GetDeclaringType(Thread target)
            {
                if (!subprog.HasThis)
                    return null;

                var type = subprog.This.Type;

                var ptype = type as TargetPointerType;
                if (ptype != null)
                    type = ptype.StaticType;

                return (TargetClassType) type;
            }