diff --git a/src/managed/Microsoft.NET.HostModel/AppHost/AppNameTooLongException.cs b/src/managed/Microsoft.NET.HostModel/AppHost/AppNameTooLongException.cs index cde719e960..069b7f5718 100644 --- a/src/managed/Microsoft.NET.HostModel/AppHost/AppNameTooLongException.cs +++ b/src/managed/Microsoft.NET.HostModel/AppHost/AppNameTooLongException.cs @@ -11,11 +11,12 @@ namespace Microsoft.NET.HostModel.AppHost /// public class AppNameTooLongException : AppHostUpdateException { - public string LongName; + public string LongName { get; } public AppNameTooLongException(string name) { LongName = name; } + } } diff --git a/src/managed/Microsoft.NET.HostModel/AppHost/AppUpdatePlaceHolderNotFoundException.cs b/src/managed/Microsoft.NET.HostModel/AppHost/AppUpdatePlaceHolderNotFoundException.cs index a497c2d673..895728bbd8 100644 --- a/src/managed/Microsoft.NET.HostModel/AppHost/AppUpdatePlaceHolderNotFoundException.cs +++ b/src/managed/Microsoft.NET.HostModel/AppHost/AppUpdatePlaceHolderNotFoundException.cs @@ -12,8 +12,7 @@ namespace Microsoft.NET.HostModel.AppHost /// public class AppUpdatePlaceHolderNotFoundException : AppHostUpdateException { - public byte[] MissingPattern; - + public byte[] MissingPattern { get; } public AppUpdatePlaceHolderNotFoundException(byte[] pattern) { MissingPattern = pattern;