Reimplemented from System.Data.Common.DataStorage.
Definition at line 16 of file UInt16Storage.cs.
17 {
18 bool flag = false;
19 try
20 {
21 switch (kind)
22 {
24 {
27 {
29 {
31 flag = true;
32 }
33 }
34 if (flag)
35 {
37 }
39 }
41 {
45 {
47 {
50 flag = true;
51 }
52 }
54 {
55 if (flag)
56 {
59 }
61 }
62 }
65 {
66 int num = 0;
72 {
74 {
77 num++;
78 }
79 }
80 if (num > 1)
81 {
84 num6 = ((!(
num7 < 1
E-15) && !(
num6 < 0.0)) ? (
num6 / (
double)(num * (num - 1))) : 0.0);
86 {
87 return Math.Sqrt(
num6);
88 }
90 }
92 }
94 {
95 ushort
num2 = ushort.MaxValue;
97 {
99 {
101 flag = true;
102 }
103 }
104 if (flag)
105 {
107 }
109 }
111 {
114 {
116 {
118 flag = true;
119 }
120 }
121 if (flag)
122 {
124 }
126 }
129 {
131 }
132 return null;
134 {
135 int num = 0;
137 {
139 {
140 num++;
141 }
142 }
143 return num;
144 }
145 }
146 }
147 catch (OverflowException)
148 {
149 throw ExprException.Overflow(
typeof(ushort));
150 }
151 throw ExceptionBuilder.AggregateException(kind,
_dataType);
152 }
bool HasValue(int recordNo)
readonly object _nullValue
References System.Data.Common.DataStorage._dataType, System.Data.Common.DataStorage._nullValue, System.Data.Common.UInt16Storage._values, System.Data.ExceptionBuilder.AggregateException(), System.Xml.Dictionary, System.E, System.Data.Common.DataStorage.HasValue(), System.L, System.Math.Max(), System.Math.Min(), System.Data.ExprException.Overflow(), and System.Math.Sqrt().