mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* CompiledTemplateBuilder.cs: InstantiateIn is virtual. * EmptyControlCollection.cs: throw correct exception. * LosFormatter.cs: stubbed out. * OutputCacheLocation.cs: little fix. svn path=/trunk/mcs/; revision=6728
31 lines
589 B
C#
Executable File
31 lines
589 B
C#
Executable File
//
|
|
// System.Web.UI.EmptyControlCollection.cs
|
|
//
|
|
// Duncan Mak ([email protected])
|
|
//
|
|
// (C) Ximian, Inc.
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Web.UI {
|
|
|
|
public class EmptyControlCollection : ControlCollection
|
|
{
|
|
public EmptyControlCollection (Control owner)
|
|
: base (owner)
|
|
{
|
|
}
|
|
|
|
public override void Add (Control child)
|
|
{
|
|
throw new NotSupportedException ("Control " + Owner.ID + " does not allow children");
|
|
}
|
|
|
|
public override void AddAt (int index, Control child)
|
|
{
|
|
throw new NotSupportedException ("Control " + Owner.ID + " does not allow children");
|
|
}
|
|
}
|
|
}
|