System.IO.Tests.Directory_CreateDirectory.PathWithInvalidColons_ThrowsNotSupportedException C# (CSharp) Méthode

PathWithInvalidColons_ThrowsNotSupportedException() private méthode

private PathWithInvalidColons_ThrowsNotSupportedException ( ) : void
Résultat void
        public void PathWithInvalidColons_ThrowsNotSupportedException()
        {
            var paths = IOInputs.GetPathsWithInvalidColons();
            Assert.All(paths, (path) =>
            {
                Assert.Throws<NotSupportedException>(() => Create(path));
            });
        }
Directory_CreateDirectory