PdfSharp.System Helper class for code migration to nullable reference types. Throws an InvalidOperationException because an expression which must not be null is null. The message. Throws InvalidOperationException. Use this function during the transition from older C# code to new code that uses nullable reference types. The type this function must return to be compiled correctly. An optional message used for the exception. Nothing, always throws. Throws InvalidOperationException. Use this function during the transition from older C# code to new code that uses nullable reference types. The type this function must return to be compiled correctly. The type of the object that is null. An optional message used for the exception. Nothing, always throws. Experimental throw helper. URLs used in PDFsharp are maintained only here. URL for missing assets error message. "https://docs.pdfsharp.net/link/download-assets.html" URL for missing font resolver. "https://docs.pdfsharp.net/link/font-resolving.html" Defines the logging categories of PDFsharp. Default category for standard logger. Provides a single global logger factory used for logging in PDFsharp. Gets or sets the current global logger factory singleton for PDFsharp. Every logger used in PDFsharp code is created by this factory. You can change the logger factory at any one time you want. If no factory is provided the NullLoggerFactory is used as the default. Gets the global PDFsharp default logger. Creates a logger with a given category name. Creates a logger with the full name of the given type as category name. Resets the logging host to the state it has immediately after loading the PDFsharp library. This function is only useful in unit test scenarios and not intended to be called from application code.