diff --git a/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs b/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs index 022dcc616b..d21b4b5b9d 100644 --- a/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs +++ b/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs @@ -30,9 +30,6 @@ using Views { #line 6 "ErrorPage.cshtml" - /// - /// - /// public ErrorPageModel Model { get; set; } #line default @@ -44,7 +41,7 @@ using Views public override async Task ExecuteAsync() { -#line 12 "ErrorPage.cshtml" +#line 9 "ErrorPage.cshtml" Response.StatusCode = 500; // TODO: Response.ReasonPhrase = "Internal Server Error"; @@ -56,28 +53,28 @@ using Views #line hidden WriteLiteral("\r\n\r\n( -#line 20 "ErrorPage.cshtml" + WriteAttribute("lang", Tuple.Create(" lang=\"", 415), Tuple.Create("\"", 476), + Tuple.Create(Tuple.Create("", 422), Tuple.Create( +#line 17 "ErrorPage.cshtml" CultureInfo.CurrentUICulture.TwoLetterISOLanguageName #line default #line hidden - , 471), false)); + , 422), false)); WriteLiteral(" xmlns=\"http://www.w3.org/1999/xhtml\">\r\n \r\n \r\n "); Write( -#line 23 "ErrorPage.cshtml" +#line 20 "ErrorPage.cshtml" Resources.ErrorPageHtml_Title #line default #line hidden ); - WriteLiteral("\r\n - Hello

@Resources.ErrorPageHtml_UnhandledException

@if (Model.Options.ShowExceptionDetails) { @@ -123,7 +119,7 @@
@if (frame.PreContextCode != null) { -
    +
      @foreach (var line in frame.PreContextCode) {
    1. @line
    2. @@ -136,7 +132,7 @@ @if (frame.PostContextCode != null) { -
        +
          @foreach (var line in frame.PostContextCode) {
        1. @line
        2. @@ -272,7 +268,6 @@
*/ } -