diff --git a/src/Umbraco.Tests/Models/UmbracoEntityTests.cs b/src/Umbraco.Tests/Models/UmbracoEntityTests.cs index 2be59c7b07..a24b5f1c35 100644 --- a/src/Umbraco.Tests/Models/UmbracoEntityTests.cs +++ b/src/Umbraco.Tests/Models/UmbracoEntityTests.cs @@ -1,4 +1,5 @@ -using NUnit.Framework; +using System; +using NUnit.Framework; using Umbraco.Core.Models; namespace Umbraco.Tests.Models @@ -10,10 +11,10 @@ namespace Umbraco.Tests.Models public void UmbracoEntity_Can_Be_Initialized_From_Dynamic() { var boolIsTrue = true; - var intIsTrue = 1; + ulong ulongIsTrue = 1; // because MySql might return ulong var trashedWithBool = new UmbracoEntity((dynamic)boolIsTrue); - var trashedWithInt = new UmbracoEntity((dynamic)intIsTrue); + var trashedWithInt = new UmbracoEntity((dynamic)ulongIsTrue); Assert.IsTrue(trashedWithBool.Trashed); Assert.IsTrue(trashedWithInt.Trashed); diff --git a/src/Umbraco.Web/Standalone/PowershellAssemblyResolver.cs b/src/Umbraco.Web/Standalone/PowershellAssemblyResolver.cs index 8c323902c0..63dd2ff252 100644 --- a/src/Umbraco.Web/Standalone/PowershellAssemblyResolver.cs +++ b/src/Umbraco.Web/Standalone/PowershellAssemblyResolver.cs @@ -5,7 +5,7 @@ using System.Reflection; namespace Umbraco.Web.Standalone { - public static class PowershellAssemblyResolver + internal static class PowershellAssemblyResolver { private static readonly Dictionary Assemblies; private static readonly object Locko = new object(); diff --git a/src/Umbraco.Web/Standalone/WriteableConfigSystem.cs b/src/Umbraco.Web/Standalone/WriteableConfigSystem.cs index 86d187c393..2438256cce 100644 --- a/src/Umbraco.Web/Standalone/WriteableConfigSystem.cs +++ b/src/Umbraco.Web/Standalone/WriteableConfigSystem.cs @@ -10,7 +10,7 @@ namespace Umbraco.Web.Standalone // see http://stackoverflow.com/questions/15653621/how-to-update-add-modify-delete-keys-in-appsettings-section-of-web-config-at-r // see http://www.codeproject.com/Articles/69364/Override-Configuration-Manager - public sealed class WriteableConfigSystem : IInternalConfigSystem + internal sealed class WriteableConfigSystem : IInternalConfigSystem { private static readonly ReaderWriterLockSlim RwLock = new ReaderWriterLockSlim(); private static WriteableConfigSystem _installed;