21 writes to _actualSize
System.Data (21)
fx\src\data\System\Data\SqlClient\SqlParameter.cs (21)
618
_actualSize
= -1; // Invalidate actual size such that it is re-calculated
766
_actualSize
= -1;
794
_actualSize
= 0;
811
_actualSize
= mt.FixedLength;
828
_actualSize
= (ShouldSerializeSize() ? Size : 0);
829
_actualSize
= ((ShouldSerializeSize() && (_actualSize <= coercedSize)) ? _actualSize : coercedSize);
831
_actualSize
= coercedSize;
832
_actualSize
<<= 1;
841
_actualSize
= (ShouldSerializeSize() ? Size : 0);
842
_actualSize
= ((ShouldSerializeSize() && (_actualSize <= coercedSize)) ? _actualSize : coercedSize);
844
_actualSize
= coercedSize;
852
_actualSize
= (ShouldSerializeSize() ? Size : 0);
853
_actualSize
= ((ShouldSerializeSize() && (_actualSize <= coercedSize)) ? _actualSize : coercedSize);
855
_actualSize
= coercedSize;
868
_actualSize
= (isSqlVariant ? 5 : MetaType.GetTimeSizeFromScale(GetActualScale()));
872
_actualSize
= 3 + (isSqlVariant ? 5 : MetaType.GetTimeSizeFromScale(GetActualScale()));
876
_actualSize
= 5 + (isSqlVariant ? 5 : MetaType.GetTimeSizeFromScale(GetActualScale()));
1065
destination.
_actualSize
= _actualSize;
1356
_actualSize
= IsNull ? 0 : -1;
1362
_actualSize
= -1;
1469
_actualSize
= -1;
12 references to _actualSize
System.Data (12)
fx\src\data\System\Data\SqlClient\SqlParameter.cs (12)
793
if ((
_actualSize
== -1) || (actualType == Data.SqlDbType.Udt)) {
829
_actualSize = ((ShouldSerializeSize() && (
_actualSize
<= coercedSize)) ?
_actualSize
: coercedSize);
830
if (
_actualSize
== -1)
842
_actualSize = ((ShouldSerializeSize() && (
_actualSize
<= coercedSize)) ?
_actualSize
: coercedSize);
843
if (
_actualSize
== -1)
853
_actualSize = ((ShouldSerializeSize() && (
_actualSize
<= coercedSize)) ?
_actualSize
: coercedSize);
854
if (
_actualSize
== -1)
889
return
_actualSize
;
1065
destination._actualSize =
_actualSize
;