/// <summary> /// Gets a flag that determines whether discovered test cases should include source information. /// Note that not all runners have access to source information, so this flag does not guarantee /// that source information will be provided. If the flag is not present, returns the default /// value (<c>false</c>). /// </summary> public static bool IncludeSourceInformationOrDefault(this _ITestFrameworkDiscoveryOptions discoveryOptions) { Guard.ArgumentNotNull(nameof(discoveryOptions), discoveryOptions); return(discoveryOptions.IncludeSourceInformation() ?? false); }