mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
63 lines
2.9 KiB
C#
63 lines
2.9 KiB
C#
// A hand-written test file that mimics the output of compiling a `.cshtml` file
|
|
#pragma checksum "Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c4ae76542f1958092cebd8f57beef899d20fc548"
|
|
// <auto-generated/>
|
|
#pragma warning disable 1591
|
|
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(dotnetweb.Pages.Pages_Index), @"mvc.1.0.razor-page", @"Index.cshtml")]
|
|
namespace dotnetweb.Pages
|
|
{
|
|
#line hidden
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.Mvc.Rendering;
|
|
using Microsoft.AspNetCore.Mvc.ViewFeatures;
|
|
#nullable restore
|
|
using dotnetweb;
|
|
|
|
#line default
|
|
#line hidden
|
|
#nullable disable
|
|
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c4ae76542f1958092cebd8f57beef899d20fc548", @"Index.cshtml")]
|
|
// [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c13da96c2597d5ddb7d415fb4892c644a268f50b", @"/Pages/_ViewImports.cshtml")]
|
|
public class Pages_Index : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
|
|
{
|
|
#pragma warning disable 1998
|
|
public async override global::System.Threading.Tasks.Task ExecuteAsync()
|
|
{
|
|
#nullable restore
|
|
#line 3 "Index.cshtml"
|
|
|
|
ViewData["Title"] = "ASP.NET Core";
|
|
var message = Request.Query["m"]; // $ Source=message
|
|
|
|
#line default
|
|
#line hidden
|
|
#nullable disable
|
|
WriteLiteral("<div class=\"cli\">\n <div class=\"cli-example\"> \n");
|
|
#nullable restore
|
|
#line 14 "Index.cshtml"
|
|
Write(Html.Raw(message)); // $ Alert=message
|
|
|
|
#line default
|
|
#line hidden
|
|
#nullable disable
|
|
WriteLiteral("\n </div>\n</div>\n\n\n");
|
|
}
|
|
#pragma warning restore 1998
|
|
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
|
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
|
|
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
|
public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
|
|
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
|
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
|
|
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
|
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
|
|
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
|
|
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<string> Html { get; private set; }
|
|
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<string> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<string>)PageContext?.ViewData;
|
|
}
|
|
}
|
|
#pragma warning restore 1591
|