Small manual code style tweaks and warning suppressions

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 9343ac7f7b
コミット 27c629f3b4
8ファイル変更
+42 -37

検索条件に一致するファイルはありません

+1 -4
ファイルの表示
@@ -49,10 +49,7 @@ internal static class DiagnosticsExtensions
/// <param name="diagnostics">The input <see cref="IncrementalValuesProvider{TValues}"/> sequence of diagnostics.</param>
public static void ReportDiagnostics(this IncrementalGeneratorInitializationContext context, IncrementalValuesProvider<DiagnosticInfo> diagnostics)
{
context.RegisterSourceOutput(diagnostics, static (context, diagnostic) =>
{
context.ReportDiagnostic(diagnostic.ToDiagnostic());
});
context.RegisterSourceOutput(diagnostics, static (context, diagnostic) => context.ReportDiagnostic(diagnostic.ToDiagnostic()));
}
/// <summary>