33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Runtime.Serialization
|
|
{
|
|
/// <summary>Specifies that a field can be missing from a serialization stream so that the <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" /> and the <see cref="T:System.Runtime.Serialization.Formatters.Soap.SoapFormatter" /> does not throw an exception. </summary>
|
|
// Token: 0x0200048F RID: 1167
|
|
[ComVisible(true)]
|
|
[AttributeUsage(AttributeTargets.Field, Inherited = false)]
|
|
public sealed class OptionalFieldAttribute : Attribute
|
|
{
|
|
/// <summary>This property is unused and is reserved.</summary>
|
|
/// <returns>This property is reserved.</returns>
|
|
// Token: 0x1700089F RID: 2207
|
|
// (get) Token: 0x06002C37 RID: 11319 RVA: 0x00091BDC File Offset: 0x0008FDDC
|
|
// (set) Token: 0x06002C38 RID: 11320 RVA: 0x00091BE4 File Offset: 0x0008FDE4
|
|
public int VersionAdded
|
|
{
|
|
get
|
|
{
|
|
return this.version_added;
|
|
}
|
|
set
|
|
{
|
|
this.version_added = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001126 RID: 4390
|
|
private int version_added;
|
|
}
|
|
}
|