Restore <TreatWarningsAsErrors> and fix warnings

このコミットが含まれているのは:
Sergio Pedri committed 2021-11-20 16:48:18 +01:00
1 親 ec901922db
コミット d8a4a7412d
25ファイル変更
+49 -35

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

+1 -2
ファイルの表示
@@ -1404,8 +1404,7 @@ public class DiagnosticsTests
/// </summary>
/// <typeparam name="TGenerator">The generator type to use.</typeparam>
/// <param name="source">The input source to process.</param>
/// <param name="index">The target index to check in the resulting output.</param>
/// <param name="expectedBody">The expected body to compare with the generated code.</param>
/// <param name="diagnosticsIds">The expected diagnostics ids to be generated.</param>
private static void VerifyGeneratedDiagnostics<TGenerator>(string source, params string[] diagnosticsIds)
where TGenerator : class, ISourceGenerator, new()
{