diff --git a/.global.editorconfig.ini b/.global.editorconfig.ini index e0615944a4..711d075af8 100644 --- a/.global.editorconfig.ini +++ b/.global.editorconfig.ini @@ -36,7 +36,7 @@ dotnet_diagnostic.BHI1120.severity = silent # Check result of IDictionary.TryGetValue, or discard it if default(T) is desired dotnet_diagnostic.BHI1200.severity = error -# Inferred type of bramches of ternary expression in interpolation don't match +# Inferred type of branches of ternary expression in interpolation don't match dotnet_diagnostic.BHI1210.severity = error # Call to FirstOrDefault when elements are of a value type; FirstOrNull may have been intended diff --git a/ExternalProjects/BizHawk.Analyzer/TernaryInferredTypeMismatchAnalyzer.cs b/ExternalProjects/BizHawk.Analyzer/TernaryInferredTypeMismatchAnalyzer.cs index 435981214f..7aa8011d34 100644 --- a/ExternalProjects/BizHawk.Analyzer/TernaryInferredTypeMismatchAnalyzer.cs +++ b/ExternalProjects/BizHawk.Analyzer/TernaryInferredTypeMismatchAnalyzer.cs @@ -11,8 +11,7 @@ public sealed class TernaryInferredTypeMismatchAnalyzer : DiagnosticAnalyzer { private static readonly DiagnosticDescriptor DiagTernaryInferredTypeMismatch = new( id: "BHI1210", - title: "Inferred type of bramches of ternary expression in interpolation don't match", -// messageFormat: "Inferred type of ternary expression is object (missing ToString call?)", + title: "Inferred type of branches of ternary expression in interpolation don't match", messageFormat: "{0}", category: "Usage", defaultSeverity: DiagnosticSeverity.Warning, diff --git a/References/BizHawk.Analyzer.dll b/References/BizHawk.Analyzer.dll index 5b0f2b86ac..39d8a83466 100644 Binary files a/References/BizHawk.Analyzer.dll and b/References/BizHawk.Analyzer.dll differ