Skip to content

Handle Accessibility Differences in Property Accessors Correctly #203

@JasonBock

Description

@JasonBock

To reproduce:

public class PropertyAccesibilityDifferences
{
  public virtual Type DestinationType { get; protected set; }
}

Rocks will generate this such that the get and set are both public, and this is incorrect.

This came from AutoMapper.PropertyMap - specifically the DestinationType property.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions