System.Tests.BadImageFormatExceptionTests.FusionLogTest C# (CSharp) Method

FusionLogTest() private method

private FusionLogTest ( ) : void
return void
        public static void FusionLogTest()
        {
            string message = "this is not the file you're looking for";
            string fileName = "file.txt";
            var innerException = new Exception("Inner exception");
            var exception = new BadImageFormatException(message, fileName, innerException);

            Assert.Null(exception.FusionLog);
        }
    }