Reimplemented from System.Data.Common.DataStorage.
Definition at line 16 of file SByteStorage.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 num2 = ((!(
num3 < 1
E-15) && !(
num2 < 0.0)) ? (
num2 / (
double)(num * (num - 1))) : 0.0);
86 {
87 return Math.Sqrt(
num2);
88 }
90 }
92 }
94 {
95 sbyte
b3 = sbyte.MaxValue;
97 {
99 {
101 flag = true;
102 }
103 }
104 if (flag)
105 {
107 }
109 }
111 {
112 sbyte
b2 = sbyte.MinValue;
114 {
116 {
118 flag = true;
119 }
120 }
121 if (flag)
122 {
124 }
126 }
129 {
131 }
132 return null;
135 }
136 }
137 catch (OverflowException)
138 {
139 throw ExprException.Overflow(
typeof(sbyte));
140 }
141 throw ExceptionBuilder.AggregateException(kind,
_dataType);
142 }
readonly object _nullValue
References System.Data.Common.DataStorage._dataType, System.Data.Common.DataStorage._nullValue, System.Data.Common.SByteStorage._values, System.Data.ExceptionBuilder.AggregateException(), System.Xml.Dictionary, System.E, System.Data.IsNull, System.L, System.Math.Max(), System.Math.Min(), System.Data.ExprException.Overflow(), and System.Math.Sqrt().