//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:N.N.NNNNN.N
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace TestOutput {
using System;

public class Blocks {
#line hidden
public Blocks() {
}
public override void Execute() {

#line 1 "Blocks.cshtml"
  
    int i = 1;


#line default
#line hidden
WriteLiteral("\r\n\r\n");


#line 5 "Blocks.cshtml"
 while(i <= 10) {


#line default
#line hidden
WriteLiteral("    <p>Hello from C#, #");


#line 6 "Blocks.cshtml"
                   Write(i);


#line default
#line hidden
WriteLiteral("</p>\r\n");


#line 7 "Blocks.cshtml"
    i += 1;
}


#line default
#line hidden
WriteLiteral("\r\n");


#line 10 "Blocks.cshtml"
 if(i == 11) {


#line default
#line hidden
WriteLiteral("    <p>We wrote 10 lines!</p>\r\n");


#line 12 "Blocks.cshtml"
}


#line default
#line hidden
WriteLiteral("\r\n");


#line 14 "Blocks.cshtml"
 switch(i) {
    case 11:


#line default
#line hidden
WriteLiteral("        <p>No really, we wrote 10 lines!</p>\r\n");


#line 17 "Blocks.cshtml"
        break;
    default:


#line default
#line hidden
WriteLiteral("        <p>Actually, we didn\'t...</p>\r\n");


#line 20 "Blocks.cshtml"
        break;
}


#line default
#line hidden
WriteLiteral("\r\n");


#line 23 "Blocks.cshtml"
 for(int j = 1; j <= 10; j += 2) {


#line default
#line hidden
WriteLiteral("    <p>Hello again from C#, #");


#line 24 "Blocks.cshtml"
                         Write(j);


#line default
#line hidden
WriteLiteral("</p>\r\n");


#line 25 "Blocks.cshtml"
}


#line default
#line hidden
WriteLiteral("\r\n");


#line 27 "Blocks.cshtml"
 try {


#line default
#line hidden
WriteLiteral("    <p>That time, we wrote 5 lines!</p>\r\n");


#line 29 "Blocks.cshtml"
} catch(Exception ex) {


#line default
#line hidden
WriteLiteral("    <p>Oh no! An error occurred: ");


#line 30 "Blocks.cshtml"
                             Write(ex.Message);


#line default
#line hidden
WriteLiteral("</p>\r\n");


#line 31 "Blocks.cshtml"
}


#line default
#line hidden
WriteLiteral("\r\n<p>i is now ");


#line 33 "Blocks.cshtml"
       Write(i);


#line default
#line hidden
WriteLiteral("</p>\r\n\r\n");


#line 35 "Blocks.cshtml"
 lock(new object()) {


#line default
#line hidden
WriteLiteral("    <p>This block is locked, for your security!</p>\r\n");


#line 37 "Blocks.cshtml"
}

#line default
#line hidden
}
}
}
