Core\CSharp\System\Windows\Media\Animation\Clock.cs (49)
504return _currentTime.HasValue ? _currentTime.Value : TimeSpan.Zero;
690(_parent.InternalNextTickNeededTime.HasValue && _parent.InternalNextTickNeededTime.Value < InternalNextTickNeededTime.Value)))
995_rootData.PendingSeekDestination = effectiveDuration.Value; // Seek to the end time
1263return expirationTime.Value;
1811_beginTime = CurrentGlobalTime - DivideTimeSpan(_rootData.PendingSeekDestination.Value, _appliedSpeedRatio);
1869double pendingSpeedRatio = _rootData.PendingSpeedRatio.Value * _timeline.SpeedRatio;
1887_currentIterationBeginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _currentIterationBeginTime.Value,
1892_beginTime = previewParentTime - MultiplyTimeSpan(previewParentTime - _beginTime.Value,
1904_rootData.InteractiveSpeedRatio = _rootData.PendingSpeedRatio.Value;
1940: InternalNextTickNeededTime.Value;
1963Debug.Assert(parentTime >= _beginTime.Value); // We are active or in postfill
1968TimeSpan beginTimeForOffsetComputation = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value
1969: _beginTime.Value;
2178if (!InternalNextTickNeededTime.HasValue || proposedNextTickTime < InternalNextTickNeededTime.Value)
2212TimeSpan offsetFromBegin = MultiplyTimeSpan(parentTime - _currentIterationBeginTime.Value, _appliedSpeedRatio);
2255newIteration = _currentIteration.HasValue ? iterationIncrement + (_currentIteration.Value - 1)
2296parentTime = expirationTime.Value; // Clamp parent time to expiration time
2540presentAndFutureIterations -= (_currentIteration.Value - 1);
2541previousIterationDuration = _currentIterationBeginTime.Value - _beginTime.Value;
2618activePeriod = TimeIntervalCollection.CreateClosedOpenInterval(_beginTime.Value, expirationTime.Value);
2623activePeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(_beginTime.Value);
2820TimeIntervalCollection fillPeriod = TimeIntervalCollection.CreateInfiniteClosedInterval(endOfActivePeriod.Value);
2824TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value;
2826relativeBeginTime, endOfActivePeriod.Value,
2851TimeSpan relativeBeginTime = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value;
2924ComputeSyncSlip(ref parentIntervalCollection, parentTime.Value, parentSpeed.Value);
2950ComputeSyncEnter(ref parentIntervalCollection, parentTime.Value);
2971parentTimeValue = parentTime.Value;
2974if (ComputeNextTickNeededTime(expirationTime, parentTimeValue, parentSpeed.Value))
2980if (ComputeCurrentState(expirationTime, ref parentTimeValue, parentSpeed.Value, performTickOperations))
2986if (ComputeCurrentIteration(parentTimeValue, parentSpeed.Value,
3040TimeSpan timeUntilBegin = MultiplyTimeSpan(_beginTime.Value - parentTime, invertedParentSpeed);
3056TimeSpan timeUntilExpiration = MultiplyTimeSpan(expirationTime.Value - parentTime, invertedParentSpeed);
3059(!timeUntilNextBoundary.HasValue || timeUntilExpiration < timeUntilNextBoundary.Value))
3197if (_beginTime.HasValue && currentParentTimePT >= _beginTime.Value)
3199TimeSpan relativeBeginTimePT = _currentIterationBeginTime.HasValue ? _currentIterationBeginTime.Value : _beginTime.Value;
3215if (!expirationTimePT.HasValue || currentParentTimePT < expirationTimePT.Value)
3260|| previousSyncParentTimeSPT.Value <= _syncData.SyncClockBeginTime)
3346(_syncData.PreviousRepeatTime + syncTimeST >= effectiveDurationST.Value))
3611_rootData.DesiredFrameRate = desiredFrameRate.Value;
4049return (_previousRepeatTime + _syncClock.GetCurrentTimeCore() >= _syncClockEffectiveDuration.Value);
4098return _syncClockBeginTime.Value;
src\Framework\System\Windows\Controls\Calendar.cs (44)
226if (c.DisplayDateStart.HasValue && (date < c.DisplayDateStart.Value))
228value = c.DisplayDateStart.Value;
230else if (c.DisplayDateEnd.HasValue && (date > c.DisplayDateEnd.Value))
232value = c.DisplayDateEnd.Value;
284if (c.DisplayDateStart.HasValue && (date.Value < c.DisplayDateStart.Value))
290if (maxSelectedDate.HasValue && (date.Value < maxSelectedDate.Value))
347if (minSelectedDate.HasValue && (date.Value > minSelectedDate.Value))
562if (addedDate.HasValue && !(c.SelectedDates.Count > 0 && c.SelectedDates[0] == addedDate.Value))
565c.SelectedDates.Add(addedDate.Value);
574c.CurrentDate = addedDate.Value;
778return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)));
955this.DisplayDate = newDate.Value;
1000DateTime d = date.Value.Date;
1035MoveDisplayTo(DateTimeHelper.DiscardDayTime(nextDate.Value));
1044MoveDisplayTo(DateTimeHelper.DiscardDayTime(nextDate.Value));
1119this.SelectedDates.AddRange(this.HoverStart.Value, this.CurrentDate);
1197this.SetCurrentValueInternal(DisplayDateProperty, selectedMonth.Value);
1201FocusDate(selectedMonth.Value);
1210this.SetCurrentValueInternal(DisplayDateProperty, selectedYear.Value);
1214FocusDate(selectedYear.Value);
1239if (c.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(c.SelectedDate.Value, c.DisplayDateInternal) == 0)
1241c.FocusDate(c.SelectedDate.Value);
1388if (DateTimeHelper.CompareYearMonth(DateTime.MaxValue, selectedDate.Value) > 0)
1391selectedDate = DateTimeHelper.AddMonths(selectedDate.Value, 1).Value;
1392selectedDate = DateTimeHelper.AddDays(selectedDate.Value, -1).Value;
1585OnDayClick(lastSelectedDate.Value);
1589if (lastSelectedDate != null && IsValidKeyboardSelection(this, lastSelectedDate.Value))
1605if (DateTime.Compare(this.HoverStart.Value, lastSelectedDate.Value) < 0)
1607range = new CalendarDateRange(this.HoverStart.Value, lastSelectedDate.Value);
1611range = new CalendarDateRange(lastSelectedDate.Value, this.HoverStart.Value);
1624this.HoverStart = this.HoverEnd = this.CurrentDate = lastSelectedDate.Value;
1626OnDayClick(lastSelectedDate.Value);
1632this.CurrentDate = lastSelectedDate.Value;
1636this.SelectedDates[0] = lastSelectedDate.Value;
1640this.SelectedDates.Add(lastSelectedDate.Value);
1643OnDayClick(lastSelectedDate.Value);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (1)
48return nbValue.Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (1)
48return nbValue.Value;
fx\src\data\System\Data\SqlClient\TdsParser.cs (7)
3586if (index >= cipherTable.Value.Size) {
3587Bid.Trace("<sc.TdsParser.TryProcessTceCryptoMetadata|TCE> Incorrect ordinal received %d, max tab size: %d\n", index, cipherTable.Value.Size);
3644col.cipherMD = new SqlCipherMetadata(cipherTable.HasValue ? (SqlTceCipherInfoEntry?)cipherTable.Value[index] : null,
4352if (cipherTable.HasValue && !TryProcessTceCryptoMetadata (stateObj, col, cipherTable.Value, columnEncryptionSetting, isReturnValue: false)) {
7228length += WriteFedAuthFeatureRequest(fedAuthFeatureExtensionData.Value, write:false);
7465WriteFedAuthFeatureRequest(fedAuthFeatureExtensionData.Value, write: true);
9207SqlTceCipherInfoTable cekTable = metadataCollection.cekTable.Value;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (7)
993totalLength += _cipherMetadata.EncryptionKeyInfo.Value.cekMdVersion.Length;
1010SerializeIntIntoBuffer(_cipherMetadata.EncryptionKeyInfo.Value.databaseId, serializedWireFormat, ref consumedBytes);
1013SerializeIntIntoBuffer(_cipherMetadata.EncryptionKeyInfo.Value.cekId, serializedWireFormat, ref consumedBytes);
1016SerializeIntIntoBuffer(_cipherMetadata.EncryptionKeyInfo.Value.cekVersion, serializedWireFormat, ref consumedBytes);
1019Buffer.BlockCopy(_cipherMetadata.EncryptionKeyInfo.Value.cekMdVersion, 0, serializedWireFormat, consumedBytes, _cipherMetadata.EncryptionKeyInfo.Value.cekMdVersion.Length);
1020consumedBytes += _cipherMetadata.EncryptionKeyInfo.Value.cekMdVersion.Length;
System\Data\Metadata\Edm\EdmFunction.cs (8)
42if (payload.IsAggregate.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.Aggregate, payload.IsAggregate.Value);
43if (payload.IsBuiltIn.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.BuiltIn, payload.IsBuiltIn.Value);
44if (payload.IsNiladic.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.NiladicFunction, payload.IsNiladic.Value);
45if (payload.IsComposable.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsComposable, payload.IsComposable.Value);
46if (payload.IsFromProviderManifest.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsFromProviderManifest, payload.IsFromProviderManifest.Value);
47if (payload.IsCachedStoreFunction.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsCachedStoreFunction, payload.IsCachedStoreFunction.Value);
48if (payload.IsFunctionImport.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsFunctionImport, payload.IsFunctionImport.Value);
52_parameterTypeSemantics = payload.ParameterTypeSemantics.Value;