45 implementations of TryGetValue
mscorlib (4)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
498public bool TryGetValue(TKey key, out TValue value)
system\collections\generic\dictionary.cs (1)
498public bool TryGetValue(TKey key, out TValue value) {
system\collections\objectmodel\readonlydictionary.cs (1)
81public bool TryGetValue(TKey key, out TValue value) {
System\Diagnostics\Eventing\TraceLogging\EventPayload.cs (1)
125public bool TryGetValue(string key, out object value)
PresentationCore (4)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
717public bool TryGetValue(int key, out ushort value)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
64public bool TryGetValue(int key, out CharacterMetrics value)
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
69public bool TryGetValue(XmlLanguage key, out string value)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
2143public bool TryGetValue(ushort key, out double value)
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (1)
147public bool TryGetValue(string key, out string value)
src\Framework\MS\Internal\WeakDictionary.cs (1)
226public bool TryGetValue(TKey key, out TValue value)
System (3)
compmod\system\collections\generic\sorteddictionary.cs (1)
226public bool TryGetValue( TKey key, out TValue value) {
compmod\system\collections\generic\sortedlist.cs (1)
614public bool TryGetValue(TKey key, out TValue value) {
compmod\system\collections\specialized\stringdictionary.cs (1)
295public bool TryGetValue(string key, out string value) {
System.Activities (2)
System\Activities\Hosting\SymbolResolver.cs (1)
215public bool TryGetValue(string key, out object value)
System\Activities\HybridDictionary.cs (1)
176public bool TryGetValue(TKey key, out TValue value)
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
225public abstract bool TryGetValue(ModelItem key, out ModelItem value);
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
110public bool TryGetValue(K key, out V value)
System.AddIn (1)
System\Addin\Hosting\ReadOnlyDictionary.cs (1)
49public bool TryGetValue(TKey key, out TValue value)
System.Core (1)
Microsoft\Scripting\Actions\ExpandoObject.cs (1)
585bool IDictionary<string, object>.TryGetValue(string key, out object value) {
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
225public abstract bool TryGetValue(ModelItem key, out ModelItem value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
110public bool TryGetValue(K key, out V value)
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
326public bool TryGetValue(XName key, out object value)
System.ServiceModel (12)
System\ServiceModel\Channels\ContextDictionary.cs (1)
190public bool TryGetValue(string key, out string value)
System\ServiceModel\Channels\MessageProperties.cs (1)
546public bool TryGetValue(string name, out object value)
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (1)
481public bool TryGetValue(MessageFilter filter, out TFilterData data)
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (1)
478public bool TryGetValue(MessageFilter filter, out FilterData data)
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (1)
819public bool TryGetValue(MessageFilter filter, out TFilterData data)
System\ServiceModel\Dispatcher\MessageFilter.cs (1)
314public bool TryGetValue(MessageFilter filter, out FilterData data)
System\ServiceModel\Dispatcher\MessageFilterTable.cs (1)
582public bool TryGetValue(MessageFilter filter, out TFilterData data)
System\ServiceModel\Dispatcher\MessageQueryTable.cs (1)
170public bool TryGetValue(MessageQuery key, out TItem value)
System\ServiceModel\Dispatcher\ThreadSafeMessageFilterTable.cs (1)
273public bool TryGetValue(MessageFilter filter, out FilterData data)
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (1)
609public bool TryGetValue(MessageFilter filter, out TFilterData data)
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
289public bool TryGetValue(MessageFilter filter, out FilterData data)
System\UriTemplate.cs (1)
1128public bool TryGetValue(string key, out string value)
System.ServiceModel.Internals (3)
System\Runtime\Collections\NullableKeyDictionary.cs (1)
119public bool TryGetValue(TKey key, out TValue value)
System\Runtime\Collections\OrderedDictionary.cs (1)
230public bool TryGetValue(TKey key, out TValue value)
System\Runtime\ReadOnlyDictionaryInternal.cs (1)
120public bool TryGetValue(TKey key, out TValue value)
System.ServiceModel.Routing (1)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (1)
259public bool TryGetValue(MessageFilter key, out TFilterData value)
System.Web (4)
ModelBinding\ModelBinderDictionary.cs (1)
146public bool TryGetValue(Type key, out IModelBinder value) {
ModelBinding\ModelStateDictionary.cs (1)
147public bool TryGetValue(string key, out ModelState value) {
Routing\RouteValueDictionary.cs (1)
95public bool TryGetValue(string key, out object value) {
UI\WebControls\MethodParametersDictionary.cs (1)
149public bool TryGetValue(string key, out MethodParameterValue value) {
System.Web.Extensions (1)
Util\OrderedDictionary.cs (1)
110public bool TryGetValue(TKey key, out TValue value) {
System.WorkflowServices (1)
System\ServiceModel\SerializableReadOnlyDictionary.cs (1)
123public bool TryGetValue(K key, out V value)
WindowsBase (1)
Base\System\Windows\NameScope.cs (1)
354public bool TryGetValue(string key, out object value)
181 references to TryGetValue
Microsoft.Activities.Build (2)
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (2)
84buildContext.MarkupItemsByTypeName.TryGetValue(type.FullName, out inputTaskItem); 190if (!parentChildMappings.TryGetValue(errorSource, out parent))
mscorlib (6)
system\collections\objectmodel\readonlydictionary.cs (1)
82return m_dictionary.TryGetValue(key, out value);
system\diagnostics\eventing\eventsource.cs (3)
2913if (commandArguments.TryGetValue("ActivitySamplingStartEvent", out activityFilters)) 2919if (commandArguments.TryGetValue("ActivitySampling", out activityFilterString)) 2930if (!commandArguments.TryGetValue("EtwSessionKeyword", out sSessionKwd) ||
system\runtime\interopservices\windowsruntime\dictionarytomapadapter.cs (1)
43bool keyFound = _this.TryGetValue(key, out value);
system\runtime\interopservices\windowsruntime\maptocollectionadapter.cs (1)
124bool hasKey = _this_dictionary.TryGetValue(item.Key, out value);
PresentationCore (4)
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (2)
330if (!_intMaps.TryGetValue(culture, out map)) 390if (!_intMaps.TryGetValue(culture, out map))
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
71return _innerDictionary.TryGetValue(key, out value);
Core\CSharp\System\Windows\Media\GlyphsSerializer.cs (1)
181!_glyphTypeface.CharacterToGlyphMap.TryGetValue(sourceCharacter, out glyphIndexFromCmap) ||
PresentationFramework (4)
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
456if (_asyncOps.TryGetValue(userState,out asyncRequest))
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
122gtf.FamilyNames.TryGetValue(run._cultureInfo, out run._fontFamily);
src\Framework\System\Windows\Documents\Glyphs.cs (1)
484glyphTypeface.CharacterToGlyphMap.TryGetValue(character, out glyphIndex);
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
393return dict.TryGetValue(key, out value);
System (2)
compmod\system\codedom\compiler\RedistVersionInfo.cs (2)
48bool directoryPathPresent = provOptions.TryGetValue(DirectoryPath, out directoryPath); 50bool versionValPresent = provOptions.TryGetValue(NameTag, out versionVal);
System.Activities (20)
System\Activities\ActivityInstance.cs (1)
908argumentValueOverrides.TryGetValue(argument.Name, out overrideValue);
System\Activities\Debugger\StateManager.cs (1)
238if (allLocals.TryGetValue(name, out value))
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (1)
177this.mapEntry.SavedOriginalValues.TryGetValue(propertyName, out result);
System\Activities\HybridDictionary.cs (1)
185return this.dictionary.TryGetValue(key, out value);
System\Activities\NativeActivityContext.cs (1)
2123if (inputParameters.TryGetValue(parameterName, out inputParameterValue))
System\Activities\Runtime\ActivityInstanceMap.cs (2)
568if (this.InstanceMapping.TryGetValue(activity, out mappedInstances)) 636if (!this.InstanceMapping.TryGetValue(activity, out mappedInstances))
System\Activities\Statements\CompensationExtension.cs (1)
178if (readWriteValues.TryGetValue(compensationExtensionData, out data))
System\Activities\Statements\DurableTimerExtension.cs (1)
139if (readWriteValues != null && readWriteValues.TryGetValue(timerTableName, out timerTable))
System\Activities\Statements\FlowSwitch.cs (1)
99if (Cases.TryGetValue(newValue, out result))
System\Activities\Statements\InvokeDelegate.cs (2)
86if (this.DelegateArguments.TryGetValue(parameterName, out delegateArgument)) 158if (DelegateArguments.TryGetValue(entry.Key, out argument))
System\Activities\Statements\Switch.cs (1)
117if (!Cases.TryGetValue(result, out selection))
System\Activities\Validation\ActivityValidationServices.cs (4)
136if (inputs.TryGetValue(key, out inputArgumentValue)) 407if (results.TryGetValue(Constraint.ValidationErrorListArgumentName, out resultValidationErrors)) 518if (this.settings.AdditionalConstraints.TryGetValue(currentType, out policyConstraints)) 529if (this.settings.AdditionalConstraints.TryGetValue(genericDefinitionType, out genericTypePolicyConstraints))
System\Activities\WorkflowApplication.cs (1)
1423if (values.TryGetValue(WorkflowNamespace.Workflow, out value))
System\Activities\WorkflowDataContext.cs (1)
145if (this.locationMapping.TryGetValue(location, out property))
System\Activities\WorkflowInvoker.cs (1)
152if (additionalOutputs.TryGetValue("Result", out untypedResult))
System.Activities.DurableInstancing (21)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (2)
73if (commandMetadata.TryGetValue(PersistenceMetadataNamespace.ActivationType, out instanceValue)) 147if (commandMetadata.TryGetValue(WorkflowNamespace.WorkflowHostType, out instanceValue))
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (16)
214if (saveWorkflowCommand.InstanceData.TryGetValue(SqlWorkflowInstanceStoreConstants.BinaryBlockingBookmarksPropertyName, out binaryBlockingBookmarks)) 235if (saveWorkflowCommand.InstanceData.TryGetValue(SqlWorkflowInstanceStoreConstants.StatusPropertyName, out executionStatusProperty)) 247if (saveWorkflowCommand.InstanceData.TryGetValue(SqlWorkflowInstanceStoreConstants.PendingTimerExpirationPropertyName, out pendingTimerExpirationPropertyValue)) 266if (instanceMetadataChanges.TryGetValue(WorkflowServiceNamespace.SuspendReason, out propertyValue)) 273if (instanceMetadataChanges.TryGetValue(WorkflowServiceNamespace.SuspendException, out propertyValue) && !propertyValue.IsDeletedValue) 290if (saveWorkflowCommand.InstanceMetadataChanges.TryGetValue(WorkflowNamespace.WorkflowHostType, out instanceValue)) 308if (saveWorkflowCommand.InstanceData.TryGetValue(SqlWorkflowInstanceStoreConstants.StatusPropertyName, out statusPropertyValue) && 340if (instanceView.InstanceKeys.TryGetValue(key, out existingKeyView)) 352if (instanceView.InstanceKeys.TryGetValue(key, out existingKeyView)) 394if (saveWorkflowCommand.InstanceMetadataChanges.TryGetValue(PersistenceMetadataNamespace.ActivationType, out instanceValue)) 398if (saveWorkflowCommand.InstanceMetadataChanges.TryGetValue(WorkflowServiceNamespace.Service, out instanceValue)) 403if (saveWorkflowCommand.InstanceMetadataChanges.TryGetValue(WorkflowServiceNamespace.SiteName, out instanceValue)) 407if (saveWorkflowCommand.InstanceMetadataChanges.TryGetValue(WorkflowServiceNamespace.RelativeApplicationPath, out instanceValue)) 411if (saveWorkflowCommand.InstanceMetadataChanges.TryGetValue(WorkflowServiceNamespace.RelativeServicePath, out instanceValue)) 555if (saveWorkflowCommand.InstanceData.TryGetValue(name, out propertyValue)) 581if (saveWorkflowCommand.InstanceData.TryGetValue(name, out propertyValue))
System\Activities\DurableInstancing\SerializationUtilities.cs (3)
306if (ownerCommand.InstanceOwnerMetadata.TryGetValue(Workflow45Namespace.DefinitionIdentities, out instanceValueIdentityCollection)) 320if (ownerCommand.InstanceOwnerMetadata.TryGetValue(Workflow45Namespace.DefinitionIdentityFilter, out instanceValue)) 346if (saveCommand.InstanceMetadataChanges.TryGetValue(Workflow45Namespace.DefinitionIdentity, out instanceValue))
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
181if (this.Options != null && this.Options.HintTextMap.TryGetValue(type.Name, out hintText))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
287breakpoints.TryGetValue(debugView.SelectedLocation, out result); 1407context.TryGetValue("TypeName", out typeName);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1776if (!glyphCache.TryGetValue(new KeyValuePair<string, bool>(iconName, menuItem.IsEnabled), out glyph))
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (5)
485if (!this.attachedPropertiesForNamespace.TryGetValue(data.Namespace, out properties)) 491if (!properties.TryGetValue(propertyName, out propertyValue)) 508if (!this.attachedPropertiesForNamespace.TryGetValue(data.Namespace, out properties)) 568if (this.availableNamespaces.TryGetValue(ns, out assemblyList)) 624if (!this.availableNamespaces.TryGetValue(ns, out assemblyList))
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
226if (!lookupTable.TryGetValue(ns, out prefix))
System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (1)
128if (this.table.TryGetValue(node, out parent))
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
215this.modelItemToContainer.TryGetValue(item, out element);
System.AddIn (1)
System\Addin\Hosting\ReadOnlyDictionary.cs (1)
51return m_dictionary.TryGetValue(key, out value);
System.Core (1)
System\Linq\Parallel\Utils\Lookup.cs (1)
84if (m_dict.TryGetValue(key, out grouping))
System.Data (14)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
181if (this.Options != null && this.Options.HintTextMap.TryGetValue(type.Name, out hintText))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
287breakpoints.TryGetValue(debugView.SelectedLocation, out result); 1407context.TryGetValue("TypeName", out typeName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1776if (!glyphCache.TryGetValue(new KeyValuePair<string, bool>(iconName, menuItem.IsEnabled), out glyph))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (5)
485if (!this.attachedPropertiesForNamespace.TryGetValue(data.Namespace, out properties)) 491if (!properties.TryGetValue(propertyName, out propertyValue)) 508if (!this.attachedPropertiesForNamespace.TryGetValue(data.Namespace, out properties)) 568if (this.availableNamespaces.TryGetValue(ns, out assemblyList)) 624if (!this.availableNamespaces.TryGetValue(ns, out assemblyList))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
226if (!lookupTable.TryGetValue(ns, out prefix))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (1)
128if (this.table.TryGetValue(node, out parent))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
215this.modelItemToContainer.TryGetValue(item, out element);
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
298if (SqlConnection.ColumnEncryptionTrustedMasterKeyPaths.TryGetValue(serverName, out trustedKeyPaths)) {
fx\src\data\System\Data\SqlClient\SqlSymmetricKeyCache.cs (1)
68if (SqlConnection.ColumnEncryptionTrustedMasterKeyPaths.TryGetValue(serverName, out trustedKeyPaths)) {
System.Data.Services (4)
System\Data\Services\Providers\BaseServiceProvider.cs (2)
415return this.EntitySets.TryGetValue(name, out resourceSet); 590knownTypes.TryGetValue(type, out resourceType);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (2)
963if (!knownTypes.TryGetValue(type, out resourceType)) 1316if (clrType != null && !knownTypes.TryGetValue(clrType, out resourceType))
System.IdentityModel (4)
System\IdentityModel\Policy\UnconditionalPolicy.cs (1)
231if (!evaluationContext.Properties.TryGetValue(SecurityUtils.Identities, out obj))
System\IdentityModel\Selectors\SecurityTokenRequirement.cs (1)
160if (!Properties.TryGetValue(propertyName, out dictionaryValue))
System\IdentityModel\Tokens\AuthorizationPolicy.cs (2)
119if (!evaluationContext.Properties.TryGetValue(ClaimsPrincipalKey, out principalObj)) 163if (!evaluationContext.Properties.TryGetValue(IdentitiesKey, out identitiesObj))
System.Runtime.DurableInstancing (5)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (4)
461InstanceView.InstanceKeys.TryGetValue(key, out existingKeyView); 503InstanceView.InstanceKeys.TryGetValue(key, out existingKeyView); 537if (!InstanceView.InstanceKeys.TryGetValue(key, out keyView)) 611if (!InstanceView.InstanceKeys.TryGetValue(key, out keyView))
System\Runtime\PersistencePipeline.cs (1)
329if (!this.basis.TryGetValue(key, out realValue) || realValue.IsWriteOnly() != this.writeOnly)
System.ServiceModel (17)
System\ServiceModel\Channels\ContextDictionary.cs (1)
193return this.dictionaryStore.TryGetValue(key, out value);
System\ServiceModel\Channels\ContextExchangeCorrelationHelper.cs (3)
38contextProperties.Context.TryGetValue(ContextMessageProperty.InstanceIdKey, out instanceId); 51contextProperties.Context.TryGetValue(ContextMessageProperty.InstanceIdKey, out instanceId); 68context.TryGetValue(ContextMessageProperty.InstanceIdKey, out instanceId);
System\ServiceModel\Channels\EndpointSettings.cs (1)
38!endpointSettings.TryGetValue(name, out setting) ||
System\ServiceModel\Channels\UnrecognizedAssertionsBindingElement.cs (2)
66if (!OperationAssertions.TryGetValue(operation, out existent)) 80if (!MessageAssertions.TryGetValue(message, out existent))
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (1)
90if (this.messageAssertions.TryGetValue(message, out assertions))
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1991else if (!this.updatePortsByScheme.TryGetValue(uri.Scheme, out port))
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
639if (securityContext.AuthorizationContext.Properties.TryGetValue(AuthorizationPolicy.ClaimsPrincipalKey, out principal))
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
167if (securityContext.AuthorizationContext.Properties.TryGetValue(SecurityUtils.Principal, out customPrincipal) && customPrincipal is IPrincipal)
System\ServiceModel\Security\SctClaimSerializer.cs (1)
405if (authContext.Properties.TryGetValue(SecurityUtils.Identities, out obj))
System\ServiceModel\Security\SecurityUtils.cs (1)
1033if (authContext.Properties.TryGetValue(SecurityUtils.Identities, out obj))
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (1)
290if (!evaluationContext.Properties.TryGetValue(SecurityUtils.Identities, out obj))
System\ServiceModel\ServiceSecurityContext.cs (1)
193if (authContext != null && authContext.Properties.TryGetValue(SecurityUtils.Identities, out identities))
System\UriTemplate.cs (2)
913if (extraParameters.TryGetValue(kvp.Key, out extraParameter)) 1643if (extraParameters.TryGetValue(kvp.Key, out extraParameter))
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\MetabaseSettings.cs (2)
292if (!transportSettingsTable.TryGetValue(relativeVirtualPath, out transportSettings)) 296if (!transportSettingsTable.TryGetValue(relativeVirtualPath, out transportSettings))
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1592if (buildProviders.TryGetValue(extension, out info))
System.ServiceModel.Activities (21)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
853exception.SerializableInstanceOwnerMetadata.TryGetValue(endpointXName, out redirectViaObject))
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
487if (data.TryGetValue(key, out instanceValue) && !instanceValue.IsDeletedValue)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (1)
1155if (!this.view.InstanceMetadata.TryGetValue(WorkflowNamespace.WorkflowHostType, out instanceValue))
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
335if (!loadedObject.TryGetValue(WorkflowNamespace.Workflow, out stateValue) || stateValue.Value == null) 342if (loadedObject.TryGetValue(WorkflowServiceNamespace.CreationContext, out stateValue))
System\ServiceModel\Activities\InternalReceiveMessage.cs (3)
1010if (callbackContext.Context.TryGetValue(InstanceIdKey, out instanceId)) 1035if (contextProperties.Context.TryGetValue(InstanceIdKey, out instanceId)) 1059if (key.Metadata.TryGetValue(WorkflowServiceNamespace.RequestReplyCorrelation, out value))
System\ServiceModel\Activities\InternalSendMessage.cs (1)
918if (key.Metadata.TryGetValue(WorkflowServiceNamespace.RequestReplyCorrelation, out value))
System\ServiceModel\Activities\ToReply.cs (1)
267if (instanceKey.Metadata.TryGetValue(WorkflowServiceNamespace.MessageVersionForReplies, out messageVersionValue))
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (3)
143else if (this.definitionCollection.TryGetValue(new WorkflowIdentityKey(workflowIdentity), out workflowService)) 160this.definitionCollection.TryGetValue(new WorkflowIdentityKey(updatedIdentity), out workflowService); 163if (workflowService != null && workflowService.UpdateMaps.TryGetValue(currentIdentity, out updateMap) && updateMap != null)
System\ServiceModel\Activities\WorkflowService.cs (6)
212if (workflowServiceSettings.AdditionalConstraints.TryGetValue(constraintType, out constraintList)) 413if (this.keyedByNameOperationInfo.TryGetValue(tuple, out operationInfo)) 425if (!inferredContracts.TryGetValue(contractXName, out contract)) 549if (baseWorkflowService.OperationsInfo.TryGetValue(tuple, out operationInfo)) 576if (baseWorkflowService.OperationsInfo.TryGetValue(tuple, out operationInfo)) 744if (queries == null && !this.correlationQueryByContract.TryGetValue(serviceContractName, out queries))
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
331if (this.inferredContracts.TryGetValue(serviceContractName, out description)) 596if (this.correlationQueries != null && this.correlationQueries.TryGetValue(endpointContractName, out queries))
System.ServiceModel.Internals (2)
System\Runtime\Collections\NullableKeyDictionary.cs (1)
136return this.innerDictionary.TryGetValue(key, out value);
System\Runtime\ReadOnlyDictionaryInternal.cs (1)
122return this.dictionary.TryGetValue(key, out value);
System.ServiceModel.Web (3)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (3)
289context.elementDepth.TryGetValue(element, out instances); 397context.knownTypes.TryGetValue(contentElement.QualifiedName, out derivedType); 431context.elementDepth.TryGetValue(element, out instances);
System.Web (4)
Compilation\AssemblyBuilder.cs (1)
900if (!providerOptions.TryGetValue(providerOptionName, out providerOptionValue)) return;
Compilation\CompilationUtil.cs (1)
575if (providerOptions.TryGetValue(providerOption, out version)) {
ModelBinding\DictionaryHelpers.cs (1)
10if (dictionary.TryGetValue(prefix, out exactMatchValue)) {
UI\TemplateControl.cs (1)
470if (asyncEvents.TryGetValue(_pagePreRenderCompleteAsyncEventName, out preRenderCompleteAsyncEvent)) {
System.Web.DynamicData (8)
DynamicData\DynamicDataExtensions.cs (1)
78if (mapping.TryGetValue(control, out mappingInfo)) {
DynamicData\DynamicValidator.cs (1)
245if (e.InnerExceptions.TryGetValue(name, out inner)) {
DynamicData\MetaTable.cs (1)
546if (!String.IsNullOrEmpty(groupName) && groupings.TryGetValue(groupName, out order)) {
DynamicData\QueryableFilterUserControl.cs (1)
105if (defaultValues.TryGetValue(Column.Name, out value)) {
DynamicData\Util\DictionaryCustomTypeDescriptor.cs (1)
20if (_values.TryGetValue(name, out value)) {
DynamicData\Util\MetaTableHelper.cs (3)
34if (mapping.TryGetValue(control, out mappingInfo)) { 43if (!mapping.TryGetValue(control, out mappingInfo)) { 136if (mapping.TryGetValue(current, out mappingInfo)) {
System.Web.Extensions (4)
Script\Serialization\ObjectConverter.cs (1)
119if (dictionary.TryGetValue(JavaScriptSerializer.ServerTypeFieldName, out s)) {
Script\Services\WebServiceMethodData.cs (1)
168if (parameters.TryGetValue(paramData.ParameterInfo.Name, out value)) {
UI\WebControls\Dynamic.cs (1)
1026externals != null && externals.TryGetValue(token.text, out value)) {
UI\WebControls\Expressions\MethodExpression.cs (1)
142if (!parameterValues.TryGetValue(param.Name, out value)) {
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\XomlCompiler.cs (1)
230if (authorizedTypesDictionary.TryGetValue(normalizedVersionString, out authorizedTypes))
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
108if (!MultiTargetingInfo.KnownSupportedTargetFrameworksAndRelatedCompilerVersions.TryGetValue(versionKey, out compilerVersion))
AuthoringOM\DependencyObject.cs (2)
175if (!this.DependencyPropertyValues.TryGetValue(dependencyProperty, out value)) 177if (metaProperties == null || !metaProperties.TryGetValue(dependencyProperty, out value))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
1688if (!serializationManager.XmlNamespaceBasedMappings.TryGetValue(xmlns, out xmlnsMappings) || xmlnsMappings.Count == 0) 2272if ((authorizedTypesDictionary == null) || !authorizedTypesDictionary.TryGetValue(normalizedVersionString, out authorizedTypes))
AuthoringOM\Serializer\XamlInterfaces.cs (1)
191if (manager.XmlNamespaceBasedMappings.TryGetValue(reader.LookupNamespace(prefix), out xmlnsMappings) && xmlnsMappings != null && xmlnsMappings.Count > 0)
System.Workflow.Runtime (3)
Hosting\SharedConnectionWorkflowTransactionService.cs (1)
262if (transactionConnectionTable.TryGetValue(transaction, out connectionInfo))
System\Activities\Statements\Interop.cs (2)
1633if (!this.Owner.ActivityProperties.TryGetValue(this.argumentName, out argument)) 1686if (this.Owner.ActivityMetaProperties.TryGetValue(this.literalName, out literal))
System.WorkflowServices (8)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
56if (contextMessageProperty.Context.TryGetValue("instanceId", out stringInstanceId))
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
205if (contextProperties.Context.TryGetValue(WellKnownContextProperties.InstanceId, out instanceId))
System\ServiceModel\QueueNameHelper.cs (1)
43if (contextProperties.TryGetValue(WellKnownContextProperties.ConversationId, out conversationId))
System\ServiceModel\Security\SerializableAuthorizationContext.cs (1)
237if (!evaluationContext.Properties.TryGetValue("Identities", out obj))
System\ServiceModel\SerializableReadOnlyDictionary.cs (1)
125return this.dictionary.TryGetValue(key, out value);
System\Workflow\Activities\ReceiveActivity.cs (1)
715if (context.WorkflowOperationBehaviors.TryGetValue(operationKey, out behavior) && behavior != null)
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
290if (!context.WorkflowOperationBehaviors.TryGetValue(operationKey, out behavior))
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
188codeEndpoints.TryGetValue(key, out endpoint) &&
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\WrappingXamlSchemaContext.cs (1)
32if (!MasterTypeList.TryGetValue(type, out xamlType))