19 references to TryGetValue
mscorlib (4)
system\collections\generic\dictionary.cs (1)
397HashHelpers.SerializationInfoTable.TryGetValue(this, out siInfo);
system\collections\hashtable.cs (1)
1217HashHelpers.SerializationInfoTable.TryGetValue(this, out siInfo);
system\runtime\compilerservices\ConditionalWeakTable.cs (1)
241if (TryGetValue(key, out existingValue))
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
270if (!s_eventRegistrations.TryGetValue(instance, out instanceMap))
PresentationCore (3)
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfoHelper.cs (1)
140if (s_sourceInfoTable != null && obj != null && s_sourceInfoTable.TryGetValue(obj, out info))
Core\CSharp\System\Windows\Input\Command\CanExecuteChangedEventManager.cs (2)
262if (!cwt.TryGetValue(target, out value)) 296if (_cwt.TryGetValue(target, out value))
PresentationFramework (6)
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
442if (!_propertyTransferEnabledMap.TryGetValue(d, out propertyTransferEnabledForObject)) 455if ( _propertyTransferEnabledMap.TryGetValue(d, out propertyTransferEnabledForObject))
src\Framework\System\Windows\Localization.cs (2)
129_commentsOnObjects.TryGetValue(element, out result); 134_attributesOnObjects.TryGetValue(element, out result);
src\Framework\System\Windows\StyleHelper.cs (2)
4787if( !deferredActions.TryGetValue(triggerContainer, out actionList) ) 4806if (frameworkTemplate.DeferredActions.TryGetValue(triggerContainer, out actionList))
System.Activities (1)
System\Activities\Tracking\RuntimeTrackingProfile.cs (1)
583if (!this.cache.TryGetValue(rootElement, out runtimeProfileList))
System.Core (2)
Microsoft\Scripting\Ast\Expression.cs (2)
102if (_legacyCtorSupportTable != null && _legacyCtorSupportTable.TryGetValue(this, out extInfo)) { 120if (_legacyCtorSupportTable != null && _legacyCtorSupportTable.TryGetValue(this, out extInfo)) {
System.Transactions (1)
System\Transactions\Transaction.cs (1)
1524return ContextDataTable.TryGetValue(contextKey, out currentData);
WindowsBase (2)
Base\System\Windows\WeakEventManager.cs (2)
650if (!_cwt.TryGetValue(target, out value)) 697if (_cwt.TryGetValue(target, out value))