/// <summary> /// Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not present, /// returns the default value (<c>false</c>). /// </summary> public static bool DiagnosticMessagesOrDefault(this _ITestFrameworkDiscoveryOptions discoveryOptions) { Guard.ArgumentNotNull(nameof(discoveryOptions), discoveryOptions); return(discoveryOptions.DiagnosticMessages() ?? false); }