2 writes to phaseDurations
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlConnectionTimeoutErrorInternal.cs (2)
91
phaseDurations
= new SqlConnectionTimeoutPhaseDuration[(int)SqlConnectionTimeoutErrorPhase.Count];
110
phaseDurations
= new SqlConnectionTimeoutPhaseDuration[(int)SqlConnectionTimeoutErrorPhase.Count];
38 references to phaseDurations
System.Data (38)
fx\src\data\System\Data\SqlClient\SqlConnectionTimeoutErrorInternal.cs (38)
92
for (int i = 0; i <
phaseDurations
.Length; i++)
93
phaseDurations
[i] = null;
109
originalPhaseDurations =
phaseDurations
;
118
for (int i = 0; i <
phaseDurations
.Length; i++)
119
phaseDurations
[i] = null;
125
if (
phaseDurations
[(int)timeoutErrorPhase] == null)
127
phaseDurations
[(int)timeoutErrorPhase] = new SqlConnectionTimeoutPhaseDuration();
129
phaseDurations
[(int)timeoutErrorPhase].StartCapture();
134
Debug.Assert(
phaseDurations
[(int)timeoutErrorPhase] != null, "End phase capture cannot be invoked when the phase duration object is a null.");
135
phaseDurations
[(int)timeoutErrorPhase].StopCapture();
152
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PreLoginBegin].GetMilliSecondDuration());
157
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PreLoginBegin].GetMilliSecondDuration() +
158
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.InitializeConnection].GetMilliSecondDuration());
163
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PreLoginBegin].GetMilliSecondDuration() +
164
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.InitializeConnection].GetMilliSecondDuration(),
165
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.SendPreLoginHandshake].GetMilliSecondDuration());
170
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PreLoginBegin].GetMilliSecondDuration() +
171
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.InitializeConnection].GetMilliSecondDuration(),
172
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.SendPreLoginHandshake].GetMilliSecondDuration() +
173
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.ConsumePreLoginHandshake].GetMilliSecondDuration());
178
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PreLoginBegin].GetMilliSecondDuration() +
179
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.InitializeConnection].GetMilliSecondDuration(),
180
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.SendPreLoginHandshake].GetMilliSecondDuration() +
181
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.ConsumePreLoginHandshake].GetMilliSecondDuration(),
182
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.LoginBegin].GetMilliSecondDuration());
187
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PreLoginBegin].GetMilliSecondDuration() +
188
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.InitializeConnection].GetMilliSecondDuration(),
189
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.SendPreLoginHandshake].GetMilliSecondDuration() +
190
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.ConsumePreLoginHandshake].GetMilliSecondDuration(),
191
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.LoginBegin].GetMilliSecondDuration(),
192
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.ProcessConnectionAuth].GetMilliSecondDuration());
197
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PreLoginBegin].GetMilliSecondDuration() +
198
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.InitializeConnection].GetMilliSecondDuration(),
199
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.SendPreLoginHandshake].GetMilliSecondDuration() +
200
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.ConsumePreLoginHandshake].GetMilliSecondDuration(),
201
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.LoginBegin].GetMilliSecondDuration(),
202
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.ProcessConnectionAuth].GetMilliSecondDuration(),
203
phaseDurations
[(int)SqlConnectionTimeoutErrorPhase.PostLogin].GetMilliSecondDuration());