41 lines
1.8 KiB
C#
41 lines
1.8 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data
|
|
{
|
|
/// <summary>Represents the exception that is thrown when you try to insert a null value into a column where <see cref="P:System.Data.DataColumn.AllowDBNull" /> is set to <see langword="false" />.</summary>
|
|
// Token: 0x0200001F RID: 31
|
|
[Token(Token = "0x200001F")]
|
|
[Serializable]
|
|
public class NoNullAllowedException : DataException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.NoNullAllowedException" /> class with serialization information.</summary>
|
|
/// <param name="info">The data that is required to serialize or deserialize an object.</param>
|
|
/// <param name="context">Description of the source and destination of the specified serialized stream.</param>
|
|
// Token: 0x06000152 RID: 338 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000152")]
|
|
[Address(RVA = "0x9F3E90", Offset = "0x9F2E90", VA = "0x1809F3E90")]
|
|
protected NoNullAllowedException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.NoNullAllowedException" /> class.</summary>
|
|
// Token: 0x06000153 RID: 339 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000153")]
|
|
[Address(RVA = "0x9F3E40", Offset = "0x9F2E40", VA = "0x1809F3E40")]
|
|
public NoNullAllowedException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.NoNullAllowedException" /> class with the specified string.</summary>
|
|
/// <param name="s">The string to display when the exception is thrown.</param>
|
|
// Token: 0x06000154 RID: 340 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000154")]
|
|
[Address(RVA = "0x9F3E20", Offset = "0x9F2E20", VA = "0x1809F3E20")]
|
|
public NoNullAllowedException(string s)
|
|
{
|
|
}
|
|
}
|
|
}
|