Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a warning diagnostic value without publishing it.

API: engine
Project: Inno.Core.Diagnostics

public static Inno.Core.Diagnostics.Diagnostic Inno.Core.Diagnostics.Diagnostic.Warning(string code, string message, Inno.Core.Diagnostics.DiagnosticLocation? location = null)

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.

An immutable warning diagnostic that can be supplied to M:Inno.Core.Diagnostics.Diagnostics.Set(System.String,Inno.Core.Diagnostics.Diagnostic).

Exception T:System.ArgumentNullException: Thrown when message is null.