Implemented interface members:
method
TryGetValue
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)
method
TryGetValue
System.Collections.Generic.IDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)
48 references to TryGetValue
mscorlib (13)
system\Collections\Concurrent\ConcurrentDictionary.cs (9)
392return TryGetValue(key, out throwAwayValue); 973if (!TryGetValue(key, out value)) 1065if (TryGetValue(key, out resultingValue)) 1116if (!TryGetValue(key, out resultingValue)) 1153if (TryGetValue(key, out oldValue)) 1203if (TryGetValue(key, out oldValue)) 1248if (TryGetValue(key, out oldValue)) 1423if (!TryGetValue(keyValuePair.Key, out value)) 1635if (key is TKey && this.TryGetValue((TKey)key, out value))
system\diagnostics\eventing\eventsource.cs (2)
5449if (!af.m_rootActiveActivities.TryGetValue(currentActivityId, out startId)) 5463if (af.m_rootActiveActivities.TryGetValue(currentActivityId, out startId) &&
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (1)
567return ht.TryGetValue(name, out value) ? value : null;
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
591if (m_pair.m_threadProcessingMapping.TryGetValue(Thread.CurrentThread.ManagedThreadId, out currentThreadMode) &&
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfXamlType.cs (2)
446if (wpfXamlType._members != null && wpfXamlType.Members.TryGetValue(name, out xamlMember)) 453if (wpfXamlType._attachableMembers != null && wpfXamlType.AttachableMembers.TryGetValue(name, out xamlMember))
System (2)
net\System\Net\_AuthenticationManager2.cs (1)
140if (!this.moduleList.TryGetValue(moduleName.ToUpperInvariant(), out authenticationModule))
net\System\Net\_SSPIWrapper.cs (1)
102isIdentityCached = s_DefaultCredentialsHandleCache.Value.TryGetValue(currentIdentityKey, out outCredential);
System.Activities (2)
System\Activities\XamlIntegration\TypeConverterBase.cs (2)
70if (!this.helpers.Value.TryGetValue(targetType, out currentHelper)) 75if (!this.helpers.Value.TryGetValue(targetType, out currentHelper))
System.ComponentModel.DataAnnotations (2)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (2)
101if (_metadataTypeCache.TryGetValue(type, out associatedMetadataType)) { 139if (_typeMemberCache.TryGetValue(memberTuple, out attributes)) {
System.Data (6)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (2)
186if (!_poolCollection.TryGetValue(currentIdentity, out pool)) { // find the pool 191if (!_poolCollection.TryGetValue(currentIdentity, out pool)) {
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Factory.cs (1)
68if (!_encryptionAlgorithms.TryGetValue(algorithmKey, out aesAlgorithm)) {
fx\src\data\System\Data\SqlClient\SqlAes256CbcFactory.cs (1)
72if (!_encryptionAlgorithms.TryGetValue(algorithmKey, out aesAlgorithm))
fx\src\data\System\Data\SqlClient\SqlClientEncryptionAlgorithmFactoryList.cs (1)
67if (!_encryptionAlgoFactoryList.TryGetValue (algorithmName, out factory)) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2229if (_dbConnectionPool.AuthenticationContexts.TryGetValue(_dbConnectionPoolAuthenticationContextKey, out dbConnectionPoolAuthenticationContext)) {
System.Data.Entity (1)
System\Data\Common\QueryCache\CompiledQueryCacheEntry.cs (1)
63_plans.TryGetValue(key, out plan);
System.ServiceModel (2)
System\ServiceModel\Channels\HttpHeaderInfo.cs (2)
80if (!knownHeadersInfos.TryGetValue(headerName, out headerInfo)) 138if (knownHeadersInfos.TryGetValue(header, out headerInfo))
System.Web (14)
Compilation\AssemblyResolver.cs (1)
220if (!assemblyVersions.TryGetValue(path, out version)) {
Configuration\CompilationSection.cs (1)
677if (!_assemblyNames.Value.TryGetValue(a, out name)) {
Configuration\MTConfigUtil.cs (2)
155if (!s_sections.TryGetValue(key, out result)) { 209if (!s_configurations.TryGetValue(vpath, out result)) {
State\SessionStateModule.cs (1)
1064s_queuedRequestsNumPerSession.TryGetValue(_rqId, out count);
UI\DataBinder.cs (1)
148if (!propertyCache.TryGetValue(containerType, out properties)) {
UI\TargetFrameworkUtil.cs (8)
68if (!s_memberCache.TryGetValue(type, out memberCache)) { 184if (!memberCache.Properties.TryGetValue(key, out result)) { 233if (!memberCache.Fields.TryGetValue(key, out result)) { 269if (!memberCache.Events.TryGetValue(name, out result)) { 304if (!s_typePropertyDescriptorCollectionDict.TryGetValue(type, out result)) { 333if (!s_objectPropertyDescriptorCollectionDict.TryGetValue(obj, out result)) { 389if (!s_eventDescriptorCollectionDict.TryGetValue(type, out result)) { 475if (!s_isFrameworkType.TryGetValue(type, out result)) {
System.Web.DynamicData (1)
UI\DataControlExtensions.cs (1)
30if (!s_MetaTableCache.TryGetValue(entityType, out table)) {
System.Web.Extensions (2)
UI\AssemblyCache.cs (1)
80if (!_ajaxAssemblyAttributeCache.TryGetValue(assembly, out ajaxFrameworkAssemblyAttribute)) {
UI\ScriptResourceMapping.cs (1)
60_definitions.TryGetValue(new Tuple<string, Assembly>(name, assembly), out definition);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
72if (defaultFontCache.TryGetValue(dpi, out retFont) == false || retFont == null) {