Skip to content

Should we update ReturnParameter when updating ReturnType? #546

@CreateAndInject

Description

@CreateAndInject

public TypeSig ReturnType {
get => MethodSig?.RetType;
set {
var ms = MethodSig;
if (ms is not null)
ms.RetType = value;
}
}

		public TypeSig ReturnType {
			get => MethodSig?.RetType;
			set {
				var ms = MethodSig;
				if (ms is not null)
					ms.RetType = value;
				parameterList.ReturnParameter.Type = value;
			}
		}

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