NullableTypes/src/Types INullable.cs,1.6,1.7 NullableBoolean.cs,1.20,1.21
Status: Inactive
Brought to you by:
lukadotnet
From: <luk...@us...> - 2003-12-01 12:27:01
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Types In directory sc8-pr-cvs1:/tmp/cvs-serv21578/src/Types Modified Files: INullable.cs NullableBoolean.cs Log Message: Index: INullable.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/INullable.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** INullable.cs 7 Oct 2003 20:32:22 -0000 1.6 --- INullable.cs 1 Dec 2003 12:26:57 -0000 1.7 *************** *** 14,21 **** /// All of the NullableTypes objects and structures implement the INullable /// interface, reflecting the fact that, unlike the corresponding system types, ! /// NullebleTypes can legally contain the value Null. /// </summary> /// <remarks> ! /// A Null is the absence of a value because missing, unknown, or inapplicable /// value. A Null should not be used to imply any other value (such as zero). /// Also any value (such as zero) should not be used to imply the absence of a --- 14,21 ---- /// All of the NullableTypes objects and structures implement the INullable /// interface, reflecting the fact that, unlike the corresponding system types, ! /// NullableTypes can legally contain the value Null. /// </summary> /// <remarks> ! /// A Null is the absence of a value because of a missing, unknown, or inapplicable /// value. A Null should not be used to imply any other value (such as zero). /// Also any value (such as zero) should not be used to imply the absence of a Index: NullableBoolean.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableBoolean.cs,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** NullableBoolean.cs 22 Oct 2003 01:45:05 -0000 1.20 --- NullableBoolean.cs 1 Dec 2003 12:26:57 -0000 1.21 *************** *** 628,632 **** /// </returns> [sys.Obsolete("Operator^ is not intuitive, is ambiguous and is not defined by the NULL semantic. " + ! "Use explicit expression ((x || y) && !(x && y)) instead of operator^.", true)] public static NullableBoolean operator ^ (NullableBoolean x, NullableBoolean y) { if (x.IsNull || y.IsNull) --- 628,632 ---- /// </returns> [sys.Obsolete("Operator^ is not intuitive, is ambiguous and is not defined by the NULL semantic. " + ! "Use explicit expression ((x || y) && !(x && y)) instead of operator^.", false)] public static NullableBoolean operator ^ (NullableBoolean x, NullableBoolean y) { if (x.IsNull || y.IsNull) |