1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:N.N.NNNNN.N 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace TestOutput { 12 using System; 13 14 public class RazorComments { 15 #line hidden RazorComments()16public RazorComments() { 17 } Execute()18public override void Execute() { 19 WriteLiteral("\r\n<p>This should "); 20 21 WriteLiteral(" be shown</p>\r\n\r\n"); 22 23 24 #line 4 "RazorComments.cshtml" 25 26 27 28 #line default 29 #line hidden 30 31 #line 5 "RazorComments.cshtml" 32 33 Exception foo = 34 35 #line default 36 #line hidden 37 38 #line 6 "RazorComments.cshtml" 39 null; 40 if(foo != null) { 41 throw foo; 42 } 43 44 45 #line default 46 #line hidden 47 WriteLiteral("\r\n\r\n"); 48 49 50 #line 12 "RazorComments.cshtml" 51 var bar = "@* bar *@"; 52 53 #line default 54 #line hidden 55 WriteLiteral("\r\n<p>But this should show the comment syntax: "); 56 57 58 #line 13 "RazorComments.cshtml" 59 Write(bar); 60 61 62 #line default 63 #line hidden 64 WriteLiteral("</p>\r\n\r\n"); 65 66 67 #line 15 "RazorComments.cshtml" 68 Write(a 69 70 #line default 71 #line hidden 72 73 #line 15 "RazorComments.cshtml" 74 b); 75 76 77 #line default 78 #line hidden 79 WriteLiteral("\r\n"); 80 81 } 82 } 83 } 84