﻿// TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Instrumented.cshtml(37,13): error CS8917: The delegate type could not be inferred.
//             item => new global::Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
Diagnostic(ErrorCode.ERR_CannotInferDelegateType, @"item => new global::Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
PushWriter(__razor_template_writer);
WriteLiteral(""<p>Bar</p>"");
PopWriter();
            }
            )").WithLocation(37, 13)