Exemple #1
0
            internal static EmptyInvalidPathFormatException Create()
            {
                var sinfo = new SerializationInfo(typeof(EmptyInvalidPathFormatException), new FormatterConverter());
                var eipfe = new EmptyInvalidPathFormatException();

                eipfe.GetObjectData(sinfo, default);
                return(new(sinfo, default));
            }
Exemple #2
0
            public void InvalidPathFormatExceptionTest()
            {
                InvalidPathFormatException ipfe;
                string?str;

                ipfe = new("path");
                ipfe = new("path", new Exception());
                ipfe = EmptyInvalidPathFormatException.Create();
                str  = ipfe.InvalidPath;
            }