Synced
Diagnostic.Warning
Section titled “Diagnostic.Warning”
- Creates a warning diagnostic value without publishing it.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Diagnostics
Scope: Runtime
Declaration
Section titled “Declaration”public static InnoEngine.Diagnostics.Diagnostic InnoEngine.Diagnostics.Diagnostic.Warning(string code, string message, InnoEngine.Diagnostics.DiagnosticLocation? location = null)Parameters
Section titled “Parameters”Parameter code: The stable producer-defined code, or an empty string when no code is available.
Parameter message: The human-readable diagnostic message.
Parameter location: The related source location, or null when unavailable.
Returns
Section titled “Returns”An immutable warning diagnostic that can be supplied to M:InnoEngine.Diagnostics.Diagnostics.Set(System.String,InnoEngine.Diagnostics.Diagnostic).
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when message is null.