1017 references to Value
mscorlib (13)
system\compatibilityswitches.cs (1)
47return (result.HasValue && result.Value);
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (1)
1047var val = hasValue ? value.Value : default(T);
system\io\stream.cs (2)
1242return _overridesBeginRead.Value ? 1300return _overridesBeginWrite.Value ?
system\nullable.cs (1)
85return value.Value;
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (2)
360return Activator.CreateInstance(specificType, new Object[] { propType.Value, obj }); 455return Activator.CreateInstance(specificType, new Object[] { propType.Value, obj });
system\security\cryptography\rsaoaepkeyexchangedeformatter.cs (1)
66return _rsaOverridesDecrypt.Value;
system\security\cryptography\rsaoaepkeyexchangeformatter.cs (1)
92return _rsaOverridesEncrypt.Value;
system\security\cryptography\rsapkcs1keyexchangedeformatter.cs (1)
95return _rsaOverridesDecrypt.Value;
system\security\cryptography\rsapkcs1keyexchangeformatter.cs (1)
107return _rsaOverridesEncrypt.Value;
system\security\cryptography\rsapkcs1signaturedeformatter.cs (1)
99return _rsaOverridesVerifyHash.Value;
system\security\cryptography\rsapkcs1signatureformatter.cs (1)
89return _rsaOverridesSignHash.Value;
PresentationBuildTasks (1)
BuildTasks\MS\Internal\Tasks\TaskFileService.cs (1)
387return _isRealBuild.Value;
PresentationCore (268)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
112return _siteOfOriginForClickOnceApp.Value.Value;
Core\CSharp\MS\Win32\UnsafeNativeMethodsPenimc.cs (3)
260Invariant.Assert(!_wispManagerKey.HasValue || _wispManagerKey.Value == latestKey); 273CheckedLockWispObjectFromGit(_wispManagerKey.Value); 286CheckedUnlockWispObjectFromGit(_wispManagerKey.Value);
Core\CSharp\System\Windows\Interop\HwndSource.cs (3)
932|| !DoubleUtil.AreClose(_previousSize.Value.Width, newSize.Width) 933|| !DoubleUtil.AreClose(_previousSize.Value.Height, newSize.Height)) 2550return _defaultAcquireHwndFocusInMenuMode.Value;
Core\CSharp\System\Windows\Interop\HwndTarget.cs (7)
677if (!enableMultiMonitorDisplayClipping.Value) 1317if (_sessionId.HasValue && (_sessionId.Value != lparam.ToInt32())) 2231return ProcessDpiAwareness.Value == PROCESS_DPI_AWARENESS.PROCESS_PER_MONITOR_DPI_AWARE; 2244return ProcessDpiAwareness.Value == PROCESS_DPI_AWARENESS.PROCESS_SYSTEM_DPI_AWARE; 2257return ProcessDpiAwareness.Value == PROCESS_DPI_AWARENESS.PROCESS_DPI_UNAWARE; 2408DUCE.Channel outOfBandChannel = channelSet.Value.OutOfBandChannel; 2430DUCE.Channel channel = channelSet.Value.Channel;
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;
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (1)
207desiredFrameRate = Math.Max(desiredFrameRate, currentDesiredFrameRate.Value);
Core\CSharp\System\Windows\Media\Animation\DoubleAnimationUsingPath.cs (1)
193pathGeometry.GetPointAtFractionLength(animationClock.CurrentProgress.Value, out pathPoint, out pathTangent);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueByte(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueColor(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueDecimal(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueDouble(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Int16Animation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueInt16(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueInt32(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueInt64(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValuePoint3D(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValuePoint(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueQuaternion(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueRect(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (1)
227double progress = animationClock.CurrentProgress.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueSingle(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueSize(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueVector3D(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueVector(typedValue.Value);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
Core\CSharp\System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (1)
275pathGeometry.GetPointAtFractionLength(animationClock.CurrentProgress.Value, out pathPoint, out pathTangent);
Core\CSharp\System\Windows\Media\Animation\PointAnimationUsingPath.cs (1)
168pathGeometry.GetPointAtFractionLength(animationClock.CurrentProgress.Value, out pathPoint, out pathTangent);
Core\CSharp\System\Windows\Media\Animation\TimeIntervalCollection.cs (8)
1180&& (_nodeTime[_count - 1] > endTime.Value + fillDuration.TimeSpan // ...we intersect space after endTime+fill, or... 1181|| (_nodeTime[_count - 1] == endTime.Value + fillDuration.TimeSpan // ...as we fall right onto the end of fill zone... 1206activeDuration = endTime.Value - beginTime; 1207includeMaxPoint = includeFillPeriod && (activeDuration.Value.Ticks % periodInTicks == 0); // Fill starts at a boundary 1287|| (CurrentNodeTime == endTime.Value && CurrentNodeIsPoint && includeFillPeriod))) 1289Debug.Assert(endTime.HasValue && CurrentNodeTime >= endTime.Value); 1291double timeOffset = (double)((endTime.Value - beginTime).Ticks); 1295projection.CurrentNodeIsPoint = includeFillPeriod && (CurrentNodeTime > endTime.Value || CurrentNodeIsPoint);
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (1)
378return (!desiredFrameRate.HasValue || desiredFrameRate.Value > 0);
Core\CSharp\System\Windows\Media\Animation\TimeManager.cs (1)
789TimeSpan nextTickNeededTimeFromCurrentTime = nextTickNeededTime.Value - timeManagerCurrentTime;
Core\CSharp\System\Windows\Media\Effects\Effect.cs (4)
179return new Rect(tl.Value, br.Value); 242if (innerToUse.TryTransform(unitSpace.Value, out unitResult)) 249result = worldSpace.Value;
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (8)
546SamplerData ss = oldSampler.Value; 653MilColorF valueToPush = v.Value; 670MilColorI valueToPush = v.Value; 693Int32 valueToPush = v.Value ? 1 : 0; 708SamplerData ss = ssn.Value; 730SamplerData ss = ssn.Value; 795SamplerData ss = ssn.Value; 835SamplerData ss = ssn.Value;
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (8)
357dirtyRect.Value.ValidateForDirtyRect("dirtyRect", _pixelWidth, _pixelHeight); 359if (!dirtyRect.Value.HasArea) 391data.DirtyRect.left = dirtyRect.Value.X; 392data.DirtyRect.top = dirtyRect.Value.Y; 393data.DirtyRect.right = dirtyRect.Value.X + dirtyRect.Value.Width; 394data.DirtyRect.bottom = dirtyRect.Value.Y + dirtyRect.Value.Height;
Core\CSharp\System\Windows\Media\MediaClock.cs (2)
140double currentSpeedValue = currentSpeedProperty.HasValue ? currentSpeedProperty.Value : 0; 143TimeSpan currentTimeValue = currentTimeProperty.HasValue ? currentTimeProperty.Value : TimeSpan.Zero;
Core\CSharp\System\Windows\Media\MediaContext.cs (2)
1554DUCE.ChannelSet channelSet = (_currentRenderingChannel == null) ? GetChannels() : _currentRenderingChannel.Value; 1607DUCE.ChannelSet channelSet = (_currentRenderingChannel == null) ? GetChannels() : _currentRenderingChannel.Value;
Core\CSharp\System\Windows\Media\Visual.cs (6)
617bboxSubgraph.Intersect(scrollClip.Value); 1150bboxSubgraph.Intersect(scrollClip.Value); 2087if (effectHitTestInverse.TryTransform(unitHitPoint.Value, out transformedPt)) 2093hitPoint = worldSpace.Value; 2127if (scrollClip.HasValue && !scrollClip.Value.Contains(hitPoint)) 2332RectangleGeometry rectClip = new RectangleGeometry(scrollClip.Value);
Core\CSharp\System\Windows\Media3D\HitTestParameters3D.cs (1)
197return _hitTestProjectionMatrix.Value;
Graphics\include\exports.cs (2)
2020command.Clip = clip.Value; 2522if (!enableMultiMonitorDisplayClipping.Value)
Shared\MS\Internal\SecurityHelper.cs (1)
1096return _appDomainGrantedUnrestrictedUIPermission.Value;
PresentationFramework (168)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (3)
190return _cachedIsEmpty.Value; 203if (_cachedIsEmpty.Value) 205return _cachedIsEmpty.Value;
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
92return _isDBNullValidForUpdate.Value;
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
1606_dirtyList.Merge(selectionRenderRange.Value);
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
517return _activeSelectionHitResult.Value;
src\Framework\MS\Internal\IO\Packaging\CorePropertiesFilter.cs (3)
464return _coreProperties.LastPrinted.Value; 471return _coreProperties.Created.Value; 478return _coreProperties.Modified.Value;
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\AlternateWordForm.cs (1)
73return _alternateNormalizationFormat.Value;
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\TextSegment.cs (2)
48return _length.Value; 61return _startPosition.Value;
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (1)
1049colorsElement.SetAttribute(HighlightComponent.BackgroundAttributeName, converter.ConvertToInvariantString(color.Value));
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
191if (owner.SelectedDate.HasValue && DateTimeHelper.CompareYearMonth(owner.SelectedDate.Value, owner.DisplayDateInternal) == 0) 193focusedDate = owner.SelectedDate.Value; 564AutomationPeer nextPeer = GetOrCreateDateTimeAutomationPeer(nextDate.Value, currentMode);
src\Framework\System\Windows\Controls\BooleanToVisibilityConverter.cs (1)
44bValue = tmp.HasValue ? tmp.Value : false;
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);
src\Framework\System\Windows\Controls\CalendarBlackoutDatesCollection.cs (5)
70rangeStart = DateTimeHelper.DiscardTime(start).Value; 71rangeEnd = DateTimeHelper.DiscardTime(end).Value; 75rangeStart = DateTimeHelper.DiscardTime(end).Value; 76rangeEnd = DateTimeHelper.DiscardTime(start).Value; 334if (DateTimeHelper.InRange(day.Value, start, end))
src\Framework\System\Windows\Controls\DataGrid.cs (8)
1372return _selectionAnchor != null && SelectedItems.Contains(_selectionAnchor.Value.Item) && 2648int anchorIndex = _selectionAnchor.Value.ItemInfo.Index; 4874int startIndex = _selectionAnchor.Value.ItemInfo.Index; 5068int startIndex = _selectionAnchor.Value.ItemInfo.Index; 5071DataGridColumn anchorColumn = _selectionAnchor.Value.Column; 7203currentSortDirection.Value == ListSortDirection.Ascending) 7741list.Add(_selectionAnchor.Value.ItemInfo); 7761list.Add(_selectionAnchor.Value.ItemInfo);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
1079return _averageColumnWidth.Value;
src\Framework\System\Windows\Controls\DatePicker.cs (8)
443DateTime day = dp.SelectedDate.Value; 462addedItems.Add(addedDate.Value); 467removedItems.Add(removedDate.Value); 476string addedDateString = addedDate.HasValue ? dp.DateTimeToString(addedDate.Value) : ""; 477string removedDateString = removedDate.HasValue ? dp.DateTimeToString(removedDate.Value) : ""; 737return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this))); 968if (e.AddedItems.Count > 0 && this.SelectedDate.HasValue && DateTime.Compare((DateTime)e.AddedItems[0], this.SelectedDate.Value) != 0) 1191string selectedDate = DateTimeToString(this.SelectedDate.Value);
src\Framework\System\Windows\Controls\DateTimeHelper.cs (9)
64target = DateTimeHelper.AddMonths(target.Value, yearMonth.Month - date.Month); 72return DateTime.Compare(DiscardTime(dt1).Value, DiscardTime(dt2).Value); 97return d.Value.Date; 200result = date.Value.Day.ToString(format); 230result = date.Value.ToString(format.YearMonthPattern, format); 243result = date.Value.Year.ToString(format); 259result = monthNames[(date.Value.Month - 1) % monthNames.Length]; 273result = date.Value.Date.ToString(format.LongDatePattern, format);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1319if(_findButton != null && _findButton.IsChecked.HasValue && _findButton.IsChecked.Value != enable)
src\Framework\System\Windows\Controls\Grid.cs (12)
3819definitionX = definitions[indexX.Value]; 3823definitionY = definitions[indexY.Value]; 3860definitionX = definitions[indexX.Value]; 3864definitionY = definitions[indexY.Value]; 3902double errorX = errors[indexX.Value]; 3903double errorY = errors[indexY.Value]; 4002definitionX = definitions[indexX.Value]; 4006definitionY = definitions[indexY.Value]; 4043definitionX = definitions[indexX.Value]; 4047definitionY = definitions[indexY.Value]; 4084definitionX = definitions[indexX.Value]; 4088definitionY = definitions[indexY.Value];
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
597return _cachedBounds.Value;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (16)
277FinishSelection(this.Owner.HoverEnd.Value); 531DateTime.Compare(this.Owner.HoverStart.Value, selectedDate) == 0 && 541this.Owner.SelectedDates.AddRangeInternal(this.Owner.HoverStart.Value, selectedDate); 611this.Owner.SelectedDates.AddRangeInternal(lastDate.Value, clickedDate); 1088if (DateTimeHelper.CompareDays(dateToAdd.Value, this.Owner.DisplayDateStartInternal) < 0 || DateTimeHelper.CompareDays(dateToAdd.Value, this.Owner.DisplayDateEndInternal) > 0) 1100this.Owner.BlackoutDates.Contains(dateToAdd.Value)); 1105DateTimeHelper.CompareYearMonth(dateToAdd.Value, this.Owner.DisplayDateInternal) != 0); 1108if (DateTimeHelper.CompareDays(dateToAdd.Value, DateTime.Today) == 0) 1126isSelected |= (DateTimeHelper.CompareDays(dateToAdd.Value, item) == 0); 1154DateTime hStart = owner.HoverEnd.Value; 1155DateTime hEnd = owner.HoverEnd.Value; 1157int daysToHighlight = DateTimeHelper.CompareDays(owner.HoverEnd.Value, owner.HoverStart.Value); 1160hEnd = owner.HoverStart.Value; 1164hStart = owner.HoverStart.Value;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
3731return HwndTarget.IsProcessPerMonitorDpiAware.Value; 3785IntPtr hMonitor = SafeNativeMethods.MonitorFromPoint(screenOrigin.Value, NativeMethods.MONITOR_DEFAULTTONEAREST);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
292newSync = isSynchronizedWithCurrentItem.Value;
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (2)
157SetValue(IsCheckedProperty, value.HasValue ? BooleanBoxes.Box(value.Value) : null); 326return SR.Get(SRID.ToStringFormatString_ToggleButton, typeText, contentText, isChecked.HasValue ? isChecked.Value.ToString() : "null");
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (8)
180if (index == 0 && !(this._owner.SelectedDate.HasValue && DateTime.Compare(this._owner.SelectedDate.Value, item) == 0)) 291if (index == 0 && !(this._owner.SelectedDate.HasValue && DateTime.Compare(this._owner.SelectedDate.Value, item) == 0)) 391if (!this._owner.SelectedDate.HasValue || DateTimeHelper.CompareDays(this._owner.SelectedDate.Value, date) != 0) 480if ((!_maximumDate.HasValue) || (date > _maximumDate.Value)) 485if ((!_minimumDate.HasValue) || (date < _minimumDate.Value)) 507yield return rangeStart.Value; 508rangeStart = DateTimeHelper.AddDays(rangeStart.Value, increment); 510while (rangeStart.HasValue && DateTime.Compare(end, rangeStart.Value) != -increment);
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2029if (!_itemsRaisePropertyChanged.Value)
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (2)
767return _sTextRange.Value; 905return _rangeRole.Value;
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
1087return _isClean.Value;
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (1)
231XmlAttributeProperties.SetXmlSpace(dependencyObject, stack.CurrentFrame.XmlSpace.Value ? "default" : "preserve");
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (9)
227double progress = animationClock.CurrentProgress.Value; 378_keyValues[0] = From.Value; 379_keyValues[1] = To.Value; 385_keyValues[0] = From.Value; 386_keyValues[1] = By.Value; 392_keyValues[0] = From.Value; 399_keyValues[0] = To.Value; 405_keyValues[0] = By.Value; 429return AnimatedTypeHelpers.IsValidAnimationValueThickness(typedValue.Value);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
355TimeSpan currentTime = animationClock.CurrentTime.Value;
src\Framework\System\Windows\Media\Animation\Storyboard.cs (4)
1317return currentGlobalSpeed.Value; 1366return currentIteration.Value; 1414return currentProgress.Value; 1502return currentTime.Value;
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (5)
1171left = wp.Value.x; 1172top = wp.Value.y; 1206if (null != wp && !Utility.IsFlagSet(wp.Value.flags, (int)SWP.NOSIZE)) 1208windowSize = new Size((double)wp.Value.cx, (double)wp.Value.cy);
src\Framework\System\Windows\Standard\NativeMethods.cs (2)
1448if (!_hwnd.HasValue || _hwnd.Value == IntPtr.Zero) 1453return NativeMethods.ReleaseDC(_hwnd.Value, handle) == 1;
src\Framework\System\Windows\TemplateContent.cs (5)
681sharedProperties.Add(sharedValue.Value); 688if (sharedValue.Value.Property.Name == "ContentSource") 691sharedValue.Value.ValueInternal as String; 697if (!(sharedValue.Value.ValueInternal is String) && 698sharedValue.Value.ValueInternal != null)
src\Framework\System\Windows\Window.cs (2)
2614var screenTopLeft = topLeftPointHelper.ScreenTopLeft.Value; 8383return HwndTarget.IsProcessPerMonitorDpiAware.Value;
SMSvcHost (1)
System\ServiceModel\Activation\ListenerAdapter.cs (1)
338app.SetRequestBlocked(app.PendingAction.RequestsBlocked.Value);
System (15)
net\System\Net\ServicePoint.cs (1)
1316if (ServicePointManager.ReusePortSupported.HasValue && !ServicePointManager.ReusePortSupported.Value) {
net\System\Net\WebSockets\ClientWebSocket.cs (1)
562return buffer.Value;
net\System\Net\WebSockets\WebSocket.cs (1)
44return defaultKeepAliveInterval.Value;
net\System\Net\WebSockets\WebSocketBase.cs (11)
1721m_WebSocket.FinishOnCloseReceived(ReceiveResult.CloseStatus.Value, ReceiveResult.CloseStatusDescription); 1926if (!m_WebSocket.m_InternalBuffer.ReceiveFromBufferedPayload(buffer.Value, out receiveResult)) 2030if (payload.Count > buffer.Value.Count) 2032m_WebSocket.m_InternalBuffer.BufferPayload(payload, buffer.Value.Count, messageType, endOfMessage); 2037bytesTransferred = Math.Min(payload.Count, (int)buffer.Value.Count); 2042buffer.Value.Array, 2043buffer.Value.Offset, 2091m_WebSocket.m_InternalBuffer.PinSendBuffer(buffer.Value, out m_BufferHasBeenPinned); 2092payloadBuffer.Data.BufferData = m_WebSocket.m_InternalBuffer.ConvertPinnedSendPayloadToNative(buffer.Value); 2093payloadBuffer.Data.BufferLength = (uint)buffer.Value.Count; 2123WebSocketProtocolComponent.WebSocketSend(m_WebSocket, BufferType, payloadBuffer.Value);
sys\System\IO\compression\DeflateStream.cs (1)
150return new DeflaterZLib(compressionLevel.Value);
System.Activities (9)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
481this.publicAccessor.Value.ActivityMetadata.CurrentActivity.ResetTempAutoGeneratedArguments(); 860CodeActivityPublicEnvironmentAccessor localPublicAccessor = this.publicAccessor.Value;
System\Activities\Activity.cs (2)
135return !this.isSubtreeEmpty.Value; 150return !this.isSubtreeEmpty.Value;
System\Activities\DynamicUpdate\DynamicUpdateMapQuery.cs (2)
126return oldIndex.HasValue ? oldOwner.RuntimeVariables[oldIndex.Value] : null; 179return newIndex.HasValue ? newOwner.RuntimeVariables[newIndex.Value] : null;
System\Activities\WorkflowApplication.cs (1)
651if (localInstanceState.HasValue && ShouldRaiseComplete(localInstanceState.Value))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
124return isCS.Value; 136return isVB.Value;
System.Activities.Core.Presentation (17)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
444return this.isRightToLeft.Value; 1483shapeLocation = SnapVisualToGrid(movedElement, newPoint, shapeAnchorPoint.Value, true);
System\Activities\Core\Presentation\NotConverter.cs (1)
43return nbValue.Value;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
810return this.isRightToLeft.Value; 2261newLocation = SnapVisualToGrid(movedElement, newPoint, shapeAnchorPoint.Value, true);
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
190if (isExpanded != null && isExpanded.Value)
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (2)
306wrapper.IsExpanded = button.IsChecked.Value; 307this.ViewStateService.StoreViewState(wrapper.Item, ExpandViewStateKey, button.IsChecked.Value);
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (1)
172if (isExpanded != null && isExpanded.Value)
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (3)
490if (!(this.IsDictionary.Value)) 522if (this.IsDictionary.Value) 575if (!this.IsDictionary.Value)
System\Activities\Presentation\DynamicArgumentDialog.cs (1)
52if (dialogResult.Value)
System\ServiceModel\Activities\Presentation\CorrelatesOnValueEditor.cs (1)
81if (dialogResult.HasValue && dialogResult.Value)
System\ServiceModel\Activities\Presentation\CorrelationInitializerValueEditor.cs (1)
78if (dialogResult.HasValue && dialogResult.Value)
System\ServiceModel\Activities\Presentation\InitializeCorrelationDesigner.xaml.cs (1)
139if ((dialogResult.HasValue) && (dialogResult.Value))
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
63if (dialogResult.HasValue && dialogResult.Value)
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\PersistenceTask.cs (2)
86if (taskIntervalOverride.Value < this.taskInterval) 87timeTillNextPoll = taskIntervalOverride.Value;
System.Activities.Presentation (19)
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (2)
185return value.Value; 346if (isAnnotationDocked.Value)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityCollpasedConverter.cs (1)
45if ((((Nullable<bool>)o).Value) ^ this.invertBoolean)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (1)
48return nbValue.Value;
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyInfo.cs (1)
24get { return this.isVisibleToModelItem.HasValue ? this.isVisibleToModelItem.Value : this.isBrowsable; }
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (1)
51return this.hasEffectiveChanges.Value;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
510int id = maxId.HasValue ? maxId.Value + 1 : 1;
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (4)
65|| positionInLogicalView.Value.X < (logicalViewWidth - scrollBuffer))) 71|| positionInLogicalView.Value.X > scrollBuffer)) 78|| positionInLogicalView.Value.Y < logicalViewHeight - scrollBuffer)) 84|| positionInLogicalView.Value.Y > scrollBuffer))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1010window.Visibility = button.IsChecked.Value ? Visibility.Visible : Visibility.Hidden;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
343return this.isDesignMode.Value;
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
623if (dialogResult.HasValue && dialogResult.Value) 631if (dialogResult.HasValue && dialogResult.Value)
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
351this.MinWidth = size.Value.Width; 352this.MinHeight = size.Value.Height;
System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialog.cs (1)
116return result.HasValue && result.Value;
System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (1)
113return matchingMappingRecord.Value.Key;
System.ComponentModel.DataAnnotations (3)
DataAnnotations\DisplayAttribute.cs (3)
237return this._autoGenerateField.Value; 263return this._autoGenerateFilter.Value; 289return this._order.Value;
System.Core (23)
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (3)
512_ilg.Emit(info.IsUnsigned ? OpCodes.Bgt_Un : OpCodes.Bgt, after.Value); 515_ilg.Emit(info.IsUnsigned ? OpCodes.Blt_Un : OpCodes.Blt, after.Value); 552_ilg.MarkLabel(after.Value);
System\Linq\Parallel\QueryOperators\Binary\ZipQueryOperator.cs (1)
93int partitionCount = settings.DegreeOfParallelism.Value;
System\Linq\Parallel\QueryOperators\BinaryQueryOperator.cs (3)
111if (m_settings.ExecutionMode.Value == ParallelExecutionMode.Default && m_op.LimitsParallelism) 116opSequential, m_settings.DegreeOfParallelism.Value, m_preferStriping); 122PartitionedStream<TOutput, int> result = ExchangeUtilities.PartitionDataSource(this, m_settings.DegreeOfParallelism.Value, m_preferStriping);
System\Linq\Parallel\QueryOperators\PartitionerQueryOperator.cs (1)
137int partitionCount = m_settings.DegreeOfParallelism.Value;
System\Linq\Parallel\QueryOperators\QueryOperator.cs (2)
133if (querySettings.ExecutionMode.Value == ParallelExecutionMode.Default && LimitsParallelism) 208if (querySettings.ExecutionMode.Value == ParallelExecutionMode.Default && LimitsParallelism)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
211Contract.Assert(settings.DegreeOfParallelism.Value >= 1 && settings.DegreeOfParallelism <= Scheduling.MAX_SUPPORTED_DOP);
System\Linq\Parallel\QueryOperators\ScanQueryOperator.cs (1)
140m_data, m_settings.DegreeOfParallelism.Value, false);
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
132if (LimitsParallelism && SpecifiedQuerySettings.WithDefaults().ExecutionMode.Value != ParallelExecutionMode.ForceParallelism)
System\Linq\Parallel\QueryOperators\UnaryQueryOperator.cs (3)
117if (m_settings.ExecutionMode.Value == ParallelExecutionMode.Default && m_op.LimitsParallelism) 122opSequential, m_settings.DegreeOfParallelism.Value, m_preferStriping); 128PartitionedStream<TOutput, int> result = ExchangeUtilities.PartitionDataSource(this, m_settings.DegreeOfParallelism.Value, m_preferStriping);
System\Security\Cryptography\CngKey.cs (2)
807(int)creationParameters.ExportPolicy.Value, 814(int)creationParameters.KeyUsage.Value,
System\Security\Cryptography\CngProperty.cs (1)
146return m_hashCode.Value;
System\Security\Cryptography\Xml\ManifestSignedXml.cs (4)
65bytes[decodedIndex] = (byte)((upper.Value << 4) | lower.Value); 280bytes[i] = (byte)((upper.Value << 4) | lower.Value);
System.Data (52)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
190if (isExpanded != null && isExpanded.Value)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (2)
185return value.Value; 346if (isAnnotationDocked.Value)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityCollpasedConverter.cs (1)
45if ((((Nullable<bool>)o).Value) ^ this.invertBoolean)
cdf\src\NetFx40\Tools\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\Model\AttachedPropertyInfo.cs (1)
24get { return this.isVisibleToModelItem.HasValue ? this.isVisibleToModelItem.Value : this.isBrowsable; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (1)
51return this.hasEffectiveChanges.Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
510int id = maxId.HasValue ? maxId.Value + 1 : 1;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (4)
65|| positionInLogicalView.Value.X < (logicalViewWidth - scrollBuffer))) 71|| positionInLogicalView.Value.X > scrollBuffer)) 78|| positionInLogicalView.Value.Y < logicalViewHeight - scrollBuffer)) 84|| positionInLogicalView.Value.Y > scrollBuffer))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
343return this.isDesignMode.Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
623if (dialogResult.HasValue && dialogResult.Value) 631if (dialogResult.HasValue && dialogResult.Value)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
351this.MinWidth = size.Value.Width; 352this.MinHeight = size.Value.Height;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialog.cs (1)
116return result.HasValue && result.Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (1)
113return matchingMappingRecord.Value.Key;
fx\src\data\System\Data\Common\DbDataAdapter.cs (1)
1386if ((null == batchCommands[i].Errors) && batchCommands[i].RecordsAffected.HasValue && (0 != batchCommands[i].RecordsAffected.Value)) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (3)
520typeMap = TypeMap.FromSqlType(info._dbtype.Value); 528typeMap = TypeMap.FromSqlType(info._dbtype.Value); 530Connection.SetSupportedType(info._dbtype.Value);
fx\src\data\System\Data\RelatedView.cs (3)
51return parentKey.Value.GetKeyValues(parentRowView.GetRecord()); 122CompareArray(this.parentKey.Value.ColumnsReference, this.parentKey.Value.ColumnsReference) &&
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
493_enlist = setEnlistValue.Value;
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (2)
3927Debug.Assert(columnIndex.Value >= 0 && columnIndex.Value < _metaData.Length, "Invalid column index");
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
2541switch (_fedAuthFeatureExtensionData.Value.libraryType) { 2554throw SQL.ParsingErrorLibraryType(ParsingErrorState.FedAuthFeatureAckUnknownLibraryType, (int)_fedAuthFeatureExtensionData.Value.libraryType);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
1398Debug.Assert(!isSqlType.HasValue || (isSqlType.Value == (value is INullable)), "isSqlType is incorrect"); 1399Debug.Assert(!isDataFeed.HasValue || (isDataFeed.Value == (value is DataFeed)), "isDataFeed is incorrect"); 1400Debug.Assert(!isNull.HasValue || (isNull.Value == ADP.IsNull(value)), "isNull is incorrect");
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (4)
206string keyStr = GetBytesAsString(md.EncryptionKeyInfo.Value.encryptedKey, fLast:true, countOfBytes:10); 241Debug.Assert(sqlTceCipherInfoEntry.Value.ColumnEncryptionKeyValues != null, 249foreach (SqlEncryptionKeyInfo keyInfo in sqlTceCipherInfoEntry.Value.ColumnEncryptionKeyValues) { 327isValidSignature = signatureVerificationResult.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.DataSetExtensions (3)
System\Data\DataTableExtensions.cs (3)
122switch(options.Value) { 128throw DataSetUtil.InvalidLoadOption(options.Value); 198table.LoadDataRow(values, options.Value);
System.Data.Entity (125)
System\Data\Common\CommandTrees\AbstractExpressions.cs (11)
428return (value.Value ? ExpressionBuilder.DbExpressionBuilder.True : ExpressionBuilder.DbExpressionBuilder.False); 447return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 466return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 485return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 504return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 523return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 580return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 599return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 618return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 637return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value); 671return ExpressionBuilder.DbExpressionBuilder.Constant(value.Value);
System\Data\Common\EntitySql\AST\DotExpr.cs (2)
62return _isMultipartIdentifierComputed.Value; 85return _isMultipartIdentifierComputed.Value;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
2460if (facetDescription.MaxValue.HasValue && byteValue > facetDescription.MaxValue.Value) 2465if (facetDescription.MinValue.HasValue && byteValue < facetDescription.MinValue.Value)
System\Data\Common\EntityUtil.cs (11)
44return operand.HasValue ? !operand.Value : (bool?)null; 60result = left.Value && right.Value; 66result = left.Value ? 71result = right.Value ? 92result = left.Value || right.Value; 98result = left.Value ? 103result = right.Value ? 1679result = cardinality.Value.ToString(CultureInfo.CurrentCulture); 2119return useFx40CompatMode.Value;
System\Data\EntityClient\DbParameterHelper.cs (4)
85bool result = this._isNullable.HasValue ? this._isNullable.Value : true; 105int size = _size.HasValue ? _size.Value : 0; 112if (!_size.HasValue || _size.Value != value) { 135return (_size.HasValue && _size.Value != 0);
System\Data\EntityClient\EntityCommand.cs (1)
268return this._commandTimeout.Value;
System\Data\EntityClient\EntityParameter.cs (2)
222byte result = this._precision.HasValue ? this._precision.Value : (byte)0; 239byte result = this._scale.HasValue ? this._scale.Value : (byte)0;
System\Data\EntityModel\SchemaObjectModel\FunctionImportElement.cs (1)
148if (_isComposable && _isSideEffecting.HasValue && _isSideEffecting.Value == true)
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (6)
318return _baseTypeResolveResult.Value; 324return _baseTypeResolveResult.Value; 330return _baseTypeResolveResult.Value; 337return _baseTypeResolveResult.Value; 346return _baseTypeResolveResult.Value; 358return _baseTypeResolveResult.Value;
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (4)
285if(precisionFacetDescription.MaxValue.Value < scaleFacetDescription.MaxValue.Value) 290precisionFacetDescription.MaxValue.Value, 291scaleFacetDescription.MaxValue.Value));
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (13)
69return _nullable.Value; 385if (precision < precisionFacetDescription.MinValue.Value || precision > precisionFacetDescription.MaxValue.Value) 391precisionFacetDescription.MinValue.Value, 392precisionFacetDescription.MaxValue.Value, 404if (scale < scaleFacetDescription.MinValue.Value || scale > scaleFacetDescription.MaxValue.Value) 410scaleFacetDescription.MinValue.Value, 411scaleFacetDescription.MaxValue.Value, 442if (precision < precisionFacetDescription.MinValue.Value || precision > precisionFacetDescription.MaxValue.Value) 448precisionFacetDescription.MinValue.Value, 449precisionFacetDescription.MaxValue.Value,
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
399return condition.IsNull.Value ? (DbExpression)columnRef.IsNull() : (DbExpression)columnRef.IsNull().Not();
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
107command.CommandTimeout = translator.CommandTimeout.Value;
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (1)
145int keyOrdinal = memberInformation.EntityKeyOrdinal.Value;
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
217m_dbCommand.CommandTimeout = translator.CommandTimeout.Value;
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (5)
170result = booleanValue.Value; ; 266if ((leftResult.HasValue && !leftResult.Value && PreservedAndKnown(left)) || 267(rightResult.HasValue && !rightResult.Value && PreservedAndKnown(right))) 294if ((leftResult.HasValue && leftResult.Value && PreservedAndKnown(left)) || 295(rightResult.HasValue && rightResult.Value && PreservedAndKnown(right)))
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (6)
197int maximumCount = maximumCountDeclared.HasValue ? maximumCountDeclared.Value : count; // negative value 228if (addedCount > maximumCount.Value) 233else if (deletedCount > maximumCount.Value) 240throw EntityUtil.Update(Strings.Update_RelationshipCardinalityViolation(maximumCount.Value, 241violationType.Value, actualRelationship.AssociationSet.ElementType.FullName, 242actualRelationship.FromEnd.Name, actualRelationship.ToEnd.Name, violationCount.Value),
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
479Constant conditionConstant = (true == conditionMap.IsNull.Value) ? Constant.Null : Constant.NotNull;
System\Data\Metadata\CacheForPrimitiveTypes.cs (2)
125maxLength = Helper.GetFacet(primitiveType.FacetDescriptions, EdmProviderManifest.MaxLengthFacetName).MaxValue.Value; 129int newMaxLength = Helper.GetFacet(primitiveType.FacetDescriptions, EdmProviderManifest.MaxLengthFacetName).MaxValue.Value;
System\Data\Metadata\Converter.cs (1)
557end.Multiplicity.Value);
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;
System\Data\Metadata\Edm\FacetDescription.cs (3)
323(_minValue.HasValue && _minValue.Value != _maxValue.Value)) 334else if (_minValue.Value == _maxValue)
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
159resolvedPrimitiveTypeKind = primitiveTypeKind.Value;
System\Data\Objects\ELinq\ELinqQueryState.cs (1)
106explicitMergeOption.Value != plan.MergeOption) ||
System\Data\Objects\EntityEntry.cs (2)
3710(principalEntry != this || (isOneToMany = reference.GetOtherEndOfRelationship(existingPrincipal) is EntityReference).Value)) 3719if (isOneToMany.Value)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
172entityCommand.CommandTimeout = context.CommandTimeout.Value;
System\Data\Objects\Internal\ObjectQueryState.cs (3)
160return _userMergeOption.Value; 282return preferred.Value; 300return preferred.Value;
System\Data\Objects\ObjectContext.cs (2)
2665entityCommand.CommandTimeout = this.CommandTimeout.Value; 3203command.CommandTimeout = this.CommandTimeout.Value;
System\Data\Objects\ObjectQuery_TResultType.cs (1)
136retExpr = Expression.Call(retExpr, mergeAsMethod, Expression.Constant(this.QueryState.UserSpecifiedMergeOption.Value));
System\Data\Query\PlanCompiler\JoinElimination.cs (1)
151return m_isSqlCe.HasValue ? m_isSqlCe.Value : false;
System\Data\Query\PlanCompiler\PlanCompiler.cs (1)
460return m_mayApplyTransformationRules.Value;
System\Data\Spatial\DbGeography.cs (1)
483return this.spatialSvcs.Buffer(this, distance.Value);
System\Data\Spatial\DbGeometry.cs (1)
578return this.spatialSvcs.Buffer(this, distance.Value);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (6)
1053functionExpression = (spatialValue.IsGeography ? SpatialEdmFunctions.GeographyFromText(wellKnownText, srid.Value) : SpatialEdmFunctions.GeometryFromText(wellKnownText, srid.Value)); 1060functionExpression = (spatialValue.IsGeography ? SpatialEdmFunctions.GeographyFromBinary(wellKnownBinary, srid.Value) : SpatialEdmFunctions.GeometryFromBinary(wellKnownBinary, srid.Value)); 1067functionExpression = (spatialValue.IsGeography ? SpatialEdmFunctions.GeographyFromGml(gmlString, srid.Value) : SpatialEdmFunctions.GeometryFromGml(gmlString, srid.Value));
System\Data\SqlClient\SqlProviderServices.cs (9)
359if ((isOutParam || result.Size != size.Value)) 361if (preventTruncation && size.Value != -1) 367result.Size = Math.Max(result.Size, size.Value); 371result.Size = size.Value; 387if (precision.HasValue && (isOutParam || result.Precision != precision.Value)) { 388result.Precision = precision.Value; 390if (scale.HasValue && (isOutParam || result.Scale != scale.Value)) { 391result.Scale = scale.Value; 1053command.CommandTimeout = commandTimeout.Value;
System\Data\SqlClient\SqlSpatialServices.cs (2)
228return onValidValue(srid.Value, null, wkt); 235return onValidValue(srid.Value, wkb, null);
System\Data\SqlClient\SqlTypesAssembly.cs (6)
480return (spatialValue.IsGeography ? sqlGeographyFromWKBByteArray(binaryValue, srid.Value) : sqlGeometryFromWKBByteArray(binaryValue, srid.Value)); 487return (spatialValue.IsGeography ? sqlGeographyFromWKTString(textValue, srid.Value) : sqlGeometryFromWKTString(textValue, srid.Value)); 495return (spatialValue.IsGeography ? sqlGeographyFromGMLReader(xmlReader, srid.Value) : sqlGeometryFromGMLReader(xmlReader, srid.Value));
System.Data.Linq (51)
ChangeConflicts.cs (1)
212return this.isDeleted.Value;
SqlClient\Common\InheritanceRules.cs (2)
76s = s.PadRight(providerType.Size.Value).Substring(0,providerType.Size.Value);
SqlClient\SqlMethods.cs (36)
34return DateDiffYear(startDate.Value,endDate.Value); 64return DateDiffYear(startDate.Value, endDate.Value); 92return DateDiffMonth(startDate.Value, endDate.Value); 122return DateDiffMonth(startDate.Value, endDate.Value); 151return DateDiffDay(startDate.Value, endDate.Value); 180return DateDiffDay(startDate.Value, endDate.Value); 210return DateDiffHour(startDate.Value, endDate.Value); 239return DateDiffHour(startDate.Value, endDate.Value); 269return DateDiffMinute(startDate.Value, endDate.Value); 299return DateDiffMinute(startDate.Value, endDate.Value); 329return DateDiffSecond(startDate.Value, endDate.Value); 359return DateDiffSecond(startDate.Value, endDate.Value); 389return DateDiffMillisecond(startDate.Value, endDate.Value); 419return DateDiffMillisecond(startDate.Value, endDate.Value); 453return DateDiffMicrosecond(startDate.Value, endDate.Value); 485return DateDiffMicrosecond(startDate.Value, endDate.Value); 519return DateDiffNanosecond(startDate.Value, endDate.Value); 550return DateDiffNanosecond(startDate.Value, endDate.Value);
SqlClient\SqlTypeSystemProvider.cs (11)
695hash = this.applicationTypeIndex.Value; 956if (size.Value <= maxSize) 958return Create(targetType, size.Value); 1004parameter.Size = determinedSize.Value; 1013return declaredType.Size.Value; 1124int concatSize = leftType.Size.Value + rightType.Size.Value; 1362if (sqlTypeB.Size.HasValue && sqlTypeB.Size.Value == LargeTypeSizeIndicator 1363|| sqlTypeA.Size.HasValue && sqlTypeA.Size.Value == LargeTypeSizeIndicator) { 1494if (largestDeclarableSize.HasValue && largestDeclarableSize.Value >= parameter.Size) 1496return largestDeclarableSize.Value;
Types.cs (1)
829return this.hashCode.Value;
System.Data.Services (13)
System\Data\Services\DataServiceOperationContext.cs (1)
94return this.isBatchRequest.Value;
System\Data\Services\Providers\BasicExpandProvider.cs (2)
307.Invoke(null, new object[] { query, skipCount.Value, true }); 314.Invoke(null, new object[] { query, takeCount.Value, false });
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
641Debug.Assert(checkForEquality.Value, "If-None-Match header is currently not supported for Update/Delete operations");
System\Data\Services\Providers\ResourceContainerWrapper.cs (1)
241return this.epmIsV1Compatible.Value;
System\Data\Services\Providers\ResourceType.cs (1)
486return this.basesHaveEpmInfo.Value;
System\Data\Services\RequestQueryProcessor.cs (3)
1292.Invoke(null, new object[] { this.query, this.skipCount.Value }); 1302.Invoke(null, new object[] { this.query, this.topCount.Value }); 1328if (this.IsStandardPaged && pageSize < this.topCount.Value)
System\Data\Services\Serializers\Serializer.cs (4)
435Debug.Assert(topQueryParameter.Value >= this.segmentResultCounts[this.segmentResultCounts.Count - 1], "$top must be the upper limits of the number of results returned."); 436if (topQueryParameter.Value <= pageSize) 877int remainingResults = topQueryParameter.Value; 882remainingResults = topQueryParameter.Value - this.CurrentContainer.PageSize;
System.Data.Services.Client (4)
System\Data\Services\Client\AtomEntry.cs (1)
87this.SetFlagValue(EntryFlags.MediaLinkEntryValue, value.Value);
System\Data\Services\Client\AtomParser.cs (2)
551if (targetEntry.MediaLinkEntry.HasValue && targetEntry.MediaLinkEntry.Value) 945if (targetEntry.MediaLinkEntry.HasValue && !targetEntry.MediaLinkEntry.Value)
System\Data\Services\Client\MaterializeFromAtom.cs (1)
481this.countValue = this.materializer.CurrentFeed.Count.Value;
System.Data.Services.Design (2)
System\Data\EntityModel\DataServiceBuildProvider.cs (2)
500version = versionParamValue.HasValue ? versionParamValue.Value : DataServiceCodeVersion.V1; 501useDataServiceCollection = useCollectionParamValue.HasValue ? useCollectionParamValue.Value : false;
System.Drawing (1)
commonui\System\Drawing\Icon.cs (1)
1127return isBestImagePng.Value;
System.IdentityModel (55)
System\IdentityModel\DateTimeUtil.cs (2)
64if (null == value || value.Value.Kind == DateTimeKind.Utc) 68return ToUniversalTime(value.Value);
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
2442writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EndpointIsDefault, null, XmlConvert.ToString(indexedEP.IsDefault.Value));
System\IdentityModel\Protocols\WSTrust\Lifetime.cs (2)
42if ( created != null && expires != null && expires.Value <= created.Value )
System\IdentityModel\Protocols\WSTrust\WSTrustMessage.cs (1)
285if (value.HasValue && value.Value < 0)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (4)
855requestSerializer.WriteXmlElement(writer, trustConstants.Elements.Forwardable, rst.Forwardable.Value, rst, context); 860requestSerializer.WriteXmlElement(writer, trustConstants.Elements.Delegatable, rst.Delegatable.Value, rst, context); 2581writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Created, WSUtilityConstants.NamespaceURI, lifetime.Created.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture)); 2586writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Expires, WSUtilityConstants.NamespaceURI, lifetime.Expires.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture));
System\IdentityModel\SecurityTokenService.cs (7)
394result = new SymmetricProofDescriptor(request.KeySizeInBits.Value, targetWrappingCredentials, requestorWrappingCredentials, 399result = new SymmetricProofDescriptor(request.KeySizeInBits.Value, targetWrappingCredentials, 471created = requestLifetime.Created.Value; 480expires = requestLifetime.Expires.Value; 1077if (StringComparer.Ordinal.Equals(request.KeyType, KeyTypes.Bearer) && request.KeySizeInBits.HasValue && (request.KeySizeInBits.Value != 0)) 1097if (request.KeySizeInBits.Value > _securityTokenServiceConfiguration.DefaultMaxSymmetricKeySizeInBits) 1099throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID2056, request.KeySizeInBits.Value, _securityTokenServiceConfiguration.DefaultMaxSymmetricKeySizeInBits)));
System\IdentityModel\Tokens\Saml2Conditions.cs (4)
57if (value.Value >= this.notOnOrAfter.Value) 85if (value.Value <= this.notBefore.Value)
System\IdentityModel\Tokens\Saml2ProxyRestriction.cs (1)
52if (value.Value < 0)
System\IdentityModel\Tokens\Saml2SecurityToken.cs (2)
94return this.assertion.Conditions.NotBefore.Value; 112return this.assertion.Conditions.NotOnOrAfter.Value;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (19)
1562&& DateTimeUtil.Add(now, Configuration.MaxClockSkew) < conditions.NotBefore.Value) 1564throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenNotYetValidException(SR.GetString(SR.ID4147, conditions.NotBefore.Value, now))); 1568&& DateTimeUtil.Add(now, Configuration.MaxClockSkew.Negate()) >= conditions.NotOnOrAfter.Value) 1570throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenExpiredException(SR.GetString(SR.ID4148, conditions.NotOnOrAfter.Value, now))); 1724tokenExpiration = assertion.Conditions.NotOnOrAfter.Value; 1732tokenExpiration = assertion.Subject.SubjectConfirmations[0].SubjectConfirmationData.NotOnOrAfter.Value; 1743if (DateTime.Compare(maximumExpirationTime, tokenExpiration.Value) < 0) 1746new SecurityTokenValidationException(SR.GetString(SR.ID1069, tokenExpiration.Value.ToString(), Configuration.TokenReplayCacheExpirationPeriod.ToString()))); 1749return tokenExpiration.Value; 2116&& DateTimeUtil.Add(now, Configuration.MaxClockSkew) < confirmationData.NotBefore.Value) 2118throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4176, confirmationData.NotBefore.Value, now))); 2122&& DateTimeUtil.Add(now, Configuration.MaxClockSkew.Negate()) >= confirmationData.NotOnOrAfter.Value) 2124throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4177, confirmationData.NotOnOrAfter.Value, now))); 3805writer.WriteAttributeString(Saml2Constants.Attributes.SessionNotOnOrAfter, XmlConvert.ToString(data.SessionNotOnOrAfter.Value.ToUniversalTime(), DateTimeFormats.Generated)); 4169writer.WriteAttributeString(Saml2Constants.Attributes.NotBefore, XmlConvert.ToString(data.NotBefore.Value.ToUniversalTime(), DateTimeFormats.Generated)); 4175writer.WriteAttributeString(Saml2Constants.Attributes.NotOnOrAfter, XmlConvert.ToString(data.NotOnOrAfter.Value.ToUniversalTime(), DateTimeFormats.Generated)); 4860writer.WriteAttributeString(Saml2Constants.Attributes.Count, XmlConvert.ToString(data.Count.Value)); 5405writer.WriteAttributeString(Saml2Constants.Attributes.NotBefore, XmlConvert.ToString(data.NotBefore.Value.ToUniversalTime(), DateTimeFormats.Generated)); 5411writer.WriteAttributeString(Saml2Constants.Attributes.NotOnOrAfter, XmlConvert.ToString(data.NotOnOrAfter.Value.ToUniversalTime(), DateTimeFormats.Generated));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
276conditions.NotBefore = tokenLifetime.Created.Value; 281conditions.NotOnOrAfter = tokenLifetime.Expires.Value;
System\IdentityModel\Tokens\SessionSecurityToken.cs (10)
244validFromEffective = DateTimeUtil.ToUniversalTime(validFrom.Value); 253validToEffective = DateTimeUtil.ToUniversalTime(validTo.Value); 285if (keyEffectiveTime.Value > keyExpirationTime.Value || keyEffectiveTime.Value < validFromEffective) 290if (keyExpirationTime.Value > validToEffective) 326_validFrom = validFrom.Value; 327_validTo = validTo.Value; 329_keyEffectiveTime = keyEffectiveTime.Value; 330_keyExpirationTime = keyExpirationTime.Value;
System.Runtime.Serialization (4)
System\Runtime\Serialization\NetDataContractSerializer.cs (1)
129return unsafeTypeForwardingEnabled.Value;
System\Runtime\Serialization\SchemaImporter.cs (2)
1006if (emitDefaultValueFromAnnotation != null && emitDefaultValueFromAnnotation.Value) 1011memberEmitDefaultValue = emitDefaultValueFromAnnotation != null ? emitDefaultValueFromAnnotation.Value : Globals.DefaultEmitDefaultValue;
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
442return value.Value;
System.Security (8)
system\security\cryptography\xml\utils.cs (8)
183return xmlDsigSearchDepth.Value; 191return xmlDsigSearchDepth.Value; 202return maxCharactersFromEntities.Value; 208return maxCharactersFromEntities.Value; 245return s_allowAmbiguousReferenceTarget.Value; 252return s_allowAmbiguousReferenceTarget.Value; 266return s_allowDetachedSignature.Value; 273return s_allowDetachedSignature.Value;
System.ServiceModel (47)
System\ServiceModel\Activation\AspNetEnvironment.cs (1)
354return AspNetEnvironment.isApplicationDomainHosted.Value;
System\ServiceModel\Channels\AppContainerInfo.cs (1)
98appSession = currentSessionId.Value;
System\ServiceModel\Channels\CreateSequenceResponse.cs (1)
155writer.WriteValue(this.expires.Value);
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
324(contentLength.HasValue && contentLength.Value > 0))
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
343(contentLength.HasValue && contentLength.Value > 0))
System\ServiceModel\Channels\MsmqDecodeHelper.cs (1)
427int bodyType = property.BodyType.Value;
System\ServiceModel\Channels\MsmqMessageProperty.cs (2)
43if (System.ServiceModel.Channels.DeliveryFailure.ReachQueueTimeout == deliveryFailure.Value 44|| System.ServiceModel.Channels.DeliveryFailure.Unknown == deliveryFailure.Value)
System\ServiceModel\Channels\MsmqVerifier.cs (1)
162if (security.MsmqProtectionLevel == ProtectionLevel.EncryptAndSign && useActiveDirectory.HasValue && !useActiveDirectory.Value)
System\ServiceModel\Channels\RedirectionDuration.cs (1)
140return this.hashCode.Value;
System\ServiceModel\Channels\RedirectionScope.cs (1)
146return this.hashCode.Value;
System\ServiceModel\Channels\RedirectionType.cs (1)
148return this.hashCode.Value;
System\ServiceModel\Configuration\SecurityElementBase.cs (3)
681if (requireDerivedKeys.HasValue && requireDerivedKeys.Value != t.RequireDerivedKeys) 696if ( requireDerivedKeys.HasValue && requireDerivedKeys.Value != ssbe.ProtectionTokenParameters.RequireDerivedKeys ) 718if ( requireDerivedKeys.HasValue && requireDerivedKeys.Value != asbe.InitiatorTokenParameters.RequireDerivedKeys )
System\ServiceModel\Description\ConfigLoader.cs (2)
260skip = isPT.Value; 263else if (isPT.Value)
System\ServiceModel\Description\MessageContractImporter.cs (14)
361styleAndUse = GetStyleAndUse(operationStyle, isOperationEncoded.Value); 363isEncoded = isOperationEncoded.Value; 368StyleAndUse operationStyleAndUse = GetStyleAndUse(operationStyle, isOperationEncoded.Value); 373prevOperationBinding.Binding.Name, GetUse(styleAndUse.Value), GetStyle(styleAndUse.Value))); 379isEncoded = isOperationEncoded.Value; 407&& inferredMessageStyle.Value == OperationFormatStyle.Document)) 419if (inferredOperationStyle.Value != style && inferredOperationStyle.Value == OperationFormatStyle.Document) 463else if (style != inferredStyle.Value) 1310else if (isMessageEncoded.Value != currentIsEncoded) 1322else if (isMessageEncoded.Value != currentIsEncoded) 1355isEncoded = isMessageEncoded.Value; 1383else if (isEncoded.Value != currentIsEncoded)
System\ServiceModel\MsmqException.cs (2)
53return this.faultSender.Value; 62return this.faultReceiver.Value;
System\ServiceModel\MsmqIntegration\MsmqIntegrationMessageProperty.cs (4)
172if (priority.HasValue && (priority.Value < MessagePriority.Lowest || priority.Value > MessagePriority.Highest)) 178if (timeout.HasValue && timeout.Value < TimeSpan.Zero) 184if (timeout.HasValue && TimeoutHelper.IsTooLarge(timeout.Value))
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (5)
215EnsureAcknowledgeProperty((byte)property.AcknowledgeType.Value); 221this.appSpecific = new IntProperty(this, UnsafeNativeMethods.PROPID_M_APPSPECIFIC, property.AppSpecific.Value); 224EnsureBodyTypeProperty(property.BodyType.Value); 236this.priority = new ByteProperty(this, UnsafeNativeMethods.PROPID_M_PRIORITY, (byte)property.Priority.Value); 242EnsureTimeToReachQueueProperty(MsmqDuration.FromTimeSpan(property.TimeToReachQueue.Value));
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (2)
49return shareReferrals.Value; 69return shareReferrals.Value;
System\ServiceModel\Security\WSTrustChannel.cs (3)
517created.Value, 518expires.Value, 610keySize = response.KeySizeInBits.Value;
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
554return this.isWindowsAuthentication.Value;
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
272return HostedHttpRequestAsyncResult.iisSupportsExtendedProtection.Value;
System.ServiceModel.Activities (8)
System\ServiceModel\Activities\ContractInferenceHelper.cs (5)
122operation.ProtectionLevel = protectionLevel.Value; 150operation.ProtectionLevel = protectionLevel.Value; 225operation.ProtectionLevel = protectionLevel.Value; 269operation.ProtectionLevel = send.ProtectionLevel.Value; 303operation.ProtectionLevel = receive.ProtectionLevel.Value;
System\ServiceModel\Activities\Send.cs (2)
220return this.channelCacheEnabled.Value; 443Fx.Assert(this.channelCacheEnabled.Value == enabled, "Once ChannelCacheEnabled is set, it cannot be changed!");
System\ServiceModel\Activities\WorkflowService.cs (1)
1148|| (receiveActivity.ProtectionLevel.HasValue && receiveActivity.ProtectionLevel.Value != targetOperation.ProtectionLevel)
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
1362TimeSpan elaspedTime = DateTime.UtcNow.Subtract(StartedAt.Value);
System.ServiceModel.Internals (1)
System\Runtime\IOThreadCancellationTokenSource.cs (1)
50return this.token.Value;
System.ServiceModel.Web (5)
System\ServiceModel\Dispatcher\MultiplexingDispatchMessageFormatter.cs (1)
68format = nullableFormat.Value;
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
71WebMessageFormat format = nullableFormat.HasValue ? nullableFormat.Value : this.webHttpBehavior.GetResponseFormat(description);
System\ServiceModel\Web\IncomingWebRequestContext.cs (1)
191long ticksDifference = lastModified.ToUniversalTime().Ticks - ifModifiedSince.Value.ToUniversalTime().Ticks;
System\ServiceModel\Web\OutgoingWebResponseContext.cs (2)
117if (!WebMessageFormatHelper.IsDefined(value.Value)) 123operationContext.OutgoingMessageProperties[WebResponseFormatPropertyName] = value.Value;
System.Web (20)
Compilation\AssemblyResolver.cs (2)
176return s_needToCheckFullProfile.Value; 535return s_warnAsError.Value;
Compilation\BuildManager.cs (1)
1904return BatchCompilationEnabled.Value;
Compilation\CompilationUtil.cs (2)
651if (AppSettings.MaxConcurrentCompilations.HasValue && AppSettings.MaxConcurrentCompilations.Value >= 0) { 652maxConcurrentCompilations = AppSettings.MaxConcurrentCompilations.Value;
Configuration\AuthenticationConfig.cs (1)
32return s_explicitMode.Value;
Configuration\MTConfigUtil.cs (1)
33return s_useMTConfig.Value;
Hosting\MapPathBasedVirtualPathProvider.cs (1)
91return cacheValue.Value;
Routing\RouteParser.cs (3)
233isCurrentPartSeparator = isPreviousPartSeparator.Value; 239if (isCurrentPartSeparator && isPreviousPartSeparator.Value) { 242Debug.Assert(isCurrentPartSeparator != isPreviousPartSeparator.Value, "This assert should only happen if both the current and previous parts are non-separators. This should never happen because consecutive non-separators are always parsed as a single part.");
UI\ValidationSettings.cs (1)
27return _unobtrusiveValidationMode.Value;
UI\WebControls\CreateUserWizard.cs (1)
2266cell.HorizontalAlign = cellHorizontalAlignment.Value;
UI\WebControls\Wizard.cs (1)
1198return _isMacIE.Value;
UI\WebParts\WebPartManager.cs (1)
580return _usePermitOnly.Value;
Util\EnableViewStateMacRegistryHelper.cs (2)
43EnforceViewStateMac = !AppSettings.AllowInsecureDeserialization.Value; 47SuppressMacValidationErrorsFromCrossPagePostbacks |= !AppSettings.AllowInsecureDeserialization.Value;
Util\RegexUtil.cs (2)
61return _isRegexTimeoutSetInAppDomain.Value; 74timeout = timeoutInMillsec.Value;
WebSockets\AspNetWebSocket.cs (1)
404_closeStatus = result.CloseStatus.Value;
System.Web.DynamicData (9)
DynamicData\FieldTemplateUserControl.cs (1)
481validator.Type = dataType.Value;
DynamicData\MetaColumn.cs (3)
267return _scaffoldValueManual.Value; 273return displayAttribute.GetAutoGenerateField().Value; 286return _scaffoldValueDefault.Value;
DynamicData\MetaTable.cs (3)
165return _hasToStringOverride.Value; 535return displayAttribute.GetOrder().Value; 796return displayAttribute.GetAutoGenerateFilter().Value;
DynamicData\ModelProviders\ColumnProvider.cs (1)
101return _isReadOnly.Value;
DynamicData\SimpleFieldTemplateFactory.cs (1)
35return _directoryExists.Value;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceQueryBuilder.cs (1)
71return _count.Value;
System.Web.Extensions (17)
ApplicationServices\ApplicationServiceHelper.cs (3)
52return _authServiceEnabled.Value; 59return _profileServiceEnabled.Value; 71return _roleServiceEnabled.Value;
Script\Serialization\JavaScriptObjectDeserializer.cs (9)
274if (Char.IsLetterOrDigit(c.Value) || c.Value == '.' || 275c.Value == '-' || c.Value == '_' || c.Value == '+') { 277sb.Append(c.Value); 318sb.Append(c.Value); 327sb.Append(c.Value); 355quoteChar = c.Value;
Script\Services\WebServiceMethodData.cs (1)
143return _useHttpGet.Value;
UI\AppLevelCompilationSectionCache.cs (1)
36return _debug.Value;
UI\DeploymentSectionCache.cs (1)
34return _retail.Value;
UI\ScriptManager.cs (2)
593return _isRestMethodCall.Value; 602return _isSecureConnection.Value;
System.Windows.Forms (9)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
22503return resizeResult.Value; 23741return resizeResult.Value;
winforms\Managed\System\WinForms\SendKeys.cs (7)
902if (sendMethod.Value != SendMethodTypes.SendInput) 905sendMethod.Value == SendMethodTypes.Default) 912if (sendMethod.Value == SendMethodTypes.JournalHook || 913hookSupported.Value) 921if (sendMethod.Value == SendMethodTypes.SendInput || 922(sendMethod.Value == SendMethodTypes.Default && !hookSupported.Value))
System.Workflow.Activities (1)
Rules\Parser\Parser.cs (1)
1742argResult = new CodeDirectionExpression(direction.Value, argResult);
System.Workflow.ComponentModel (20)
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (9)
125(Math.Abs(this.initialDragPoint.Value.X - logicalPoint.X) > SystemInformation.DragSize.Width || 126Math.Abs(this.initialDragPoint.Value.Y - logicalPoint.Y) > SystemInformation.DragSize.Height)) 128BeginEditing(GetConnectorEditor(this.initialDragPoint.Value, this.dragPointHitInfo), this.initialDragPoint.Value); 363snapableConnectionPoints = GetSnappableConnectionPoints(editPoint.Value, sourceConnectionPoint, this.connectorEditor.EditedConectionPoint, MessageHitTestContext.AssociatedDesigner, out this.snappedConnectionPoint); 370this.connectorEditor.OnEndEditing((editPoint != null) ? editPoint.Value : Point.Empty, (editPoint != null)); 425cursorToSet = this.connectorEditor.GetCursor(cursorPoint.Value); 436if (connectablePoint.Bounds.Contains(cursorPoint.Value)) 453cursorToSet = connectorEditor.GetCursor(cursorPoint.Value);
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (3)
142if (this.deserializingDictionary || (entry.HasValue && entry.Value.Value == extendee)) 163if (entry.HasValue && entry.Value.Value == extendee) 164return entry.Value.Key;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (8)
564bool key = entry.HasValue && ((!entry.Value.GetType().IsValueType && entry.Value.Key == entry.Value.Value && entry.Value.Value == obj) || 565(entry.Value.GetType().IsValueType && entry.Value.Key.Equals(entry.Value.Value) && entry.Value.Value.Equals(obj))) &&
System.Workflow.Runtime (1)
Tracking\SqlTrackingQuery.cs (1)
191param.Value = opt.WorkflowStatus.Value;
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
247string traceText = SR2.GetString(SR2.DurableInstanceRefCountToInstanceContext, instanceId, referenceCount.Value);
System.Xml (3)
System\Xml\Core\XmlReaderSettings.cs (3)
723return s_enableLegacyXmlSettings.Value; 729return s_enableLegacyXmlSettings.Value; 740return s_enableLegacyXmlSettings.Value;
WindowsBase (12)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (2)
289return s_allowAmbiguousReferenceTarget.Value; 296return s_allowAmbiguousReferenceTarget.Value;
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
897_xmlWriter.WriteString(XmlConvert.ToString(((Nullable<DateTime>)entry.Value).Value.ToUniversalTime(), "yyyy-MM-ddTHH:mm:ss.fffffffZ"));
Base\MS\Internal\IO\Zip\ZipIOExtraFieldZip64Element.cs (1)
205size += _ignoredFieldSize.Value;
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (3)
324new ContentGrant(user, right.Value, validFrom, validUntil)); 365unsignedPublishLicense.ApplicationSpecificDataDictionary.Add(appSpecificDataEntry.Value.Key, appSpecificDataEntry.Value.Value);
Base\System\Security\RightsManagement\CryptoProvider.cs (3)
317grantList.Add(new ContentGrant(_owner, contentRight.Value, rightsInfo.ValidFrom, rightsInfo.ValidUntil)); 540((right.Value == ContentRight.Owner) ||(right.Value== ContentRight.ViewRightsData)))
Shared\MS\Internal\ReaderWriterLockSlimWrapper.cs (1)
319dispatcherProcessingDisabled.Value.Dispose();
Shared\MS\Win32\SafeNativeMethodsCLR.cs (1)
530int sessionId = SessionId.HasValue ? SessionId.Value : NativeMethods.WTS_CURRENT_SESSION;
WsatConfig (1)
Configuration\Utilities.cs (1)
194return (bool)isHttpApiLibAvailable.Value;
WsatUI (1)
Configuration\Utilities.cs (1)
194return (bool)isHttpApiLibAvailable.Value;