CompilerParameters.ReferencedAssemblies do not have a set accessor
[mono.git] / mcs / class / System.Web / System.Web.Compilation / UserControlCompiler.cs
1 //
2 // System.Web.Compilation.UserControlCompiler
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 //
7 // (C) 2002,2003 Ximian, Inc (http://www.ximian.com)
8 //
9 using System;
10 using System.Web.UI;
11
12 namespace System.Web.Compilation
13 {
14         class UserControlCompiler : TemplateControlCompiler
15         {
16                 UserControlParser parser;
17
18                 public UserControlCompiler (UserControlParser parser)
19                         : base (parser)
20                 {
21                         this.parser = parser;
22                 }
23
24                 public static Type CompileUserControlType (UserControlParser userControlParser)
25                 {
26                         UserControlCompiler pc = new UserControlCompiler (userControlParser);
27                         return pc.GetCompiledType ();
28                 }
29         }
30 }
31