internal static EmptyInvalidPathFormatException Create() { var sinfo = new SerializationInfo(typeof(EmptyInvalidPathFormatException), new FormatterConverter()); var eipfe = new EmptyInvalidPathFormatException(); eipfe.GetObjectData(sinfo, default); return(new(sinfo, default)); }
public void InvalidPathFormatExceptionTest() { InvalidPathFormatException ipfe; string?str; ipfe = new("path"); ipfe = new("path", new Exception()); ipfe = EmptyInvalidPathFormatException.Create(); str = ipfe.InvalidPath; }