public void CanCreateReadOnlyExposedProperties()
{
var viewModelType = AssemblyWeaver.Assembly.GetType("Catel.Fody.TestAssembly.ExposingViewModel");
var propertyInfo = viewModelType.GetPropertyEx("ReadOnlyProperty");
var setMethod = propertyInfo.GetSetMethod(true);
if (setMethod != null)
{
Assert.IsFalse(setMethod.IsPublic);
}
}
#endregion