mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the `AllowMultiple' flags. svn path=/trunk/mcs/; revision=14019
34 lines
516 B
C#
34 lines
516 B
C#
//
|
|
// XmlIncludeAttribute.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method, AllowMultiple=true)]
|
|
public class XmlIncludeAttribute : Attribute
|
|
{
|
|
private Type type;
|
|
|
|
public XmlIncludeAttribute (Type type)
|
|
{
|
|
Type = type;
|
|
}
|
|
|
|
public Type Type {
|
|
get {
|
|
return type;
|
|
}
|
|
set {
|
|
type = value;
|
|
}
|
|
}
|
|
}
|
|
}
|