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